Commit 414bfc09 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Nouvelle migration

parent 401ccc1a
Loading
Loading
Loading
Loading
+171
Changes for migration/README.md: 171 added lines, 0 removed lines.
Original line number Diff line number Diff line
Migration de la base de données Oracle de SyGAL vers PostgreSQL
===============================================================

Le projet de migration *ora2pg* a été créé dans le sous-répertoire `ora2pg` en suivant la doc du dépôt
[ora2pg](https://git.unicaen.fr/dsi/ora2pg).


Pré-requis
----------

- Se placer dans le répertoire racine du projet SyGAL. 
  Dans la suite, `${PWD}` correspond donc à ce répertoire racine.


Génération des scripts SQL de migration
---------------------------------------

### Structure

1) Lancement de *ora2pg* pour générer les scripts de création du schéma PostgreSQL

```bash
docker run --rm \
-v ${PWD}/migration:/migration \
-w /migration/ora2pg \
ora2pg-image \
./export_schema.sh -c ./config/ora2pg.conf
```

Remarque : il est possible de restriendre la liste des "objets" à prendre en compte en modifiant les variables 
`EXPORT_TYPE` et `SOURCE_TYPE` dans le script `${PWD}/migration/ora2pg/export_schema.sh`.
Exemple pour ne générer que les tables, indexes, constraints et foreign keys : 
```
EXPORT_TYPE="TABLE"
SOURCE_TYPE="TABLE"
```

Les scripts sont générés dans `${PWD}/migration/ora2pg/schema/`.


2) Correction nécessaire des scripts SQL générés

```bash
docker run \
--rm \
-v ${PWD}/migration:/migration \
-w /migration \
ora2pg-image \
./bin/prepare_schema_scripts.sh
```


### 2/ Données

*ora2pg* génère des scripts d'insertion de données qu'il faudra importer avec la ligne de commande `psql`.
*NB : ça mouline grave pour les tables volumineuses.*

```bash
docker run \
--rm \
-v ${PWD}/migration:/migration \
-w /migration/ora2pg \
ora2pg-image \
ora2pg -t COPY -o data.sql -b ./data -c ./config/ora2pg.conf
```

Les scripts sont générés dans `${PWD}/migration/ora2pg/data/`.


Vidage éventuel de la base PostgreSQL
-------------------------------------

**Si besoin**, le script `migration/pg_clean.sql` permet de vider entièrement la base de données PostgreSQL.


Import dans la base PostgreSQL
------------------------------

1) Exporter les variables d'environnement requises pour se connecter à la base de données PostgreSQL

```bash
export PGDATABASE=xxxxxx ; \
export PGUSER=xxxxxx ; \
export PGHOST=host.unicaen.fr ; \
export PGPORT=5432 ; \
export PGPASSWORD=xxxxxx
```

2) Lancer l'import

```bash
docker run -it --rm \
-v ${PWD}/migration/ora2pg:/ora2pg \
-v ${PWD}/migration/docker/pg_before_import.sql:/tmp/pg_before_import.sql \
-w /ora2pg \
--env PGDATABASE \
--env PGUSER \
--env PGHOST \
--env PGPORT \
--env PGPASSWORD \
ora2pg-image \
./import_all.sh -f -x -d ${PGDATABASE} -h ${PGHOST} -U ${PGUSER} -o ${PGUSER} -b /tmp/pg_before_import.sql
```

NB : 
- Le script SQL "pg_before_import.sql" sera exécuté juste avant l'import.
- Votre feu vert explicite vous est demandé pour chaque type d'objet à importer. Ajouter `-y` pour éviter ça.
- Les indexes, constraints et foreign keys ne sont créés qu'une fois les données importées.

3) Lancer le script SQL post-import

```bash
docker run --rm \
-v ${PWD}/migration/docker/pg_after_import.sql:/tmp/pg_after_import.sql \
--env PGDATABASE \
--env PGUSER \
--env PGHOST \
--env PGPORT \
--env PGPASSWORD \
ora2pg-image \
psql -d ${PGDATABASE} -h ${PGHOST} -U ${PGUSER} -f /tmp/pg_after_import.sql
```

The end
-------

:-)






Suppression des scripts SQL générés par *ora2pg*
------------------------------------------------

1) Structure

```bash
sudo rm -f \
migration/ora2pg/reports/* \
migration/ora2pg/schema/dblinks/* \
migration/ora2pg/schema/directories/* \
migration/ora2pg/schema/functions/* \
migration/ora2pg/schema/grants/* \
migration/ora2pg/schema/mviews/* \
migration/ora2pg/schema/packages/* \
migration/ora2pg/schema/partitions/* \
migration/ora2pg/schema/procedures/* \
migration/ora2pg/schema/sequences/* \
migration/ora2pg/schema/synonyms/* \
migration/ora2pg/schema/tables/* \
migration/ora2pg/schema/tablespaces/* \
migration/ora2pg/schema/triggers/* \
migration/ora2pg/schema/types/* \
migration/ora2pg/schema/views/* \
migration/ora2pg/sources/functions/* \
migration/ora2pg/sources/mviews/* \
migration/ora2pg/sources/packages/* \
migration/ora2pg/sources/partitions/* \
migration/ora2pg/sources/procedures/* \
migration/ora2pg/sources/triggers/* \
migration/ora2pg/sources/types/* \
migration/ora2pg/sources/views/*
```

2) Données

```bash
sudo rm -rf migration/ora2pg/data/*
```
+920

File added.

Preview size limit exceeded, changes collapsed.

+235
Changes for migration/ora2pg/reports/report.html: 235 added lines, 0 removed lines.
Original line number Diff line number Diff line
<!DOCTYPE html>
<html>
  <head>
  <title>Ora2Pg - Database Migration Report</title>
  <meta HTTP-EQUIV="Generator" CONTENT="Ora2Pg v20.0">
  <meta HTTP-EQUIV="Date" CONTENT="Thu Feb 18 08:53:56 2021">
  <style>
body {
	margin: 30px 0;
	padding: 0;
	background: #EFEFEF;
	font-size: 12px;
	color: #1e1e1e;
}

h1 {
	margin-bottom: 20px;
	border-bottom: 1px solid #DFDFDF;
	font-size: 22px;
	padding: 0px;
	padding-bottom: 5px;
	font-weight: bold;
	color: #0094C7;
}

h2 {
	margin-bottom: 10px;
	font-size: 18px;
	padding: 0px;
	padding-bottom: 5px;
	font-weight: bold;
	color: #0094C7;
}

#header table {
	padding: 0 5px 0 5px;
	border: 1px solid #DBDBDB;
	margin-bottom: 20px;
	margin-left: 30px;
}

#header th {
	padding: 0 5px 0 5px;
	text-decoration: none;
	font-size: 16px;
	color: #EC5800;
}

#content table {
	padding: 0 5px 0 5px;
	border: 1px solid #DBDBDB;
	margin-bottom: 20px;
	margin-left: 10px;
	margin-right: 10px;
}
#content td {
	padding: 0 5px 0 5px;
	border-bottom: 1px solid #888888;
	margin-bottom: 20px;
	text-align: left;
	vertical-align: top;
}

#content th {
	border-bottom: 1px solid #BBBBBB;
	padding: 0 5px 0 5px;
	text-decoration: none;
	font-size: 16px;
	color: #EC5800;
}

.object_name {
        font-weight: bold;
        color: #0094C7;
	text-align: left;
	white-space: pre;
}

.detail {
	white-space: pre;
}

#footer {
	margin-right: 10px;
	text-align: right;
}

#footer a {
	color: #EC5800;
}

#footer a:hover {
	text-decoration: none;
}
  </style>
</head>
<body>
<div id="header">
<h1>Ora2Pg - Database Migration Report</h1>
<table>
<tr><th>Version</th><td>Oracle Database 11g Enterprise Edition Release 11.2.0.3.0</td></tr>
<tr><th>Schema</th><td>SYGAL</td></tr>
<tr><th>Size</th><td>1027.50 MB</td></tr>
</table>
</div>
<div id="content">
<table>
<tr><th>Object</th><th>Number</th><th>Invalid</th><th>Estimated cost</th><th>Comments</th><th>Details</th></tr>
<tr><td class="object_name">DATABASE LINK</td><td style="text-align: center;">0</td><td style="text-align: center;">0</td><td style="text-align: center;">0</td><td>Database links will be exported as SQL/MED PostgreSQL's Foreign Data Wrapper (FDW) extensions using oracle_fdw.</td><td class="detail"></td></tr>
<tr><td class="object_name">FUNCTION</td><td style="text-align: center;">3</td><td style="text-align: center;">0</td><td style="text-align: center;">17.4</td><td>Total size of function code: 1497 bytes.</td><td class="detail">str_reduce: 6<br>comprise_entre: 3.6<br>individu_haystack: 4.8<br></td></tr>
<tr><td class="object_name">GLOBAL TEMPORARY TABLE</td><td style="text-align: center;">0</td><td style="text-align: center;">0</td><td style="text-align: center;">0</td><td>Global temporary table are not supported by PostgreSQL and will not be exported. You will have to rewrite some application code to match the PostgreSQL temporary table behavior.</td><td class="detail"></td></tr>
<tr><td class="object_name">INDEX</td><td style="text-align: center;">231</td><td style="text-align: center;">0</td><td style="text-align: center;">39.9</td><td>168 index(es) are concerned by the export, others are automatically generated and will do so on PostgreSQL. Bitmap will be exported as btree_gin index(es) and hash index(es) will be exported as b-tree index(es) if any. Domain index are exported as b-tree but commented to be edited to mainly use FTS. Cluster, bitmap join and IOT indexes will not be exported at all. Reverse indexes are not exported too, you may use a trigram-based index (see pg_trgm) or a reverse() function based index and search. Use 'varchar_pattern_ops', 'text_pattern_ops' or 'bpchar_pattern_ops' operators in your indexes to improve search with the LIKE operator respectively into varchar, text or char columns.</td><td class="detail">168 b-tree index(es)<br></td></tr>
<tr><td class="object_name">JOB</td><td style="text-align: center;">12</td><td style="text-align: center;">0</td><td style="text-align: center;">24</td><td>Job are not exported. You may set external cron job with them.</td><td class="detail"></td></tr>
<tr><td class="object_name">MATERIALIZED VIEW</td><td style="text-align: center;">14</td><td style="text-align: center;">13</td><td style="text-align: center;">3</td><td>All materialized view will be exported as snapshot materialized views, they are only updated when fully refreshed.</td><td class="detail"></td></tr>
<tr><td class="object_name">PACKAGE BODY</td><td style="text-align: center;">1</td><td style="text-align: center;">0</td><td style="text-align: center;">25</td><td>Total size of package code: 2363 bytes. Number of procedures and functions found inside those packages: 5.</td><td class="detail">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;">57</td><td style="text-align: center;">0</td><td style="text-align: center;">5.7</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;">86</td><td style="text-align: center;">0</td><td style="text-align: center;">8.6</td><td></td><td class="detail">Total number of rows: 496893<br>Top 10 of tables sorted by number of rows:<br>tmp_acteur has 70803 rows<br>acteur has 57527 rows<br>z_import_observ_etab_result has 49958 rows<br>tmp_these_annee_univ has 46095 rows<br>these_annee_univ has 44322 rows<br>individu has 36049 rows<br>individu_rech has 35920 rows<br>tmp_individu has 33625 rows<br>api_log has 13330 rows<br>import_log has 13220 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;">57</td><td style="text-align: center;">0</td><td style="text-align: center;">64.5</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: 3<br>v_tmp_anomalie: 4.1<br>v_workflow: 3<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;">462</td><td style="text-align: center; border-bottom: 0px; vertical-align: bottom;">13</td><td style="text-align: center; border-bottom: 0px; vertical-align: bottom;">192.10</td><td colspan="2" style="border-bottom: 0px; vertical-align: bottom;">192.10 cost migration units means approximatively 3 man-day(s). The migration unit was set to 5 minute(s)
</td></tr>
</table>
</div>
<h2>Migration level: B-5</h2>

<ul>
<li>Migration levels:</li>
  <ul>
    <li>A - Migration that might be run automatically</li>
    <li>B - Migration with code rewrite and a human-days cost up to 5 days</li>
    <li>C - Migration with code rewrite and a human-days cost above 5 days</li>
  </ul>
<li>Technical levels:</li>
  <ul>
    <li>1 = trivial: no stored functions and no triggers</li>
    <li>2 = easy: no stored functions but with triggers, no manual rewriting</li>
    <li>3 = simple: stored functions and/or triggers, no manual rewriting</li>
    <li>4 = manual: no stored functions but with triggers or views with code rewriting</li>
    <li>5 = difficult: stored functions and/or triggers with code rewriting</li>
  </ul>
</ul>
<h2>Details of cost assessment per function</h2>
<ul>
<li>Function unicaen_oracle.str_reduce total estimated cost: 6</li>
<ul>
<li>TEST => 2</li>
<li>UTL_ => 1 (cost: 3)</li>
<li>SIZE => 1</li>
</ul>
<li>Function str_reduce total estimated cost: 6</li>
<ul>
<li>TEST => 2</li>
<li>SIZE => 1</li>
<li>UTL_ => 1 (cost: 3)</li>
</ul>
<li>Function individu_haystack total estimated cost: 4.8</li>
<ul>
<li>CONCAT => 18 (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>
<ul>
<li>TRUNC => 6 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<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 unicaen_oracle.implode total estimated cost: 3.2</li>
<ul>
<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>
<ul>
<li>CONCAT => 2 (cost: 0.1)</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
<li>Function unicaen_oracle.liked total estimated cost: 3</li>
<ul>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
</ul>
<h2>Details of cost assessment per trigger</h2>
<ul>
<li>Trigger individu_rech_update total estimated cost: 3</li>
<ul>
<li>TG_OP => 3</li>
<li>TEST => 2</li>
<li>SIZE => 1</li>
</ul>
</ul>
<h2>Details of cost assessment per view</h2>
<ul>
<li>View v_tmp_anomalie total estimated cost: 4.1</li>
<ul>
<li>CONCAT => 31 (cost: 0.1)</li>
</ul>
<li>View v_situ_depot_vc_valid_pres total estimated cost: 3</li>
<ul>
<li>ROWNUM => 1 (cost: 2)</li>
</ul>
<li>View v_workflow total estimated cost: 3</li>
<ul>
<li>ROWNUM => 1 (cost: 2)</li>
</ul>
<li>View src_role total estimated cost: 1.2</li>
<ul>
<li>CONCAT => 2 (cost: 0.1)</li>
</ul>
<li>View v_import_tab_cols total estimated cost: 1.1</li>
<ul>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
<li>View src_acteur total estimated cost: 1.1</li>
<ul>
<li>CONCAT => 1 (cost: 0.1)</li>
</ul>
</ul>

<div id="footer">
Generated by <a href="http://ora2pg.darold.net/">Ora2Pg v20.0</a>
</div>
</body>
</html>
+109
Changes for migration/ora2pg/reports/tables.txt: 109 added lines, 0 removed lines.
Original line number Diff line number Diff line
[1] TABLE ACTEUR (owner: SYGAL, 57527 rows)
[2] TABLE API_LOG (owner: SYGAL, 13330 rows)
[3] TABLE ATTESTATION (owner: SYGAL, 755 rows)
[4] TABLE CATEGORIE_PRIVILEGE (owner: SYGAL, 19 rows)
[5] TABLE DIFFUSION (owner: SYGAL, 751 rows)
[6] TABLE DOCTORANT (owner: SYGAL, 11731 rows)
[7] TABLE DOCTORANT_COMPL (owner: SYGAL, 192 rows)
[8] TABLE DOMAINE_SCIENTIFIQUE (owner: SYGAL, 10 rows)
[9] TABLE ECOLE_DOCT (owner: SYGAL, 55 rows)
[10] TABLE ETABLISSEMENT (owner: SYGAL, 2205 rows)
[11] TABLE ETABLISSEMENT_RATTACH (owner: SYGAL, 180 rows)
[12] TABLE FAQ (owner: SYGAL, 13 rows)
[13] TABLE FICHIER (owner: SYGAL, 3048 rows)
[14] TABLE FICHIER_THESE (owner: SYGAL, 3086 rows)
[15] TABLE FINANCEMENT (owner: SYGAL, 3964 rows)
[16] TABLE IMPORT_LOG (owner: SYGAL, 13220 rows)
[17] TABLE IMPORT_NOTIF (owner: SYGAL, 1 rows)
[18] TABLE IMPORT_OBSERV (owner: SYGAL, 3 rows)
[19] TABLE IMPORT_OBSERV_RESULT (owner: SYGAL, 11 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, 13 rows)
[23] TABLE INDIVIDU (owner: SYGAL, 36049 rows)
[24] TABLE INDIVIDU_RECH (owner: SYGAL, 35920 rows)
[25] TABLE INDIVIDU_ROLE (owner: SYGAL, 238 rows)
[26] TABLE INFORMATION (owner: SYGAL, 8 rows)
[27] TABLE INFORMATION_FICHIER_SAV (owner: SYGAL, 22 rows)
[28] TABLE INFORMATION_LANGUE (owner: SYGAL, 2 rows)
[29] TABLE LISTE_DIFF (owner: SYGAL, 80 rows)
[30] TABLE MAIL_CONFIRMATION (owner: SYGAL, 670 rows)
[31] TABLE METADONNEE_THESE (owner: SYGAL, 547 rows)
[32] TABLE NATURE_FICHIER (owner: SYGAL, 26 rows)
[33] TABLE NOTIF (owner: SYGAL, 1 rows)
[34] TABLE NOTIF_RESULT (owner: SYGAL, 0 rows)
[35] TABLE ORIGINE_FINANCEMENT (owner: SYGAL, 33 rows)
[36] TABLE PARAMETRE (owner: SYGAL, 1 rows)
[37] TABLE PRIVILEGE (owner: SYGAL, 109 rows)
[38] TABLE PROFIL (owner: SYGAL, 15 rows)
[39] TABLE PROFIL_PRIVILEGE (owner: SYGAL, 440 rows)
[40] TABLE PROFIL_TO_ROLE (owner: SYGAL, 149 rows)
[41] TABLE RAPPORT_ANNUEL (owner: SYGAL, 22 rows)
[42] TABLE RDV_BU (owner: SYGAL, 578 rows)
[43] TABLE ROLE (owner: SYGAL, 174 rows)
[44] TABLE ROLE_PRIVILEGE (owner: SYGAL, 3817 rows)
[45] TABLE SOURCE (owner: SYGAL, 5 rows)
[46] TABLE SOUTENANCE_AVIS (owner: SYGAL, 0 rows)
[47] TABLE SOUTENANCE_CONFIGURATION (owner: SYGAL, 17 rows)
[48] TABLE SOUTENANCE_ETAT (owner: SYGAL, 3 rows)
[49] TABLE SOUTENANCE_JUSTIFICATIF (owner: SYGAL, 14 rows)
[50] TABLE SOUTENANCE_MEMBRE (owner: SYGAL, 84 rows)
[51] TABLE SOUTENANCE_PROPOSITION (owner: SYGAL, 25 rows)
[52] TABLE SOUTENANCE_QUALITE (owner: SYGAL, 12 rows)
[53] TABLE SOUTENANCE_QUALITE_SUP (owner: SYGAL, 4 rows)
[54] TABLE STRUCTURE (owner: SYGAL, 2944 rows)
[55] TABLE STRUCTURE_SUBSTIT (owner: SYGAL, 241 rows)
[56] TABLE SYNCHRO_LOG (owner: SYGAL, 7 rows)
[57] TABLE SYNC_LOG (owner: SYGAL, 0 rows)
[58] TABLE THESE (owner: SYGAL, 12427 rows)
[59] TABLE THESE_ANNEE_UNIV (owner: SYGAL, 44322 rows)
[60] TABLE TITRE_ACCES (owner: SYGAL, 3673 rows)
[61] TABLE TMP_ACTEUR (owner: SYGAL, 70803 rows)
[62] TABLE TMP_DOCTORANT (owner: SYGAL, 12254 rows)
[63] TABLE TMP_ECOLE_DOCT (owner: SYGAL, 40 rows)
[64] TABLE TMP_ETABLISSEMENT (owner: SYGAL, 2329 rows)
[65] TABLE TMP_FINANCEMENT (owner: SYGAL, 3825 rows)
[66] TABLE TMP_INDIVIDU (owner: SYGAL, 33625 rows)
[67] TABLE TMP_ORIGINE_FINANCEMENT (owner: SYGAL, 33 rows)
[68] TABLE TMP_ROLE (owner: SYGAL, 29 rows)
[69] TABLE TMP_STRUCTURE (owner: SYGAL, 2783 rows)
[70] TABLE TMP_THESE (owner: SYGAL, 12380 rows)
[71] TABLE TMP_THESE_ANNEE_UNIV (owner: SYGAL, 46095 rows)
[72] TABLE TMP_TITRE_ACCES (owner: SYGAL, 3697 rows)
[73] TABLE TMP_UNITE_RECH (owner: SYGAL, 416 rows)
[74] TABLE TMP_VARIABLE (owner: SYGAL, 28 rows)
[75] TABLE TYPE_STRUCTURE (owner: SYGAL, 3 rows)
[76] TABLE TYPE_VALIDATION (owner: SYGAL, 12 rows)
[77] TABLE UNITE_DOMAINE_LINKER (owner: SYGAL, 101 rows)
[78] TABLE UNITE_RECH (owner: SYGAL, 512 rows)
[79] TABLE UTILISATEUR (owner: SYGAL, 2393 rows)
[80] TABLE VALIDATION (owner: SYGAL, 1700 rows)
[81] TABLE VALIDITE_FICHIER (owner: SYGAL, 1013 rows)
[82] TABLE VARIABLE (owner: SYGAL, 31 rows)
[83] TABLE VERSION_FICHIER (owner: SYGAL, 6 rows)
[84] TABLE WF_ETAPE (owner: SYGAL, 22 rows)
----------------------------------------------------------
Total number of rows: 446923

Top 10 of tables sorted by number of rows:
	[1] TABLE TMP_ACTEUR has 70803 rows
	[2] TABLE ACTEUR has 57527 rows
	[3] TABLE TMP_THESE_ANNEE_UNIV has 46095 rows
	[4] TABLE THESE_ANNEE_UNIV has 44322 rows
	[5] TABLE INDIVIDU has 36049 rows
	[6] TABLE INDIVIDU_RECH has 35920 rows
	[7] TABLE TMP_INDIVIDU has 33625 rows
	[8] TABLE API_LOG has 13330 rows
	[9] TABLE IMPORT_LOG has 13220 rows
	[10] TABLE THESE has 12427 rows
Top 10 of largest tables:
	[1] TABLE UNITE_RECH: 0 MB (512 rows)
	[2] TABLE UNITE_DOMAINE_LINKER: 0 MB (101 rows)
	[3] TABLE WF_ETAPE: 0 MB (22 rows)
	[4] TABLE TMP_ORIGINE_FINANCEMENT: 0 MB (33 rows)
	[5] TABLE VERSION_FICHIER: 0 MB (6 rows)
	[6] TABLE VARIABLE: 0 MB (31 rows)
	[7] TABLE TMP_ROLE: 0 MB (29 rows)
	[8] TABLE TYPE_VALIDATION: 0 MB (12 rows)
	[9] TABLE TYPE_STRUCTURE: 0 MB (3 rows)
	[10] TABLE TMP_VARIABLE: 0 MB (28 rows)
+65

File added.

Preview size limit exceeded, changes collapsed.

Loading