SELECT loc.TENANT_ID, loc.DATABASE_NAME, loc.TABLE_NAME, loc.TABLE_ID, SUM(rep.DATA_SIZE) AS DATA_SIZE, SUM(rep.REQUIRED_SIZE) AS REQUIRED_SIZE, SUM(rep.DATA_SIZE) / NULLIF(SUM(rep.REQUIRED_SIZE), 0) AS SIZE_RATIO FROM oceanbase.CDB_OB_TABLE_LOCATIONS loc JOIN oceanbase.CDB_OB_TABLET_REPLICAS rep ON loc.TABLET_ID = rep.TABLET_ID WHERE loc.TABLE_TYPE = 'USER TABLE' and loc.TENANT_ID = 1002 GROUP BY loc.DATABASE_NAME, loc.TABLE_NAME, loc.TABLE_ID limit 2;