Collections.sort(holes);
final StringWriter buffer = new StringWriter();
final OJSONWriter json = new OJSONWriter(buffer);
final ODataLocal dataSegment = ((OStorageLocal) db.getStorage()).getDataSegment(0);
final long dbSize = dataSegment.getFilledUpTo();
json.beginObject();
json.writeAttribute(1, true, "size", dbSize);
long current = 0;