|
|
|
2. Erstellen Sie eine Datenbank für die Verwendung mit Tivoli Identity Manager.
Mit dem folgenden SQL-Beispielscript können Sie eine Datenbank erstellen. Die
Werte im Script sollten so geändert werden, dass sie Ihren Anforderungen ent-
sprechen.
-- Create database
CREATE DATABASE sample
CONTROLFILE REUSE
LOGFILE '/u01/oracle/sample/redo01.log' SIZE 1M REUSE,
'/u01/oracle/sample/redo02.log' SIZE 1M REUSE,
'/u01/oracle/sample/redo03.log' SIZE 1M REUSE,
'/u01/oracle/sample/redo04.log' SIZE 1M REUSE
DATAFILE '/u01/oracle/sample/system01.dbf' SIZE 10M REUSE
AUTOEXTEND ON
NEXT 10M MAXSIZE 200M
CHARACTER SET UTF8;
-- Create another (temporary) system tablespace
CREATE ROLLBACK SEGMENT rb_temp STORAGE (INITIAL 100 k NEXT 250 k);
-- Alter temporary system tablespace online before proceeding
ALTER ROLLBACK SEGMENT rb_temp ONLINE;
-- Create additional tablespaces ...
-- RBS: For rollback segments
-- USERs: Create user sets this as the default tablespace
-- TEMP: Create user sets this as the temporary tablespace
CREATE TABLESPACE rbs
DATAFILE '/u01/oracle/sample/sample.dbf' SIZE 5M REUSE AUTOEXTEND ON
NEXT 5M MAXSIZE 150M;
CREATE TABLESPACE users
DATAFILE '/u01/oracle/sample/users01.dbf' SIZE 3M REUSE AUTOEXTEND ON
NEXT 5M MAXSIZE 150M;
CREATE TABLESPACE temp
DATAFILE '/u01/oracle/sample/temp01.dbf' SIZE 2M REUSE AUTOEXTEND ON
NEXT 5M MAXSIZE 150M;
-- Create rollback segments.
CREATE ROLLBACK SEGMENT rb1 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;
CREATE ROLLBACK SEGMENT rb2 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;
CREATE ROLLBACK SEGMENT rb3 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;
CREATE ROLLBACK SEGMENT rb4 STORAGE(INITIAL 50K NEXT 250K)
tablespace rbs;
-- Bring new rollback segments online and drop the temporary system one
ALTER ROLLBACK SEGMENT rb1 ONLINE;
ALTER ROLLBACK SEGMENT rb2 ONLINE;
ALTER ROLLBACK SEGMENT rb3 ONLINE;
ALTER ROLLBACK SEGMENT rb4 ONLINE;
ALTER ROLLBACK SEGMENT rb_temp OFFLINE;
DROP ROLLBACK SEGMENT rb_temp ;
3. Erhöhen Sie den Wert für Oracle-Verbindungen vom Standardwert 50 auf den
Wert 150, indem Sie den Parameter PROCESSES der Datei
$ORACLE_HOME/dbs/init.ora bearbeiten.
Anmerkung: Die Anforderungen an die Oracle-Verbindungen schwanken von
Unternehmen zu Unternehmen ganz erheblich. Stellen Sie als
Verbindungswert einen Wert ein, der für Ihre Umgebung geeignet
ist.
4. Erhöhen Sie den Oracle-Tabellenbereich mit dem SQL-Befehl alter vom Stan-
dardwert auf den verfügbaren Höchstwert.
SQL> alter database datafile 'position_der_DBF-datei\ENROLE1_DATA_001.DBF' resize 500m
SQL> alter database datafile 'position_der_DBF-datei_der_Oracle-db\ENROLE1_IDX_001.DBF'resize 500m
Kapitel 3. Datenbankkonfiguration
25