当前位置: 首页 > 工具软件 > pgAdmin > 使用案例 >

PGAdmin 4使用笔记

闾丘德业
2023-12-01

1. import

 默认username为postgres

 psql -U username -h localhost -d databasename -f "file address"

2. 最大连接数

 更改(Windows):PostgreSQL/data/postgresql.conf  修改 max_connections = 100(默认100)

 查看:show max_connections;

    查看当前连接数:select count(1) from pg_stat_activity;

转载于:https://www.cnblogs.com/GW977/p/9000876.html

 类似资料: