MySQL, tables or columns
#3

currently i have 70 columns in table "accounts" with:
'connected', 'money', 'level', 'bank-money'... and I have to add even more, probably 50

when the player do login, i load all accounts table "select * from accounts where nickname=maria", 30 percent of columns are not used at this time.

the point is, sometimes I have to list all accounts "select x, y, z from contas where value=1"
probably the result is 170+ accounts


exemple:

select A,B,C,D,E,F,G,H from table Vince (with 100 columns)

or

select A,B,C,D from table Vince (with 50 columns)
select E,F,G,H from table Falcon (with 50 columns)


what i really wanna know is, which of the two gets more performance =/
Reply


Messages In This Thread
MySQL, tables or columns - by Falcon. - 27.10.2012, 14:01
Re: MySQL, tables or columns - by Vince - 27.10.2012, 14:06
Re: MySQL, tables or columns - by Falcon. - 27.10.2012, 14:27
Re: MySQL, tables or columns - by SuperViper - 27.10.2012, 15:21
Re: MySQL, tables or columns - by Falcon. - 27.10.2012, 20:48
Re: MySQL, tables or columns - by CoDeZ - 27.10.2012, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)