mysql - How to handle large database? -
i working in 1 real-estate website , have large database around 250 fields in table , 15 lakhs (1.5 million) records in table. want give searching functionality in website so, how should design db such can search property fast these 15 lakhs records. want make site http://www.redfin.com/.
is effective 15 lakhs records should in 1 table searching ?
i don't understand how should design db? using php + mysql , want ask storage engine(myisam,innodb etc.) preferred type of large database handling ?
please me out.
are saying database consists of 1 table? that's 250 fields in single table suggests me. if so, i'd recommend consulting design expert have schema normalized bit.
as far performance goes, mysql innodb should sufficient long design proper keys , indexes. trick know queries you'll need , creating indexes make them efficient possible.
your table might have 250 columns, i'm betting typical queries go after combinations of columns of time. combinations you'll need index.
15 million rows isn't staggering number. might find normalizing reduce number great deal, because won't have repeated data. large databases measure in terabytes.
Comments
Post a Comment