List of relations
Schema | Name | Type | Owner
---------------------------+-----------------+------+----------
pgs_distribution_metadata | partition | view | postgres
pgs_distribution_metadata | shard | view | postgres
pgs_distribution_metadata | shard_placement | view | postgres
(3 rows)
Am i missing some thing here? or this schema has only views?
2) In multi master setup, I have two masters. If I updated schema in one master node and wanted to sync the meta-data to other master instead of login to other master and do the same steps each and every time, do we have any script?
--
You received this message because you are subscribed to a topic in the Google Groups "pg_shard users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pg_shard-users/-gcO-njeQEk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pg_shard-user...@googlegroups.com.
To post to this group, send email to pg_shar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pg_shard-users/cbff481d-d0f5-44c6-b88b-a56642dfeb93%40googlegroups.com.
When i checked the three views in "pgs_distribution_metadata", which are created while installing citusdb, they are collecting data from tables which are stored in pg_catalog schema as given below.Tables in pg_catalog:1) pg_dist_partition2) pg_dist_shard3) pg_dist_shard_placementSo, when i distribute and shard the table using master_create_distributed_table() and master_create_worker_shards() functions, the meta-data will be stored in the tables of pg_catalog? Then views under "pgs_distribution_metadata" schema will be using these tables information for INSERT, UPDATE and DELETE operations?
If this is the case when we use citusdb to create another master node, it is better to take the base backup of existing master metadata database and restore to the new master. sync_metadata script we cant implement here? Please clarify.
To view this discussion on the web visit https://groups.google.com/d/msgid/pg_shard-users/846ef1c8-3b9e-4ab9-b7fa-e13a63449c73%40googlegroups.com.