logoalt Hacker News

nchmytoday at 4:03 PM1 replyview on HN

How about pg on Unix socket?


Replies

eurleiftoday at 6:52 PM

    Running 100,000 `SELECT 1` queries:
    PostgreSQL (localhost): 2.84 seconds
    PostgreSQL (Unix socket): 1.93 seconds
    SQLite (in-memory): 0.07 seconds
    SQLite (tempfile): 0.06 seconds
(https://gist.github.com/leifkb/b940b8cdd8e0432cc58670bbc0c33...)
show 1 reply