Skip to content
0:00 / 0:00

#sqlite#postgres#d.richardhipp

SQLite: Protégé of PostgreSQL

Andrea Ross

4.1K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Hacker News.
  • Presented by D. Richard Hipp, creator of SQLite

Intermediate. Assumes working knowledge.

7.8K views12 years ago1 recommendation

Databases and dataSQLitePostgresDatabase internals

D. Richard Hipp explains how SQLite was designed using PostgreSQL documentation and how the two databases complement each other.

The Keynote for PGCon 2014 by D. Richard Hipp SQLite has become the most widely deployed SQL database engine in the world, with over two billion installations providing SQL database services for cellphones, web-browsers, cameras, and countless other gadgets and applications. But SQLite is not in competition with PostgreSQL. Rather, PostgreSQL and SQLite complement each other, with each engine targeting a different class of problems. SQLite can be thought of as a derivative of PostgreSQL. SQLite was originally written from PostgreSQL 6.5 documentation, and the SQLite developers still use PostgreSQL as a reference platform to verify that SQLite is working correctly.

Why it's here

1 person recommends this

What people say. Engineers recommend this talk for understanding SQLite's design, compatibility goals, and relationship with PostgreSQL.

felixgeon Hacker News • Recommends

On “How Postgres Makes Transactions Atomic”

AFAIK SQLite doesn't achieve atomicity by virtue of its global write lock. It does so by using a rollback journal (default) or WAL. So it's not really all that different from PostgreSQL in that regard and the authors point remains valid :). You might also enjoy this talk by the main author of SQLite: link to this video (SQLite: Protégé of PostgreSQL)

keeperofdakeyson Hacker News • Mentions

On “SQLite: Small, Fast, Reliable – Choose any three”

As a read-only database, sqlite doesn't have too many limits, since the storage mechanism is flexible enough to allow fast queries. The problem comes when you start writing, and reads have to wait for them. Also, (I believe) it was this talk link to this video that mentions sqlite being used in adobe lightroom, and it being faster to access thumbnails from an sqlite database.

justinclifton Hacker News • Mentions

On “Ask HN: Is sqlite good for long-term persistence?”

Not sure about a 30 year timeframe. 10 years seems like it wouldn't be any kind of problem (personal opinion), but 30 years is an awful long time. That being said, the SQLite development Community are very very big on backwards compatibility. eg: link to this video Hmmmm, there's a better talk by D. Richard Hipp around, but I'm not finding it atm. In the better talk he explains they (SQLite) are planning to be around for the 30 year timeframe you mention. Something to do with an airplane manufacturer looking for long term guarantees, but I don't remember the details.