Browse Prior Art Database

Sub-chaining for application log

IP.com Disclosure Number: IPCOM000030886D
Original Publication Date: 2004-Sep-01
Included in the Prior Art Database: 2004-Sep-01
Document File: 1 page(s) / 18K

Publishing Venue

IBM

Abstract

A program is disclosed that application programs can refer all applicaion logs that are output into DB2 database in the same transaction at once by chaining them using sub-key of DB2.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 58% of the total text.

Page 1 of 1

Sub-chaining for application log

The following shows the mechanism of chaining of this invention.

In this sample, the maximum number of data per a record is 3. Log data table Time category table <Sequence of putLog calls> key value category sub key data

NextCateg

NextSubKe yNext Seq#

putLog("categA","subkeyA1","dataA1") categA 6

categA

subKeyA1

dataA1

categA

subKeyA2

000001

putLog("categA","subkeyA2","dataA2") categB 4

categA

subKeyA2

dataA2

categB

subKeyB1

000005

putLog("categB","subkeyB1","dataB1") ↑

categB

subKeyB1

dataB1

categB

subKeyB2

000005

putLog("categB","subkeyB2","dataB2") Seq# of record =

categB

subKeyB2

dataB2

categA

subKeyA3

000001

putLog("categA","subkeyA3","dataA3") the number of data / 3

categA

subKeyA3

dataA3

categA

subKeyA4

000002

putLog("categA","subkeyA4","dataA4")

categA

subKeyA4

dataA4

categA

subKeyA5

000002

putLog("categA","subkeyA5","dataA5") Seq# of category A

categA

subKeyA5

dataA5

categA

subKeyA6

000002

putLog("categA","subkeyA6","dataA6") 000001and 000002

categA

subKeyA6

dataA6

categB

subKeyB3

000005

putLog("categB","subkeyB3","dataB3") Seq# of category B

categB

subKeyB3

dataB3

categB

subKeyB4

000006

putLog("categB","subkeyB4","dataB4") 000005/000006

categB

subKeyB4

dataB4

N/A

N/A

N/A

endLog(RequestContext) int; The information of Chain is created by endLog() at once

<Created recrodes>

ArrayList

records for category A

Seq# sub key1 data1 chain information 1 sub key2 data2 chain information 2 sub key3 data3 chain in...