This repository was archived by the owner on Oct 2, 2025. It is now read-only.
Commit e2ed65e
committed
Enable nested loop for gprestore connections
Statistics backups created in gpbackup versions starting from 1.30.5_arenadata16
have inefficient SQL for deleting existing statistics statements. For new
backups, this issue has been fixed in the previous commit. This patch fixes the
issue for existing backups by enabling nested loop join. This should lead to a
more efficient plan with an index scan instead of a seq scan.1 parent eecb1f8 commit e2ed65e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments