WordPress.org

Support

Support » Plugins and Hacks » HyperDB » Strip a table to different databases

Strip a table to different databases

  • How to strip a table to more tables in different databases?
    For example I have wp_posts table,
    How to make this to write to two tables from different databases,
    and to read from them joining the data together?

    So in other words making two tables from different databases to feel like one table from one database.

    My schema:

    = database 1:
    – wp_posts table
    — (ID) — (value)
    — 1 — value 1, 2, etc
    — 3 — value 1, 2, etc

    = database 2:
    – wp_posts table
    — (ID) — (value)
    — 2 — other value 1, 2, etc
    — 4 — other value 1, 2, etc

    == result:
    – wp_posts table
    — 1 — value 1, 2, etc
    — 2 — other value 1, 2, etc
    — 3 — value 1, 2, etc
    — 4 — other value 1, 2, etc

    http://wordpress.org/extend/plugins/hyperdb/

  • The topic ‘Strip a table to different databases’ is closed to new replies.
Skip to toolbar