oracle
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| oracle [2025/08/14 09:19] – mduersch | oracle [2026/07/14 10:24] (current) – [Dataguard related] mduersch | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ORACLE ====== | ====== ORACLE ====== | ||
| + | |||
| + | |||
| + | ==== EMCC ==== | ||
| + | |||
| + | oracle@mytesthost:/ | ||
| + | Oracle Enterprise Manager 24ai Release 1 | ||
| + | Copyright (c) 1996, 2024 Oracle Corporation. | ||
| + | --------------------------------------------------------------- | ||
| + | EMD runCollection completed successfully | ||
| + | |||
| + | oracle@mytesthost:/ | ||
| + | Oracle Enterprise Manager 24ai Release 1 | ||
| + | Copyright (c) 1996, 2024 Oracle Corporation. | ||
| + | --------------------------------------------------------------- | ||
| + | EMD upload completed successfully | ||
| + | |||
| + | ==== CDB PDB ==== | ||
| + | |||
| + | Befehle | ||
| + | SHOW CON_NAME | ||
| + | ALTER SESSION SET CONTAINER=pdb1; | ||
| + | SELECT NAME, CON_ID, DBID, CON_UID, GUID FROM V$CONTAINERS ORDER BY CON_ID; | ||
| + | SELECT PDB_ID, PDB_NAME, STATUS FROM DBA_PDBS ORDER BY PDB_ID; | ||
| + | SELECT NAME, OPEN_MODE, RESTRICTED, OPEN_TIME FROM V$PDBS; | ||
| ==== ACLs ==== | ==== ACLs ==== | ||
| Line 27: | Line 51: | ||
| ORDER BY acl, principal, privilege; | ORDER BY acl, principal, privilege; | ||
| + | Source: https:// | ||
| ==== Spool ==== | ==== Spool ==== | ||
| Line 66: | Line 91: | ||
| or network_service_banner like ' | or network_service_banner like ' | ||
| and TYPE <> ' | and TYPE <> ' | ||
| + | |||
| + | ==== Audit Trail ==== | ||
| + | |||
| + | SELECT os_username AS "OS User", | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | FROM dba_audit_session | ||
| + | WHERE returncode != 0 ORDER BY timestamp DESC; | ||
| ==== Grants by User ==== | ==== Grants by User ==== | ||
| Line 348: | Line 383: | ||
| ==== Dataguard related ==== | ==== Dataguard related ==== | ||
| + | | ||
| + | | ||
| | | ||
| | | ||
| Line 365: | Line 402: | ||
| | | ||
| | | ||
| + | |||
| + | # Anfragen | ||
| + | col DB_UNIQUE_NAME for a10 | ||
| + | col OPEN_MODE for a20 | ||
| + | col DATABASE_ROLE for a20 | ||
| + | col LOG_MODE for a10 | ||
| + | set lines 200 | ||
| + | | ||
| + | |||
| + | # Transport log | ||
| + | | ||
| + | |||
| + | |||
| + | |||
| # Paramter abfragen | # Paramter abfragen | ||
| | | ||
| Line 558: | Line 609: | ||
| | | ||
| | | ||
| + | # flashbackquery | ||
| + | | ||
| + | AS OF TIMESTAMP TO_TIMESTAMP(' | ||
| + | | ||
| + | | ||
| ==== GRANTS ==== | ==== GRANTS ==== | ||
oracle.1755163162.txt.gz · Last modified: by mduersch
