symfony1 - how to increase performance of mysql query if we have more than 1 million records? -


in user table have more 1 million records how can manage using mysql, symfony 1.4. make performance better.

so can give quick output.

to improve performance of designed system can increase resources. typically, these days, cheapest way distribute task.

for example slow thing in rdbm system reading , writing storage (typically rdbms systems start i/o bound, is, wait data read or written storage).

so, offset, commonly rdbms allow split table across multiple hdds, multiplying i/o performance (approach similar raid0).

adding more hard disks increases performance. goes on maximum i/o system support (either because system can not push more data through circuits or because need crunch numbers bit when fetches them becomes cpu bound; optimally utilising both)

after have start multiplying systems distributing data across database nodes. work either rdbms must support or there should application layer coordinate distributing tasks , merging results, things still scale.

i 512 systems have trillion records cached (10^12) , achieve relatively nice performance. should specify kind of performance looking - there difference between full text searches on terra-records , running simple fetches , updates. also, work 500ms (or more) considered performance , other work horrible.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -