Heya folks;
I am a expereinced user with MySQL and all, but never dealt with having
about 2,000,000 (2million) rows of data in a table, I am interested in what
OS, harddrives, cpu/ram/mobo combo's people have to recommend.
I need the ability to pull multiple rows out of the 2mil+ records, I am doing
WHERE statements with primary Id's and indexing which helps alot, but I need
results faster, currently this is what I've got going:
I've got about ~250,000 rows in this table, I can select with WHERE and LIMIT 0,10.
It takes 1.5 seconds on average, on a FreeBSD 5.2.1pl14 box which is
a fairly hefty machine, 1gig ram, P4 2.4ghz HT.
I am not fond of linux, but I am considerring it for its multithreading support.
I know FreeBSD 5.x supports it, but linux'es is still better. (i guess?).
What do you folks recommend for hardware?
I would like to be able to select via WHERE/LIMIT 10 with offset and get back
the results within a split second. I need the data super fast and will be running
alot of these calls (selects), updates/inserts are rare, data is nearly static.
Let me know what you think, or if you have SQL-side ideas also, for performance. Like key buffer sizes, using InnoDB vs MyISAM etc, etc.
Fully open to suggestions and examples if anyone has any. Thanks alot!
If you need more details on my data/content, just say so.
-Jason
jlschwab@jlschwab.com