#mysql - Fri 13 Apr 2007 between 06:41 and 07:22



chadmaynardwhats a cannadick?
fraggelnnevermind ;)
chadmaynardoh come on
can a dick?
haptiKhello
im having trouble with select distinct. im doing a performance report and whenever i use select distinct the searches take for ever and the mysql load goes through the roof
weigonhaptiK: paste the query at p.caboo.se and let's see
jeremy_gchadmaynard:i dont need any help from lao tze. i know the journey of thousand miles begins with a single or small steps.
haptiK:how many records you are querying over?
haptiKjeremy_g: no more than about 5000
weigon: will do.. one sec.
chadmaynardjeremy_g: i don't see how it applies
haptiKhttp://p.caboo.se/53556
could it have something to do with the fact i haven't normalized the data for region
or country for that matter.
chadmaynardwhich part takes a long time? the select distinct or the order by?
haptiKi'm not sure
should i test that
weigonhaptiK: put an index on (country, region)
ALTER TABLE mountains ADD INDEX (country, region);
haptiKbut you would suggest i normalize the data?
a country table a region table ?
weigonthat's another story
yes
haptiKok
i am just new to mysql so i dont understand joins at all really
im scared
hehe
weigonhaptiK: hashmysql.org -> normalization
haptiKok thanks
i must say you guys are much more helpful than #mysql on effnet
i got banned yesterday for asking a mysql question
efnet rather
actionchadmaynard bans haptiK for talking about mysql
chadmaynardbans haptiK for talking about mysql
domasyeah, we should ban people asking mysql questions here too
haptiKhaha
odb|fidel_hehe
chadmaynardor just implement a random ban.
haptiKthere is one thing i am a little bit concerned about when i do this normalization thing
actionarchivist bans chadmaynard
archivistbans chadmaynard

Page: 3 10 17 24 31 38 45 52 59 66 73 

IrcArchive