Re: Quesion about querying distributed databases - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Quesion about querying distributed databases
Date
Msg-id fd47b28c-8f6b-4bfb-a393-160c5c3de8c0@aklaver.com
Whole thread Raw
In response to Quesion about querying distributed databases  (me nefcanto <sn.1361@gmail.com>)
Responses Re: Quesion about querying distributed databases
List pgsql-general
On 3/4/25 20:40, me nefcanto wrote:
> Hello
> 
> Consider this scenario:
> 
>   * 3 servers, 3 databases, each on a separate server:
>       o *Products database*: Contains the *Products* table (with over
>         100,000 records).
>       o *Taxonomy database*: Contains the *Categories* and
>         *ItemCategories (EAV)* tables.
>       o *Attributes database*: Contains the *Attributes* and
>         *ItemAttributes (EAV)* tables.
> 
> How do you find products based on the following criteria?

https://www.postgresql.org/docs/current/postgres-fdw.html

> 
>  1. A search in the title (e.g., "awesome shirts").
>  2. Selected categories (e.g., "casual" and "sports").
>  3. Selected attributes (e.g., "color: blue" and "size: large")
> 
> 
> Regards
> Saeed

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: me nefcanto
Date:
Subject: Quesion about querying distributed databases
Next
From: Igor Korot
Date:
Subject: Messages o Terminal