SQLite vs Postgres for a local database (on disk, not over the network): who wins? (Each in their most performance oriented configuration)
SQLite: Past, Present, and Future
11–20 of 147 posts
Re: SQLite: Past, Present, and Future
#12SQLite vs Postgres for a local database (on disk, not over the network): who wins? (Each in their most performance oriented configuration)
Re: SQLite: Past, Present, and Future
#13Re: SQLite: Past, Present, and Future
#14SQLite vs Postgres for a local database (on disk, not over the network): who wins? (Each in their most performance oriented configuration)
Postgres obviously. Sorry, just thought I'd buck the trend and assume a very write-heavy workload with like 64 cores. If you don't have significant write contention, SQLite every time.
Re: SQLite: Past, Present, and Future
#15Re: SQLite: Past, Present, and Future
#16Earlier quoted context omitted.
Postgres obviously. Sorry, just thought I'd buck the trend and assume a very write-heavy workload with like 64 cores. If you don't have significant write contention, SQLite every time.
Where is write contention coming from if it's operated locally?
Re: SQLite: Past, Present, and Future
#17Earlier quoted context omitted.
Postgres obviously. Sorry, just thought I'd buck the trend and assume a very write-heavy workload with like 64 cores. If you don't have significant write contention, SQLite every time.
Where is write contention coming from if it's operated locally?
Re: SQLite: Past, Present, and Future
#18SQLite vs Postgres for a local database (on disk, not over the network): who wins? (Each in their most performance oriented configuration)
Postgres obviously. Sorry, just thought I'd buck the trend and assume a very write-heavy workload with like 64 cores. If you don't have significant write contention, SQLite every time.
So write contention from multiple connections is what you're talking about, versus a single process using sqlite?
Re: SQLite: Past, Present, and Future
#19SQLite vs Postgres for a local database (on disk, not over the network): who wins? (Each in their most performance oriented configuration)
SQLite is always going to win in that category just from the fact that there are less layers of code to be worked through to execute a query.
This is not an invariant. I've seen be true, and I've seen it be false. Sometimes that extra code is just cruft yes. Other times though it is worth it to set up your data (or whatever) to take advantage of mechanical sympathies in hot paths, or filter the data before the expensive processing step, etc.
Re: SQLite: Past, Present, and Future
#20SQLite vs Postgres for a local database (on disk, not over the network): who wins? (Each in their most performance oriented configuration)
SQLite is always going to win in that category just from the fact that there are less layers of code to be worked through to execute a query.