Guys, thank you first of all for responds.
This is the test db. Nothing is running there outside of my control.
The way I set it up is next:
backup test log... statements runs every second and I see successfull
execution of it.
Then, I run 1000 records inserts just to see how they show up on another end.
Problem is very obvious.
Interesting enough I tried to shrink file - noway. Once I stop mirrored
session and disconnect db's, shrink works immediately.
> Sounds like you have an open transaction somewhere. What does DBCC
> OPENTRAN() say?
[quoted text clipped - 6 lines]
> >
> > Does anybody have this experience?
Just because it is under your control does not mean there isn't an open
transaction. What type of mirroring are you using? Is the tran getting
committed on the mirror?

Signature
Andrew J. Kelly SQL MVP
> Guys, thank you first of all for responds.
> This is the test db. Nothing is running there outside of my control.
[quoted text clipped - 19 lines]
>> >
>> > Does anybody have this experience?
Gene. - 31 Jul 2007 14:44 GMT
Hi Andrew
I ran dbcc opentran, does not show any open transactions.
Batch inserts which I run is not inside of begin tran, commit statements.
Do you have any database currently set up with database mirroring?
When I run sp_who, I see 3 db mirror processes:
21 0 suspended sa
0 NULL DB MIRROR 0
21 1 suspended sa
0 NULL DB MIRROR 0
25 0 suspended sa
0 test DB MIRROR 0
spid25 is the one wich I recognize in charge for current mirror session.
Few days ago when I had similar setup and paused mirror session, I could not
get it back running. So I had to drop databases, endpoints. It seems like
this is left overs which I don't know how to get rid of it.
I am not sure how relevant spid 21 to the problem of growing tr. log.
When I select * from sys.endpoints, I see only 1 database mirroring session
running.
Any clue?
Log is growing
> Just because it is under your control does not mean there isn't an open
> transaction. What type of mirroring are you using? Is the tran getting
[quoted text clipped - 23 lines]
> >> >
> >> > Does anybody have this experience?
Gene. - 31 Jul 2007 14:48 GMT
Andrew, thank you so much for asking 'what type of mirroring' I use.
My intention was to use high performance mode.
When I set it up, i forget to run last statement:
ALTER DATABASE test SET PARTNER SAFETY OFF
Once I ran it, I was able to shrinkdb.
Thank you for help, Gene.
> Just because it is under your control does not mean there isn't an open
> transaction. What type of mirroring are you using? Is the tran getting
[quoted text clipped - 23 lines]
> >> >
> >> > Does anybody have this experience?