Re: Mysql hypothetical performance

2005-02-11 Thread Homam S.A.
I think you meant "select session from users where user_id = 'X'". Anyway, it doesn't matter how big your table is as long as you build an index on (user_id, session). This way MySQL doesn't have to touch the table for this query. --- Scott Haneda <[EMAIL PROTECTED]> wrote: > I build a few logi

Mysql hypothetical performance

2005-02-10 Thread Scott Haneda
I build a few login and password systems in MySql, my general layout is as follows: Users table and account table. The users table has the bare minimum columns in it, id, username, password, session, updated, added. Account table has stuff like first name, last name, email address, street addres