New Log System User's Guide Version: 01.00
Total Page:16
File Type:pdf, Size:1020Kb
New Log System User's Guide Version: 01.00 Document No: 50/DBM50-T12102007-01-NLSG Author: DBMaker Support Team Publication Date: Dec, 10 2007 Table of Content 1. Introduction........................................................... 5 1.1 What is New Log System ...........................................5 1.2 What Information will be logged................................5 1.3 New Log System Constraint ......................................5 2. Usage of New Log System .................................... 6 2.1 General Description ...................................................6 2.2 Keywords ...................................................................6 2.2.1 DB_LGSVR .......................................................................................................................6 2.2.2 DB_LGDIR ........................................................................................................................6 2.2.3 DB_LGERR.......................................................................................................................7 2.2.4 DB_LGSTM.......................................................................................................................7 2.2.5 DB_LGPLN .......................................................................................................................7 2.2.6 DB_LGSYS .......................................................................................................................7 2.2.7 DB_LGFSZ........................................................................................................................7 2.2.8 DB_LGFNO.......................................................................................................................8 2.2.9 DB_LGSQL .......................................................................................................................8 2.2.10 DB_LGPAR .......................................................................................................................8 2.2.11 DB_LGLCK .......................................................................................................................8 2.3 SETSYSTEMOPTION Stored Procedure .....................8 2.4 Output Log Files.........................................................9 3. Samples ............................................................... 10 3.1 DB_LGSVR ................................................................10 3.1.1 DB_LGSVR = 1...............................................................................................................10 3.1.1.1 Usage.......................................................................................................................10 3.1.1.2 Function ...................................................................................................................10 3.1.1.3 Run SQL Script........................................................................................................10 3.1.1.4 Check Output Log Files ...........................................................................................10 3.1.1.5 Analyze Output Log files..........................................................................................11 New Log System User’s Guide 1 3.1.2 DB_LGSVR = 2...............................................................................................................11 3.1.2.1 Usage.......................................................................................................................11 3.1.2.2 Function ...................................................................................................................12 3.1.2.3 Run SQL Script........................................................................................................12 3.1.2.4 Check Output Log Files ...........................................................................................12 3.1.2.5 Analyze Output Log files..........................................................................................12 3.1.3 DB_LGSVR = 3...............................................................................................................12 3.1.3.1 Usage.......................................................................................................................12 3.1.3.2 Function ...................................................................................................................12 3.1.3.3 Run SQL Script........................................................................................................12 3.1.3.4 Check Output Log Files ...........................................................................................12 3.1.3.5 Analyze Output Log files..........................................................................................13 3.1.4 DB_LGSVR = 4...............................................................................................................13 3.1.4.1 Usage.......................................................................................................................13 3.1.4.2 Function ...................................................................................................................13 3.1.4.3 Run SQL Script........................................................................................................13 3.1.4.4 Check Output Log Files ...........................................................................................13 3.1.4.5 Analyze Output Log files..........................................................................................13 3.1.5 DB_LGSVR = 5...............................................................................................................13 3.1.5.1 Usage.......................................................................................................................13 3.1.5.2 Function ...................................................................................................................13 3.1.5.3 Run SQL Script........................................................................................................14 3.1.5.4 Check Output Log Files ...........................................................................................14 3.1.6 DB_LGSVR = 6...............................................................................................................14 3.1.6.1 Usage.......................................................................................................................14 3.1.6.2 Function ...................................................................................................................14 3.1.6.3 Run SQL Script........................................................................................................14 3.1.6.4 Check Output Log Files ...........................................................................................14 3.2 DB_LGSYS ................................................................14 3.2.1 DB_LGSYS = 1 ...............................................................................................................14 3.2.1.1 Usage.......................................................................................................................14 3.2.1.2 Function ...................................................................................................................14 3.2.1.3 Run SQL Script........................................................................................................15 3.2.1.4 Check Output Log Files ...........................................................................................15 3.3 DB_LGERR ................................................................15 3.3.1 DB_LGERR = 1...............................................................................................................15 New Log System User’s Guide 2 3.3.1.1 Usage.......................................................................................................................15 3.3.1.2 Function ...................................................................................................................15 3.3.1.3 Run SQL Script........................................................................................................15 3.3.1.4 Check Output Log Files ...........................................................................................15 3.3.1.5 Analyze Output Log files..........................................................................................16 3.3.2 DB_LGERR = 4...............................................................................................................16 3.3.2.1 Usage.......................................................................................................................16 3.3.2.2 Function ...................................................................................................................16 3.3.2.3 Run SQL Script........................................................................................................16 3.3.2.4 Check Output Log Files ...........................................................................................16 3.3.2.5 Analyze Output Log files..........................................................................................17 3.4 DB_LGPAR ................................................................17 3.4.1 DB_LGPAR = 1...............................................................................................................17 3.4.1.1 Usage.......................................................................................................................17