![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Correct. Someday, someone will step up to the plate and fix the problem with btrees growing and growing and not reusing dead space. Til then the solution is to reindex heavily updated indexes during nightly maintenance. http://archives.postgresql.org/pgsql...6/msg00813.php |
lli (AT) lurza (DOT) secnetix.de] |
I am having a table with UNIQUE constraints defined on three columns. Also I have UNIQUE user defined INDEX with the same columns on the > table. |
|
The problem on removing the index is that my table has almost 2M > transtions in approx ~4 Hours and I need to perform external reindexing > (DROP and CREATE INDEX) every 2 Hours to reclaim the dead space left > behind by the deleted rows. |
#2
| |||
| |||
|
|
Even I was thinking, VACCUM ANALYSE <table-name> is jes enough but following discussion on forum forced me to add reindexing as I also saw similar error msgs from my postgres server. Correct. Someday, someone will step up to the plate and fix the problem with btrees growing and growing and not reusing dead space. Til then the solution is to reindex heavily updated indexes during nightly maintenance. |
|
http://archives.postgresql.org/pgsql...6/msg00813.php |
|
Also Can Some one help me understand the overhead involved in DROPing and CREATing the indexes? How often this activity should be performed? |
#3
| |||
| |||
|
|
I can't believe that's true. That would be a serious show- stopper bug in PostgreSQL, in my opinion. The documentation does not mention anywhere that periodically dropping and re- creating indices might be necessary. In fact, in chapter 11.8 it specifically says "indexes in PostgreSQL do not need maintenance and tuning". |
#4
| |||
| |||
|
|
I can't believe that's true. That would be a serious show- stopper bug in PostgreSQL, in my opinion. The documentation does not mention anywhere that periodically dropping and re- creating indices might be necessary. In fact, in chapter 11.8 it specifically says "indexes in PostgreSQL do not need maintenance and tuning". |
#5
| |||
| |||
|
|
2)WARNING: specified item offset is too large PANIC: failed to add item to the page for "cdr_transid_key" |
#6
| |||
| |||
|
|
2)WARNING: specified item offset is too large PANIC: failed to add item to the page for "cdr_transid_key" |
![]() |
| Thread Tools | |
| Display Modes | |
| |