PostgresSQL不像SQLServer一样提供了作业管理器来定时自动备份数据库,需要用户自己使用pgdump来手动备份。 @echo off for /f "tokens=1-4 delims=/ " %%i in (" ...
使用pgbench对PostgreSQL进行压力测试
1、安装pgbench yum install postgresql10-contrib 2、初始化pgbench使用的库 首先将shell切换到postgres用户下,使用psql新建一个测试用的数据库pgbench。 postgres=# ...