Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Support for Postgres-XL or CITUS

$
0
0

Hi All,
So I have been playing with MM and would like to try moving to a highly available DB setup with Postgres-XL.
I have been able to get the basic setup working by pre-creating the tables and setting DISTRIBUTION to replicate.
Example:

CREATE TABLE channels (
    id character varying(26) NOT NULL,
    createat bigint,
    updateat bigint,
    deleteat bigint,
    teamid character varying(26),
    type character varying(1),
    displayname character varying(64),
    name character varying(64),
    header character varying(1024),
    purpose character varying(128),
    lastpostat bigint,
    totalmsgcount bigint,
    extraupdateat bigint,
    creatorid character varying(26)
)
DISTRIBUTE BY REPLICATION;

Logging in and posting works for a while, but eventually looks like the DB stops processing new posts.

Anyone have experience setting up MM with a clustered Postgres setup?


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>