Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > dump transaction db_name with no_log

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-08, 10:26
Musil David Musil David is offline
Registered User
 
Join Date: Sep 2006
Location: Czech Republic
Posts: 68
dump transaction db_name with no_log

Hello,

I run script that copy data between tables... it is transaction that dont fit log.

A) It stop during running and ask that I should free log to allow transaction proceed further.

Can dump transaction db_name with no_log help me in that case?
Is there any risk?

B) I kill this script and operation rollsback.

Can dump transaction db_name with no_log help me in to speed rollback to free log for other users???? Are there any risks?

Thanks for info¨¨

David
Reply With Quote
  #2 (permalink)  
Old 01-09-08, 16:18
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 830
A) No dump tran with no_log won't help if it is one big transaction
I suggest you set 'abort tran on log full' for the database to prevent a hang state.
B) No won't speed up the rollback. Break the transaction into smaller chunks and/or increase the log size.
Reply With Quote
  #3 (permalink)  
Old 01-10-08, 04:44
Musil David Musil David is offline
Registered User
 
Join Date: Sep 2006
Location: Czech Republic
Posts: 68
is there a way how in BCP in/out do short transaction?
Reply With Quote
  #4 (permalink)  
Old 01-10-08, 09:58
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 830
-b batchsize
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On