資料庫比較 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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Redis vs. MongoDB比較RedisMongoDB
- Oracle vs PostgreSQL,研發注意事項(8)- Oracle資料比較規則OracleSQL
- 主流資料庫比較資料庫
- 圖資料庫比較資料庫
- mongodb資料遷移2種方式比較MongoDB
- 庫 vs 服務 vs 側車Sidecar的比較IDE
- 大資料檔案格式比較:AVRO vs. PARQUET vs. ORC大資料VR
- oracle Mysql PostgreSQL 資料庫的對比OracleMySql資料庫
- 資料關係比較:相關性 vs 因果關係
- 資料湖 vs 倉庫 vs 資料庫資料庫
- 資料庫選型比對 Oracle vs sqlserver資料庫OracleSQLServer
- influxdb與傳統資料庫的比較UX資料庫
- mysql資料庫中decimal資料型別比較大小MySql資料庫Decimal資料型別
- 磁碟資料庫與記憶體資料庫的特點比較資料庫記憶體
- MongoDB資料庫MongoDB資料庫
- 圖資料庫對比:Neo4j vs Nebula Graph vs HugeGraph資料庫
- PostgreSQL 資料庫結構(DDL)比對工具 pgquarrelSQL資料庫
- iOS:原生應用 VS Flutter VS GICXMLLayout 比較iOSFlutterXML
- Jenkins vs Kubernetes:比較 DevOps 工具Jenkinsdev
- Python的List vs Tuple比較Python
- 資料湖 vs 資料倉儲 vs 資料庫資料庫
- PostgreSQL與MySQL的比較 - hackrMySql
- java比較mysql兩個資料庫中差異JavaMySql資料庫
- 資料庫系列:MySQL引擎MyISAM和InnoDB的比較資料庫MySql
- 開源向量資料庫比較:Chroma, Milvus, Faiss,Weaviate資料庫AI
- 區塊鏈與分散式資料庫的比較區塊鏈分散式資料庫
- 【譯】Flutter vs React Native vs Native:深度效能比較FlutterReact Native
- MongoDB 資料庫操作MongoDB資料庫
- mongodb資料庫操作MongoDB資料庫
- mongodb和hbase的簡單比較MongoDB
- 360°全方位比較PostgreSQL和MySQLMySql
- mongodb資料庫中插入資料MongoDB資料庫
- 如何比較兩個資料庫表結構的不同資料庫
- HHDESK資料夾比較功能
- difflib: Python 比較資料集Python
- 測試速度比較:Selenium vs Playwright vs Cypress vs Puppeteer vs TestCafe
- TSPython操作MySQL MongoDB Oracle三大資料庫深入對比oeePythonMySqlMongoDBOracle大資料資料庫
- python操作mongodb資料庫PythonMongoDB資料庫
- 資料庫_SQL-MongoDB資料庫SQLMongoDB