![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Having a little issue... is it possible to have multiple connections all get rolled back to the same point? I have a small database that seems to have been busy - but magically lost 5 hours of data (several 100k records...) This is across multiple databases. In one of them I do have a large identity gap - in the others the 'identity' type columns are self rolled incrementers. In a rollback I would normally expect to see _some_ data missing - but not _everything_ from 20 odd connections all binned for 5 hours! The only real clue I have is that one monitoring process that counts the rows in a table (usually 200 - 400) running from SQLAgent took 5 hours to complete! Other than that NOTHING in any server log, nothing in the sql logs. Please - any serious suggestions - including any useful monitoring ideas for future reference happily received! |
#3
| |||
| |||
|
|
Hi You don't say if this is a single database or you have multiple databases that have this issue. It is highly unlikely that multiple databases would have a gap. The only thing I could think of would be the time/timezone being changed but I thought this was logged in the event log. |
|
John Wangkhar (AT) yahoo (DOT) com> wrote in message news:1115914261.146631.205780 (AT) o13g2000cwo (DOT) googlegroups.com... Hi Having a little issue... is it possible to have multiple connections all get rolled back to the same point? I have a small database that seems to have been busy - but magically lost 5 hours of data (several 100k records...) This is across multiple databases. In one of them I do have a large identity gap - in the others the 'identity' type columns are self rolled incrementers. In a rollback I would normally expect to see _some_ data missing - but not _everything_ from 20 odd connections all binned for 5 hours! The only real clue I have is that one monitoring process that counts the rows in a table (usually 200 - 400) running from SQLAgent took 5 hours to complete! Other than that NOTHING in any server log, nothing in the sql logs. Please - any serious suggestions - including any useful monitoring ideas for future reference happily received! |
#4
| |||
| |||
|
|
"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message news:4285b597$0$2587$da0feed9 (AT) news (DOT) zen.co.uk... Hi You don't say if this is a single database or you have multiple databases that have this issue. It is highly unlikely that multiple databases would have a gap. The only thing I could think of would be the time/timezone being changed but I thought this was logged in the event log. Actually was my other thought was if say the server lost its network connectivity completely, and treated all its connections as "broken" and as a result rolled back all of them. John Wangkhar (AT) yahoo (DOT) com> wrote in message news:1115914261.146631.205780 (AT) o13g2000cwo (DOT) googlegroups.com... Hi Having a little issue... is it possible to have multiple connections all get rolled back to the same point? I have a small database that seems to have been busy - but magically lost 5 hours of data (several 100k records...) This is across multiple databases. In one of them I do have a large identity gap - in the others the 'identity' type columns are self rolled incrementers. In a rollback I would normally expect to see _some_ data missing - but not _everything_ from 20 odd connections all binned for 5 hours! The only real clue I have is that one monitoring process that counts the rows in a table (usually 200 - 400) running from SQLAgent took 5 hours to complete! Other than that NOTHING in any server log, nothing in the sql logs. Please - any serious suggestions - including any useful monitoring ideas for future reference happily received! |
#5
| |||
| |||
|
|
Having a little issue... is it possible to have multiple connections all get rolled back to the same point? I have a small database that seems to have been busy - but magically lost 5 hours of data (several 100k records...) .... In a rollback I would normally expect to see _some_ data missing - but not _everything_ from 20 odd connections all binned for 5 hours! The only real clue I have is that one monitoring process that counts the rows in a table (usually 200 - 400) running from SQLAgent took 5 hours to complete! Other than that NOTHING in any server log, nothing in the sql logs. |
#6
| |||
| |||
|
|
(Wangkhar (AT) yahoo (DOT) com) writes: Having a little issue... is it possible to have multiple connections all get rolled back to the same point? I have a small database that seems to have been busy - but magically lost 5 hours of data (several 100k records...) .... In a rollback I would normally expect to see _some_ data missing - but not _everything_ from 20 odd connections all binned for 5 hours! The only real clue I have is that one monitoring process that counts the rows in a table (usually 200 - 400) running from SQLAgent took 5 hours to complete! Other than that NOTHING in any server log, nothing in the sql logs. If the connections never commit, and you then pull the plug - there will indeed be a huge rollback. And the fact that your SELECT COUNT(*) was stalled for five hours indicates that there was some serious blocking. This could have happened: There was some initial blocking situation, which cause connections to timeout. The timeout was not properly handled - that is transactions started were not rolled back. The applications then continued and were indeed able to insert both this and that. However, all were in an open transaction, and then when something was closed down after five hours, there was a rollback all over town. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Books Online for SQL Server SP3 at http://www.microsoft.com/sql/techinf...2000/books.asp |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |