069 / 58 80 436 10 info@dbaservices.de
ORA-1652, ORA-1653, ORA-1654, ORA-1655, ORA-1658, ORA-1683, ORA-1688, ORA-1691, ORA-1692, Platzprobleme?

Eine Checkliste für die Erweiterung bei Platzproblemen

Alle der oben genannten Fehlermeldungen weisen auf Platzprobleme in einem Tablespace in Ihrer Oracle Datenbank hin. In der Regel bedeutet dies, das ein Objekt keinen weiteren Platz allokieren kann, bis der Tablespace erweitert wurde. Als Lösung wird hier auf das Kommando „ALTER TABLESPACE xxx ADD DATAFILE xxx“ verwiesen, jedoch kann hierbei einiges schiefgehen. Während es vor 30 Jahren noch relativ einfach war, auf einer Single Instanz eine weitere Datendatei hinzuzufügen, welche im Filesystem gespeichert wurde, muss mittlerweile auf unzählige Neuerungen Rücksicht genommen werden. Die folgende Checkliste soll Ihnen hierbei helfen, die Erweiterung durchzuführen.

Checkliste

1.) Bestandsaufnahme
– Um welchen Tablespace handelt es sich
– Ist es ein Permanent oder Temporary Tablespace
– Handelt es sich um ein Cluster oder Single Instanz
– Liegen die Datendateien im Dateisystem, auf Raw Devices, im Automated Storage Management (ASM) oder im Network File System (NFS)
– Wird Oracle Managed Files oder eigene Namen verwendet

2.) Wie ist der Tablespace aktuell angelegt
– Aus welchen Datendateien besteht der Tablespace
– Wo liegen diese Datendateien
– Wie groß ist der Tablespace aktuell
– Ist es ein Bigfile oder Smallfile Tablespace
– Welche Blocksize verwendet der Tablespace
– Müssen neue Datendateien hinzugefügt werden oder können bestehende noch erweitert werden

3.) Gibt es noch Platz für die Erweiterung
– Gibt es im Dateisystem, NFS oder ASM noch genügend Platz
– Wenn es sich um ein Cluster handelt, muss hier sicher gestellt werden das es sich um ein Cluster Filesystem handelt bzw. um eine Resource auf die alle Cluster Knoten zugreifen können (z.B. ASM Disk)
– Eventuell muss hier der Mountpoint erweitert werden, eine Disgruppe vergrößert, eine weitere Raw Device zur Verfügung gestellt werden oder ähnliches

4.) Weitere die Kommandosyntax beeinflussende Parameter
– Wie sind bestimmte Oracle Parameter gesetzt wie z. B. DB_CREATE_FILE_DEST oder DB_RECOVERY_FILE_DEST

5.) Kommandos
– Abhängig von den oben ermittelten Werten, können Sie nun den Tablespace dementsprechend mit einem der folgenden Kommandos erweitern
ALTER TABLESPACE xxx ADD DATAFILE xxx
oder
ALTER DATABASE xxx RESIZE xxx

ODER rufen Sie uns an 069-588043610, wir helfen Ihnen gerne !!!

Referenz: Die Ausgaben von oerr

01652, 00000, „unable to extend temp segment by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// a temporary segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

01653, 00000, „unable to extend table %s.%s by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// a table segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

01654, 00000, „unable to extend index %s.%s by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// an index segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

01655, 00000, „unable to extend cluster %s.%s by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// a cluster segment in tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

01658, 00000, „unable to create INITIAL extent for segment in tablespace %s“
// *Cause: Failed to find sufficient contiguous space to allocate INITIAL
// extent for segment being created.
// *Action: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the
// tablespace or retry with a smaller value for INITIAL

01683, 00000, „unable to extend index %s.%s partition %s by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// index segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

01688, 00000, „unable to extend table %s.%s partition %s by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// table segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

01691, 00000, „unable to extend lob segment %s.%s by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// LOB segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

01692, 00000, „unable to extend lob segment %s.%s partition %s by %s in tablespace %s“
// *Cause: Failed to allocate an extent of the required number of blocks for
// LOB segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.

Haben Sie Fragen?

(erforderlich)
Dieses Feld dient zur Validierung und sollte nicht verändert werden.

NEUSTE BEITRÄGE

ORA-06502 – PL/SQL: numeric or value error%s

1.) Texte aus oerr unter Linux 06502, 00000, „PL/SQL: numeric or value error%s“ // *Cause: An arithmetic, numeric, string, conversion, or constraint error //        occurred. For example, this error occurs if an attempt is made to //         assign the value NULL to a...

ORA-01843 – not a valid mont

01843, 00000, „not a valid month“ // *Cause: A date specified an invalid month.//      Valid months are: January-December, for format code MONTH, and Jan-Dec, for format code MON. // *Action: A date specified an invalid month.// Valid months are: January-December, for...

ORA-12154 – TNS:could not resolve the connect identifier specified

1.) Texte aus oerr unter Linux 12154, 00000, „TNS:could not resolve the connect identifier specified“ // *Cause: A connection to a database or other service was requested using // a connect identifier, and the connect identifier specified could not // be resolved into...

Hochverfügbare Datenbanksysteme? dbaservices!

Neu Isenburg 14. Februar 2014, dbaservices bietet mit “DB 24/7″ einen Premiumdienst für echte Hochverfügbarkeit Ihrer Datenbanken: Daten und deren Verfügbarkeit genießen maximale Priorität. Hochverfügbare Datenbanksysteme? dbaservices! Sie erreichen die dbaservices...

Und täglich grüßt das Murmeltier – ORA-1555

Wohl einer der bekanntesten Fehler überhaupt, der gute alte ORA-01555 und noch genauso aktuell wie früher. Der Fehlertext ist mittlerweile irreführend, da eigentlich nicht mehr Rollback Segmente, sondern nur noch Undo Segmente verwendet werden. Nichtsdestotrotz bleibt...