MySQL Select Optimisation
#1

Hi,

I've this code and it has 168 rows of data to collect.

"SELECT * FROM userdrugs WHERE Username='%s' LIMIT 0,1"

Here is half of the structure:



It goes upto gram179. For it to select and obtain the data it takes around 5 seconds.

What can I do to optimise and make it faster?

Thanks.
Reply


Messages In This Thread
MySQL Select Optimisation - by Kyle - 21.12.2012, 14:52
Re: MySQL Select Optimisation - by AndreT - 21.12.2012, 14:54
Re: MySQL Select Optimisation - by Kyle - 21.12.2012, 14:59
Re: MySQL Select Optimisation - by AndreT - 21.12.2012, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)