dbTalk Databases Forums  

Db option "truncate log on checkpoint" not working?

sybase.public.ase.general sybase.public.ase.general


Discuss Db option "truncate log on checkpoint" not working? in the sybase.public.ase.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
elroydewinter@gmail.com
 
Posts: n/a

Default Db option "truncate log on checkpoint" not working? - 07-16-2012 , 09:03 AM






Hi All,

I have a server running ASE 15.5 with a database with db option "truncate log on checkpoint" turned on. However the transaction log is not truncating automatically.
- nothing in master..syslogshold
- no replication involved
- data and log are on separate devices.
- manual "dump tran with truncate_only" works fine
- well over 50 rows in syslogs

I tried dbcc tablealloc(syslogs,full,fix) in single user, but the problem is still there.

Does anyone have a clue what might be causing this?
Thanks,
Elroy

Reply With Quote
  #2  
Old   
bret_halford@msn.com
 
Posts: n/a

Default Re: Db option "truncate log on checkpoint" not working? - 09-04-2012 , 04:54 PM






On Monday, July 16, 2012 8:03:06 AM UTC-6, (unknown) wrote:
Quote:
Hi All, I have a server running ASE 15.5 with a database with db option "truncate log on checkpoint" turned on. However the transaction log is not truncating automatically. - nothing in master..syslogshold - no replication involved - data and log are on separate devices. - manual "dump tran with truncate_only" works fine - well over 50 rows in syslogs I tried dbcc tablealloc(syslogs,full,fix) in single user, but the problem is still there. Doesanyone have a clue what might be causing this? Thanks, Elroy
Is there a checkpoint process running? It is rare, but it can happen that the checkpoint process hits a fatal error and is unable to restart. (Also the checkpoint process doesn't run if you boot the server in single-user mode).

-bret

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.