![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
We are using ASA 7 in Solaris and I have noticed something kinda funny in the logfile pertaining to the sequence of events. |
#2
| |||
| |||
|
|
And, well, you asked, but do not say why this is a concern for you. If you do not have any recovery, replication or indication of another area having troubles, it may be there is nothing wrong here. Is there anything behind this concern? |
#3
| |||
| |||
|
| And, well, you asked, but do not say why this is a concern for you. If you do not have any recovery, replication or indication of another area having troubles, it may be there is nothing wrong here. Is there anything behind this concern? Wow Nick! Thanks for your detailed response. Your are correct, I have an underlying concern here. Because we are using Version 7 (most updated), we have the problem of transactions not spanning logfile backups. We do a dbbackup every half an hour on our highly transaction ASA DB. Every once in a while, we have this problem where dbbackup runs for a long long time. Usually the half hour backup takes 5 seconds or so. This particular time it took 20 minutes but it finally finished. Now from what I understand, the dbbackup must wait for all in progress transactions to complete before it starts. This is why when it finally finished, I snagged the logfile and did the dbtran on it. The output from dbtran is probably not intended to debug problems like this but rather to apply to a DB in case of failure. I wrote a program to parse out the transactions and print how long they were taking. I did it in chronological order because I wanted to see the entries the way they came in the front door to the DB. I parsed out the milliseconds from the BEGIN TRANSACTION and COMMIT lines and calculated the number of milliseconds each transaction took. The one that took the longest (20 minutes) was the one that did the individual CONNECT / COMMIT. That statement seemed to free everything up and then it completed. That statement was coming from an EJB running in Jaguar (I recognize the SQL statements) so that got me thinking that possibly a connection was not closed and something (as you indicated) was just doing some periodic housecleaning (i.e. taking a connection out of a pool, etc.). We have been fighting this random problem of dbbackup hanging for a long time. We usually just restart Jaguar and it frees it up but it is an annoying problem that is driving me crazy. If there was a way to see what transaction was open and what SQL statement it was hung on when at the time it is occuring - my life would be complete! I appreciate your response. |
![]() |
| Thread Tools | |
| Display Modes | |
| |