2
votes
innodb_buffer_pool_size complications
You don't need to calculate the pool size. Set innodb_buffer_pool_size to the total RAM you want to allocate to the buffer pool.
Let MySQL calculate the pool instances and chunk size. MySQL does this ...
1
vote
MySQL query optimisation
To speed the query up a little bit you could add a where clause based on your comment
Is "chat.com" always at the beginning of jid? Yes
The jid column is already indexed and the following ...
1
vote
Accepted
INSERTing millions of files into a table
Some notes:
InnoDB's COMPRESSED gives about 50% shrinkage of disk space.
gzip (and most other file-based tools) compress down to about 33%. So, it is better to shrink in the client instead of the ...
1
vote
INSERTing millions of files into a table
This is a lot of work to get all these files into the database.
Question: What are you going to do with them once they're in there?
If the answer is something like ...
When X happens, I want to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
innodb × 2211mysql × 1990
performance × 249
mariadb × 222
myisam × 210
mysql-5.5 × 149
index × 146
mysql-5.7 × 117
mysql-5.6 × 115
locking × 82
optimization × 80
backup × 71
deadlock × 71
mysqldump × 68
replication × 59
database-design × 55
memory × 53
mysql-8.0 × 52
recovery × 51
query-performance × 48
transaction × 44
buffer-pool × 44
foreign-key × 43
amazon-rds × 40
percona × 40