Database query logs for the last
7 days (if applicable) are stored in /logs/queryYYYYMMDD.log.gz
.
These files can be downloaded
via FTP. Database slow-query logs for the last 7 days (if applicable) consist of
all queries that are slow or unindexed, and are stored in /logs/slow-queryYYYYMMDD.log.gz
.