manipulating 15+ million records in mysql with php?

Posted by Nithish on Stack Overflow See other posts from Stack Overflow or by Nithish
Published on 2011-01-04T05:45:31Z Indexed on 2011/01/04 5:53 UTC
Read the original article Hit count: 181

Filed under:
|
|
|
|

Hey,

I got a user table containing 15+ million records and while doing the registration function i wish to check whether the username already exist. I did indexing for username column and when i run the query "select count(uid) from users where username='webdev'" ,. hmmm, its keep on loading blank screen finally hanged up. I'm doing this in my localhost with php 5 & mysql 5. So suggest me some technique to handle this situation.

Is that mongodb is good alternative for handling this process in our local machine?

Thanks, Nithish.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql