You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sandbox/postgres/README.md
+52-4Lines changed: 52 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ ORDER BY n.nspname, p.proname;
121
121
Le Meta-Registry détecte les dérives entre l'intention architecturale et la réalité physique du catalogue. Il s'installe sur la même base :
122
122
123
123
```bash
124
-
psql -U postgres -d marius -f meta_registry_v2.sql
124
+
psql -U postgres -d marius -f meta_registry.sql
125
125
126
126
# ANALYZE est requis pour que la densité des colonnes varlena soit calculée
127
127
# à partir des données réelles (pg_stats.avg_width). Sans ANALYZE, la matrice
@@ -144,7 +144,39 @@ ORDER BY component_name;
144
144
-- Zéro TRUE dans les colonnes d'alerte = schéma conforme aux ADR.
145
145
```
146
146
147
-
Voir `extended-containment-security-matrix.md` pour le guide complet.
147
+
Voir `documentation/extended-containment-security-matrix.md` pour le guide complet.
148
+
149
+
### 5. Installation des outils `meta` (optionnel, recommandé)
150
+
151
+
Le répertoire `tools/` contient quatre outils d'ingénierie et d'audit qui s'appuient sur le Meta-Registry. Ils doivent être installés après l'étape 4 :
152
+
153
+
```bash
154
+
# Générateur DDL aligné CPU
155
+
psql -U postgres -d marius -f tools/f_generate_dod_template.sql
156
+
157
+
# Compilateur AOT de la vue de profil ECS
158
+
psql -U postgres -d marius -f tools/f_compile_entity_profile.sql
159
+
160
+
# Vue d'audit de performance (HOT / BRIN / bloat)
161
+
psql -U postgres -d marius -f tools/v_performance_sentinel.sql
162
+
163
+
# Vue de santé globale (agrège ECSM + sentinel)
164
+
psql -U postgres -d marius -f tools/v_master_health_audit.sql
165
+
```
166
+
167
+
Premier lancement après installation :
168
+
169
+
```sql
170
+
-- Compiler la vue de profil ECS (à relancer après tout ajout de composant)
171
+
SELECTmeta.f_compile_entity_profile();
172
+
173
+
-- Vérifier le sentinel (requiert ANALYZE au préalable)
0 commit comments