TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

MyISAM, InnoDB, and PostgreSQL

32 pointsby mattybabout 15 years ago

3 comments

justinsbabout 15 years ago
The biggest differences normally arise with multiple queries running concurrently. For example, InnoDB &#38; PostgreSQL use MVCC whereas MyISAM uses locking, and PostgreSQL normally wins most benchmarks with high concurrency on multi-core machines (8+).<p>I'm not certain I understand what you ran in the 'heavy' and 'light' threading tests. Can you provide some more details / explanation?
prodigal_erikabout 15 years ago
Everyone measures how expensive transactions are compared to no isolation, but I've never seen anyone switch off isolation and measure how often their code stumbles across a half-baked update from another thread, nor how badly their code screws up their data when it happens.
jokullabout 15 years ago
My problem with PostgreSQL is that you're half expected to tweak it to your needs. Ideally I would have to record and replay real life activity against the database for each adjustment. It's too much work to do properly. An expert could probably make a good first guess though. Which is why I've wondered if there is a tool where you drag a couple of sliders that describe your server specs and application nature and output config.
评论 #1227697 未加载
评论 #1227538 未加载
评论 #1227657 未加载
评论 #1228215 未加载
评论 #1227673 未加载