做我的狗哪個網(wǎng)站可以看廣州網(wǎng)站推廣排名
解決思路:
base/pgsql_tmp下臨時表空間不夠
需要新建一個臨時表空間指定到根目錄之外的其他目錄
并且修改默認臨時表空間參數(shù)
解決方法:
select * from pg_settings where name = 'temp_tablespaces';mkdir /home/postgres/tbs_tmp
CREATE TABLESPACE tbs_tmp LOCATION '/home/postgres/tbs_tmp/';alter system set temp_tablespaces='tbs_tmp';select pg_reload_conf();
或者會話級別處理
mkdir /home/postgres/tbs_tmp
CREATE TABLESPACE tbs_tmp LOCATION '/home/postgres/tbs_tmp/';
set session temp_tablespaces='tbs_tmp';
參考文章:https://blog.csdn.net/weixin_34194702/article/details/89750375