WordPress.org

Ready to get started?Download WordPress

Forums

HyperDB
Strip a table to different databases (1 post)

  1. Alexandru Vornicescu
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Alexandru Vornicescu
  • This topic is not resolved
  • WordPress version: 3.5

Tags

No tags yet.