PostgreSQL
文章平均质量分 84
monk_sky
这个作者很懒,什么都没留下…
展开
-
Postgres-XC
Postgres-XC 是读写可伸缩的同步多主 PostgreSQL 集群。特性:读/写 可伸缩对称 (多主,同步) 集群事物管理和一致性元组可视化集群节点之间的并行事物执行集群原理初级介绍1、GTM (Global Transaction Manager)2、CoordinatorXC VS HS个人理解,有点类似redis cluster这个有点类似mysql的主从XL 它与XC很相近,架构几乎是一样的,只是比XC多了一个MPP功能;什么是MPP架构呢?单条SQL提供了多数原创 2021-04-05 21:51:54 · 602 阅读 · 0 评论 -
PostgreSQL进程结构
进程结构查看进程[root@node201 13325]# ps -ef | grep postgrespostgres 35292 1 0 20:48 ? 00:00:00 /usr/pgsql-9.6/bin/postmaster -D /var/lib/pgsql/9.6/data/postgres 35294 35292 0 20:48 ? 00:00:00 postgres: logger processpostgres 35296 3原创 2021-04-05 21:50:51 · 167 阅读 · 0 评论 -
字典 锁
查看锁的信息:postgres=# select * from pg_locks;locktype | database | relation | page | tuple | virtualxid | transactionid | classid | objid | objsubid | virtualtransaction | pid | mode | granted | fastpath------------±---------±---------±-----±-原创 2021-04-05 21:50:12 · 112 阅读 · 0 评论 -
pgAdmin
psql使用-bash-4.2$ psql --helppsql is the PostgreSQL interactive terminal.Usage:psql [OPTION]… [DBNAME [USERNAME]]General options:-c, --command=COMMAND run only single command (SQL or internal) and exit-d, --dbname=DBNAME database name to conn原创 2021-04-05 21:49:07 · 1770 阅读 · 0 评论 -
PSQL的使用
psql使用-bash-4.2$ psql --helppsql is the PostgreSQL interactive terminal.Usage:psql [OPTION]… [DBNAME [USERNAME]]General options:-c, --command=COMMAND run only single command (SQL or internal) and exit-d, --dbname=DBNAME database name to conn原创 2021-04-05 21:46:38 · 547 阅读 · 0 评论 -
PostgreSQL安装
版本: 9.6安装https://www.postgresql.org/download/linux/redhat/参考:https://blog.csdn.net/weixin_43230682/article/details/108403642Install PostgreSQL:sudo yum install -y postgresql96-serverOptionally initialize the database and enable automatic start:sudo原创 2021-04-05 21:44:50 · 123 阅读 · 0 评论