Re: Index
От | Laurenz Albe |
---|---|
Тема | Re: Index |
Дата | |
Msg-id | 7d714ce571752dd8c9f2de7b2583e43c1ff4cd96.camel@cybertec.at обсуждение исходный текст |
Ответ на | Index (Rajesh Kumar <rajeshkumar.dba09@gmail.com>) |
Список | pgsql-admin |
On Sun, 2024-03-10 at 16:49 +0530, Rajesh Kumar wrote: > 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? https://www.cybertec-postgresql.com/en/index-your-foreign-key/ Yours, Laurenz Albe
В списке pgsql-admin по дате отправления: