Ticket #141 (closed enhancement: fixed)
Rebuilding indexes should be done at the en of update iterators
| Reported by: | faltet | Owned by: | faltet |
|---|---|---|---|
| Priority: | major | Component: | PyTables Pro |
| Version: | 2.0 | Keywords: | |
| Cc: |
Description
Right now, when updating indexed columns in situations like:
for row in table:
row['mycol1'] = XXX
row['mycol2'] = YYY
row.update()
table.flush()
the existing indexes are re-computed when the output buffer is full. This is too expensive, and should be enough to just re-index when the update iterator has finished.
Change History
Note: See
TracTickets for help on using
tickets.
