zoukankan      html  css  js  c++  java
  • edgedb 内部pg 数据存储的探索 (五) 运行进程列表信息

    做为一个简单的记录,方便后期分析学习

    当前包含了一个timescale 的extension 可以不用关注

    信息

    ps -ef |grep edgedb
    edgedb 10559 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.compiler.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-mng.socket
    edgedb 10571 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.compiler.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-mng.socket
    edgedb 10577 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.compiler.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-mng.socket
    edgedb 10642 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.compiler.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-mng.socket
    root 20136 19781 0 16:37 pts/0 00:00:00 grep --color=auto edgedb
    edgedb 24858 1 0 4月23 ? 00:00:01 /usr/lib64/edgedb-1-alpha1/bin/python3.7 /usr/lib64/edgedb-1-alpha1/bin/edgedb-server -D /var/lib/edgedb/1-alpha1/data/ --runstate-dir=/run/edgedb
    edgedb 24867 24858 0 4月23 ? 00:00:06 /usr/lib64/edgedb-1-alpha1/bin/postgres -D /var/lib/edgedb/1-alpha1/data/ --port=50430 -c log_connections=yes -c log_statement=all -c log_disconnections=yes -c log_min_messages=INFO -c client_min_messages=INFO -c listen_addresses=0.0.0.0 -c unix_socket_permissions=0700 -c TimeZone=UTC -c default_transaction_isolation=repeatable read -c max_connections=500 -c unix_socket_directories=/var/lib/edgedb/1-alpha1/data/
    edgedb 24869 24867 0 4月23 ? 00:00:00 postgres: checkpointer
    edgedb 24870 24867 0 4月23 ? 00:00:00 postgres: background writer
    edgedb 24871 24867 0 4月23 ? 00:00:01 postgres: walwriter
    edgedb 24872 24867 0 4月23 ? 00:00:04 postgres: autovacuum launcher
    edgedb 24873 24867 0 4月23 ? 00:00:08 postgres: stats collector
    edgedb 24874 24867 0 4月23 ? 00:00:00 postgres: TimescaleDB Background Worker Launcher
    edgedb 24875 24867 0 4月23 ? 00:00:00 postgres: logical replication launcher
    edgedb 24903 24858 0 4月23 ? 00:00:01 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 24904 24858 0 4月23 ? 00:00:01 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 24905 24858 0 4月23 ? 00:00:01 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 24906 24858 0 4月23 ? 00:00:01 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 24916 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 24917 24867 0 4月23 ? 00:00:00 postgres: edgedb tutorial [local] idle
    edgedb 24918 24867 0 4月23 ? 00:00:00 postgres: edgedb tutorial [local] idle
    edgedb 24919 24867 0 4月23 ? 00:00:00 postgres: edgedb tutorial [local] idle
    edgedb 24920 24867 0 4月23 ? 00:00:00 postgres: edgedb tutorial [local] idle
    edgedb 24921 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 24922 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 24923 24858 0 4月23 ? 00:00:00 /usr/lib64/edgedb-1-alpha1/bin/python3.7 -m edb.server.procpool.worker --cls-name edb.server.http_graphql_port.compiler.Compiler --cls-args gAN9cQBYBAAAAGhvc3RxAVgsAAAAL3Zhci9saWIvZWRnZWRiLzEtYWxwaGExL2RhdGEvLnMuUEdTUUwuNTA0MzBxAnNYHgAAAC92YXIvbGliL2VkZ2VkYi8xLWFscGhhMS9kYXRhL3EDhnEELg== --sockname /run/edgedb/internal-n6_pqc78/compiler-8888.socket
    edgedb 25419 24867 0 4月23 ? 00:00:01 postgres: TimescaleDB Background Worker Scheduler

    说明

    从进程中我们可以也可以看出基于pg ,但是包含了一些扩展,从字面意思应该是进行sdl 编译处理,以及处理http+graphql 的,pg 启动进程中
    同时暴露了一个unix socket 服务,worker 进程通过unix soket 进行通信。

    参考资料

    https://edgedb.com/docs

  • 相关阅读:
    静态数组和动态数组
    C#实现两个时间相减的方法
    360安全卫士为什么无法登录用户,显示网络失败,请检查网络,可是网络连接正常。
    WPS Word查询某些内容的出现次数
    安装安全狗后,MP4无法播放
    图片上传Security Error
    JS 构造图片Image对象
    c#截取图片
    VS2013快捷键
    WPS之替换样式
  • 原文地址:https://www.cnblogs.com/rongfengliang/p/10763261.html
Copyright © 2011-2022 走看看