I am trying to executing a very large select query into a temp_table
CREATE TEMP TABLE tmp_tblp
AS (my select query which is very long, consists of many inner joins)
4443 rows
and here is my query
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.