For this table this is to late... leave it running...

If you want to do this on another table(s)... and in general on huge
loaded MySQL servers I recomend the following...

Create a directory let's say /mnt/mem_fs
Mount in it /dev/shm use "tmpfs" as filesystem...
Now you have a directory that stores all the info in memory... if the
available alocated memory in consumed then it will start swaping...
but compute all values so that it dosen't...

In my.cnf set a MySQL directive like:
tmpdir = /mnt/mem_fs

This way MySQL will create temporary tables in memory rather than
creating them on disk !!!
I'm pretty sure you can figure out the speed improvment !

-- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Gabriel PREDA
Senior Web Developer


On 10/5/06, David Sparks <[EMAIL PROTECTED]> wrote:
Its already been running 2 days.  I probably need to index some more
columns in another table -- is there anything that can be done to speed
this up?
dump and re-import is impractical.
Server is decent -- 4xcpu, 16GB RAM...
Thanks,
ds

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to