Question

Recently we implemented Incremental(Enabled allow incremental dumps) and Log Backup(Disabled trunc Log on chkpt) for Sybase ASE(15.7 SP139) running on HP-UX Itanium server and to our great surprise, Size of Log backup is increasing from past 3 days continuously. Even after Full/Cumulative backup, size of the Log file kept on increasing at disk and even size at database is not clearing.

Checked logsize at different interval by running command sp_helpsegment logsegment within database and noticed that used_pages is constantly increasing and free_pages is on decline.

We even checked dbcc gettrunc to get details however it was of no use. Below is size of files Log Size

We are using 2 stripe for database dump and compress 5 for compressing size on disk while taking dump.

Replication is running on this database and is working fine.

Appreciate if I can get expert advise on this issue.

Was it helpful?

Solution

Thank you markp, this was spot-on. There was a hanging transaction from past 3 days and that was the cause of this increment in log-size.

Hanging Transaction

After investigation, we found out that there is flaw in application wherein application doesn't disconnect itself if user doesn't close them. We called user and once he closed his session, everything started smoothly and logisze came down from 9GB to 300MB.

I am posting this here as an answer, it could helps others in case they face similar issues. Thanks once again.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top