# pci **Repository Path**: bigbase/pci ## Basic Information - **Project Name**: pci - **Description**: postgres写数性能对比 - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: liuhy - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-02 - **Last Updated**: 2022-11-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pci #### standard C interface test #### 介绍 postgres c interface #### postgres C 接口 单进程接口测试度量工具 ``` .stand/stand_insert.bin -c "host=127.0.0.1 port=5432 dbname=mydb user=postgres connect_timeout=3" -r 100000 conninfo = 'host=127.0.0.1 port=5432 dbname=mydb user=postgres connect_timeout=3' rows = 100000 网络正常... 链接正常 连接数据库正常... gen data success time: 0.805s 影响的函数为:0 insert rows:100000, time:14.250s, tps:7142 .stream/stream_insert.bin -c "host=127.0.0.1 port=5432 dbname=mydb user=postgres connect_timeout=3" -r 1000000 -m 100000 conninfo = 'host=127.0.0.1 port=5432 dbname=mydb user=postgres connect_timeout=3' rows = 1000000 buf_bytes = 100000 网络正常... 链接正常 连接数据库正常... gen data success time: 7.245s 影响的函数为:0 insert rows:1000000, time:4.490s, tps:250000 ```