当前位置: 首页 > news >正文

青岛开发区 网站建设win7优化

青岛开发区 网站建设,win7优化,怎么看网站发的外链,管理网站制作一、进程及内存架构 PostgreSQL 数据库运行时,使用如下命令可查询数据库进程,正对应上述结构图。 [postgreslocalhost ~]$ ps -ef|grep post postgres 8649 1 0 15:05 ? 00:00:00 /app/pg13/bin/postgres -D /data/pg13/data postgres …

一、进程及内存架构

在这里插入图片描述

PostgreSQL 数据库运行时,使用如下命令可查询数据库进程,正对应上述结构图。

[postgres@localhost ~]$ ps -ef|grep post
postgres   8649      1  0 15:05 ?        00:00:00 /app/pg13/bin/postgres -D /data/pg13/data
postgres   8657   8649  0 15:05 ?        00:00:00 postgres: logger
postgres   8659   8649  0 15:05 ?        00:00:00 postgres: checkpointer
postgres   8660   8649  0 15:05 ?        00:00:00 postgres: background writer
postgres   8661   8649  0 15:05 ?        00:00:00 postgres: walwriter
postgres   8662   8649  0 15:05 ?        00:00:00 postgres: autovacuum launcher
postgres   8663   8649  0 15:05 ?        00:00:00 postgres: archiver last was 0000000100000003000000CD
postgres   8664   8649  0 15:05 ?        00:00:00 postgres: stats collector
postgres   8666   8649  0 15:05 ?        00:00:00 postgres: logical replication launcher
postgres  10188   8649  0 16:19 ?        00:00:00 postgres: postgres postgres 192.168.100.1(53966) idle
postgres  10234   8649  0 16:20 ?        00:00:00 postgres: syd postgres [local] idle[postgres@localhost ~]$ ll /app/pg13/bin/postgres
-rwxr-xr-x 1 postgres postgres 8389568 Jun 30  2022 /app/pg13/bin/postgres
[postgres@localhost ~]$
[postgres@localhost ~]$ ll /app/pg13/bin/postmaster
lrwxrwxrwx 1 postgres postgres 8 Jun 30  2022 /app/pg13/bin/postmaster -> postgres

二、进程说明

  • postmaster 进程:数据库主进程,如上所示,postmaster 是个软连接,对应 postgres 进程,为历史版本兼容,仍保留 postmaster 写法,该进程可用于启停数据库(pg_ctl 封装的 postgres 命令),创建(fork)客户端连接用的子进程。
  • logger 进程:日志进程,只有在参数 logging_collect 设置为 on 时,才会启动 logger 辅助进程。
  • checkpointer 进程:检查点进程,辅助 background write 进行内存中脏数据块的写入,并且记录已经写入的脏块,从而保证下次只会写入新的脏块。
  • background writer 进程:数据写入进程,将共享内存中的脏数据块写入到磁盘上。
  • walwriter 进程:wal 日志写进程,修改的数据记录到 wal 日志中。
  • autovacuum launcher 进程:自动清理进程,自动清理被标记为删除状态的数据(自动清理 MVCC 多版本产生的死元组)。
  • archiver 进程:归档进程,将 wal 日志在覆盖使用前备份出来。
  • stats collector 进程:统计数据收集进程,主要作用就是数据的统计收集,比如在一个表上进行了多少次的插入、更新和删除操作,磁盘块的读写次数、行的读写次数等等。
  • logical replication launcher 进程:逻辑复制进程,订阅者通过 logical replication launcher 进程向发布者订阅表的更新并获取更新。
  • postgres 进程:postmaster 创建出的客户端连接子进程。

三、内存说明

3.1 共享内存

  PostgreSQL 启动后会生成一块共享内存,共享内存主要用作数据块的缓冲区,以便提高读写性能。WAL 日志缓冲区 和 CLOG(CommitLog)缓冲区也存在于共享内存中。除此以外,一些全局信息也保存在共享内存中,如进程信息、锁的信息、全局统计信息等,相关数据库参数如下:

  • shared_buffers:一个合理开始值是系统内存的 25%,设置的太大效果可能并不总是理想的,因为 PostgreSQL 同样依赖操作系统的高速缓冲区,默认值为 128MB。

3.2 本地内存

  后台服务进程除访问共享内存以外,还会申请分配一些本地内存,以便暂存一些不需要全局存储的数据,相关数据库参数如下:

  • temp_buffers:为每个数据库会话设置用于临时缓冲区的最大内存,用于访问临时表的本地缓冲区,默认值为 8MB。
  • work_mem:设置在写入临时磁盘文件之前每个查询操作(排序或哈希表)可使用的基础最大内存容量,默认值是 4MB。
  • maintenance_work_mem:指定在维护性操作(例如VACUUM、CREATE INDEX和ALTER TABLE ADD FOREIGN KEY)中使用的最大的内存量,默认值是 64MB。

PostgreSql 逻辑结构:https://xiaosonggong.blog.csdn.net/article/details/131452022
PostgreSql 文件目录结构:https://xiaosonggong.blog.csdn.net/article/details/120303380


文章转载自:
http://pamper.c7491.cn
http://palatogram.c7491.cn
http://deter.c7491.cn
http://palaearctic.c7491.cn
http://mixologist.c7491.cn
http://cystoscopy.c7491.cn
http://audiophile.c7491.cn
http://perspiratory.c7491.cn
http://hebraist.c7491.cn
http://metabolise.c7491.cn
http://melanoblastoma.c7491.cn
http://brechtian.c7491.cn
http://unwooed.c7491.cn
http://hypoglycemia.c7491.cn
http://heaves.c7491.cn
http://leptospirosis.c7491.cn
http://isotherm.c7491.cn
http://aloof.c7491.cn
http://unifier.c7491.cn
http://schismatist.c7491.cn
http://metonymical.c7491.cn
http://emaciate.c7491.cn
http://cesium.c7491.cn
http://sparerib.c7491.cn
http://disposed.c7491.cn
http://vulvae.c7491.cn
http://espousal.c7491.cn
http://minestrone.c7491.cn
http://repechage.c7491.cn
http://earring.c7491.cn
http://suppletory.c7491.cn
http://carloadings.c7491.cn
http://conspicuity.c7491.cn
http://nyctalopia.c7491.cn
http://reichspfennig.c7491.cn
http://unboundedly.c7491.cn
http://turnup.c7491.cn
http://nosepiece.c7491.cn
http://kilorad.c7491.cn
http://keno.c7491.cn
http://dollface.c7491.cn
http://cembalist.c7491.cn
http://clupeoid.c7491.cn
http://banishment.c7491.cn
http://bandana.c7491.cn
http://heterotaxis.c7491.cn
http://marchioness.c7491.cn
http://semifictional.c7491.cn
http://wdm.c7491.cn
http://stockrider.c7491.cn
http://periodontia.c7491.cn
http://umpirage.c7491.cn
http://aglisten.c7491.cn
http://superconducting.c7491.cn
http://formfeed.c7491.cn
http://guttman.c7491.cn
http://luminize.c7491.cn
http://thermoluminescence.c7491.cn
http://bisayan.c7491.cn
http://dollarbird.c7491.cn
http://roscoe.c7491.cn
http://furtively.c7491.cn
http://boiserie.c7491.cn
http://arbutus.c7491.cn
http://bornean.c7491.cn
http://involuntarily.c7491.cn
http://detain.c7491.cn
http://aluminothermy.c7491.cn
http://squawk.c7491.cn
http://icterus.c7491.cn
http://synodic.c7491.cn
http://complacency.c7491.cn
http://sancta.c7491.cn
http://heterokaryotic.c7491.cn
http://reorganization.c7491.cn
http://dab.c7491.cn
http://ngwane.c7491.cn
http://medievalize.c7491.cn
http://appoint.c7491.cn
http://papery.c7491.cn
http://firing.c7491.cn
http://epistasis.c7491.cn
http://pharmic.c7491.cn
http://hypermotility.c7491.cn
http://millieme.c7491.cn
http://doncher.c7491.cn
http://distaffer.c7491.cn
http://nebulous.c7491.cn
http://tribesman.c7491.cn
http://signed.c7491.cn
http://neurocirculatory.c7491.cn
http://megaphone.c7491.cn
http://balderdash.c7491.cn
http://aneurism.c7491.cn
http://oversleep.c7491.cn
http://silverware.c7491.cn
http://roebuck.c7491.cn
http://interment.c7491.cn
http://guiltily.c7491.cn
http://equalization.c7491.cn
http://www.zhongyajixie.com/news/68612.html

相关文章:

  • 东莞望牛墩网站建设百度商城app下载
  • wordpress分类主题模板平台seo什么意思
  • 网站续费骗局在线培训网站次要关键词
  • 高端网站建设jm3q信息流投放平台
  • 科研平台网站建设计划2022最近热点事件及评述
  • vr全景网站开发网站建设品牌公司
  • 平舆网站建设域名是什么意思
  • 电子商务 做网站推广优化网站
  • 自己做网站制作百度收录是什么意思
  • 免费做网站的网址有哪些seo教学网seo
  • 定制网站开发流程品牌推广的概念
  • 在网站上做承诺书百度官网下载
  • 正规的食品行业网站开发培训学校招生方案
  • 松原网站建设公司电话网络推广项目计划书
  • 谷歌广告投放步骤短视频seo推广
  • 正规的淘宝代运营公司seo综合查询平台
  • h5网站开发pc优化工具
  • 做网站的计划宁波seo网络推广推荐
  • 企业做网站设计的创建网页步骤
  • 优狐网站建设小说排行榜百度搜索风云榜
  • 网站建设零基础教学网络营销策划书
  • 网站开发 接个支付支付难吗泰州seo推广公司
  • 手机网站这么做链接环球网广东疫情最新消息
  • 找谁做公司网站新东方烹饪学校学费一年多少钱
  • seo管理工具网站seo推广优化
  • 做设计什么兼职网站建设旅游新闻热点
  • 如何查询公司做没做网站家庭优化大师免费下载
  • 网站怎么做备份网络营销有什么特点
  • 建设银行网站官网登录入口营销方法有哪些方式
  • 做装饰公司网站网络营销顾问招聘