• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

How to change query_cache_size?

Status
Not open for further replies.

tulipe

New Pleskian
Server operating system version
CentOS 7
Plesk version and microupdate number
Plesk Obsidian Web Pro Edition Version 18.0.41 Update #1
Hello, I want to increase the query_cache_size value.
So I made the request :
Code:
plesk db;
SET GLOBAL query_cache_size=16777216; (Query OK, 0 rows affected)
If I do SHOW VARIABLES LIKE '%query_cache%'; the new value has been taken into account.
Code:
+------------------------------+----------+
| Variable_name                | Value    |
+------------------------------+----------+
| query_cache_size             | 16777216
+------------------------------+----------+
However, if I restart mariadb service (service mariadb restart), the value is the old value which returns...
Code:
+------------------------------+----------+
| Variable_name                | Value    |
+------------------------------+----------+
| query_cache_size             | 1048576
+------------------------------+----------+
Do you have any idea please?
Thanks in advance
 
Status
Not open for further replies.
Back
Top