当前位置:网站首页>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 .
边栏推荐
- Kubernetes practical skills: use cert manager to issue free certificates for DNSPod domain names
- Essential key steps in the construction of e-commerce live broadcast source code
- The programmer's graduation project is still bald after a year
- 微医CodeReview工具链
- JVM GC garbage collection detailed introduction quick check of learning notes
- 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.
- Attack Science: ARP attack
- About Adobe Photoshop adjusting selection
- National standard platform easygbs administrator assigns roles to sub users and troubleshooting of invalid channels
- Easynvr user login is modified to share the modification process of ip+ user name restriction
猜你喜欢

关于被黑数据库那些事

Codereview tool chain for micro medicine

Concept + formula (excluding parameter estimation)

从《梦华录》的争议性,谈谈数字版权作品的价值泡沫

MySQL 外键影响

一文讲透植物内生菌研究怎么做 | 微生物专题

线程同步的基石AbstractQueuedSynchronizer详解

Babbitt | metauniverse daily must read: 618 scores have been announced. How much contribution has the digital collection made behind this satisfactory answer

文本转语音功能上线,可以体验专业播音员的服务,诚邀试用

On the value foam of digital copyright works from the controversial nature of "Meng Hua Lu"
随机推荐
Practice of dynamic load balancing based on open source tars
Kubernetes best practice: graceful termination
How to make secruecrt more productive
Pipeline shared library
[day ui] alert component learning
Kubernetes practical skills: use cert manager to issue free certificates for DNSPod domain names
How does the video networking / network penetration tool easynts permanently delete one of the devices?
How do websites and we media tap user needs? Deeply expose the secrets behind the keywords!
[highlights] summary of award-winning activities of Tencent cloud documents
How to do research on plant endophytes? Special topic on Microbiology
Conceptual analysis of DDD Domain Driven Design
Continuous testing | key to efficient testing in Devops Era
Optimization of MP4 file missing seconds caused by TS files when downloading videos from easydss video platform
On the value foam of digital copyright works from the controversial nature of "Meng Hua Lu"
JVM GC garbage collection detailed introduction quick check of learning notes
The text to voice function is available online. You can experience the services of professional broadcasters. We sincerely invite you to try it out
What if the WordPress website forgets its password
Easynvr user login is modified to share the modification process of ip+ user name restriction
Who said that "programmers are useless without computers? The big brother around me disagrees! It's true
A good habit that makes your programming ability soar