Skip to content

Commit d12be5c

Browse files
committed
Add section on testing index scan.
1 parent 3c731e0 commit d12be5c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/FAQ

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Sun Jan 12 13:36:11 EST 2003
4+
Last updated: Fri Jan 17 12:15:04 EST 2003
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -749,6 +749,10 @@
749749
ORDER BY col [ DESC ]
750750
LIMIT 1;
751751

752+
If you believe the optimizer is incorrect in choosing a sequential
753+
scan, use SET enable_seqscan TO 'off' and run tests to see if an index
754+
scan is indeed faster.
755+
752756
When using wild-card operators such as LIKE or ~, indexes can only be
753757
used in certain circumstances:
754758
* The beginning of the search string must be anchored to the start

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy