[英]Query execution taking too much time
I am trying to executing a very large select query into a temp_table
我正在尝试对
temp_table
执行一个非常大的选择查询
CREATE TEMP TABLE tmp_tblp
AS (my select query which is very long, consists of many inner joins)
4443 rows
4443 rows
try this尝试这个
SET temp_buffers = '1GB';
SET work_mem = '1GB';
set shared_buffers='1GB';
set effective_cache_size='1GB';
before executing your query
, the above values is for 3GB
RAM在执行
query
之前,上述值适用于3GB
RAM
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.