摘要:
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 阅读全文
摘要:
Postgresql里面内置了很多的实用函数,下面介绍下组合和切割函数一.组合函数1.concata.语法介绍 concat(str "any" [, str "any" [, ...]]) Concatenate all but first arguments with separators. T 阅读全文
摘要:
数据库统计数据量时常常用的是count(1)或者count(*),这两者区别不大,在postgres里面统计数据总量时,要注意count(column_name)与count(*)的区别,有些场景下会造成数据统计不准确的误解。官方文档上有一段话: For example, count(*) yiel 阅读全文
摘要:
问题背景 加压测试过程中发现插入数据过程中报错:could not write to hash-join temporary file: 设备上没有空间。但是查看服务器还有很多空闲空间,是什么导致这样的错误呢? 查看执行脚本 insert into db_zjgj.result_rule_cwjbx 阅读全文