| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=38655066
读这个评论让我想起了我曾经看到过的一句话:“一切都建立在 Postgres 之上。” 虽然此评论线程主要关注数据库本身,但它强调了 PostgreSQL 的多功能性及其支持的广泛应用程序。 事实上,PostgreSQL 似乎有很大的势头成为 Python、Ruby 和 PHP 等通用编程语言的标准选择。 此外,开源技术的普及和基础设施成本的降低使得个人,特别是爱好者和独立软件创建者,能够构建全新的服务,而无需传统企业通常伴随的资本支出和运营要求。 作为正在考虑从事数据库技术(尤其是开源软件)职业的人,思考技术进步和不断变化的经济格局所提供的潜在机会是令人兴奋的。 最终,通过利用 PostgreSQL 等强大而灵活的技术,具有不同技能的个人可以创建创新的解决方案,并在预算限制范围内为社会做出有意义的贡献。 可能性确实是无限的,包括数据库在内的开源技术的未来是光明的!
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
There is a bug in the compaction method:
You should only skip tombstones when you are compacting the final (i.e., largest) level, instead of between every level. Otherwise, an entry in a lower level will unmask itself because the tombstone in the upper level was compacted away.It's one of the properties of LSM-based DBs that deletions/tombstones records linger for a long time, though some databases (eg RocksDB) put in some optimizations to get around this.
reply