Handling very large data with mysql

前端 未结 2 835
离开以前
离开以前 2020-12-02 05:55

Sorry for the long post!

I have a database containing ~30 tables (InnoDB engine). Only two of these tables, namely, \"transaction\" and \"shift\" are quite large (th

2条回答
  •  一个人的身影
    2020-12-02 06:25

    When collecting billions of rows, it is better (when possible) to consolidate, process, summarize, whatever, the data before storing. Keep the raw data in a file if you think you need to get back to it.

    Doing that will eliminate most of your questions and concerns, plus speed up the processing.

提交回复
热议问题