Hacker News with Generative AI: Database Design

Vertical Sharding Sucks (pgdog.dev)
Vertical sharding, sometimes called functional sharding, takes tables out of your main database and puts them somewhere else. Most of the time, it’s another Postgres database. This reduces load on the main DB and gives your app some breathing room to grow.
Why Vector DBs Are the Wrong Abstraction – and What We Built Instead (topk.io)
We’ve spent the last three years building the most popular vector database on the market. In that time we realized that a database built around vectors as a primary key is simply the wrong abstraction, creating an unnecessary obstacle for users in production.
Scrap Your ORM–Replacing Your ORM with Relational Algebra (youtube.com)
How can you represent inheritance in a database? (2010) (stackoverflow.com)
I'm thinking about how to represent a complex structure in a SQL Server database.
Logical vs. Physical Data Types (spiraldb.com)
Code in Database vs. Code in Application (brandur.org)
A perennial question in the database world: should you prefer to keep application logic closer to the database itself, in stored procedures and triggers, or above the database in your application code?
ChartDB – Free and open source, database design editor (chartdb.io)
Show HN: Visualize database schemas with a single query (github.com/chartdb)
Database Design for Google Calendar: A Tutorial (databasedesignbook.com)
Path Dependence in Relational Design (minimalmodeling.substack.com)
Why Choose ULIDs over Traditional UUIDs or IDs for Database Identification? (sotergreco.com)
Common DB schema change mistakes in Postgres (postgres.ai)