Examples of CatalogItemSizeRollup


Examples of org.voltdb.utils.CatalogSizing.CatalogItemSizeRollup

        // column 5: row max size
        sb.append(String.format("<td id='s-%s-rmax' class='right-cell'>%d</td>\n", anchor, tsize.widthMax));

        // Roll up index sizes since a table can have multiple indexes.
        CatalogItemSizeRollup indexSizeRollup = tsize.indexRollup();

        // column 6: index min size
        sb.append(String.format("<td id='s-%s-imin' class='right-cell'>%d</td>\n", anchor, indexSizeRollup.widthMin));

        // column 7: index max size
View Full Code Here

Examples of org.voltdb.utils.CatalogSizing.CatalogItemSizeRollup

        CatalogItemSizeList<CatalogItemSizeRollup> rollups =
                new CatalogItemSizeList<CatalogItemSizeRollup>();
        rollups.add(dbSizes.tableRollup());
        rollups.add(dbSizes.viewRollup());
        rollups.add(dbSizes.indexRollup());
        CatalogItemSizeRollup rollupRollup = rollups.rollup(1);

        sb.append("<table class='table size-summary-table'>\n");
        generateSizeRollupSummary("tables whose row data ", "table", sb, rollups.get(0));
        generateSizeRollupSummary("materialized views whose row data ", "view", sb, rollups.get(1));
        generateSizeRollupSummary("indexes whose key data and overhead ", "index", sb, rollups.get(2));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.