D
D
Dmitry2016-10-11 10:58:41
MySQL
Dmitry, 2016-10-11 10:58:41

Why are mysql cache files deleted?

Hello!
Made a new folder for mysql query cache - /var/lib/mysql/tmp.
Files are created, but for some reason they are immediately deleted, what is the principle of operation and is it possible to disable this automatic deletion?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neol, 2016-10-11
@muldy

This is not a query cache, but temporary tables, and they should be deleted., Because the final result will be stored (if it does not exceed the limits, of course) in the query cache, which is entirely in memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question