How to create tables to store monitoring information
Languages available:
Learn how to create tables to store monitoring information
In this tutorial, you will create a new MySQL database for the monitoring data.
The tLogCatcher, tStatCatcher, tFlowMeterCatcher need a table each to store the data. In this exercise, you will use the tCreateTable component to create the needed tables.
Rigt-click on each tLogCatcher, tStatCatcher and tFlowMeterCatcher components and Deactivate it.
In the Palette:
Click the Databases folder.
Click the tCreateTable component and drop it on the Job Designer. This way, drop three tCreateTable on the Job Designer.
Link the three components with OnSubjobOK links. Right-click on the first component and select Trigger > OnSubjobOK in the menu, then click the next component and do it again.
Step 4: Add the tCreateTable component to create the 3 tables
In the Job Designer:
Create the logcatcher table in the amc database.
Double-click the first tCreateTable to display its Component view.
In the Property Type list, select Repository and click [...] to select the monitoring database connection metadata. The following fields are automatically filled in.
In the Table Name field, type in "logcatcher".
In the Schema Type list, select Repository and click [...] to select the logcatcher generic schema metadata.
Right-click the monitoring database connection metadata, select Retrieve Schema in the menu and follow the steps to retrieve the schemas of the logcatcher, statcatcher and flowmeter table.
Click the Project Settings button to open the Project settings wizard.