Postgres
文章平均质量分 80
不再疯要傻
QQ群216671681
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
postgres死锁处理
psotgres 锁 1、因为事物产生的锁操作:session Apostgres=# drop table test2;DROP TABLEpostgres=# create table test2(id int, info text);CREATE TABLEpostgres=# insert into test2 values (1,'test');原创 2016-12-23 15:38:38 · 5947 阅读 · 0 评论 -
PostgreSQL 锁等待跟踪
摘要PostgreSQL 在打印LONG SQL时,锁等待的时间也会算在内,并且目前在日志中没有将锁等待的时间单独打印出来。 shared_preload_libraries='auto_explain' auto_explain.log_min_duration='1s' auto_explai...PostgreSQL 在打印LONG SQL时,锁等待的时间也会算在内,并且目前在日转载 2016-12-23 15:40:07 · 3164 阅读 · 0 评论 -
Postgres基础信息查询
1,查看数据库playboy=> \l //\加上字母l,相当于mysql的,mysql> show databases; List of databases Name | Owner | Encoding -----------+----------+---------- playboy | po原创 2017-02-17 17:08:06 · 901 阅读 · 0 评论
分享