Re: Interconnected views

From: Guillermo González de Agüero <z06(dot)guillermo(at)gmail(dot)com>
To: Oliver Kohll <oliver(at)agilebase(dot)co(dot)uk>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Interconnected views
Date: 2023-06-02 18:46:06
Message-ID: CAG1ZpUYcvfMi9Y9A+BiGchZsMWx1NPAozN9jvVfbC9PAdkdkBQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hace you taken a look at dbt (https://www.getdbt.com/)? It's aimed at
analytics but can be used for any purpose.

Regards,

Guillermo González de Agüero

El vie, 2 jun 2023 15:36, Oliver Kohll <oliver(at)agilebase(dot)co(dot)uk> escribió:

> Hi,
>
> Just wondering, does anyone else create apps which might not have 'big'
> data, but quite complex arrangements of views joining to each other?
>
> If so, do you have scripts to aid refactoring them e.g. drop/recreate/test
> them in the right order etc.?
>
> I'm really impressed with the way Postgres handles these multi-layered
> views. Some of our explain analyze outputs could fill a book each! Tools
> like Depesz' can be very useful. Sometimes a little tweaking or a judicious
> index is necessary, but the performance is very reliable and scalable.
>
> Blog post about it here:
> https://blog.agilebase.co.uk/2023/05/21/refactoring-sql-views/
>
> Oliver
>
> --
> See us at the Bath Digital Festival <https://techspark.co/bdf/>, 12th July
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2023-06-03 00:44:07 pg_upgrade and schema complexity...
Previous Message Joe Carlson 2023-06-02 18:36:25 custom background worker task for \copy?