Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1562

DataMemory uses 2x table size (1 reply)

$
0
0
Hi guys,

i just setup a mysql-cluster with 2 datanodes. Im useing tablespace to reduce memory consumtion. I noticed that still the doubleof the size of my table allocated in memory. Im restoring a dump which creates the table as follows:

create table test "some data" TABLESPACE ts_tablespace STORAGE DISK ENGINE=ndbcluster;

my table size is the following:
+----------------+------------+-----------------+
| Table Name | Rows Count | Table Size (MB) |
+----------------+------------+-----------------+
| test | 614360 | 93.22 |
+----------------+------------+-----------------+

memory consumption of all nodes:
Connected to Management Server at: localhost:1186
Node 3: Data usage is 1%(6560 32K pages of total 384000)
Node 3: Index usage is 0%(1156 8K pages of total 131136)
Node 4: Data usage is 1%(6504 32K pages of total 384000)
Node 4: Index usage is 0%(1156 8K pages of total 131136)



its the only table on the cluster an the memory consumption of datamemory is around 200MB. How can i reduce this datamemory consumption ?

Regards
Denny

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>