â Postgresqlã®å ´å SELECT relname, reltuples, pg_size_pretty(pg_table_size(oid)) as tablesize FROM pg_class WHERE relnamespace = (SELECT oid FROM pg_namespace WHERE nspname='public') and relkind in ('r', 't'); çµæâãã¼ãã«åãã¬ã³ã¼ãæ°ããµã¤ãºãåºåããã¾ãã â Oracleã®å ´å SELECT table_name, TO_NUMBER( extractvalue( xmltype( dbms_xmlgen.getxml('SELECT COUNT(*) c FROM '||table_name)) ,'/ROWSET/ROW/C')) rec_ccount, trunc(bytes
SELECT relname, reltuples as rows, (relpages * 8192) as bytes FROM pg_class WHERE relname = 'ãã¼ãã«å' ãã¼ãã«ãpg_classãã«DBã®å種æ å ±ãæ ¼ç´ããã¦ããã ãã¼ãã«ã®ãµã¤ãº(ç©ç容é)ãè¨æ¸¬ããå ´åã¯ãrelpages ã«æ³¨ç®ããã relpages 㯠ãã¼ã¸åä½(BLCKSZ)ã®è¡¨ç¾ãµã¤ãºãbytes ã«å¤æããæ㯠8192(8K) ããããã [è£è¶³] relname : ãã¼ãã«å reltuples : ã¬ã³ã¼ãæ°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}