首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏运维小路

    PostgreSQL-主从复制(Replication)部署

    host replication replica 192.168.31.0/24 md5 #配置上面定义的用户名 #启动pg systemctl enable postgresql -14 systemctl start postgresql-14 host:表示这条记录用于TCP/IP连接,可以是IPv4或IPv6。 启动从服务器 #由于我们在root下复制的文件所以需要手工设置数据目录权限 chown postgres.postgres /var/lib/pgsql/14/data/* systemctl enable postgresql -14 systemctl start postgresql-14 六.检查主从状态 主节点执行 postgres=# select application_name, state, sync_priority

    15010编辑于 2026-01-26
  • 来自专栏Java升级打怪进阶之路

    PostgreSQL在Linux和Windows安装和入门基础教程

    install -y postgresql14-server sudo /usr/pgsql-14/bin/postgresql-14-setup initdb sudo systemctl enable postgresql -14 sudo systemctl start postgresql-14 Windows 上安装 PostgreSQL 选择Windows版本的下载后,点击链接进入EnterpriseDB网站进行下载

    1.4K20编辑于 2022-11-28
  • 来自专栏supreme

    安装PG

    /usr/pgsql-14/bin/postgresql-14-setup initdbsudo systemctl enable postgresql-14sudo systemctl start postgresql

    58700编辑于 2022-08-07
  • 来自专栏运维小路

    PostgreSQL-多方法安装PG

    install -y postgresql18-server sudo /usr/pgsql-14/bin/postgresql-14-setup initdb sudo systemctl enable postgresql -14 sudo systemctl start postgresql-14 2.检查PostgreSQL #多个进程 [root@localhost ~]# ps -ef |grep postgres

    15510编辑于 2026-01-26
  • 来自专栏小麦苗的DB宝专栏

    Linux环境下PG 14的安装部署

    bin:$PATH" >> /etc/profile -- 初始化PG /usr/pgsql-14/bin/postgresql-14-setup initdb systemctl enable postgresql -14 systemctl start postgresql-14 systemctl status postgresql-14 -- 本地登陆 su - postgres psql -- 安装插件 USER ADDRESS METHOD host all all 0.0.0.0/0 trust EOF systemctl restart postgresql

    4.1K20编辑于 2022-05-25
  • 来自专栏黑客下午茶

    分布式 PostgreSQL 集群(Citus)官方安装指南

    install -y citus102_14 # initialize system database (using RHEL 6 vs 7 method as necessary) sudo service postgresql admin_guide/cluster_management.html#worker-security 启动数据库服务器,创建 Citus 扩展 # start the db server sudo service postgresql -14 restart # and make it start automatically when computer does sudo chkconfig postgresql-14 on 您必须将

    2.6K30编辑于 2022-03-31
  • 来自专栏AustinDatabases

    POSTGRESQL 14 功能有啥吸引人的

    https://sql-info.de/postgresql/postgresql-14/articles-about-new-features-in-postgresql-14.html 想详细了解了可以到这个网站上找答案

    1.3K20发布于 2021-09-24
  • 来自专栏开源部署

    PostgreSql 14 主从负载均衡部署

    pgsql-14/bin/postgresql-14-setup initdb## 启动sudo systemctl enable postgresql-14sudo systemctl start postgresql

    3.8K11编辑于 2022-06-06
  • 来自专栏AustinDatabases

    POSTGRESQL 关于2023-08-14 数据库自动启动文章中使用KILL 来进行配置RELOAD的问题解释

    You can also use "systemctl edit postgresql-14" # Look at systemd.unit(5) manual page for more info.

    47730编辑于 2023-09-06
  • 来自专栏小麦苗的DB宝专栏

    PG 14 + Pgpool-II + Watchdog 实现高可用(自动故障转移+读写分离+负载均衡)

    postgresql14-contrib postgresql14-libs /usr/pgsql-14/bin/postgresql-14-setup initdb systemctl disable postgresql -14 systemctl start postgresql-14 systemctl status postgresql-14 echo "postgres ALL=(ALL) NOPASSWD: 0.0.0.0/0 md5 host replication all 0.0.0.0/0 md5 EOF sudo systemctl restart postgresql -14 systemctl status postgresql-14 Server1配置用户 Table 6.

    6.1K20编辑于 2022-11-07
  • 来自专栏小麦苗的DB宝专栏

    【DB宝95】PG 14 + Pgpool-II + Watchdog 实现高可用(自动故障转移+读写分离+负载均衡)

    postgresql14-contrib postgresql14-libs /usr/pgsql-14/bin/postgresql-14-setup initdb systemctl disable postgresql -14 systemctl start postgresql-14 systemctl status postgresql-14 echo "postgres ALL=(ALL) NOPASSWD: 0.0.0.0/0 md5 host replication all 0.0.0.0/0 md5 EOF sudo systemctl restart postgresql -14 systemctl status postgresql-14 Server1配置用户 Table 6.

    4.5K50编辑于 2022-04-11
  • 来自专栏DataOps

    PostgreSQL主备库搭建

    the database and enable automatic start/usr/pgsql-14/bin/postgresql-14-setup initdbsystemctl start postgresql

    3.2K21编辑于 2022-10-13
  • 来自专栏公众号:懒时小窝

    《Postgresql 内幕探索》读书笔记 - 第一章:集簇、表空间、元组

    sudo /usr/pgsql-14/bin/postgresql-14-setup initdb 以Postgresql-14版本为例,初始化之后的基础目录生成在下面的位置。 -- 1 postgres postgres 103 Jun 22 02:41 postmaster.pid 2.1 数据库集簇的布局 书中的版本为 Postgresql-9,这里用比较新的 Postgresql Database File Layout Postgresql-14的官方文档中的各个文件含义如下。 表 70.1.

    1.4K10编辑于 2023-09-02
  • 来自专栏公众号:懒时小窝

    《Postgresql 内幕探索》读书笔记 - 第一章:集簇、表空间、元组

    sudo /usr/pgsql-14/bin/postgresql-14-setup initdb以Postgresql-14版本为例,初始化之后的基础目录生成在下面的位置。 ------ 1 postgres postgres 103 Jun 22 02:41 postmaster.pid2.1 数据库集簇的布局书中的版本为 Postgresql-9,这里用比较新的 Postgresql

    1.2K40编辑于 2023-06-27
领券