dbTalk Databases Forums  

rollback transactions on failover clustering

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss rollback transactions on failover clustering in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roy Goldhammer
 
Posts: n/a

Default rollback transactions on failover clustering - 10-30-2007 , 12:10 PM






Hello there

Here is question i got:
I have sql server 2005 failover clustering. On node1 someone has run
procedure which update data on huge table which take over 8 hours.

In this case I can't release the database (as far as i know) because if i
will kill the process it will rollback all the actions and it won't be
released. I can't even restart the service because the rollback will always
occur.

If on failover I stop the service on node1 and node2 comes to air will this
release the server?



Reply With Quote
  #2  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: rollback transactions on failover clustering - 10-30-2007 , 12:44 PM






No.

For this purpose, a failover is exactly the same as a service stop and
restart.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP


"Roy Goldhammer" <roygoldh (AT) hotmail (DOT) com> wrote

Quote:
Hello there

Here is question i got:
I have sql server 2005 failover clustering. On node1 someone has run
procedure which update data on huge table which take over 8 hours.

In this case I can't release the database (as far as i know) because if i
will kill the process it will rollback all the actions and it won't be
released. I can't even restart the service because the rollback will
always occur.

If on failover I stop the service on node1 and node2 comes to air will
this release the server?



Reply With Quote
  #3  
Old   
Roy Goldhammer
 
Posts: n/a

Default Re: rollback transactions on failover clustering - 10-30-2007 , 04:50 PM



Whell Geoff
If i run huge trasaction which takes 50 minutes
and after 45 minutes node1 goes down.

Will node2 first will rollback the transaction and only then the server will
be available?

"Geoff N. Hiten" <SQLCraftsman (AT) gmail (DOT) com> ???
??????:OjkeXTyGIHA.1184 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Quote:
No.

For this purpose, a failover is exactly the same as a service stop and
restart.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP


"Roy Goldhammer" <roygoldh (AT) hotmail (DOT) com> wrote in message
news:eOtR8AyGIHA.4592 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
Hello there

Here is question i got:
I have sql server 2005 failover clustering. On node1 someone has run
procedure which update data on huge table which take over 8 hours.

In this case I can't release the database (as far as i know) because if i
will kill the process it will rollback all the actions and it won't be
released. I can't even restart the service because the rollback will
always occur.

If on failover I stop the service on node1 and node2 comes to air will
this release the server?





Reply With Quote
  #4  
Old   
Linchi Shea
 
Posts: n/a

Default Re: rollback transactions on failover clustering - 10-30-2007 , 07:13 PM



Quote:
Will node2 first will rollback the transaction and only then the server will
be available?
The server will be available rather quickly (seconds). But the database in
question may take a while to become available. However, if you are using
SQL2005 enterprise edition, you should be able to access the database as soon
as it has finished rolling committed transactions forward and while it's
rolling uncommitted changes back. Of course, you won't be able to access the
data that is being touched by the undo transactions.

Linchi

"Roy Goldhammer" wrote:

Quote:
Whell Geoff
If i run huge trasaction which takes 50 minutes
and after 45 minutes node1 goes down.

Will node2 first will rollback the transaction and only then the server will
be available?

"Geoff N. Hiten" <SQLCraftsman (AT) gmail (DOT) com> ???
??????:OjkeXTyGIHA.1184 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
No.

For this purpose, a failover is exactly the same as a service stop and
restart.

--
Geoff N. Hiten
Senior SQL Infrastructure Consultant
Microsoft SQL Server MVP


"Roy Goldhammer" <roygoldh (AT) hotmail (DOT) com> wrote in message
news:eOtR8AyGIHA.4592 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
Hello there

Here is question i got:
I have sql server 2005 failover clustering. On node1 someone has run
procedure which update data on huge table which take over 8 hours.

In this case I can't release the database (as far as i know) because if i
will kill the process it will rollback all the actions and it won't be
released. I can't even restart the service because the rollback will
always occur.

If on failover I stop the service on node1 and node2 comes to air will
this release the server?






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 - 2012, Jelsoft Enterprises Ltd.