sql - Strange better mysql query perfomance on bigger schema -


i have strange problem query , mysql innodb schema on server..

that query has high query time (about 1,6 - 2 seconds), , db empty.

in order verify performance on bigger data set have cloned db, , populated thousand more rows. strange thing query take less time before (0,5 seconds).

using explain command on both query gives same results.

i have no idea, can see metric or difference between db??

edit:

i try dump ddl of both schema: mysqldump -u user -ppwd -h ***** -d myschema > myschemaddl.sql

then have ran diff command 2 dump , result: there no difference..

this example of result: enter image description here

edit 2: screenshot of explain extended result. results equals both db..

databases have storage issues similiar hard drive fragmentation. after lot of inserts , deletes data stored in suboptimal format. if clone backup new database created in 1 batch operation optimized internal storage. in case mysqldump return same information.

you may:


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -