摘要:
使用ObjectMapper 字节转对象: object = objectMapper.readValue(byte[], class.class) Object转对象(直接强转报错): object = objectMapper.convertValue(json, class.class) 阅读全文
摘要:
查询表中数据大小: --数据库中单个表的大小(不包含索引) select pg_size_pretty(pg_relation_size('表名')); --查出所有表(包含索引)并排序SELECT table_schema || '.' || table_name AS table_full_na 阅读全文