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

原文地址:https://www.cnblogs.com/rongfengliang/p/10763261.html