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 > bcp andd checkpoint

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-21-07, 07:30
shreedhar_tase shreedhar_tase is offline
Registered User
 
Join Date: Feb 2004
Location: india
Posts: 35
bcp andd checkpoint

Hi
I am trying to do 1000 rows bcp in. I am giving batch size as 50. I have following questions
1) Does sybase apply checkpoint after every bact size completion.
2) How to know how many check points sybase applied during the whole bcp in operation or dusring perticular time range

Please help.
Reply With Quote
  #2 (permalink)  
Old 12-21-07, 07:53
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 830
See Total Checkpoints from sp_sysmon
Reply With Quote
  #3 (permalink)  
Old 12-22-07, 08:13
trvishi trvishi is offline
Registered User
 
Join Date: Sep 2003
Location: Switzerland
Posts: 371
Quote:
Originally Posted by shreedhar_tase
Hi
I am trying to do 1000 rows bcp in. I am giving batch size as 50. I have following questions
1) Does sybase apply checkpoint after every bact size completion.
2) How to know how many check points sybase applied during the whole bcp in operation or dusring perticular time range

Please help.

Just curious, what is the basis of your asking the question about checkpoint?

Are you worried that the batch wont be recovered? If thats the case, you can be guaranteed that the batch will be recovered, during a crash for eg.,, from log recovery.
Reply With Quote
  #4 (permalink)  
Old 12-23-07, 13:41
shreedhar_tase shreedhar_tase is offline
Registered User
 
Join Date: Feb 2004
Location: india
Posts: 35
According to sybase for each batch sybase strts storing data on new page and logs that page entry. I am finding that my logs are getting filled when i am doing bcp in of table having size approx 10GB. So I want to know whether sybase applied a checkpoint or not after pushing every batch into the database
Reply With Quote
  #5 (permalink)  
Old 12-24-07, 05:15
trvishi trvishi is offline
Registered User
 
Join Date: Sep 2003
Location: Switzerland
Posts: 371
Quote:
Originally Posted by shreedhar_tase
According to sybase for each batch sybase strts storing data on new page and logs that page entry. I am finding that my logs are getting filled when i am doing bcp in of table having size approx 10GB. So I want to know whether sybase applied a checkpoint or not after pushing every batch into the database

Hm good point. So, the options are checking checkpoint interval OR increasing the transaction log then.

Another option is to split the no. of rows into smaller units.
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