Skip to content

Commit

Permalink
Revert "perf: Force PostgreSQL to use a bitmap index scan (2s) instea…
Browse files Browse the repository at this point in the history
…d of an index scan (8s)"
  • Loading branch information
jpmckinney committed Oct 7, 2024
1 parent 2800187 commit 3e90946
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions process/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ def metadata(self, request, pk=None):
metadata = {}

with connection.cursor() as cursor:
# Force PostgreSQL to choose bitmap index scan instead of index scan for the data_pkey index.
cursor.execute("SET LOCAL enable_indexscan = OFF")

cursor.execute(
"""\
SELECT
Expand Down

0 comments on commit 3e90946

Please sign in to comment.