Question : BCP without transaction logging

I'm using Sybase 12.0, is there a way I can mass load 2 tables (1 with 195,000 records, another with 950,000 records) in my DB via bcp and not have the bcp transactions logged (one of the tables is indexed)?

I'd rather not have to increase the log file size just for these two loads.  And the logfile is properly sized for the normal low level of traffic in the DB.

I'd also like to not have to break my BCP files apart into 100 or so 10,000 record files just to be able to run a dump transaction with truncate_only after each one.


Thanks!

--Will


Answer : BCP without transaction logging

As Bret said you can can avoid filling the transaction log space by using -b option. Nevertheless, you should drop all indexes and triggers on the table to avoid logging data insert, if you are loading massive data comparing with the existing data. You should make your decision based on the ratio between the existing data and loaded data. If the new data is more than 30 or 50 per cent of the existing data, dropping and recreating indexes would take less time.
Random Solutions  
 
programming4us programming4us