Quesion about querying distributed databases

From: me nefcanto <sn(dot)1361(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Quesion about querying distributed databases
Date: 2025-03-05 04:40:09
Message-ID: CAEHBEOBuoMFWuhHM3L_Zr6o1enELju-Vns6Pknt4TT+6MFQOwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

Consider this scenario:

- 3 servers, 3 databases, each on a separate server:
- *Products database*: Contains the *Products* table (with over
100,000 records).
- *Taxonomy database*: Contains the *Categories* and *ItemCategories
(EAV)* tables.
- *Attributes database*: Contains the *Attributes* and *ItemAttributes
(EAV)* tables.

How do you find products based on the following criteria?

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-03-05 04:42:08 Re: Quesion about querying distributed databases
Previous Message Tom Lane 2025-03-05 02:37:00 Re: Error on query execution