<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Data-Structures on Tech News Feed</title>
    <link>https://news.dhphong.com/tags/data-structures/</link>
    <description>Recent content in Data-Structures on Tech News Feed</description>
    <generator>Hugo -- 0.131.0</generator>
    <language>vi</language>
    <lastBuildDate>Tue, 14 Apr 2026 01:45:20 +0700</lastBuildDate>
    <atom:link href="https://news.dhphong.com/tags/data-structures/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[Hacker News] B-trees and database indexes (2024)</title>
      <link>https://news.dhphong.com/posts/2026-04-14-b-trees-and-database-indexes/</link>
      <pubDate>Tue, 14 Apr 2026 01:45:20 +0700</pubDate>
      <guid>https://news.dhphong.com/posts/2026-04-14-b-trees-and-database-indexes/</guid>
      <description>Nguồn: PlanetScale Blog
Tóm tắt PlanetScale xuất bản một deep dive về B-trees và cách chúng được sử dụng trong database indexes. Bài viết giải thích tại sao B-trees — không phải binary search trees hay hash tables — trở thành data structure mặc định cho hầu hết database indexes trong hơn 50 năm qua, từ InnoDB đến PostgreSQL đến RocksDB.
Lý do cốt lõi là B-trees được thiết kế tối ưu cho block storage: chúng minimize số lần đọc đĩa (disk I/O) bằng cách pack nhiều keys vào mỗi node, matching với kích thước page của OS và disk sectors.</description>
    </item>
  </channel>
</rss>
