Ticket #16 (closed task 任务: fixed)
linux AS6.2 与 AS5.4下 PG数据库的性能对比(简单对比)
| Reported by: | lisiliang | Owned by: | lisiliang |
|---|---|---|---|
| Priority: | major | Milestone: | PG 测试计划进程 |
| Component: | component1 | Version: | |
| Keywords: | 性能测试 pg as6 | Cc: | |
| Due Date: | 05/04/2012 |
Description
先写结论:
我认为,性能的差异主要还是体现在文件系统的差异上
as6.2 默认文件系统为ext4 ,
as5.4 默认文件系统为ext3
ext4 还是明显的优于ext3
对pg的编译选项,都针对gcc 版本做了特定的优化
as6.4 gcc 版本为4.4.6
as5.4 gcc 版本为4.1.2
在编译器的优化上,感觉不到太大的性能差异
另外这次测试的数据库版本为pg9.1.3
看了releace note ,修复了些bug ,针对流复制修改了bug
建议PG的线上数据库主机部署as6.2 系统
主机配置
CPU 2*4 双线程
内存 32G
硬盘 8*300g raid 1+0
数据库采用相同的配置文件,主要内存参数shared_buffer 8G
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)
