开发者

how does postgreSQL 8 handle concurrency control

Am using postgreSQL 8 to crea开发者_C百科te a database. I have noticed that it migt suffer a problem with concurrency control.

1. please explain to me how does postgreSQL 8 handle concurrency control? 2. when comparing MY SQL with postgreSQL which of these is best to handle concurrency control.


PostgreSQL 8 does not exist, you have 8.0, 8.1, 8.2, 8.3 and 8.4. All different major versions. Version 9.0 will be released this month.

PostgreSQL uses MVCC (Multiversion Concurrency Control), as described in the manual: http://www.postgresql.org/docs/current/interactive/mvcc.html

MySQL uses per engine a different stategy, innoDB also uses MVCC. Major difference will be that in PostgreSQL, everything is transaction safe, including DDL like ALTER TABLE.

I have noticed that it migt suffer a problem with concurrency control.

What did you notice? MVCC is a smart system, not a perfect system. But it's good enough for many databases, like Oracle and Firebird.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜