Re: Slow query with 3 table joins

From: Johan Fredriksson <eskil(at)kth(dot)se>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow query with 3 table joins
Date: 2017-04-26 06:24:27
Message-ID: 1493187867.30225.3.camel@kth.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

tis 2017-04-25 klockan 23:19 -0400 skrev Alessandro Ferrucci:
> After about 40 inutes the slow query finally finished and the result
> of the EXPLAIN plan can be found here:
>
>
> https://explain.depesz.com/s/BX22
>
>
> Thanks,
> Alessandro Ferrucci

I'm not so familiar with the index implementetion in Postgres, but I
don't think it is very efficient to index a text-field. It also loooks a
bit strange that a id-field has the datatype "text" rather than integer
or varchar.

/ Eskil

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alessandro Ferrucci 2017-04-26 11:04:55 Re: Slow query with 3 table joins
Previous Message David Rowley 2017-04-26 04:12:00 Re: Slow query with 3 table joins