Re: Protokolldateien


[ ruban.de ] [ Antworten ] [ Forum ]

Geschrieben von Bernd Heilig on Juli 26, 2002 um 13:27:

Als Antwort auf Protokolldateien geschrieben von anwy on Juli 25, 2002 um 11:42:

: Hallo THX,

Es reicht nicht aus die Tabellen mit NOT LOGGED INITIALLY zu erstellen, das ist nur die Vorbedingung. Vor dem Laden müssen die Tabellen mittels

ALTER TABLE .
ACTIVATE NOT LOGGED INITIALLY

dafür aktiviert werden.

Auszug aus SQl-Reference :
---------------------------
Activates the NOT LOGGED INITIALLY attribute of the table for this current unit of work. The table must have been originally created with the NOT LOGGED INITIALLY attribute (SQLSTATE 429AA).
Any changes made to the table by an INSERT, DELETE, UPDATE, CREATE INDEX, DROP INDEX, or ALTER TABLE in the same unit of work after the table is altered by this statement are not logged. Any changes made to the system catalog by the ALTER statement in which the
NOT LOGGED INITIALLY attribute is activated are logged. Any subsequent changes made in the same unit of work to the system catalog information are logged.

Zu den Protokoll-Dateien :
--------------------------
Protokoll-Dateien bekommt man nicht leer, um in deiner Sprache zu bleiben.
Beim Circular-Logging wird die definierte Anzahl primary Log-Files laut DB CFG immer wieder überschrieben und bei Bedarf werden zusätzliche secondary Log-Files laut DB CFG erzeugt und gefüllt. Ist die max. Anzahl primary und secondary Log-Files innerhalb einer UOW erreicht, ist die "Protokolldatei" voll.
Beim Archival-Logging werden solange Log-Files erzeugt und voll geschrieben, bis die definierte Anzahl in der DB CFG innerhalb einer UOW erreicht ist. Danach ist die "Protokolldatei" voll.

Gruss Bernd




Antworten:


Schreibe eine Antwort

Name:   
E-Mail:  

Thema:

Kommentar:

Optionale Link URL:   
Link Titel:                  
Optionale Image URL:


[ Antworten ] [ Forum ]