Transaction Log - Prototype Python log reader
Registered by
Jay Pipes
A Task for Nahil Jain:
Create a python program which does the following:
* Reads from stdin a transaction log file. In other words, it should run like this:
./myprogram < /path/to/
* Summarizes the entries in the transaction log and outputs a table containing a count of the number of statement messages containined in the log. Example output:
./myprogram < /path/to/
CREATE SCHEMA: 1
CREATE TABLE: 10
INSERT: 100,000
DELETE: 4,000
UPDATE: 25,000
The program should use the Google protobuffer Python library files to read the transaction log file.
Whiteboard
(?)