当前位置:网站首页>Mysql版本升级,直接复制Data文件,查询特别慢
Mysql版本升级,直接复制Data文件,查询特别慢
2022-07-30 03:51:00 【CSDN问答】
mysql版本升级,从5.7.17到5.7.38。直接将原来的Data文件复制到5.7.38后,查询速度特别慢,一个单表查询就需要几十秒;但是同样的数据库导出sql文件,再导入到5.7.38,查询速度又很快。想知道为什么直接复制Data文件查询会变慢,怎么解决。因为数据库文件很大,用sql文件导入容易报错,想尽可能不用sql导入的方法。
边栏推荐
猜你喜欢
随机推荐
Resampling a uniformly sampled signal
Nacos服务注册与发现
JIT vs AOT
Mini Program Graduation Works WeChat Points Mall Mini Program Graduation Design Finished Work (7) Interim Inspection Report
Mini Program Graduation Works WeChat Second-hand Trading Mini Program Graduation Design Finished Works (7) Interim Inspection Report
FreeRTOS Personal Notes - Memory Management
Monitor page deployment
【SQL】按某个关联列用一张表的数据更新另一张表
New interface - API interface for "Taote" keyword search
When the EasyNVR platform is cascaded to the EasyCVR, why can't the video be played after a while?
Public chains challenging the "Impossible Triangle"
sqlmap使用教程大全命令大全(图文)
Mini Program Graduation Works WeChat Second-hand Trading Mini Program Graduation Design Finished Works (4) Opening Report
状态空间表示
Solve the problem of compiling and installing gdb-10.1 unistd.h:663:3: error: #error “Please include config.h first.”
spicy (two) unit hooks
Starlight does not ask passers-by!The young lady on the Wuhan campus successfully switched to software testing in three months and received a salary of 9k+13!
防抖与节流
OpenFeign realize load balance
Anti-shake and throttling