I've heard that some queries like DELETE
, or changing the structure of a table can decrease the speed of the search in a table.
First: is this true , or not?
Second: is there any way to increase it's speed again? (sth like Defragment maybe!)
If you doing on a regular basis UPDATE
and/or DELETE
statements on a table the SELECT
speed will decrease over time because the data and indexes (if present) will be fragmented thus the search process will take more depending on the degree of fragmentation so i purpose :
SELECT
statement
innodb_file_per_table
?