| From: | Andreas Kretschmer <andreas(at)a-kretschmer(dot)de> |
|---|---|
| To: | Matthias Apitz <guru(at)unixarea(dot)de> |
| Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: REINDEX in tables |
| Date: | 2023-10-25 09:59:38 |
| Message-ID: | 2786bf60-266d-8f82-2dee-4a43b90e16bb@a-kretschmer.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Am 25.10.23 um 11:57 schrieb Matthias Apitz:
> El día miércoles, octubre 25, 2023 a las 11:33:11 +0200, Andreas Kretschmer escribió:
>
>> Am 25.10.23 um 11:24 schrieb Matthias Apitz:
>>> We have a client who run REINDEX in certain tables of the database of
>>> our application (on Linux with PostgreSQL 13.x):
>>>
>>> REINDEX TABLE CONCURRENTLY d83last;
>>> REINDEX TABLE CONCURRENTLY d86plz;
>>> REINDEX TABLE CONCURRENTLY ig_memtable;
>>> REINDEX TABLE CONCURRENTLY ig_dictionary;
>>> REINDEX TABLE CONCURRENTLY ig_dictionary;
>>> REINDEX TABLE CONCURRENTLY d50zweig ;
>>> REINDEX TABLE CONCURRENTLY d50zweig ;
>>>
>>> We as the software vendor and support, do not use or recommend this
>>> procedure, because we have own SQL files for creating or deleting
>>> indices in the around 400 tables.
>>>
>>> The client is now concerned about the issue that the number of
>>> rows in some of the above tables has increased. Is this possible?
>> In principle, there is nothing wrong with doing this in a maintenance
>> window, for example.
> But, this wasn't the question. It was: can it happen that the number of
> rows in thze table will increase by this operation?
no, reindex will not add rows to the table.
Regards, Andreas
--
Andreas Kretschmer - currently still (garden leave)
Technical Account Manager (TAM)
www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Momchil Milev | 2023-10-25 11:04:19 | Question about the new PostgreSQL 16 availability on Ubuntu |
| Previous Message | Matthias Apitz | 2023-10-25 09:57:30 | Re: REINDEX in tables |