当前位置:网站首页>Configuration (enable_*) parameter related to execution plan in PG
Configuration (enable_*) parameter related to execution plan in PG
2022-06-24 12:46:00 【PHP Development Engineer 】
ENABLE_* Parameters
stay pg in , Some with “ENABLE_*” Parameters at the beginning , These parameters provide methods that affect the query optimizer's choice of different execution plans .
If the execution plan chosen by the optimizer for a particular query is not optimal , These parameters can be set to force the optimizer to choose a better execution plan to solve this problem in the near future ,
But generally not in pg Change the default values of these parameter values in .
enable_seqscan:boolean
Whether to select full table scanning . In fact, full table scanning cannot be completely disabled , But turning this variable off will give the optimizer priority over other methods when they exist
enable_indexscan:boolean
Whether to select index scan
enable_bitmapscan:boolean
Whether to select bitmap scanning
enable_tidscan:boolean
Whether to select bitmap scanning
enable_nestloop:boolean
When multiple meters are connected , Whether to select nested loop connection . If set to “off”, The execution plan can only be connected by nested loops , The optimizer can only choose this path ,
But if there are other ways to connect , The optimizer will give preference to other methods .
enable_hashjoin:boolean
When multiple meters are connected , Whether to choose hash Connect
enable_mergejoin:boolean
When multiple meters are connected , Whether to choose merge Connect
enable_hashagg:boolean
Whether to use hash polymerization
enable_sort:boolean
Use explicit sort , If set to “off”, When there is only one way to sort the execution plan , The optimizer can only choose this path ,
But if there are other ways to connect , The optimizer will give preference to other methods .
Complete example :http://github.crmeb.net/u/defu
come from “ Open source world ” , link :http://ym.baisou.ltd/post/617.html, If you want to reprint , Please indicate the source , Otherwise, the legal liability will be investigated .
边栏推荐
- Pipeline post instruction
- How does Argo family bucket make Devops easier?
- Examples of AES and RSA encryption operations implemented by php7.1
- 2021-06-02: given the head node of a search binary tree, it will be transformed into an ordered two-way linked list with head and tail connected.
- Detailed explanation of the execution order of the expression and loop body in the for loop
- Conceptual analysis of DDD Domain Driven Design
- Istio Troubleshooting: uneven grpc service load
- Kubernetes practical technique: setting kernel parameters for pod
- What if the WordPress website forgets its password
- Attack Science: ARP attack
猜你喜欢
随机推荐
Google hacking search engine attack and Prevention
巴比特 | 元宇宙每日必读:618成绩已然揭晓,在这份还算满意的答卷背后,数字藏品做出了多少贡献?...
【数据挖掘】期末复习(样卷题目+少量知识点)
Pinduoduo press the user accelerator key
Fbnet/fbnetv2/fbnetv3: Facebook's lightweight network exploration in NAS | lightweight network
解析nc格式文件,GRB格式文件的依赖包edu.ucar.netcdfAll的api 学习
Simple and flexible permission design?
A scheme for crawlers to collect public opinion data
As one of the bat, what open source projects does Tencent have?
The difference between apt and apt get
How to solve the problem that MBR does not support partitions over 2T, and lossless transfer to GPT
Examples of AES and RSA encryption operations implemented by php7.1
Making daily menu applet with micro build low code
Pycharm中使用Terminal激活conda服务(终极方法,铁定可以)
[5 minutes to play lighthouse] create an immersive markdown writing environment
从《梦华录》的争议性,谈谈数字版权作品的价值泡沫
Adjustment method of easynvr video platform equipment channel page display error
Another prize! Tencent Youtu won the leading scientific and technological achievement award of the 2021 digital Expo
Getting started with scrapy
Istio FAQ: istio init crash








