2022-06-27

SQLite or PostgreSQL? It's Complicated!

A detailed exploration of SQLite vs PostgreSQL performance for a Twilio blog analytics dashboard, featuring comprehensive benchmarking tests on both development and production environments, leading to unexpected findings about database performance under different query loads and concurrency levels.

Original archive.is archive.ph web.archive.org

Log in to get one-click access to archived versions of this article.

read comments on news aggregators:

Related articles

Postgres as a Graph Database: (Ab)using pgRouting

pgRouting, a Postgres extension typically used for geospatial routing, offers versatile graph functionality beyond GIS applications. The extension can handle task scheduling, resource allocation in distributed systems, and power recommendation engines, making it a lightweight alternative to specialized graph databases.

EdgeDB is now Gel and Postgres is the Future | Gel Blog

PostgreSQL's unique position as a truly open-source, advanced relational database with extensive modularity is driving its accelerating adoption across the industry. EdgeDB announces its rebranding as Gel, introducing full SQL support and deeper ecosystem integration while maintaining its role as a PostgreSQL frontend layer enhancement. The platform aims to provide seamless database integration similar to how TypeScript enhances JavaScript.

Build your own SQLite, Part 5: Evaluating queries

A technical guide explores the implementation of a SQLite query evaluator, focusing on SELECT statement execution and database operation fundamentals. The implementation includes setting up a test database, creating a query engine with Operator and Planner components, and establishing a REPL interface for query testing.

Richard Towers | Representing graphs in Postgresql

A detailed exploration of representing and querying graph data structures in PostgreSQL using nodes and edges tables, demonstrated through Lord of the Rings character relationships. The solution showcases how to implement complex relationship queries using recursive CTEs and parameterized statements for flexible graph traversal.

Siren Call of SQLite on the Server

An analysis of using SQLite in server-side production environments reveals that while technically capable, it introduces unnecessary complexity compared to traditional client-server databases. Despite SQLite's reliability and performance, implementing features like high availability and backups requires additional infrastructure, potentially negating its main benefits.

Top-level Files of tip

An open-source bookmarking server built with Common Lisp and PostgreSQL, offering multi-account support and minimal JavaScript requirements. The project prioritizes portability and simplicity, running efficiently on OpenBSD while maintaining core security features through bcrypt password storage and optional captcha protection.

Tiny JITs for a Faster FFI

An exploration of improving Ruby's Foreign Function Interface (FFI) performance through JIT compilation demonstrates potential speed improvements over traditional FFI implementations. Using a proof-of-concept called FJIT, the author achieves performance comparable to C extensions while maintaining Ruby-centric development practices. The implementation shows promising results with benchmarks indicating more than 2x speed improvement over conventional FFI calls.

GitHub - nexsol-technologies/pgassistant: PgAssistant is an open-source tool designed to help developers understand and optimize their PostgreSQL database performance.

PgAssistant is an open-source tool that helps developers analyze and optimize PostgreSQL database performance through features like schema optimization, query management, and AI-powered assistance. The tool integrates with OpenAI and local LLMs for query optimization while offering practical features like SQL linting, DDL generation, and PGTune integration.