performance - MySQL select by primary key against 100M of records within 30ms -
i have no expirience mysql , database performance tuning in general.
wondering whether possible perform large number of selects against 100 millions of records primary key within 30ms per request in average.
some details:
- pk 16 bytes.
- each record approximately 100 bytes , can shrinked 24 bytes if normalized (though cardinality approximately 10 1 , need joins in case).
table should writeable. there may 1 update per 1 select, though updates can deferred , performance less critical.
i allocate 8gb mysql needs.
- disk regular hdd (this concerns me most, because seek time 9ms)
please, suggest, storage engine preferable, mysql parameters should tuned. suggest, please, technics (perhaps selecting groups of records in() against record record, etc.) improve performance.
thanks in advance.
Comments
Post a Comment