官术网_书友最值得收藏!

PostgreSQL or another database?

There are certainly situations where other database solutions will perform better. For example, PostgreSQL is missing features needed to perform well on some of the more difficult queries in the TPC-H test suite (see the Chapter 8, Database Benchmarking for more details). It's correspondingly less suitable for running large data warehouse applications than many of the commercial databases. If you need queries like some of the very heavy ones TPC-H includes, you may find that databases such as Oracle, DB2, and SQL Server still have a performance advantage worth paying for. There are also several PostgreSQL-derived databases that include features, making them more appropriate for data warehouses and similar larger systems. Examples include Greenplum, Aster Data, and Netezza.

For some types of web applications, you can only get acceptable performance by cutting corners on the data integrity features in ways that PostgreSQL just won't allow. These applications might be better served by a less strict database such as MySQL or even a really minimal one like SQLite. Unlike the fairly mature data warehouse market, the design of this type of application is still moving around quite a bit. Work on approaches using the key-value-based NoSQL approach, including CouchDB, MongoDB, and Cassandra, are all becoming more popular at the time of writing this. All of them can easily outperform a traditional database, if you have no need to run the sort of advanced queries that key/value stores are slower at handling.

But for many "normal" database use cases, in the middle ground between those two extremes, PostgreSQL performance in 8.3 reached a point where it's more likely you'll run into the limitations of your hardware or application design before the database is your limiting factor. Moreover, some of PostgreSQL's traditional strengths, like its ability to handle complicated queries well and its heavy programmability, are all still there.

主站蜘蛛池模板: 色达县| 信宜市| 石城县| 宁安市| 屏山县| 周宁县| 崇左市| 乳源| 泌阳县| 麟游县| 闽侯县| 东平县| 离岛区| 法库县| 新沂市| 巩留县| 绥德县| 浪卡子县| 玛纳斯县| 尖扎县| 金川县| 理塘县| 驻马店市| 郯城县| 灌阳县| 正宁县| 墨竹工卡县| 玛多县| 邓州市| 阳谷县| 贡嘎县| 墨脱县| 上饶县| 潞城市| 安塞县| 南平市| 晴隆县| 鄂托克前旗| 万山特区| 三河市| 河源市|