暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

PostgreSQL基础 wal_level的三种参数

CentOS 7.6.1810
postgresql 14.4

wal_level的三种参数

[postgres@localhost data]$ pwd /var/lib/pgsql/14/data [postgres@localhost data]$ ll total 68 drwx------. 5 postgres postgres 41 Jul 12 20:42 base -rw-------. 1 postgres postgres 30 Jul 16 16:09 current_logfiles drwx------. 2 postgres postgres 4096 Jul 16 16:40 global drwx------. 2 postgres postgres 84 Jul 16 16:09 log drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_commit_ts drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_dynshmem -rw-------. 1 postgres postgres 4577 Jul 12 20:42 pg_hba.conf -rw-------. 1 postgres postgres 1636 Jul 12 20:42 pg_ident.conf drwx------. 4 postgres postgres 68 Jul 16 17:19 pg_logical drwx------. 4 postgres postgres 36 Jul 12 20:42 pg_multixact drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_notify drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_replslot drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_serial drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_snapshots drwx------. 2 postgres postgres 6 Jul 16 16:09 pg_stat drwx------. 2 postgres postgres 84 Jul 16 18:06 pg_stat_tmp drwx------. 2 postgres postgres 18 Jul 12 20:42 pg_subtrans drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_tblspc drwx------. 2 postgres postgres 6 Jul 12 20:42 pg_twophase -rw-------. 1 postgres postgres 3 Jul 12 20:42 PG_VERSION drwx------. 3 postgres postgres 60 Jul 12 20:42 pg_wal drwx------. 2 postgres postgres 18 Jul 12 20:42 pg_xact -rw-------. 1 postgres postgres 88 Jul 12 20:42 postgresql.auto.conf -rw-------. 1 postgres postgres 28770 Jul 12 20:42 postgresql.conf -rw-------. 1 postgres postgres 58 Jul 16 16:09 postmaster.opts -rw-------. 1 postgres postgres 103 Jul 16 16:09 postmaster.pid [postgres@localhost data]$ vi postgresql.conf
#------------------------------------------------------------------------------ # WRITE-AHEAD LOG #------------------------------------------------------------------------------ # - Settings - #wal_level = replica # minimal, replica, or logical # (change requires restart)

学习资料


欢迎各位同学一起来交流学习心得!

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

文章被以下合辑收录

评论