Are you an LLM? You can read better optimized documentation at /zh/docs/latest-lite/sql_reference/OS_THREADS.md for this page in Markdown format
OS_THREADS
提供当前节点下所有线程的状态信息。
表 1 OS_THREADS字段
名称 | 类型 | 描述 |
|---|
node_name | text | 数据库进程名称。 |
pid | bigint | 数据库进程中正在运行的线程号。 |
lwpid | integer | 与pid对应的轻量级线程号。 |
thread_name | text | 与pid对应的线程名称。 |
creation_time | timestamp with time zone | 与pid对应的线程创建的时间。 |