Quantcast
Viewing all articles
Browse latest Browse all 3587

Re: Sybase ASE transaction log's not clearing

Saying "v 11" is very unspecific, ASE had three 11.x versions (11.0, 11.5, 11.9) that covered a lot of ground.  It would be better to quote the @@version string.

 

Full database dumps "dump database" never truncate the log.

 

The "truncate log on checkpoint" database setting does not result in manual checkpoints truncating the log, only the automatic checkpoints issued by the checkpoint process truncate the log under this setting.

 

Does a manual "dump tran <dbname> with truncate_only" clear the log?

 

The two main possibilities that come to mind:

1)  The database may be marked for replication, but the ltm marker (log transfer marker) may not be moving.  If your master database contains a syslogshold table, is there an entry in that table for this database?  If so, what is it?  You can also check for the LTM marker directly with

 

dbcc traceon (3604)

dbcc gettrunc

 

If the LTM marker is the issue and the database really is being replicated, see if something is wrong with replication server.
If the LTM marker is the issue but the database is not meant to be replicated, you can turn off the LTM marker by running "dbcc settrunc ( ltm, ignore)." in the database.

 

2) Truncate log on checkpoint doesn't work if the database (or entire server) is in single user mode.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>