Cpanel Database Soft Quotas
The file used to cache the number of databases owned by an account moved from /home/user/.cpanel/datastore/mysql-db-count to /var/cpanel/datastore/user/mysql-db-count. Likewise the PostgreSQL cache file is now /var/cpanel/datastore/user/postgres-db-count.
To keep the cache file current, a cron job executes the following command periodically: /scripts/update_db_cache.
cPanel™ 11.25 provides support for including the disk space consumed by an account’s MySQL and PostgreSQL database in the disk usage for the account. To enable this feature toggle the following Tweak Settings: When displaying disk usage in cPanel/WHM include Postgresql and MySQL® disk usage.