db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5195) Create tools for browsing the files in the database log directory.
Date Fri, 15 Apr 2011 18:06:11 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Hillegas updated DERBY-5195:
---------------------------------

    Attachment: ControlFileReader.java

Attaching ControlFileReader.java. This tool reads the control file in the log directory and
pretty-prints it as an xml file. I have run this tool against log.ctrl files created by 10.2,
10.3, 10.4, 10.5, 10.6, 10.7, 10.8, and trunk (10.9) databases and the tool seems to handle
them ok. Here's what running the tool looks like:

java ControlFileReader db/log/log.ctrl 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<controlFile>
    <formatableID>128</formatableID>
    <obsoleteVersion>9</obsoleteVersion>
    <logCounter>
        <logFileNumber>1</logFileNumber>
        <position>11369</position>
    </logCounter>
    <majorVersion>10</majorVersion>
    <minorVersion>9</minorVersion>
    <subversionRevision>1092193</subversionRevision>
    <flags flags="1">
        <flag>IS_BETA_FLAG</flag>
    </flags>
</controlFile>


> Create tools for browsing the files in the database log directory.
> ------------------------------------------------------------------
>
>                 Key: DERBY-5195
>                 URL: https://issues.apache.org/jira/browse/DERBY-5195
>             Project: Derby
>          Issue Type: Task
>    Affects Versions: 10.9.0.0
>            Reporter: Rick Hillegas
>         Attachments: ControlFileReader.java
>
>
> It would be nice to have some tools to examine the contents of the log directory. The
tools should be able to read the files in that directory without disturbing them.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message