How do you get the last access (and/or write) time of a MySQL database?

后端 未结 3 2489
无人共我
无人共我 2021-02-20 18:57

How do you find out the last time a MySQL database was read or written to?

Can you even do that check per table?

3条回答
  •  耶瑟儿~
    2021-02-20 19:17

    check out command SHOW TABLE STATUS;
    example: SHOW TABLE STATUS WHERE name="table_name_here", you need value from column Update_time

提交回复
热议问题