Adam P. Cassidy
"Susanne Wenzel" <wirdnichtgelesen@onlinehome.de> wrote in message
news:1vgtzp4evgxgg.dlg@ID-301016.user.individual.de...
> Hi to everyone,
>
> our transaction log (again) has reached an unbelievable size (about 4,6
> Gb,
> the corresponding database has about 200 Mb). We do a backup every night
> (full recovery model). Our system: SQL Server 2000 SP4 (publisher and
> distributor identical, the publisher itself has no subscriptions), Windows
> Server 2000 SP4, several (trusted) domains, clients Win2k Pro SP4. We have
> snapshot and merge replication, definitely *no transactional replication*.
> We never had *any* transactional replication at any given time, because
> right from the beginning this type was no option for our scenario so we
> never even tested it.
>
> The common way with DBCC Shrinkfile, DBCC Loginfo, backup log and the like
> is not successful, I get the following message:
>
> The log was not truncated because records at the beginning
> of the log are pending replication. Ensure the Log Reader
> Agent is running or use sp_repldone to mark transactions
> as distributed.
>
> I know one way that is suggested (with sp_repldone and so on) to solve
> this
> problem and reduce the size of the log. We had the same problem before and
> used the repldone-thing successfully, but I'd like to avoid that for now.
> For it seems to me this way is only temporary because the log will be
> building up again, as I experience now.
>
> Our situation is best described here:
>
> *(den folgenden Link bitte in /eine/ Zeile)*
>
http://groups.google.de/group/comp.databases.ms-sqlserver/browse_frm/thread/23ca52b9df791e59/9ee4e7d0f089ab98?lnk=st&q=transaction+log+replication+merge&rnum=5#9ee4e7d0f089ab98
>
> So far I've got the impression that people think, this problem can only
> occur if you use transactional replication but again I assure we have none
> of that!
>
> This thread also fits very neatly to my problem:
>
> *(den folgenden Link bitte in /eine/ Zeile)*
>
http://groups.google.de/group/microsoft.public.sqlserver.replication/browse_frm/thread/456d4407ad85ede5/7b942db4b21d44cf?lnk=st&q=transaction+log+replication+merge&rnum=10#7b942db4b21d44cf
>
> It looks like the poster opened a PSS-Ticket, is there any chance to learn
> about the state of this ticket?
>
> I've invested quite a few hours to get nearer to the problem. I ran a DBCC
> OPENTRAN WITH TABLERESULTS and got the following back:
>
> REPL_DIST_OLD_LSN (0:0:0)
> REPL_NONDIST_OLD_LSN (41204:61:1)
>
> I've found another thread that deals with this problem:
>
> *(den folgenden Link bitte in /eine/ Zeile)*
>
http://groups.google.de/group/microsoft.public.sqlserver.replication/browse_frm/thread/6972cf1f0c26f0b/47e34c0887db4e8b?lnk=st&q=REPL_NONDIST_OLD_LSN&rnum=1#47e34c0887db4e8b
>
> (At least I can tell that we are not running DataMirror)
>
> My aim/wish is to get this pending transaction going so the log can shrink
> on its own accord.
>
> A dbcc log gave me among a *huge* amount of other entries a BEGIN_XACT,
> but
> no corresponding COMMIT_XACT back (as I remember it from my home right
> now,
> but I can look it up another time). The usual way to end an open
> transaction as I understand, is to get the SPID and then use KILL, but
> this
> is getting me nowhere as I'm not getting a spid back. And of course we
> have
> no log reader agent showing up in EM that we could start manually.
>
> I'd really like to know what this is all about, I don't understand what's
> going on and I'd love to!
>
> Thanks for reading, any help is greatly appreciated.
>
> Greetings from Germany
> Susanne