Você está na página 1de 3

PROPOSED AUDIT MECHANISM

Data Model

ENTITY DETAILS : ENTITY NAME JOB_CONTROL JOB_PARAMETER_CONTR OL EXECUTIONLOG TARGET_AUDIT Sysssislog DEFINATION The Static table used to save the Package names and their purpose along with package created date. To save the package parameters related to the package name, for eg : LastRunDate, EffDate etc. The package level logging just to track package execution time, package run date, and package executed successfully or not etc. This will generate a unique LogID for each run. To track the target table audit information i.e., how many new records inserted and how many records are updated for a particular JobID. To track the task level detail information each task is taking what time and if failed then what is the reason. This table was generated by SSIS when we unable the SSIS logging and selected the SQL as logging type.

SSIS Configuraions

This table is used for the package configuration for eg : package variables, connection managers etc., . This table was generated by SSIS when we unable the SSIS configuration and selected the SQL as configuration type.

ATTRIBUTES DETAIL : ATTRIBUTE NAME PackageName Purpose CreatedDate JOB_CONTROL DEFINITION Maintain the package names which will be unique and using this as a foreign key in other tables. Optional field just to save the purpose of the package. To maintain the package created date just for tracking. JOB_PARAMETER_CONTROL DEFINITION The unique ID. Package name which is a foreign key of the JOB_CONTROL table To save the package related parameters like LastRunDate, EffDate To save the values of the package parameters To save the dataType of the parameter which is optional EXECUTIONLOG DEFINITION The unique ID generated for every run of the package Optional , if we had two containers in the package and we are auditing container level then container-1 will be the parentLogID for the Container-2 Optional, to save the description. The unique package name which is foreign key from JOB_CONTROL table. The unique GUID for that particular package The machine name where the package was running. The unique GUID for each execution, here it is a candidate key. The Execution date To maintain the Operator name nothing but LOG IN name Maintain the package Start Time Maintain the package End Time with this we can get package execution time. (End Time Start Time) Just to track whether the package was executed, Running or failed. Status 0 for Running Status 1 for Successfully executed Status 2 for Execution failed Optional, based on status can put the error message

ATTRIBUTE NAME Job_Param_ID PackageName ParameterName ParameterValue ParameterType

ATTRIBUTE NAME LogID ParentLogID Description PackageName PackageGUID MachineName ExecutionGUID LogicalDate Operator StartTime EndTime Status

FailureTask

ATTRIBUTE NAME TargetAuditID LogID TargetTable TargetFile RowsInserted RowsUpdated

TARGET_AUDIT DEFINITION The unique ID for the table. The logID is the unique ID generated by the Execution_Log table for every package Run here it is used as a foreign key. Optional if you target is table then the name of the table will be maintain here along with DB and Schema name. Optional if you target is file then the file name is stored in this field. To track the number of rows inserted on the particular table for the particular Job Run, so with the Log ID even we can track the ExecutionDate, Machine etc. To track the number of rows updated on the particular table for the particular Job Run, so with the Log ID even we can track the ExecutionDate, Machine etc. Sysssislog

ATTRIBUTE NAME Id Event Computer Operator Source Sourceid Executionid Starttime Endtime Datacode Databytes message

DEFINITION The unique ID generated by the SysSSISLog table. The name of the event that generated the logging entry, To store the cause like OnError , OnPost Execute, OnPre execute etc. The name of the computer where the package was running The Log in name of the user.
The name of the executable, in the package, that generated the logging entry. The GUID of the executable in the package that generated the logging entry.

Unique ID for each execution, nothing but the candidate key of the Execution Log table. Start time of the task End time of the task, we can find out the time taken by the individual task here by (EndTime StartTime)
An optional integer value that typically indicates the result of running the container or task. An optional byte array that contains additional information. A description of the event and the information associated with the event.

ATTRIBUTE NAME ConfigurationFilter ConfiguredValue PackagePath ConfiguredValueType

SSIS Configuraions DEFINITION Its nothing but the Package name just to group the package related configurations. The value for the configured filed like Variables, connection managers. The path of that configured value. The data type of that configured value, later if required for converting.

Você também pode gostar