#mysql - Wed 25 Apr 2007 between 17:32 and 17:37



jazzrockerMentalPower: ask #centos ?
MentalPowerfair enough, thanks
fatpeltshimi: yeah. it would obviously be incorrect for your needs
shimifatpelt, it says that possible keys = dump, type = range, key = dump and extra = "using where"
fatpeltshimi: ok, so we got rid of the filesort. the problem with the filesort is probably " The key used to fetch the rows is not the same as the one used in the ORDER BY" -- from http://dev.mysql.com/doc/refman/5.0/en/order-by-optimization.html
jazzrockervak: doing specifically what you want to do, no there is no GUI geared towards that... there are however GUIs available
fatpeltshimi: do you need the unixtime index?
jazzrockergui
the_wenchGUI tools can be found at http://dev.mysql.com/downloads/gui-tools/5.0.html phpMyAdmin at http://www.phpmyadmin.net/ and even navicat
jazzrockergui @ vak
!man gui @ vak
the_wenchSorry - I have no idea what function you're talking about! but try http://dev.mysql.com/gui @ vak
jazzrockerhmm oh well
vak: you get the idea
shimiwell, I am sorting by unixtime desc, and taking the upper result... so I figured I need an index for that to sort quickly, no?
fatpeltshimi: can you try dropping it or would that break other stuff?
vakjazzrocker, OK thank you a lot
jazzrockernp
shimiand since it's "genre", then "unixtime", I need a joined index by genre,unixtime, am I wrong?
archivist!tell jazzrocker about gui
the_wenchjazzrocker GUI tools can be found at http://dev.mysql.com/downloads/gui-tools/5.0.html phpMyAdmin at http://www.phpmyadmin.net/ and even navicat
jazzrockervak: i really think you should do it by hand, with SQL
archivistdats how
DedParetI'm still confused here. I understand how to find all those records with an ID that *does* show up alongside a particular 'ngram' value, but not the other way around.
shimioh you mean the standalone "unixtime" index ?
jazzrockervak: GUI tools are really only useful for viewing large queries... mysql cli fucks up each row real bad if the row is longer than your screen is wide
fatpeltshimi: well, for a test i'd like to see what happens if you drop the index titled unixtime (that only indexes the unixtime column). leave the dump index (indexing genre,unixtime) as is
Insolithow can i insert a date into mysql?
fatpeltshimi: yup
shimiok :)
archivist!tell DedParet about a not in b
fatpeltInsolit: you mean like 'yyyy-mm-dd' ?
the_wenchDedParet SELECT a.* FROM a LEFT JOIN b ON a.id = b.id WHERE b.id IS NULL;
vakjazzrocker, customer will say good bye to this idea. the custmer believes the pretty blond should make the job, when programmer leaves the city.
jazzrockervak: though it's nice to have the gui admin panel... but as far as DB design, stay away from gui tools
shimiok, dropped the index
or at least, gave the command, it seems to be processing alot now :)
Insolitfatpelt: either that or a timestamp
fatpeltshimi: and does the original sql still filesort ?
jazzrockervak: wtf is the customer doing DB design for?

Page: 2 9 16 23 30 37 44 51 58 65 72 

IrcArchive