Enable query classifier cache by default

Enabling it will give a performance improvement and it offloads work from
the CPU. This leads to better and more complete utilization of system
resources.
This commit is contained in:
Markus Mäkelä
2018-08-22 08:52:28 +03:00
parent 13c04324cf
commit 1692765503
4 changed files with 64 additions and 17 deletions

View File

@ -154,8 +154,20 @@ bool clean_up_pathname(char *path);
bool mxs_mkdir_all(const char *path, int mask);
/**
* Return the number of processors
*
* @return Number of processors or 1 if the information is not available
*/
long get_processor_count();
/**
* Return total system memory
*
* @return Total memory in bytes or 0 if the information is not available
*/
int64_t get_total_memory();
/**
* Store a 4 byte integer
*