> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# إعدادات الجلسة max_concurrent_*

> إعدادات الجلسة في ClickHouse ضمن المجموعة المُنشأة max_concurrent_*.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>النوع</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>القيمة الافتراضية</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          يمكن تغييره دون إعادة التشغيل
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

هذه الإعدادات متاحة في [system.settings](/docs/ar/reference/system-tables/settings)، وقد أُنشئت تلقائيًا من [الشفرة المصدرية](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

<div id="max_concurrent_queries_for_all_users">
  ## max\_concurrent\_queries\_for\_all\_users
</div>

<SettingsInfoBlock type="UInt64" default_value="0" />

يُثار استثناء إذا كانت قيمة هذا الإعداد أقل من أو مساوية للعدد الحالي من الاستعلامات التي تُعالَج بالتزامن.

مثال: يمكن ضبط `max_concurrent_queries_for_all_users` على 99 لجميع المستخدمين، ويمكن لمسؤول قاعدة البيانات ضبطه على 100 لحسابه لتشغيل الاستعلامات لأغراض التحقيق حتى عندما يكون الخادم محمّلًا فوق طاقته.

لا يؤثر تعديل هذا الإعداد لاستعلام واحد أو لمستخدم واحد في الاستعلامات الأخرى.

القيم الممكنة:

* عدد صحيح موجب.
* 0 — بلا حد.

**مثال**

```xml theme={null}
<max_concurrent_queries_for_all_users>99</max_concurrent_queries_for_all_users>
```

**انظر أيضًا**

* [max\_concurrent\_queries](/docs/ar/reference/settings/server-settings/settings#max_concurrent_queries)

القيمة الافتراضية في Cloud: `1000`.

<div id="max_concurrent_queries_for_user">
  ## max\_concurrent\_queries\_for\_user
</div>

<SettingsInfoBlock type="UInt64" default_value="0" />

الحد الأقصى لعدد الاستعلامات التي يمكن معالجتها بالتزامن لكل مستخدم.

القيم الممكنة:

* عدد صحيح موجب.
* 0 — بدون حد.

**مثال**

```xml theme={null}
<max_concurrent_queries_for_user>5</max_concurrent_queries_for_user>
```
