Quantcast
Channel: MySQL-dump
Viewing all articles
Browse latest Browse all 15

Dude, where is my memory?

$
0
0
"Kris, please have a look at our database. We are running a materialized dataset processor, and on a database with about 40 GB of buffer pool and a database size of 6 GB, we are observing swapping."

Now, that is interesting. The box in question has 48 GB of memory, and indeed, hardly 6 GB of data.

CODE:
mysql> select 
 -> sum(data_length+index_length)/1024/1024/1024 as gb 
 -> from tables 
 -> where table_schema not in ('information_schema', 'performance_schema', 'mysql');
+----------------+
| gb             |
+----------------+
| 5.832778930664 |
+----------------+
1 row in set (0.00 sec)

Yet, at the same time in "top", and growing:
CODE:
 7552 mysql     15   0 55.1g  43g 6888 S  0.7 91.7 499:13.56 mysqld 


That's going to be interesting!


Continue reading "Dude, where is my memory?"

Viewing all articles
Browse latest Browse all 15

Trending Articles