The ultimate MySQL legacy database nightmare

前端 未结 4 1983
面向向阳花
面向向阳花 2021-02-14 08:22

Table1: Everything including the kitchen sink. Dates in the wrong format (year last so you cannot sort on that column), Numbers stored as VARCHAR, complete addresses in the \'st

4条回答
  •  盖世英雄少女心
    2021-02-14 09:07

    The Log Files (binary Logs) were my first thought too. If you knew how they did things you would shudder. For every row there are many many entries in the log as pieces are added and changed. Its just HUGE! For now I settled upon the Hash approach. With some clever file memory paging this is quite fast.

提交回复
热议问题