資料庫比較 PostgreSQL vs MongoDB
As you may know I have spent some time recently working on the hyperkitty program. The idea being to offer a newinterface to the archives in mailman 3 (which has never been closer to arelease).
Hyperkitty aims at implementing a numbers of the ideas developed by MáirínDuffy in her blog posts. The main one being to try to unify mailing lists andforum (ie: providing a web-interface to mailing lists).
In this quest, I have started to look some time ago to MongoDB. It is a NoSQL database which is becoming quitepopular (probably helped with its integration into openshift). The results were satisfying but then a bigquestion came up:
· Do we really want to impose the burden of 2 different database systems toour sysadmin for a mailman archives interface ?
Of course, if we can avoid it, we wouldprefer to do it.
But MongoDB was performing reallynicely with regards to searching the archives. So testing was needed.
[size=15.5pt]Hardware
[size=11.5pt]The machine on which I ran the test has:
[size=10.0pt]· [size=11.5pt]16G of ram
[size=10.0pt]· [size=11.5pt]4 cores
[size=10.0pt]· [size=11.5pt]2x1To in RAID1[size=11.5pt]All this operated by RHEL 6.2 (Santiago).
[size=15.5pt]
[size=15.5pt]The databases
[size=10.0pt]· [size=11.5pt]PostgreSQL version 8.4.9
[size=10.0pt]· [size=11.5pt]MongoDB version 1.8.2
[size=15.5pt]
[size=15.5pt]The data
[size=11.5pt]I used the archives from the[size=11.5pt] [size=11.5pt]devel[size=11.5pt] [size=11.5pt]mailing list, since its creation in 2002.
[size=10.0pt]· [size=11.5pt]PostgreSQL loaded 166672 emails
[size=10.0pt]· [size=11.5pt]MongoDB loaded 166642 emails
[size=11.5pt]
[size=11.5pt]So there is a difference of 30 emails which I considered to be negligible for the tests.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-731259/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關聯式資料庫比較:SQLite vs MySQL vs PostgreSQL資料庫SQLiteMySql
- Redis vs. MongoDB比較RedisMongoDB
- MongoDB、Cassandra 和 HBase 三種 NoSQL 資料庫比較MongoDBSQL資料庫
- 以MongoDB為例與關係型資料庫比較MongoDB資料庫
- Oracle vs PostgreSQL,研發注意事項(8)- Oracle資料比較規則OracleSQL
- MongoDB資料比較工具dbHash介紹MongoDB
- 圖資料庫比較資料庫
- 主流資料庫比較資料庫
- mongodb資料遷移2種方式比較MongoDB
- oracle資料庫兩表資料比較Oracle資料庫
- 幾種常用資料庫比較資料庫
- MongoDB語法與現有關係型資料庫SQL語法比較MongoDB資料庫SQL
- oracle Mysql PostgreSQL 資料庫的對比OracleMySql資料庫
- PostgreSQL與MySQL比較MySql
- 庫 vs 服務 vs 側車Sidecar的比較IDE
- MongoDB和Redis比較。MongoDBRedis
- MongoDB和MySQL比較MongoDBMySql
- 大資料檔案格式比較:AVRO vs. PARQUET vs. ORC大資料VR
- 轉享:NoSQL 圖資料庫比較SQL資料庫
- 比較SQL資料庫和HadoopSQL資料庫Hadoop
- Oracle資料庫遷移方案比較Oracle資料庫
- NOSQL資料庫大比拼:Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBaseSQL資料庫MongoDBRedis
- 常見資料庫系統比較之Oracle資料庫(轉)資料庫Oracle
- 比較兩個資料庫的差異資料庫
- MySQL大量資料入庫的效能比較MySql
- 關閉資料庫比較好的方法資料庫
- 資料關係比較:相關性 vs 因果關係
- mysql資料庫中decimal資料型別比較大小MySql資料庫Decimal資料型別
- 磁碟資料庫與記憶體資料庫的特點比較資料庫記憶體
- 資料庫選型比對 Oracle vs sqlserver資料庫OracleSQLServer
- PostgreSQL 資料庫結構(DDL)比對工具 pgquarrelSQL資料庫
- 資料湖 vs 倉庫 vs 資料庫資料庫
- SQL Server資料庫匯入匯出資料方式比較SQLServer資料庫
- DataTable資料批量寫入資料庫三種方法比較資料庫
- JUnit 4 Vs TestNG比較
- PHP 7 vs HHVM 比較PHP
- PostgreSQL與MySQL的比較 - hackrMySql
- influxdb與傳統資料庫的比較UX資料庫