Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In my experience, Sqlite is faster than Postgres etc. No latency.


Does sqlite cache pages in memory?

If not, how can it be faster?

Is it the IPC overhead of Postgres?


Yes it caches pages in memory. The cache size is configurable via a PRAGMA.

Postgres / MSSQL / all RDBMS is slow because of network I/O.


>Postgres / MSSQL / all RDBMS is slow because of network I/O.

I assume in situations where you're choosing between Postgres and sqlite, everything is running on a single machine anyways.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: