Hi!
On Jan 30, Sheer El-Showk wrote:
> Please cc [EMAIL PROTECTED] on any response, I'm on the list but I filter to
> a file, thanks.
>
> Can someone (maybe with some MySQL-innards code experience) please explain
> this problem:
>
> Generating an index on the first character of a varchar(70) on a 350 meg
> table on a PII 366 128 MB Ram, normal IDE disk takes over 17000 seconds
> (ie it never even finished but the process took that much time in "show
> processlist" before I finally killed it). And the server was not hung in
> any way ... in fact I watched it generate a ~550Mb temporary table in the
> MySQL data dir (filename began with a hash #sql). In fact the system's
> resources, disk access aside, weren't even being strained ... ~8% memory,
> 3-4% CPU.
All I can say now is that MySQL variable that determines the buffer size
for repair_by_sort (which is used to recreate indexes) is
myisam_sort_buffer_size. Try to increase its value.
What is your table structure (SHOW CREATE TABLE output) ?
Regards,
Sergei
--
MySQL Development Team
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
/_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany
<___/
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php