Wiki source code of Paramètres du cluster

Last modified by Aurelie Bertrand on 2025/11/14 11:59

Show last authors
1 This section enables you to manage quotas and configure a cluster.
2
3 ----
4
5 {{ddtoc/}}
6
7 ----
8
9 = Quota management{{id name="quota"/}} =
10
11 It is possible to define different types of cube quotas applicable at different levels in order to limit the size of cubes or the memory used by cubes.
12
13 (% class="box infomessage" %)
14 (((
15 💡 It is possible to define cube quotas specific to data models (number of rows and size in memory only).
16 These quotas are stored in the data model itself and take precedence over those defined on this page.
17 See the page [[Define advanced cube parameters>>doc:Digdash.user_guide.studio.Create_datamodel.configure_data_model.Cube_advanced_parameters.WebHome]] page for more details.
18 )))
19
20 To do this:
21
22 1. In the **Quota** field, select the type of quota you wish to add:(((
23 |(% style="width:267px" %)**CUBE_MAX_MEM_SIZE**|(% style="width:1184px" %)Maximum size of the cube in memory.
24 Cube generation fails if the cube size exceeds that defined.
25 |(% style="width:267px" %)**CUBE_MAX_ROWS**|(% style="width:1184px" %)Maximum number of cube rows.
26 Cube generation fails if the defined number of rows is exceeded.
27 |(% style="width:267px" %)**CUBE_MAX_MEM_USAGE**|(% style="width:1184px" %)Maximum memory used for loading cubes.
28 Cube loading fails if the memory used by the cubes exceeds the defined memory.
29 )))
30
31 (% start="2" %)
32 1. In the **Quota scope** field, select the level to which the quota applies:
33 1*. **GLOBAL**: to all cubes (all roles and users)
34 1*. **ROLE**: to cubes of the role selected in the drop-down list below.
35 1*. **PERSONAL**: to personal portfolios. The quota value applies to all personal portfolios (all users).
36 1. In the **Quota limit** field, enter the quota limit value as an absolute value or as a percentage.
37 Specify the unit following the value in the next field:
38 1*. Maximum size or memory: K=Kilo byte, M=Mega byte, G=Giga byte and %=percentage.
39 1*. Maximum number of lines: k=thousand, m=million.
40 1. Click on the **Add** button.
41 ➡ The quota is added to the **Quota List** field.
42
43 (% class="box infomessage" %)
44 (((
45 💡You can define the same quota several times with a different scope. Quotas are applied in order of priority PERSONAL -> ROLE -> GLOBAL.
46 )))
47
48 [[image:Quotas_EN.png||alt="Quotas"]]
49
50 == Examples ==
51
52 (% class="wikigeneratedid" %)
53 **Example 1**
54
55 A quota of type **CUBE_MAX_MEM_USAGE **is defined with a **GLOBAL** scope and a limit of** 30%**.
56 Another quota of type **CUBE_MAX_MEM_USAGE **is defined with a **ROLE** scope on the Retail role and a limit of **50%**.
57 In this case, the memory used for loading all the cubes cannot exceed 30% of the memory. Loading a cube will fail if this limit is exceeded.
58 On the other hand, the memory used to load the Retail role cubes can be up to 50% of memory. The **ROLE** scope quota takes precedence over the **GLOBAL** scope quota.
59
60 **Example 2**
61
62 A quota of type **CUBE_MAX_ROWS **is defined with a **GLOBAL** scope and a limit of** 500k **(500,000 lines).
63 Another quota of type **CUBE_MAX_ROWS **is defined with a **ROLE** scope on the Telecom role and a limit of **1m **(1 million lines).
64 In this case, the generation of a cube for the Telecom role will fail if its number of lines exceeds 1 million, whereas the generation of a cube for any other role will fail if the number of lines in the cube exceeds 500,000.
65
66 = Configuring a cluster =
67
68 To manage a larger volume of data (one billion rows), it is possible to use several servers in "Cluster" mode.
69
70 In the case of internal clustering, you can configure the cluster here. See the paragraph [[Configuring the cluster>>doc:Digdash.deployment.configuration.advanced_system_guide.Server_cluster_mode.WebHome||anchor="Cluster"]] section on the [[Using several servers in "Cluster" mode>>doc:Digdash.deployment.configuration.advanced_system_guide.Server_cluster_mode.WebHome]] page for more details.