Commit dab5fe50 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Amélioration des scripts de migration

parent 52cc06c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ function processFile() {
}

for f in ${SCHEMA_DIR}/functions/*_function.sql ; do processFile $f ; done
for f in ${SCHEMA_DIR}/mviews/*_mview.sql ;       do processFile $f ; done
#for f in ${SCHEMA_DIR}/mviews/*_mview.sql ;       do processFile $f ; done
for f in ${SCHEMA_DIR}/tables/*_table.sql ;       do processFile $f ; done
for f in ${SCHEMA_DIR}/triggers/*_trigger.sql ;   do processFile $f ; done
for f in ${SCHEMA_DIR}/views/*_view.sql ;         do processFile $f ; done
+35 −1
Original line number Diff line number Diff line
@@ -56,9 +56,43 @@ $body$


--
-- Création à la main des VM mal traduites par oré2pg.
-- Création à la main des VM mal traduites par ora2pg.
--

CREATE MATERIALIZED VIEW mv_recherche_these AS
with acteurs as (
    select a.these_id, i.nom_usuel, INDIVIDU_ID
    FROM individu i
             join acteur a on i.id = a.individu_id
             join these t on t.id = a.these_id
             join role r on a.role_id = r.id and r.CODE in ('D', 'K') -- (co)directeur de thèse
)
select
            LOCALTIMESTAMP as date_creation,
            t.source_code code_these,
            d.source_code code_doctorant,
            ed.source_code code_ecole_doct,
            trim(both str_reduce(
                        'code-ed{' || eds.code || '} ' ||
                        'code-ur{' || urs.code || '} ' ||
                        'titre{' || t.TITRE || '} ' ||
                        'doctorant-numero{' || substr(d.SOURCE_CODE, position('::' in d.SOURCE_CODE)+2) || '} ' ||
                        'doctorant-nom{' || id.NOM_PATRONYMIQUE || ' ' || id.NOM_USUEL || '} ' ||
                        'doctorant-prenom{' || id.PRENOM1 || '} ' ||
                        'directeur-nom{' || a.nom_usuel || '} '
                )) as haystack
from these t
         join doctorant d on d.id = t.doctorant_id
         join individu id on id.id = d.INDIVIDU_ID
         join these th on th.source_code = t.source_code
         left join ecole_doct ed on t.ecole_doct_id = ed.id
         left join structure eds on ed.STRUCTURE_ID = eds.id
         left join UNITE_RECH ur on t.UNITE_RECH_ID = ur.id
         left join structure urs on ur.STRUCTURE_ID = urs.id
         left join acteurs a on a.these_id = t.id
         left join individu ia on ia.id = a.INDIVIDU_ID;


CREATE MATERIALIZED VIEW mv_indicateur_141 AS
select distinct *
from individu i
+23 −23
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@
	DESCRIPTION : VARCHAR2(200) => varchar(200)
	ENABLED : NUMBER(1) => boolean
	FILTER : CLOB(4000) => text
[19] TABLE IMPORT_OBSERV_RESULT (owner: SYGAL, 62 rows)
[19] TABLE IMPORT_OBSERV_RESULT (owner: SYGAL, 66 rows)
	ID : NUMBER(22) => bigint
	IMPORT_OBSERV_ID : NUMBER(22) => bigint
	DATE_CREATION : DATE(7) => timestamp
@@ -504,7 +504,7 @@
	HISTO_DESTRUCTION : DATE(7) => timestamp
	HISTO_DESTRUCTEUR_ID : NUMBER(22) => bigint
	CLEF : VARCHAR2(64) => varchar(64)
[54] TABLE SOUTENANCE_PROPOSITION (owner: SYGAL, 342 rows)
[54] TABLE SOUTENANCE_PROPOSITION (owner: SYGAL, 361 rows)
	ID : NUMBER(22) => bigint
	THESE_ID : NUMBER(22) => bigint
	DATEPREV : DATE(7) => timestamp
@@ -671,7 +671,7 @@
	HISTO_MODIFICATION : DATE(7) => timestamp
	HISTO_DESTRUCTEUR_ID : NUMBER(22) => bigint
	HISTO_DESTRUCTION : DATE(7) => timestamp
[65] TABLE TMP_ACTEUR (owner: SYGAL, 72174 rows)
[65] TABLE TMP_ACTEUR (owner: SYGAL, 72192 rows)
	INSERT_DATE : DATE(7) => timestamp
	ID : VARCHAR2(64) => varchar(64)
	ETABLISSEMENT_ID : VARCHAR2(64) => varchar(64)
@@ -705,7 +705,7 @@
	SOURCE_ID : VARCHAR2(64) => varchar(64)
	SOURCE_CODE : VARCHAR2(64) => varchar(64)
	SOURCE_INSERT_DATE : DATE(7) => timestamp
[68] TABLE TMP_ETABLISSEMENT (owner: SYGAL, 2460 rows)
[68] TABLE TMP_ETABLISSEMENT (owner: SYGAL, 2459 rows)
	INSERT_DATE : DATE(7) => timestamp
	ID : VARCHAR2(64) => varchar(64)
	ETABLISSEMENT_ID : VARCHAR2(64) => varchar(64)
@@ -729,7 +729,7 @@
	SOURCE_INSERT_DATE : DATE(7) => timestamp
	CODE_TYPE_FINANCEMENT : VARCHAR2(8) => varchar(8)
	LIBELLE_TYPE_FINANCEMENT : VARCHAR2(100) => varchar(100)
[70] TABLE TMP_INDIVIDU (owner: SYGAL, 34110 rows)
[70] TABLE TMP_INDIVIDU (owner: SYGAL, 34111 rows)
	INSERT_DATE : DATE(7) => timestamp
	ID : VARCHAR2(64) => varchar(64)
	ETABLISSEMENT_ID : VARCHAR2(64) => varchar(64)
@@ -766,7 +766,7 @@
	LIB_ROJ : VARCHAR2(200) => varchar(200)
	LIC_ROJ : VARCHAR2(50) => varchar(50)
	SOURCE_INSERT_DATE : DATE(7) => timestamp
[73] TABLE TMP_STRUCTURE (owner: SYGAL, 2915 rows)
[73] TABLE TMP_STRUCTURE (owner: SYGAL, 2914 rows)
	INSERT_DATE : DATE(7) => timestamp
	ID : VARCHAR2(64) => varchar(64)
	ETABLISSEMENT_ID : VARCHAR2(64) => varchar(64)
@@ -807,7 +807,7 @@
	DAT_TRANSFERT_DEP : DATE(7) => timestamp
	SOURCE_INSERT_DATE : DATE(7) => timestamp
	CORRECTION_EFFECTUEE : VARCHAR2(30) => varchar(30)
[75] TABLE TMP_THESE_ANNEE_UNIV (owner: SYGAL, 46210 rows)
[75] TABLE TMP_THESE_ANNEE_UNIV (owner: SYGAL, 46212 rows)
	INSERT_DATE : DATE(7) => timestamp
	ID : VARCHAR2(64) => varchar(64)
	ETABLISSEMENT_ID : VARCHAR2(64) => varchar(64)
@@ -880,7 +880,7 @@
	HISTO_DESTRUCTEUR_ID : NUMBER(22) => bigint
	STRUCTURE_ID : NUMBER(22) => bigint
	RNSR_ID : VARCHAR2(128) => varchar(128)
[84] TABLE USER_TOKEN (owner: SYGAL, 9 rows)
[84] TABLE USER_TOKEN (owner: SYGAL, 10 rows)
	ID : NUMBER(22) => bigint
	USER_ID : NUMBER(22) => bigint
	TOKEN : VARCHAR2(256) => varchar(256)
@@ -957,27 +957,27 @@
	DESC_NON_FRANCHIE : VARCHAR2(250) => varchar(250)
	DESC_SANS_OBJECTIF : VARCHAR2(250) => varchar(250)
----------------------------------------------------------
Total number of rows: 708447
Total number of rows: 708490

Top 10 of tables sorted by number of rows:
	[1] TABLE API_LOG has 137285 rows
	[2] TABLE IMPORT_LOG has 126227 rows
	[3] TABLE TMP_ACTEUR has 72174 rows
	[3] TABLE TMP_ACTEUR has 72192 rows
	[4] TABLE ACTEUR has 64302 rows
	[5] TABLE TMP_THESE_ANNEE_UNIV has 46210 rows
	[5] TABLE TMP_THESE_ANNEE_UNIV has 46212 rows
	[6] TABLE THESE_ANNEE_UNIV has 44322 rows
	[7] TABLE INDIVIDU has 36507 rows
	[8] TABLE INDIVIDU_RECH has 36507 rows
	[9] TABLE TMP_INDIVIDU has 34110 rows
	[7] TABLE INDIVIDU_RECH has 36507 rows
	[8] TABLE INDIVIDU has 36507 rows
	[9] TABLE TMP_INDIVIDU has 34111 rows
	[10] TABLE DOCTORANT has 12754 rows
Top 10 of largest tables:
	[1] TABLE UNITE_DOMAINE_LINKER: 0 MB (102 rows)
	[2] TABLE USER_TOKEN: 0 MB (9 rows)
	[3] TABLE TMP_VARIABLE: 0 MB (28 rows)
	[4] TABLE VARIABLE: 0 MB (31 rows)
	[5] TABLE VERSION_FICHIER: 0 MB (6 rows)
	[6] TABLE UNITE_RECH: 0 MB (512 rows)
	[7] TABLE TYPE_RAPPORT: 0 MB (3 rows)
	[8] TABLE TYPE_STRUCTURE: 0 MB (3 rows)
	[1] TABLE VERSION_FICHIER: 0 MB (6 rows)
	[2] TABLE TYPE_STRUCTURE: 0 MB (3 rows)
	[3] TABLE USER_TOKEN: 0 MB (10 rows)
	[4] TABLE TYPE_VALIDATION: 0 MB (15 rows)
	[5] TABLE TMP_VARIABLE: 0 MB (28 rows)
	[6] TABLE TYPE_RAPPORT: 0 MB (3 rows)
	[7] TABLE UNITE_RECH: 0 MB (512 rows)
	[8] TABLE VARIABLE: 0 MB (31 rows)
	[9] TABLE WF_ETAPE: 0 MB (22 rows)
	[10] TABLE TYPE_VALIDATION: 0 MB (15 rows)
	[10] TABLE UNITE_DOMAINE_LINKER: 0 MB (102 rows)
+33 −33
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
  <head>
  <title>Ora2Pg - Database Migration Report</title>
  <meta HTTP-EQUIV="Generator" CONTENT="Ora2Pg v20.0">
  <meta HTTP-EQUIV="Date" CONTENT="Tue Jul  6 14:57:54 2021">
  <meta HTTP-EQUIV="Date" CONTENT="Wed Jul  7 08:23:36 2021">
  <style>
body {
	margin: 30px 0;
@@ -115,7 +115,7 @@ h2 {
<tr><td class="object_name">PACKAGE BODY</td><td style="text-align: center;">2</td><td style="text-align: center;">0</td><td style="text-align: center;">294.1</td><td>Total size of package code: 31229 bytes. Number of procedures and functions found inside those packages: 27.</td><td class="detail">ucbn_ldap.alias2mail: 3.2<br>ucbn_ldap.etu2eppn: 3.1<br>ucbn_ldap.etu2mail: 3.1<br>ucbn_ldap.free: 9<br>ucbn_ldap.get: 84.4<br>ucbn_ldap.getinvites: 88.3<br>ucbn_ldap.hid2alias: 3.1<br>ucbn_ldap.hid2eppn: 3.1<br>ucbn_ldap.hid2mail: 3.1<br>ucbn_ldap.hidisprimaryteacher: 3.1<br>ucbn_ldap.hidisteacher: 3.1<br>ucbn_ldap.ldap_connect: 24<br>ucbn_ldap.oid2alias: 3.5<br>ucbn_ldap.oid2eppn: 3.5<br>ucbn_ldap.oid2mail: 3.5<br>ucbn_ldap.uid2alias: 3.1<br>ucbn_ldap.uid2cn: 3.1<br>ucbn_ldap.uid2givenname: 3.1<br>ucbn_ldap.uid2gn: 3.4<br>ucbn_ldap.uid2mail: 3.2<br>ucbn_ldap.uid2sn: 3.1<br>ucbn_ldap.version: 3<br>unicaen_oracle.comprise_entre: 3.6<br>unicaen_oracle.liked: 3<br>unicaen_oracle.str_find: 3.2<br>unicaen_oracle.str_reduce: 6<br>unicaen_oracle.implode: 3.2<br></td></tr>
<tr><td class="object_name">SEQUENCE</td><td style="text-align: center;">63</td><td style="text-align: center;">0</td><td style="text-align: center;">6.3</td><td>Sequences are fully supported, but all call to sequence_name.NEXTVAL or sequence_name.CURRVAL will be transformed into NEXTVAL('sequence_name') or CURRVAL('sequence_name').</td><td class="detail"></td></tr>
<tr><td class="object_name">SYNONYM</td><td style="text-align: center;">0</td><td style="text-align: center;">0</td><td style="text-align: center;">0</td><td>SYNONYMs will be exported as views. SYNONYMs do not exists with PostgreSQL but a common workaround is to use views or set the PostgreSQL search_path in your session to access object outside the current schema.</td><td class="detail"></td></tr>
<tr><td class="object_name">TABLE</td><td style="text-align: center;">94</td><td style="text-align: center;">0</td><td style="text-align: center;">9.4</td><td></td><td class="detail">Total number of rows: 759965<br>Top 10 of tables sorted by number of rows:<br>api_log has 137285 rows<br>import_log has 126227 rows<br>tmp_acteur has 72174 rows<br>acteur has 64302 rows<br>z_import_observ_etab_result has 49958 rows<br>tmp_these_annee_univ has 46210 rows<br>these_annee_univ has 44322 rows<br>individu has 36507 rows<br>individu_rech has 36507 rows<br>tmp_individu has 34110 rows<br>Top 10 of largest tables:<br></td></tr>
<tr><td class="object_name">TABLE</td><td style="text-align: center;">94</td><td style="text-align: center;">0</td><td style="text-align: center;">9.4</td><td></td><td class="detail">Total number of rows: 760008<br>Top 10 of tables sorted by number of rows:<br>api_log has 137285 rows<br>import_log has 126227 rows<br>tmp_acteur has 72192 rows<br>acteur has 64302 rows<br>z_import_observ_etab_result has 49958 rows<br>tmp_these_annee_univ has 46212 rows<br>these_annee_univ has 44322 rows<br>individu_rech has 36507 rows<br>individu has 36507 rows<br>tmp_individu has 34111 rows<br>Top 10 of largest tables:<br></td></tr>
<tr><td class="object_name">TRIGGER</td><td style="text-align: center;">1</td><td style="text-align: center;">0</td><td style="text-align: center;">4</td><td>Total size of trigger code: 448 bytes.</td><td class="detail">individu_rech_update: 3<br></td></tr>
<tr><td class="object_name">VIEW</td><td style="text-align: center;">60</td><td style="text-align: center;">2</td><td style="text-align: center;">61.9</td><td>Views are fully supported but can use specific functions.</td><td class="detail">src_acteur: 1.1<br>src_role: 1.2<br>v_import_tab_cols: 1.1<br>v_situ_depot_vc_valid_pres: 1.2<br>v_situ_depot_vc_valid_pres_new: 1.2<br>v_tmp_anomalie: 4.1<br></td></tr>
<tr><th style="text-align: center; border-bottom: 0px; vertical-align: bottom;">Total</th><td style="text-align: center; border-bottom: 0px; vertical-align: bottom;">499</td><td style="text-align: center; border-bottom: 0px; vertical-align: bottom;">17</td><td style="text-align: center; border-bottom: 0px; vertical-align: bottom;">464.60</td><td colspan="2" style="border-bottom: 0px; vertical-align: bottom;">464.60 cost migration units means approximatively 6 man-day(s). The migration unit was set to 5 minute(s)
@@ -154,9 +154,9 @@ h2 {
<ul>
<li>DBMS_ => 26 (cost: 3)</li>
<li>SIZE => 4</li>
<li>TEST => 2</li>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>TO_NUMBER => 2 (cost: 0.1)</li>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>TEST => 2</li>
</ul>
<li>Function ucbn_ldap.ldap_connect total estimated cost: 24</li>
<ul>
@@ -188,25 +188,25 @@ h2 {
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<li>Function comprise_entre total estimated cost: 3.6</li>
<li>Function unicaen_oracle.comprise_entre total estimated cost: 3.6</li>
<ul>
<li>TRUNC => 6 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<li>Function unicaen_oracle.comprise_entre total estimated cost: 3.6</li>
<li>Function comprise_entre total estimated cost: 3.6</li>
<ul>
<li>TRUNC => 6 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<li>Function ucbn_ldap.oid2eppn total estimated cost: 3.5</li>
<li>Function ucbn_ldap.oid2mail total estimated cost: 3.5</li>
<ul>
<li>CONCAT => 5 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<li>Function ucbn_ldap.oid2mail total estimated cost: 3.5</li>
<li>Function ucbn_ldap.oid2eppn total estimated cost: 3.5</li>
<ul>
<li>CONCAT => 5 (cost: 0.1)</li>
<li>TEST => 2</li>
@@ -224,32 +224,32 @@ h2 {
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<li>Function unicaen_oracle.implode total estimated cost: 3.2</li>
<li>Function ucbn_ldap.alias2mail total estimated cost: 3.2</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
<li>NOTFOUND => 1</li>
</ul>
<li>Function unicaen_oracle.str_find total estimated cost: 3.2</li>
<li>Function unicaen_oracle.implode total estimated cost: 3.2</li>
<ul>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>SIZE => 1</li>
<li>NOTFOUND => 1</li>
</ul>
<li>Function ucbn_ldap.uid2mail total estimated cost: 3.2</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<li>Function ucbn_ldap.alias2mail total estimated cost: 3.2</li>
<li>Function unicaen_oracle.str_find total estimated cost: 3.2</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>SIZE => 1</li>
</ul>
<li>Function ucbn_ldap.uid2sn total estimated cost: 3.1</li>
<li>Function ucbn_ldap.hidisprimaryteacher total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>SIZE => 1</li>
@@ -261,55 +261,55 @@ h2 {
<li>SIZE => 1</li>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>Function ucbn_ldap.uid2alias total estimated cost: 3.1</li>
<li>Function ucbn_ldap.etu2eppn total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 1 (cost: 0.1)</li>
<li>SIZE => 1</li>
</ul>
<li>Function ucbn_ldap.hid2alias total estimated cost: 3.1</li>
<li>Function ucbn_ldap.etu2mail total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 1 (cost: 0.1)</li>
<li>SIZE => 1</li>
</ul>
<li>Function ucbn_ldap.uid2givenname total estimated cost: 3.1</li>
<li>Function ucbn_ldap.hid2mail total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>SIZE => 1</li>
<li>CONCAT => 1 (cost: 0.1)</li>
<li>SIZE => 1</li>
</ul>
<li>Function ucbn_ldap.etu2mail total estimated cost: 3.1</li>
<li>Function ucbn_ldap.hid2eppn total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>SIZE => 1</li>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>Function ucbn_ldap.hidisprimaryteacher total estimated cost: 3.1</li>
<li>Function ucbn_ldap.hid2alias total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 1 (cost: 0.1)</li>
<li>SIZE => 1</li>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>Function ucbn_ldap.hid2mail total estimated cost: 3.1</li>
<li>Function ucbn_ldap.uid2sn total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>SIZE => 1</li>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>Function ucbn_ldap.hid2eppn total estimated cost: 3.1</li>
<li>Function ucbn_ldap.uid2alias total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 1 (cost: 0.1)</li>
<li>SIZE => 1</li>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>Function ucbn_ldap.etu2eppn total estimated cost: 3.1</li>
<li>Function ucbn_ldap.uid2cn total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>SIZE => 1</li>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>Function ucbn_ldap.uid2cn total estimated cost: 3.1</li>
<li>Function ucbn_ldap.uid2givenname total estimated cost: 3.1</li>
<ul>
<li>TEST => 2</li>
<li>CONCAT => 1 (cost: 0.1)</li>
@@ -341,23 +341,23 @@ h2 {
<ul>
<li>CONCAT => 31 (cost: 0.1)</li>
</ul>
<li>View src_role total estimated cost: 1.2</li>
<li>View v_situ_depot_vc_valid_pres_new total estimated cost: 1.2</li>
<ul>
<li>CONCAT => 2 (cost: 0.1)</li>
</ul>
<li>View v_situ_depot_vc_valid_pres_new total estimated cost: 1.2</li>
<li>View v_situ_depot_vc_valid_pres total estimated cost: 1.2</li>
<ul>
<li>CONCAT => 2 (cost: 0.1)</li>
</ul>
<li>View v_situ_depot_vc_valid_pres total estimated cost: 1.2</li>
<li>View src_role total estimated cost: 1.2</li>
<ul>
<li>CONCAT => 2 (cost: 0.1)</li>
</ul>
<li>View src_acteur total estimated cost: 1.1</li>
<li>View v_import_tab_cols total estimated cost: 1.1</li>
<ul>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>View v_import_tab_cols total estimated cost: 1.1</li>
<li>View src_acteur total estimated cost: 1.1</li>
<ul>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
+22 −22
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
[16] TABLE IMPORT_LOG (owner: SYGAL, 126227 rows)
[17] TABLE IMPORT_NOTIF (owner: SYGAL, 1 rows)
[18] TABLE IMPORT_OBSERV (owner: SYGAL, 3 rows)
[19] TABLE IMPORT_OBSERV_RESULT (owner: SYGAL, 62 rows)
[19] TABLE IMPORT_OBSERV_RESULT (owner: SYGAL, 66 rows)
[20] TABLE IMPORT_OBS_NOTIF (owner: SYGAL, 0 rows)
[21] TABLE IMPORT_OBS_RESULT_NOTIF (owner: SYGAL, 0 rows)
[22] TABLE INDICATEUR (owner: SYGAL, 14 rows)
@@ -51,7 +51,7 @@
[51] TABLE SOUTENANCE_INTERVENTION (owner: SYGAL, 1 rows)
[52] TABLE SOUTENANCE_JUSTIFICATIF (owner: SYGAL, 284 rows)
[53] TABLE SOUTENANCE_MEMBRE (owner: SYGAL, 979 rows)
[54] TABLE SOUTENANCE_PROPOSITION (owner: SYGAL, 342 rows)
[54] TABLE SOUTENANCE_PROPOSITION (owner: SYGAL, 361 rows)
[55] TABLE SOUTENANCE_QUALITE (owner: SYGAL, 15 rows)
[56] TABLE SOUTENANCE_QUALITE_SUP (owner: SYGAL, 4 rows)
[57] TABLE STRUCTURE (owner: SYGAL, 3078 rows)
@@ -62,17 +62,17 @@
[62] TABLE THESE (owner: SYGAL, 12507 rows)
[63] TABLE THESE_ANNEE_UNIV (owner: SYGAL, 44322 rows)
[64] TABLE TITRE_ACCES (owner: SYGAL, 3673 rows)
[65] TABLE TMP_ACTEUR (owner: SYGAL, 72174 rows)
[65] TABLE TMP_ACTEUR (owner: SYGAL, 72192 rows)
[66] TABLE TMP_DOCTORANT (owner: SYGAL, 12305 rows)
[67] TABLE TMP_ECOLE_DOCT (owner: SYGAL, 40 rows)
[68] TABLE TMP_ETABLISSEMENT (owner: SYGAL, 2460 rows)
[68] TABLE TMP_ETABLISSEMENT (owner: SYGAL, 2459 rows)
[69] TABLE TMP_FINANCEMENT (owner: SYGAL, 3887 rows)
[70] TABLE TMP_INDIVIDU (owner: SYGAL, 34110 rows)
[70] TABLE TMP_INDIVIDU (owner: SYGAL, 34111 rows)
[71] TABLE TMP_ORIGINE_FINANCEMENT (owner: SYGAL, 132 rows)
[72] TABLE TMP_ROLE (owner: SYGAL, 29 rows)
[73] TABLE TMP_STRUCTURE (owner: SYGAL, 2915 rows)
[73] TABLE TMP_STRUCTURE (owner: SYGAL, 2914 rows)
[74] TABLE TMP_THESE (owner: SYGAL, 12431 rows)
[75] TABLE TMP_THESE_ANNEE_UNIV (owner: SYGAL, 46210 rows)
[75] TABLE TMP_THESE_ANNEE_UNIV (owner: SYGAL, 46212 rows)
[76] TABLE TMP_TITRE_ACCES (owner: SYGAL, 3743 rows)
[77] TABLE TMP_UNITE_RECH (owner: SYGAL, 417 rows)
[78] TABLE TMP_VARIABLE (owner: SYGAL, 28 rows)
@@ -81,7 +81,7 @@
[81] TABLE TYPE_VALIDATION (owner: SYGAL, 15 rows)
[82] TABLE UNITE_DOMAINE_LINKER (owner: SYGAL, 102 rows)
[83] TABLE UNITE_RECH (owner: SYGAL, 512 rows)
[84] TABLE USER_TOKEN (owner: SYGAL, 9 rows)
[84] TABLE USER_TOKEN (owner: SYGAL, 10 rows)
[85] TABLE UTILISATEUR (owner: SYGAL, 3875 rows)
[86] TABLE VALIDATION (owner: SYGAL, 2427 rows)
[87] TABLE VALIDITE_FICHIER (owner: SYGAL, 1108 rows)
@@ -89,27 +89,27 @@
[89] TABLE VERSION_FICHIER (owner: SYGAL, 6 rows)
[90] TABLE WF_ETAPE (owner: SYGAL, 22 rows)
----------------------------------------------------------
Total number of rows: 708447
Total number of rows: 708490

Top 10 of tables sorted by number of rows:
	[1] TABLE API_LOG has 137285 rows
	[2] TABLE IMPORT_LOG has 126227 rows
	[3] TABLE TMP_ACTEUR has 72174 rows
	[3] TABLE TMP_ACTEUR has 72192 rows
	[4] TABLE ACTEUR has 64302 rows
	[5] TABLE TMP_THESE_ANNEE_UNIV has 46210 rows
	[5] TABLE TMP_THESE_ANNEE_UNIV has 46212 rows
	[6] TABLE THESE_ANNEE_UNIV has 44322 rows
	[7] TABLE INDIVIDU_RECH has 36507 rows
	[8] TABLE INDIVIDU has 36507 rows
	[9] TABLE TMP_INDIVIDU has 34110 rows
	[9] TABLE TMP_INDIVIDU has 34111 rows
	[10] TABLE DOCTORANT has 12754 rows
Top 10 of largest tables:
	[1] TABLE USER_TOKEN: 0 MB (9 rows)
	[2] TABLE VARIABLE: 0 MB (31 rows)
	[3] TABLE TYPE_VALIDATION: 0 MB (15 rows)
	[4] TABLE TYPE_RAPPORT: 0 MB (3 rows)
	[5] TABLE UNITE_RECH: 0 MB (512 rows)
	[6] TABLE WF_ETAPE: 0 MB (22 rows)
	[7] TABLE UNITE_DOMAINE_LINKER: 0 MB (102 rows)
	[8] TABLE TMP_VARIABLE: 0 MB (28 rows)
	[9] TABLE TYPE_STRUCTURE: 0 MB (3 rows)
	[10] TABLE VERSION_FICHIER: 0 MB (6 rows)
	[1] TABLE TYPE_RAPPORT: 0 MB (3 rows)
	[2] TABLE UNITE_RECH: 0 MB (512 rows)
	[3] TABLE VARIABLE: 0 MB (31 rows)
	[4] TABLE WF_ETAPE: 0 MB (22 rows)
	[5] TABLE UNITE_DOMAINE_LINKER: 0 MB (102 rows)
	[6] TABLE USER_TOKEN: 0 MB (10 rows)
	[7] TABLE TMP_VARIABLE: 0 MB (28 rows)
	[8] TABLE TYPE_VALIDATION: 0 MB (15 rows)
	[9] TABLE VERSION_FICHIER: 0 MB (6 rows)
	[10] TABLE TYPE_STRUCTURE: 0 MB (3 rows)
Loading