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.2: Concurrent index creation and complex queries for multi-tenant dbs

87 pointsby sgrovealmost 8 years ago

7 comments

branduralmost 8 years ago
This is a pretty impressive set of new features and fixes (i.e. things that worked in Postgres, but not with CitusDB).<p>In particular, the added ability to run `CREATE INDEX CONCURRENTLY` [1] for distributed tables is an important addition. I&#x27;ve run a pretty big Postgres database before, and this feature is absolutely _critical_ for bringing new indexes online for large tables without affecting users or other operations (without it, `CREATE INDEX` needs a lock that blocks other modifications in the table).<p>Its reverse, `DROP INDEX CONCURRENTLY` is a relatively newer addition to Postgres and also pretty key. While running on pre-9.2 (when it was added), we had to stop dropping indexes from large tables because the operation would block long enough that we&#x27;d start timing out user requests while it was running.<p>[1] <a href="https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;current&#x2F;static&#x2F;sql-createindex.html" rel="nofollow">https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;current&#x2F;static&#x2F;sql-createind...</a>
capkutayalmost 8 years ago
I wonder how they&#x27;ll compete with Cockroach down the road. Looks like both projects are doing great work around ACID in multi-tenant environments.
评论 #14510419 未加载
jeffnappialmost 8 years ago
This is <i>key</i>: SERIAL on distribution column: we now use serial types exactly as in Postgres<p>Bravo!
erikpukinskisalmost 8 years ago
Just a quick comment on this:<p>&gt; Good software never stops evolving<p>I think I would translate this as: &quot;our software is so large in scope, it must never stop evolving if it is to remain good enough.&quot;<p>Small software, with a single, focused goal, can evolve to a steady state which is still good.<p>Often we need to build things whose scope is too large for that, and must constantly churn. That&#x27;s ok. But ideally you are finding parts of your work which can be sent in the opposite direction: towards God; or the oneness of all things.<p>If none of your work ever seems to find a path towards simplicity and oneness, it&#x27;s possible you are pathologically mixing concerns, which, if true, is probably slowing you down.
评论 #14510437 未加载
old-greggalmost 8 years ago
Citus people are putting SQL back into NoSQL! :) Awesome.
评论 #14510438 未加载
qaqalmost 8 years ago
Do you guys have pricing anywhere on the site?
评论 #14510299 未加载
TeMPOraLalmost 8 years ago
Offtopic, but the mention of elegant lightsabers reminds me of a scene from one of my favourite TV series, StarGate SG-1:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NjlCVW_ouL8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NjlCVW_ouL8</a><p>Money quote at 02:25:<p><pre><code> [O&#x27;Neill demonstrating a staff weapon] This is a weapon of terror. It&#x27;s made to... intimidate the enemy. THIS... [O&#x27;Neill shows a P-90] ... is a weapon of _war_. It&#x27;s made to _kill_ your enemy. </code></pre> I.e. effective beats elegant :).