本节简单解释了PostgreSQL不是在执行时写入临时表空间的实现。
测试数据如下:
<前> <代码>(本地):5432 pg12@testdb=#从资源选择count (*); 数 ------- 1 (1行) 时间:6.009毫秒 (本地):5432 pg12@testdb=#从t_big_null select count (*); 数 ---------- 10000001 (1行) (本地):5432 pg12@testdb=# 代码>本节简单解释了PostgreSQL不是在执行时写入临时表空间的实现。
测试数据如下:
<前> <代码>(本地):5432 pg12@testdb=#从资源选择count (*); 数 ------- 1 (1行) 时间:6.009毫秒 (本地):5432 pg12@testdb=#从t_big_null select count (*); 数 ---------- 10000001 (1行) (本地):5432 pg12@testdb=# 代码>