Skip to content

Commit

Permalink
FAQ entry about sharding by schema (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
begriffs committed May 9, 2017
1 parent 50f96ad commit 8d74343
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions faq/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,8 @@ Can I run Citus on Heroku or Amazon RDS?
----------------------------------------

At this time Heroku and Amazon do not support running Citus directly on top of Heroku PostgreSQL or Amazon RDS. It is up to them if/when they enable the Citus extension. If you are looking for something similar, `Citus Cloud <https://www.citusdata.com/product/cloud>`_ is our database-as-a-service which we fully manage for you. It runs on top of AWS (like both RDS and Heroku PostgreSQL) and should provide a very similar product experience, with the addition of Citus' horizontal scaling.

Can I shard by schema on Citus for multi-tenant applications?
-------------------------------------------------------------

It turns out that while storing each tenant's information in a separate schema can be an attractive way to start when dealing with tenants, it leads to problems down the road. In Citus we partition by the tenant_id, and a shard can contain data from several tenants. To learn more about the reason for this design, see our article `Lessons learned from PostgreSQL schema sharding <https://www.citusdata.com/blog/2016/12/18/schema-sharding-lessons/>`_.

0 comments on commit 8d74343

Please sign in to comment.