public void resetTableDevice(final String table) {
    final long num = tableDeviceNumber.remove(table);
    devicesNumber.addAndGet(-num);
    schemaEngineStatistics.deleteDevice(num);
  }
This class is used to record statistics within the SchemaRegion in Memory mode.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/rescon/MemSchemaRegionStatistics.java