for (Store store : r.getStores()) { mt.storeFileCount += store.getStorefilesCount(); mt.memstoreSize += (store.getMemStoreSize().getDataSize() + store.getMemStoreSize().getHeapSize() + store.getMemStoreSize().getOffHeapSize()); mt.storeFileSize += store.getStorefilesSize(); mt.referenceFileCount += store.getNumReferenceFiles();
for (Store store : region.stores.values()) { tempNumStoreFiles += store.getStorefilesCount(); tempMemstoreSize += store.getMemStoreSize().getDataSize(); tempStoreFileSize += store.getStorefilesSize(); OptionalLong storeMaxStoreFileAge = store.getMaxStoreFileAge();
for (Store store : storeList) { tempNumStoreFiles += store.getStorefilesCount(); tempMemstoreSize += store.getMemStoreSize().getDataSize(); tempStoreFileSize += store.getStorefilesSize();
out.print( cf ); out.write("</h3>\n\n <h4>Memstore size (MB): "); out.print( (int) (store.getMemStoreSize().getHeapSize() / 1024 / 1024) ); out.write("</h4>\n\n <h4>Store Files</h4>\n\n <table class=\"table table-striped\">\n <tr>\n <th>Store File</th>\n <th>Size (MB)</th>\n <th>Modification time</th>\n </tr>\n "); for(StoreFile sf : storeFiles) {
@Override public void run() { long tempNumStoreFiles = 0; long tempMemstoreSize = 0; long tempStoreFileSize = 0; if (region.stores != null) { for (Store store : region.stores.values()) { tempNumStoreFiles += store.getStorefilesCount(); tempMemstoreSize += store.getMemStoreSize(); tempStoreFileSize += store.getStorefilesSize(); } } numStoreFiles = tempNumStoreFiles; memstoreSize = tempMemstoreSize; storeFileSize = tempStoreFileSize; } }
private boolean shouldFlush(Store store) { if (store.getMemStoreSize() > this.flushSizeLowerBound) { if (LOG.isDebugEnabled()) { LOG.debug("Flush Column Family " + store.getColumnFamilyName() + " of " + region.getRegionInfo().getEncodedName() + " because memstoreSize=" + store.getMemStoreSize() + " > lower bound=" + this.flushSizeLowerBound); } return true; } return region.shouldFlushStore(store); }
for (Store store: storesToFlush) { perCfExtras.append("; ").append(store.getColumnFamilyName()); perCfExtras.append("=").append(StringUtils.byteDesc(store.getMemStoreSize()));
(long) (store.getMemStoreSize() / (1024.0 * 1024)));
out.print( cf ); out.write("</h2>\n\n <h4>Memstore size (MB): "); out.print( (int) (store.getMemStoreSize() / 1024 / 1024) ); out.write("</h3>\n\n <h4>Store Files</h3>\n\n <table class=\"table table-striped\">\n <tr>\n <th>Store File</th>\n <th>Size (MB)</th>\n <th>Modification time</th>\n </tr>\n "); for(StoreFile sf : storeFiles) {
for (Store store : storeList) { tempNumStoreFiles += store.getStorefilesCount(); tempMemstoreSize += store.getMemStoreSize(); tempStoreFileSize += store.getStorefilesSize(); tempStorefileIndexSize += store.getStorefilesIndexSize();