| From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
|---|---|
| To: | Tim Cross <theophilusx(at)gmail(dot)com> |
| Cc: | Ravi Krishna <srkrishna(at)yahoo(dot)com>, PG mailing List <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Disabling/Enabling index before bulk loading |
| Date: | 2018-07-10 22:58:44 |
| Message-ID: | CANu8Fiw1owWzLV8Pt9s4ofJtdjz1=EzbUhL+fLNd6GiwARxbrA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> We recently did a test on COPY and found that on large tables (47 million
rows , 20GB of raw data) the
> difference in COPY with 16 indexes...
*I am very suspicious of why you need 16 indexes. Are you sure all those
indexes are actually being utilized?*
*Try executing the attached query, You may find find some are really not
needed.*
--
*Melvin Davidson*
*Maj. Database & Exploration Specialist*
*Universe Exploration Command – UXC*
Employment by invitation only!
| Attachment | Content-Type | Size |
|---|---|---|
| useless_indexes2.sql | text/plain | 749 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hustler DBA | 2018-07-10 23:04:21 | Re: Open Source tool to deploy/promote PostgreSQL DDL |
| Previous Message | Tim Cross | 2018-07-10 22:31:56 | Re: Disabling/Enabling index before bulk loading |