| From: | Adam Scott <adam(dot)c(dot)scott(at)gmail(dot)com> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | ERROR: out of overflow pages in hash index |
| Date: | 2020-07-23 16:42:52 |
| Message-ID: | CA+s62-Mz6gp6Tk8hfj5zt7jNUoqPTspbBoaeEzOdiZnj3akJkw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Anyone know if this can be remedied?
ERROR: out of overflow pages in hash index ....
This occurred while waiting for a hash index to be created on a 1,580
GB table (Postgres 11.7). We have > 30 TB of space free.
Here's the line where I think it gets triggered.
And I found that
#define HASH_MAX_BITMAPS Min(BLCKSZ / 8, 1024)
So there looks like a maximum size here, but I couldn't find anything
in the documentation.
What is the maximum size? I am guessing partitioning the table
someway might be a workaround, but it doesn't lend itself very well to
partitioning (i.e. there's no year column, or category or some such).
Help is appreciated!
Adam
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Wells Oliver | 2020-07-23 21:11:11 | DELETE query and indexes again |
| Previous Message | Scott Ribe | 2020-07-23 15:42:12 | Re: Encryption in pg_dump |