docs: public void dumpSizes() throws SQLException, BlockStoreException {
          maybeConnect();
          Statement s = conn.get().createStatement();
          long size = 0;
          long totalSize = 0;
          int count = 0;
          ResultSet rs = s.executeQuery(getSelectSettingsDumpSQL());
          while (rs.next()) {
              size += rs.getString(1).length();
              size += rs.getBytes(2).length;
              count++;
          }
          rs.close();
          System.out.printf(Locale.US, "Settings size: %d, count: %d, average size: %f%n", size, count, (double)size/count);
  
          totalSize += size; size = 0; count = 0;
          rs = s.executeQuery(getSelectHeadersDumpSQL());
          while (rs.next()) {
              size += 28; // hash
              size += rs.getBytes(1).length;
              size += 4; // height
              size += rs.getBytes(2).length;
              count++;
          }
          rs.close();
          System.out.printf(Locale.US, "Headers size: %d, count: %d, average size: %f%n", size, count, (double)size/count);
  
          totalSize += size; size = 0; count = 0;
          rs = s.executeQuery(getSelectUndoableblocksDumpSQL());
          while (rs.next()) {
              size += 28; // hash
              size += 4; // height
              byte[] txOutChanges = rs.getBytes(1);
              byte[] transactions = rs.getBytes(2);
              if (txOutChanges == null)
                  size += transactions.length;
              else
                  size += txOutChanges.length;
              // size += the space to represent NULL
              count++;
          }
          rs.close();
          System.out.printf(Locale.US, "Undoable Blocks size: %d, count: %d, average size: %f%n", size, count, (double)size/count);
  
          totalSize += size; size = 0; count = 0;
          long scriptSize = 0;
          rs = s.executeQuery(getSelectopenoutputsDumpSQL());
          while (rs.next()) {
              size += 32; // hash
              size += 4; // index
              size += 4; // height
              size += rs.getBytes(1).length;
              size += rs.getBytes(2).length;
              scriptSize += rs.getBytes(2).length;
              count++;
          }
          rs.close();
          System.out.printf(Locale.US, "Open Outputs size: %d, count: %d, average size: %f, average script size: %f (%d in id indexes)%n",
                  size, count, (double)size/count, (double)scriptSize/count, count * 8);
  
          totalSize += size;
          System.out.println("Total Size: " + totalSize);
  
          s.close();
      }