Oracle: Unterschied zwischen den Versionen

Aus XccesS Wiki
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „=== Beschreibung === === Download === === Installation === === Konfiguration === ====Tablespace anlegen==== CREATE TABLESPACE PSAPSR3740X DATAFILE '/oracle/PZ0/sapdata1/sr3740x_1' SIZE 10M; ====Tablespace erweitern==== alter database datafile '/oracle/PZ0/sapdata1/sr3740x_1' resize 30G; ====Tablespace mit neuer Datei erweitern==== alter tablespace PSAPSR3740X add datafile '/oracle/PZ0/sapdata1/sr3740x_2' size 30G; === Update === === Test === === Code…“
 
KKeine Bearbeitungszusammenfassung
Zeile 12: Zeile 12:
====Tablespace mit neuer Datei erweitern====
====Tablespace mit neuer Datei erweitern====
alter tablespace PSAPSR3740X add datafile '/oracle/PZ0/sapdata1/sr3740x_2' size 30G;
alter tablespace PSAPSR3740X add datafile '/oracle/PZ0/sapdata1/sr3740x_2' size 30G;
====Backupmodus einstellen====
Wird benötigt um ggf. die sapdata online kopieren zu können
<syntaxhighlight lang="bash" line="1">
SQL> ALTER DATABASE BEGIN BACKUP;
To find if database or any tablespace is in backup mode, the status in V$BACKUP is ACTIVE
SQL> select * from v$backup;
SQL> ALTER DATABASE END BACKUP;
</syntaxhighlight>
=== Update ===
=== Update ===



Version vom 20. August 2024, 12:02 Uhr

Beschreibung

Download

Installation

Konfiguration

Tablespace anlegen

CREATE TABLESPACE PSAPSR3740X DATAFILE '/oracle/PZ0/sapdata1/sr3740x_1' SIZE 10M;

Tablespace erweitern

alter database datafile '/oracle/PZ0/sapdata1/sr3740x_1' resize 30G;

Tablespace mit neuer Datei erweitern

alter tablespace PSAPSR3740X add datafile '/oracle/PZ0/sapdata1/sr3740x_2' size 30G;

Backupmodus einstellen

Wird benötigt um ggf. die sapdata online kopieren zu können

SQL> ALTER DATABASE BEGIN BACKUP;
To find if database or any tablespace is in backup mode, the status in V$BACKUP is ACTIVE
SQL> select * from v$backup;
SQL> ALTER DATABASE END BACKUP;

Update

Test

Codeschnipsel

Nützliche Links