Bitswap
07-08-2003, 11:01 PM
I hope someone can help me with this.
I have a table that consists of two int types. I've imported 136 million records into the table which took 2.5 days. Now I'm altering the table by adding a primary key. The primary key are both fields. This has been running for five days. The processor is 2 gig mhz with 512 meg of ram, W2k os.
I tried to import the records with the primary key defined, but after two days it only processed 11 million records and was getting progressively slower.
The AS400 guys say this process takes them about an hour to complete. But they're not using mysql.
Is there a quicker way to do this or am I making doing something wrong?
Thanks
I have a table that consists of two int types. I've imported 136 million records into the table which took 2.5 days. Now I'm altering the table by adding a primary key. The primary key are both fields. This has been running for five days. The processor is 2 gig mhz with 512 meg of ram, W2k os.
I tried to import the records with the primary key defined, but after two days it only processed 11 million records and was getting progressively slower.
The AS400 guys say this process takes them about an hour to complete. But they're not using mysql.
Is there a quicker way to do this or am I making doing something wrong?
Thanks