MySQL Forums
Forum List  »  Newbie

Re: Inserting 5000 samples per sec in real time
Posted by: Rick James
Date: March 21, 2009 07:38PM

Or batched inserts. I know of a C program that gets ~100K rows per day. It batches them 7000 at a time (a bit excessive); it hums.

A potential problem -- If your table + index is bigger than can fit in cache, and if you have "random" index keys, you could be limited by disk speed.

In data warehousing applications like yours might be, I recommend nothing more than an auto_increment key on the 'fact' table. This avoids the random-index problem I mentioned, but requires you do other things for reporting.

Options: ReplyQuote


Subject
Written By
Posted
Re: Inserting 5000 samples per sec in real time
March 21, 2009 07:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.