Search Postgresql Archives

Re: Quesion about querying distributed databases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux