TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Citus 6.1 Released – Horizontally scale your Postgres database

194 pointsby gdbover 8 years ago

5 comments

koolbaover 8 years ago
Are the commands in the examples the actual SQL commands for sharding and is the default to have them in the public namespace?<p>Ex:<p><pre><code> CREATE TABLE states (...) -- distribute it to all workers SELECT create_reference_table(&#x27;states&#x27;); SELECT isolate_tenant_to_new_shard(&#x27;table_name&#x27;, tenant_id); </code></pre> While isolate_tenant_to_new_shard() doesn&#x27;t seem like it&#x27;d clash with anything, create_reference_table() seems common enough to exist in someone&#x27;s code. Why not have this in a citus schema by default?<p>&gt; In Citus 6.1 Vacuum is now distributed and run in parallel automatically across your cluster.<p>Did VACUUM prior to 6.1 require one node in the cluster to issue locks on other nodes? If so what for? I&#x27;m not intimately familiar with how the nodes in the cluster communicate but would have figured each is acting as a standalone DB and coordinating common updates via 2PC (which means VACUUM was already distributed).
评论 #13663364 未加载
crudbugover 8 years ago
I just started learning Citus, it is a very promising product.<p>Couple of things for improvement &#x2F; may be already supported.<p>1. New User records do not propagate to all the nodes - Manual Step.<p>2. New Database records do not propagate to all the nodes - Manual Step.<p>3. Materialized View with incremental refresh - Currently Postgres re-runs the query everytime there is a data change - For a table of billion records this is very inefficient.
评论 #13663374 未加载
tpetryover 8 years ago
Automatic failover for master nodes would be a really nice feature making citus a hassle-free solution.
评论 #13669143 未加载
rattrayover 8 years ago
Can any users of Citus comment on the difficulty&#x2F;ease of adoption, tradeoffs, and benefits?
评论 #13663285 未加载
matt_wulfeckover 8 years ago
&gt; <i>Microservices and NoSQL get a lot of hype, but in many cases what you really want is a relational database that simply works, and can easily scale as your application data grows.</i><p>I believe this product is very threatened right now by Google&#x27;s newly announce Cloud Spanner database[1]. Even with services like this that make scaling &quot;easy&quot;, it doesn&#x27;t yet make it transparent like Google is striving to do.<p>[1] <a href="https:&#x2F;&#x2F;cloudplatform.googleblog.com&#x2F;2017&#x2F;02&#x2F;introducing-Cloud-Spanner-a-global-database-service-for-mission-critical-applications.html" rel="nofollow">https:&#x2F;&#x2F;cloudplatform.googleblog.com&#x2F;2017&#x2F;02&#x2F;introducing-Clo...</a>
评论 #13665539 未加载
评论 #13665604 未加载