Documentation Home
NDB Cluster Internals
Related Documentation Download this Manual
PDF (US Ltr) - 1.2Mb
PDF (A4) - 1.2Mb


2.28 DUMP 1000

Code

1000

Symbol

DumpPageMemory

Kernel Blocks

DBACC, DBTUP

Description.  Prints data node memory usage (ACC and TUP), as both a number of data pages, and the percentage of DataMemory and IndexMemory used.

Sample Output. 

2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Data usage is 0%(10 32K pages of total 65529)
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Index usage is 0%(7 32K pages of total 65526)
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource global total: 75741 used: 3956
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource reserved total: 70516 used: 3600
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource shared total: 5225 used: 357 spare: 1
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource 1 min: 0 max: 0 curr: 357 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource 3 min: 65536 max: 65536 curr: 17 spare: 1
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource 4 min: 724 max: 724 curr: 130 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource 5 min: 1152 max: 1152 curr: 1088 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource 6 min: 800 max: 1000 curr: 123 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource 7 min: 2240 max: 2240 curr: 2240 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 5: Resource 9 min: 64 max: 0 curr: 1 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Data usage is 0%(10 32K pages of total 65529)
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Index usage is 0%(7 32K pages of total 65526)
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource global total: 75741 used: 3954
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource reserved total: 70516 used: 3597
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource shared total: 5225 used: 358 spare: 1
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource 1 min: 0 max: 0 curr: 358 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource 3 min: 65536 max: 65536 curr: 17 spare: 1
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource 4 min: 724 max: 724 curr: 120 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource 5 min: 1152 max: 1152 curr: 1088 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource 6 min: 800 max: 1000 curr: 130 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource 7 min: 2240 max: 2240 curr: 2240 spare: 0
2019-07-30 22:00:56 [MgmtSrvr] INFO     -- Node 6: Resource 9 min: 64 max: 0 curr: 1 spare: 0

Note

When invoked as ALL DUMP 1000, this command reports memory usage for each data node separately, in turn.

Additional Information.  You can also use the ndb_mgm client command REPORT MEMORYUSAGE or query the ndbinfo.memoryusage table for this information.