cancel
Showing results for 
Search instead for 
Did you mean: 

SA12 freezes when running a database created with SA11

2,577

Hello, Has anyone had a problem with SA12 (12.0.1.3356) freezes when running a database that was created with SA11? The database has not been rebuilt, and as far as I understand, it doesn't need to be rebuilt according to http://infocenter.sybase.com/help/topic/com.sybase.help.sqlanywhere.12.0.0/pdf/sachanges12.pdf (see Upgrading to SQL Anywhere 12). The database works well and sometimes mystical freezes occur (once or twice an hour) - it seems like the database server is doing something internally, and nothing (or very slow) can be done (from several seconds to several minutes). Is there any other option than rebuild?

Accepted Solutions (0)

Answers (1)

Answers (1)

MarkCulp
Participant

Platform? Windows? Version of OS? When the server "freezes" how much CPU is the server using? How much IO?

Check the server console log to see if there is a checkpoint running at the time that the server "freezes" - it could be that the server is in the process of flushing all dirty pages from the cache in preparation for a checkpoint?

0 Kudos

Windows 2008 R2 64bit, 2 CPU. It is the same server on which the same database was running with SA11 before without problems. IO on freeze: average 15, max 150 IOPS. CPU use: 30 to 50 percent. There are no suspicious changes (gaps in time) in the console log when checkpoints are being done. I mean that checkpoint has no influence to the speed of other operations.

MCMartin
Participant
0 Kudos

From Volker and Breck came this advice for a different question:

"I fully agree that dbsrvX -o (possibly with its variants -oX) should be using on every production server to help diagnosis.

(Jan 22 at 18:56)Volker Barth

Further to what Tyson and Volker said: -o filespec1.txt -oe filespec2.txt -os 1M is a good combination for production. The -os 1M keeps the file size manageable for browsing with Wordpad etcetera. For a service the filespecs probably have to have the full path. "

0 Kudos

-o is always being used but I do not see anything suspicious in the .slg file.