> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8c05c8a2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> جدول نظامي يتضمن معلومات مفيدة لتكوين نظرة عامة على استخدام الذاكرة وProfileEvents للمستخدمين.

# system.user_processes

<Info>
  **الاستعلام في ClickHouse Cloud**

  تُخزَّن بيانات جدول النظام هذا محليًا على كل عقدة في ClickHouse Cloud. لذلك، يتطلب الحصول على رؤية كاملة لجميع البيانات استخدام الدالة `clusterAllReplicas`. راجع [هنا](/ar/reference/system-tables/overview#system-tables-in-clickhouse-cloud) لمزيد من التفاصيل.
</Info>

<div id="description">
  ## الوصف
</div>

يمكن استخدام جدول نظامي هذا للحصول على لمحة عامة عن استخدام الذاكرة وProfileEvents للمستخدمين.

<div id="columns">
  ## الأعمدة
</div>

* `user` ([String](/ar/reference/data-types/index)) — اسم المستخدم.
* `memory_usage` ([Int64](/ar/reference/data-types/index)) — إجمالي RAM المستخدمة بواسطة جميع عمليات المستخدم. قد لا يشمل ذلك بعض أنواع الذاكرة المخصصة. راجع الإعداد max\_memory\_usage.
* `peak_memory_usage` ([Int64](/ar/reference/data-types/index)) — ذروة استخدام الذاكرة للمستخدم. ويمكن إعادة تعيينها عندما لا تُشغَّل أي استعلامات لهذا المستخدم.
* `ProfileEvents` ([Map(LowCardinality(String), UInt64)](/ar/reference/data-types/index)) — ملخص لـ ProfileEvents التي تقيس metrics مختلفة للمستخدم. ويمكن العثور على وصفها في الجدول system.events

<div id="example">
  ## مثال
</div>

```sql theme={null}
SELECT * FROM system.user_processes LIMIT 10 FORMAT Vertical;
```

```response theme={null}
Row 1:
──────
user:              default
memory_usage:      9832
peak_memory_usage: 9832
ProfileEvents:     {'Query':5,'SelectQuery':5,'QueriesWithSubqueries':38,'SelectQueriesWithSubqueries':38,'QueryTimeMicroseconds':842048,'SelectQueryTimeMicroseconds':842048,'ReadBufferFromFileDescriptorRead':6,'ReadBufferFromFileDescriptorReadBytes':234,'IOBufferAllocs':3,'IOBufferAllocBytes':98493,'ArenaAllocChunks':283,'ArenaAllocBytes':1482752,'FunctionExecute':670,'TableFunctionExecute':16,'DiskReadElapsedMicroseconds':19,'NetworkSendElapsedMicroseconds':684,'NetworkSendBytes':139498,'SelectedRows':6076,'SelectedBytes':685802,'ContextLock':1140,'RWLockAcquiredReadLocks':193,'RWLockReadersWaitMilliseconds':4,'RealTimeMicroseconds':1585163,'UserTimeMicroseconds':889767,'SystemTimeMicroseconds':13630,'SoftPageFaults':1947,'OSCPUWaitMicroseconds':6,'OSCPUVirtualTimeMicroseconds':903251,'OSReadChars':28631,'OSWriteChars':28888,'QueryProfilerRuns':3,'LogTrace':79,'LogDebug':24}

1 row in set. Elapsed: 0.010 sec.
```
