Re: Splitting data across tables

2004-07-26 Thread Egor Egorov
Andrew Hill [EMAIL PROTECTED] wrote: Perhaps it would be better to insert the timestamp, rather than letting MySQL set it. Sure. This gives consistency in your situation. Or, is there perhaps a way to let MySQL select which table to perform the insert into, based on the time? No.

RE: Splitting data across tables

2004-07-22 Thread Andrew Hill
-Original Message- From: William H. Bowers [mailto:[EMAIL PROTECTED] Sent: 22 July 2004 03:55 To: [EMAIL PROTECTED] Subject: re: Splitting data across tables If indexing seems to be the cause of the slowdown, it may be faster to drop the indexes, add the new data

Re: Splitting data across tables

2004-07-22 Thread Harald Fuchs
In article [EMAIL PROTECTED], Andrew Hill [EMAIL PROTECTED] writes: Hi, Okay, cool. A couple of things: 1) We *think* that our bottleneck is RAM and the calculation of indexes when inserting into the table (about 500 million rows). There's certainly plenty of CPU and disk I/O left in the

RE: Splitting data across tables

2004-07-21 Thread John McCaskey
I've had no problems partitioning data in this exact same manner. However my timestamp column is always pre-computed in the application code because it is neccesary to round it to the last 5 minute interval so I would not encounter the issue you mention. I'd recommend simply computing the

RE: Splitting data across tables

2004-07-21 Thread Andrew Hill
and may be unlawful. -- -Original Message- From: John McCaskey [mailto:[EMAIL PROTECTED] Sent: 21 July 2004 16:24 To: Andrew Hill; [EMAIL PROTECTED] Subject: RE: Splitting data across tables I've had no problems

RE: Splitting data across tables

2004-07-21 Thread John McCaskey
PROTECTED] Sent: Wednesday, July 21, 2004 8:46 AM To: [EMAIL PROTECTED] Subject: RE: Splitting data across tables Hi, Okay, cool. A couple of things: 1) We *think* that our bottleneck is RAM and the calculation of indexes when inserting into the table (about 500 million rows). There's certainly

re: Splitting data across tables

2004-07-21 Thread William H. Bowers
/bowers -Original Message- From: John McCaskey [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 11:50 To: Andrew Hill; [EMAIL PROTECTED] Subject: RE: Splitting data across tables As far as I know there is no way to make mysql choose the table to insert to dynamically. However