| From: | Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com> |
|---|---|
| To: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
| Subject: | Index |
| Date: | 2024-03-10 11:19:13 |
| Message-ID: | CAJk5AtZqnqPdoajrRM4sAEjAP=zM5d7bQ1=VY_EKJ=9vV+H+Gg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Hi ,
I have a table where size is increasing daily. In that table only inserts
and deletes happens. This table is referencing 15 other tables. We have
given delete cascade, so if a row is deleted in parent table, the matching
records will also be deleted in those child tables.
It is taking lot of time to delete. So, I am planning to create index on
those child tables.
My question is, apart from inserts, I am only going to delete records from
those tables. How index improves performance for deleting records? How
index is affected or how to do index management in this case?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2024-03-10 11:48:24 | Re: Index |
| Previous Message | Holger Jakobs | 2024-03-10 09:03:50 | Re: Hello |