Bug #53705 | Data memory usage increases while restarting data nodes | ||
---|---|---|---|
Submitted: | 17 May 2010 14:23 | ||
Reporter: | Geert Vanderkelen | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | mysql-5.1-telco-7.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[17 May 2010 14:23]
Geert Vanderkelen
[17 May 2010 14:23]
Geert Vanderkelen
Originally found on Linux, reproduced on Mac using MySQL Cluster 7.0.14 (or 7.1.3).
[21 Sep 2010 12:37]
Jonas Oreland
This could maybe be http://bugs.mysql.com/bug.php?id=56829 Could you please please retest wo/ ordered index geert. I.e change table to CREATE TABLE t1 ( id INT UNSIGNED NOT NULL, vc VARCHAR(128), vclong VARCHAR(1280), PRIMARY KEY (id) using hash ) ENGINE=NDB DEFAULT CHARSET=latin1;
[21 Sep 2010 16:35]
Geert Vanderkelen
Jonas, Exact same effect without ordered index. Below test is rerun of the original, and then with the same table but USING HASH. All tests while updating the records. -Geert With Ordered Index: -------------------- ndb_mgm> all report mem Node 2: Data usage is 85%(2736 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 85%(2736 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152) ndb_mgm> 3 restart ndb_mgm> all report mem Node 2: Data usage is 85%(2736 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 86%(2752 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152) ndb_mgm> 2 restart ndb_mgm> all report mem Node 2: Data usage is 91%(2912 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 86%(2752 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152) ndb_mgm> all restart ndb_mgm> all report mem Node 2: Data usage is 85%(2736 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 85%(2736 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152) Without Ordered Index: ----------------------- ndb_mgm> all report mem Node 2: Data usage is 83%(2686 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 83%(2686 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152) ndb_mgm> 2 restart ndb_mgm> all report mem Node 2: Data usage is 90%(2894 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 83%(2686 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152) ndb_mgm> 3 restart ndb_mgm> all report mem Node 2: Data usage is 90%(2894 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 90%(2894 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152) ndb_mgm> all restart ndb_mgm> all report mem Node 2: Data usage is 83%(2686 32K pages of total 3200) Node 2: Index usage is 3%(160 8K pages of total 5152) Node 3: Data usage is 83%(2686 32K pages of total 3200) Node 3: Index usage is 3%(160 8K pages of total 5152)