S
S
Sergey Bard2018-01-30 16:25:32
MySQL
Sergey Bard, 2018-01-30 16:25:32

What is better to use?

Hello everyone, please tell me:
1) what is better to use for the ad aggregator, MyISAM or InnoDB
2) I look at two opencart and wordpress databases, I see opencart written in MyISAM, and WP on InnoDB, it is clear that there are no foreign keys in MyISAM and opencart did not use them , and why in WP there are no external relations?
3) and such a general question if you choose InnoDB, do you need to use foreign keys ?, again, I look at WP and don’t see external ones there, but instead of keys, indexes were used there, which is better?
I would be grateful for any advice!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lazy @BojackHorseman MySQL, 2018-01-30
@serg_small_developer

standard question.
it all depends on the ratio of the number of select operations to the number of update/insert/delete operations.
you can even draw up graphs, the dependence of the average sampling time on the volume of the table and the ratio of the number of types of operations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question