Académique Documents
Professionnel Documents
Culture Documents
4-2 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Outils de gestion de base de données Oracle
4-3 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Utilisation de SQL*Plus
SQL*Plus est:
• Un outil en ligne de commande
• Utilisation interactive ou en mode batch
$ sqlplus hr
Enter password:
Last Successful login time: Mon Oct 06 2014 13:24:35 +00:00
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
4-4 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Appel de SQL*Plus à partir d'un script shell pour
Linux et Bat pour Windows
$ ./batch_sqlplus.sh
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics, Real Application Testing and
Unified Auditing options # Name of this file: batch_sqlplus.sh
# Count employees and give raise.
SQL>
COUNT(*)
sqlplus hr/hr <<EOF
---------- select count(*) from employees;
107 update employees set salary = salary*1.10;
SQL> commit;
107 rows updated. quit
SQL>
EOF
Commit complete.
SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.1.0
- 64bit Production
With the Partitioning, OLAP, Advanced Analytics, Real Application Testing
and Unified Auditing options
$
4-5 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Appel d'un script SQL depuis SQL*Plus
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics, Real Application Testing
and Unified Auditing options
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit
Production
With the Partitioning, OLAP, Advanced Analytics, Real Application Testing
and Unified Auditing options
4-6 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Oracle SQL Developer: Connexions
4-7 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Oracle SQL Developer: Actions de
l'administrateur de base de données
Utilisation des fonctionnalités DBA via le navigateur DBA
4-8 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Oracle Enterprise Manager
Database Express Architecture
Listener
Console
EM Express Servlet
• Authentication
• Gestion de Session
• Compression Gestionnaire
• Caching
de fichiers
Obtenir des fichiers shell
4-9 Copyright © 2022, Oracle and/or its affiliates. All rights reserved.
Configuration de l’Enterprise Manager
Database Express
• Configurer un port d'écoute HTTP pour chaque instance
de base de données.
– Verifier le parameter DISPATCHERS.
dispatchers=(PROTOCOL=TCP)(SERVICE=sampleXDB)
• Pour définir le port HTTPS pour EM Express pour une PDB, assurez-
vous que la PDB est ouverte en mode lecture/écriture, puis utilisez la
procédure PL/SQL DBMS_XDB_CONFIG.SETHTTPSPORT
SQL> alter session set container=PDB1 ;
SQL> exec DBMS_XDB_CONFIG.SETHTTPSPORT(5502);
Hôtes
gérés
Gestion d'Oracle
Service
Cloud Control
Console
Gestion d'Oracle
Stockage
WebLogic
EM
OMS
Stockage Agents
SQL*Plus or
Contrôle de Contrôle de
Contrôle du serveur
l’Enterprise l’Enterprise
Contrôle du Listener Manager Manager
WebLogic
EM
OHS
Serveur de référentiel OMS
Agents
WebLogic
EM
OHS
Agents OMS Serveur de référentiel