This chapter discusses journaled transactions and how to analyze, recover, and redo them using the Journal Analyzer visual tool.
The Journal Analyzer utility allows you to view and analyze journaled transactions and individual underlying statements. It also enables you to create SQL scripts, which are used to recover or redo individual row operations without redoing or rolling back the whole database or table.
The Journal Analyzer is supported in Ingres 2.6 and above.
In the Journal Analyzer, you can:
For detailed instructions on using the Journal Analyzer, see the Journal Analyzer online help.
To start the Journal Analyzer:
Windows:
Do one of the following:
UNIX:
In the Journal Analyzer window, the left pane consists of the vnode, databases, and tables. In the left pane, you can drill down to the desired vnode, database, and (optionally) table. When a database or table has been selected, the right pane appears as follows:
Controls in the right pane are as follows:
Use the Filter options to control the quantity and type of transactions that are displayed, based on different criteria such as the transaction date and time, checkpoint number, user, and so on.
Clicking the View button displays transaction information that is currently in the journals. You must click the View button to refresh the data when you change the filter criteria.
To see any recent transactions that are in the transaction log file—but have not yet moved to the journals—click Move Log to Journals.