随笔分类 - FAQ
摘要:1、postgresql中索引系统视图pg_stat_user_indexes TEST=# \d+ sys_stat_user_indexes View "SYS_CATALOG.sys_stat_user_indexes" Column | Type | Modifiers | Storage
阅读全文
摘要:在创建函数索引时遇到报错,报错信息即为标题,下面是详细信息。 1 表定义 1234567 skytf=> \d test_39; Table "skytf.test_39" Column | Type | Modifiers + + skyid | integer | create_time | t
阅读全文
摘要:1、某张表查询报错,报错信息如下 back=# select max(create_time) from public.tbl_index_table where create_time>='2010-10-08';ERROR: could not read block 41381 of relat
阅读全文
摘要:数据库统计数据量时常常用的是count(1)或者count(*),这两者区别不大,在postgres里面统计数据总量时,要注意count(column_name)与count(*)的区别,有些场景下会造成数据统计不准确的误解。官方文档上有一段话: For example, count(*) yiel
阅读全文
摘要:一、环境 系统平台:Linux x86-64 Red Hat Enterprise Linux 7 版本:4.1.1 二、症状 Red Hat 7.2操作系统部署HGDB 4.1.1后,日志经常出现报错: because another server process exited abnormall
阅读全文