Skip to content
Coding FodingcodingFoding(you: Human)
  • Careers
  • Pricing

Theme

Heading font

  1. Home
  2. Database Internals
  3. Storage Engine Fundamentals
  4. Databases vs the OS Page Cache

Part 02 · Storage Engine Fundamentals

Databases vs the OS Page Cache

Page cachefsyncO_DIRECTDouble buffering

The OS caches files too, so why does the database keep its own cache? Double buffering, fsync, O_DIRECT, and how PostgreSQL and InnoDB choose differently.

⏱ 6 min · Station 12 of 123

111213
← Previous stopPage Replacement: LRU and ClockNext stop →TinyDB 1: Pager and Slotted Pages
Coding FodingcodingFoding(you: Human)

Everything you need, in one path.

Start free

Learn

  • Backend First Principles
  • DevOps & Cloud
  • System Design
  • AI & LLM Engineering
  • Database Internals
  • Frontend System DesignSoon

Practice

  • DSA problems
  • AI / ML problemsSoon
  • System Design Problems
  • Build to Hire

Interview

  • Interview PrepSoon
  • Most Common QuestionsSoon
  • Interview ExperiencesSoon
  • Success StoriesSoon

Community

  • Leaderboard
  • Blogs
  • Roadmap

More

  • Careers
  • Pricing

//codingFoding()

© 2026 Coding Foding · Made with ❤️ in Bangladesh

v1.0.0