dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbxAdminDashboardMetric.dd.php
Go to the documentation of this file.
1<?php
2
3/* =========================================================
4 TABLE
5 ========================================================= */
6$table['server']='dbxAdmin|dbxAdmin.db3';
7$table['table']='dbx_admin_dashboard_metric';
8$table['datadic']='dbxAdminDashboardMetric';
9$table['primary']='';
10$table['language']='';
11$table['version']='2';
12$table['autosync']='1';
13$table['cache']='0';
14$table['trash']='0';
15$table['trace']='0';
16$table['update_sql']='';
17$table['default_sort']='snapshot_date DESC';
18$table['form-dd-table']='';
19$table['read']='admin';
20$table['create']='admin';
21$table['update']='admin';
22$table['delete']='admin';
23$table['read_owner']='*';
24$table['create_owner']='*';
25$table['update_owner']='*';
26$table['delete_owner']='*';
27
28
29/* =========================================================
30 FIELDS
31 ========================================================= */
32$field['name']='id';
33$field['type']='int';
34$field['index']='PRI';
35$field['length']='11';
36$field['default']='';
37$field['label']='id';
38$field['rules']='int';
39$field['tooltip']='';
40$field['errormsg']='';
41$field['placeholder']='';
42$field['convert']='';
43$field['protect']='0';
44$field['group']='';
45$field['mask']='';
46$field['data']='';
47$field['options']='';
48$field['tpl']='';
49$field['js']='';
50$field['prompt']='';
52
53$field['name']='create_date';
54$field['type']='datetime';
55$field['index']='';
56$field['length']='-1';
57$field['default']='';
58$field['label']='create_date';
59$field['rules']='datetime';
60$field['tooltip']='';
61$field['errormsg']='';
62$field['placeholder']='';
63$field['convert']='';
64$field['protect']='0';
65$field['group']='';
66$field['mask']='';
67$field['data']='';
68$field['options']='';
69$field['tpl']='';
70$field['js']='';
71$field['prompt']='';
73
74$field['name']='create_uid';
75$field['type']='int';
76$field['index']='';
77$field['length']='11';
78$field['default']='0';
79$field['label']='create_uid';
80$field['rules']='int';
81$field['tooltip']='';
82$field['errormsg']='';
83$field['placeholder']='';
84$field['convert']='';
85$field['protect']='0';
86$field['group']='';
87$field['mask']='';
88$field['data']='';
89$field['options']='';
90$field['tpl']='';
91$field['js']='';
92$field['prompt']='';
94
95$field['name']='update_date';
96$field['type']='datetime';
97$field['index']='';
98$field['length']='-1';
99$field['default']='';
100$field['label']='update_date';
101$field['rules']='datetime';
102$field['tooltip']='';
103$field['errormsg']='';
104$field['placeholder']='';
105$field['convert']='';
106$field['protect']='0';
107$field['group']='';
108$field['mask']='';
109$field['data']='';
110$field['options']='';
111$field['tpl']='';
112$field['js']='';
113$field['prompt']='';
115
116$field['name']='update_uid';
117$field['type']='int';
118$field['index']='';
119$field['length']='11';
120$field['default']='0';
121$field['label']='update_uid';
122$field['rules']='int';
123$field['tooltip']='';
124$field['errormsg']='';
125$field['placeholder']='';
126$field['convert']='';
127$field['protect']='0';
128$field['group']='';
129$field['mask']='';
130$field['data']='';
131$field['options']='';
132$field['tpl']='';
133$field['js']='';
134$field['prompt']='';
136
137$field['name']='owner';
138$field['type']='int';
139$field['index']='';
140$field['length']='11';
141$field['default']='0';
142$field['label']='owner';
143$field['rules']='int';
144$field['tooltip']='';
145$field['errormsg']='';
146$field['placeholder']='';
147$field['convert']='';
148$field['protect']='0';
149$field['group']='';
150$field['mask']='';
151$field['data']='';
152$field['options']='';
153$field['tpl']='';
154$field['js']='';
155$field['prompt']='';
157
158$field['name']='bucket_key';
159$field['type']='varchar';
160$field['index']='MU';
161$field['length']='16';
162$field['default']='';
163$field['label']='bucket_key';
164$field['rules']='parameter';
165$field['tooltip']='15-Minuten-Zeitschluessel';
166$field['errormsg']='';
167$field['placeholder']='';
168$field['convert']='';
169$field['protect']='0';
170$field['group']='';
171$field['mask']='';
172$field['data']='';
173$field['options']='';
174$field['tpl']='';
175$field['js']='';
176$field['prompt']='';
178
179$field['name']='snapshot_date';
180$field['type']='datetime';
181$field['index']='MU';
182$field['length']='-1';
183$field['default']='';
184$field['label']='snapshot_date';
185$field['rules']='datetime';
186$field['tooltip']='Zeitpunkt der Messung';
187$field['errormsg']='';
188$field['placeholder']='';
189$field['convert']='';
190$field['protect']='0';
191$field['group']='';
192$field['mask']='';
193$field['data']='';
194$field['options']='';
195$field['tpl']='';
196$field['js']='';
197$field['prompt']='';
199
200foreach (array(
201 'users' => 'Benutzer',
202 'online' => 'Online',
203 'modules' => 'Module',
204 'records' => 'Datensaetze',
205 'databases' => 'Datenbanken',
206 'health_percent' => 'Systemzustand',
207 'active_users' => 'Aktive Benutzer',
208 'sessions' => 'Sessions',
209 'tables' => 'Tabellen',
210 'sysmsg_risk' => 'Warnungen/Fehler',
211 'missing' => 'Missing',
212 'request_runtime_ms' => 'Request ms',
213 'memory_peak_mb' => 'Memory MB',
214 'memory_peak_kb' => 'Memory KB',
215) as $name => $label) {
216 $field['name']=$name;
217 $field['type']='int';
218 $field['index']='';
219 $field['length']='11';
220 $field['default']='0';
221 $field['label']=$label;
222 $field['rules']='int';
223 $field['tooltip']='';
224 $field['errormsg']='';
225 $field['placeholder']='';
226 $field['convert']='';
227 $field['protect']='0';
228 $field['group']='';
229 $field['mask']='';
230 $field['data']='';
231 $field['options']='';
232 $field['tpl']='';
233 $field['js']='';
234 $field['prompt']='';
235 $fields[]=$field;
236}
237
238
239/* =========================================================
240 INDEXES
241 ========================================================= */
242$index['name']='pk_dbx_admin_dashboard_metric';
243$index['type']='PRIMARY';
244$index['fields']='id';
245$index['unique']='1';
246$index['comment']='from field index PRI';
248
249$index['name']='uidx_dbx_admin_dashboard_metric_bucket';
250$index['type']='UNIQUE';
251$index['fields']='bucket_key';
252$index['unique']='1';
253$index['comment']='one snapshot per bucket';
255
256$index['name']='idx_dbx_admin_dashboard_metric_snapshot_date';
257$index['type']='INDEX';
258$index['fields']='snapshot_date';
259$index['unique']='0';
260$index['comment']='history order';
$table['server']
Definition .dd.php:6
$indexes[]
Definition .dd.php:167
$index['name']
Definition .dd.php:162
$fields[]
Definition config.dd.php:16
$field
Definition config.dd.php:4