Quantcast
Channel: SCN : Discussion List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 685

Bcp tuning

$
0
0

Hi

 

(ASE 15.7 sp60 running on windows 2008)

 

We are in the process of aggregating many similar databases to one big database on a new server.

Because this is time consuming, we are planing to do this in steps like this:

 

1. Create the new database, tables etc (but not index, triggers, constraints)

2. Bcp in some of the databases (using fast bcp)

3. create the indexes, triggers, constraints

4. Let the users in and use the new database for some days

5. Drop indexes, triggers and constraints)

6. Bcp in more databases (using fast bcp)

7. create the indexes, triggers, constraints

8. Let the users in and use the new database for some days

(continue until all databases have been bcp-ed into the new database)

 

Now, the problem.

 

When we test this, we get good speed on the first bcp-jobs (2.)

Typical we see 1000+ rows / second

 

BUT after creating indexes etc, and dropping them we get much slower speeds for the rest of the bcp-jobs (6.)

On the same table, we now get 80 rows / second.

 

What are we doing wrong?

How can I find out more about what is taking so long?

 

Regards

Pål


Viewing all articles
Browse latest Browse all 685

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>