当前位置:网站首页>[original] PLSQL index sorting optimization
[original] PLSQL index sorting optimization
2022-07-01 00:46:00 【51CTO】
Reprint please indicate the source
select /*+INDEX_DESC(T IDX_SYS_MESS_CREATE_DATE)*/
*
FROM sys_message T
where t.create_date is not null
Index name :IDX_SYS_MESS_CREATE_DATE
SQL Table alias :T
Be careful :1、 /*+INDEX_DESC(T IDX_SYS_MESS_CREATE_DATE)*/ The alias of the red word should be the same as that of the table
2、 We must add where Index field is not null
3、 Data sets ( Non table ) No index available
4、 /*+INDEX_DESC(T IDX_SYS_MESS_CREATE_DATE)*/ After adding this sentence, it will be automatically sorted according to the red ink keyword , There is no need to add order by , The scarlet letter can also be changed to ASC
Press F5 Under execution , If the following keywords appear, it means success
边栏推荐
- Thoughts on the future of data analysis in "miscellaneous talk"
- The full technology stack, full scene and full role cloud native series training was launched to help enterprises build a hard core cloud native technology team
- New trend of embedded software development: Devops
- Mindjet mindmanager2022 mind map decompression installer tutorial
- Cmu15445 (fall 2019) project 1 - buffer pool details
- 双链表:初始化 插入 删除 遍历
- Gateway service gateway
- 2022-2028 global ultra high purity electrolytic iron powder industry research and trend analysis report
- 2022-2028 global ethylene oxide scrubber industry research and trend analysis report
- IBL预计算的疑问终于解开了
猜你喜欢
2022-2028 global capsule shell industry research and trend analysis report
20220215-ctf-misc-buuctf-ningen--binwalk analysis --dd command separation --archpr brute force cracking
The programmer's girlfriend gave me a fatigue driving test
[designmode] factory pattern
Design e-commerce seckill system
2022-2028 global retro glass industry research and trend analysis report
2022-2028 global single travel industry research and trend analysis report
When is it appropriate to replace a virtual machine with a virtual machine?
Vmware16 installing win11 virtual machine (the most complete step + stepping on the pit)
2022-2028 global electric yacht industry research and trend analysis report
随机推荐
Redis - how to understand publishing and subscribing
20220215 misc buctf easycap Wireshark tracks TCP flow hidden key (use of WinHex tool)
CentOS installation starts redis
Mindjet mindmanager2022 mind map decompression installer tutorial
2022-2028 global mobile scanning radiology room industry survey and trend analysis report
Longest valid bracket
20220215-ctf-misc-buuctf-ningen--binwalk analysis --dd command separation --archpr brute force cracking
2022-2028 global single travel industry research and trend analysis report
深度学习的历史
20220215 CTF misc buuctf Xiaoming's safe binwalk analysis DD command separate rar file archpr brute force password cracking
[designmode] singleton pattern
The full technology stack, full scene and full role cloud native series training was launched to help enterprises build a hard core cloud native technology team
[designmode] factory pattern
NATs cluster deployment
Pytorch installs and uses GPU acceleration
SAP ui5 beginner tutorial 19 - SAP ui5 data types and complex data binding
leetcode 474. Ones and zeroes (medium)
C # Generate PPK files in Putty format (passthrough support)
2022-2028 global plant peptone industry research and trend analysis report
2022就要过去一半了,挣钱好难