PostgreSQL offers several unconventional optimization techniques beyond standard indexing. Setting `constraint_exclusion` to 'on' in BI environments prevents full table scans when queries violate check constraints. Function-based indexes on lower-cardinality expressions (like dates instead of timestamps) can reduce index size
•19m read time• From hakibenita.com
Table of contents
Eliminate Full Table Scans Based on Check ConstraintsOptimize for Lower Cardinality With Function Based IndexEnforce Uniqueness with Hash Index1 Comment
Sort: