文章目录
openGauss学习笔记-270 openGauss性能调优-TPCC性能调优测试指导-测试TPCC性能
本章节主要介绍openGauss数据库内核基于鲲鹏服务器和openEuler操作系统,为了达到最佳TPMC性能所依赖的关键系统级调优。
270.1 下载TPCC标准测试工具
下载TPCC标准测试工具BenchmarkSQL5.0
270.2 替换openGauss适配的jar包
将目录lib/postgresql下面的*.jar 替换为openGauss适配的jar包。
$ pwd
/your path/benchmarksql-5.0/lib/postgres
$ ls
postgresql.jar #openGauss jdbc驱动。
postgresql-9.3-1102.jdbc41.jar.bak # 自带jar备份。
openGauss适配的JDBC版本包获取路径为openGauss-x.x.x-JDBC .tar.gz。
270.3 进行编译
进入benchmarksql-5.0根目录,输入ant命令进行编译。