i've got a table with ~2 million rows. i have a select that pulls out an int, a varchar(200) and a CHAR(8) by calculating which entry is the most out-of-date, based on an auto-updating timestamp field and a tinyint priority field.
the query is:
SELECT url_id, url, hash
FROM url
WHERE priority...
i'm using mysql 4.0.16 on a gentoo 1.4 box with a gentoo-patched 2.4.23 kernel, 1.3GHz Athlon, 512MB RAM and 20GB HD space (old hd).
i boot up to commandline, login, and top shows 440MB+ of RAM free. i launch an app i've written which begins by hitting mysql with a query against a table of ~2M...
which table type are you using? i've been developing a multi-threaded application that makes one db connection per thread (the threads are persistent, they don't come and go) and i'm also doing alot of inserts and updates and i found the database to be performing at an unacceptable level. i then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.