SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ETL Performance Auditing - Part 2: Auditing Data Staging Phase


ETL Performance Auditing - Part 2: Auditing Data Staging Phase

Author
Message
Frank Banin
Frank Banin
SSC-Enthusiastic
SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)

Group: General Forum Members
Points: 120 Visits: 431
Comments posted to this topic are about the item ETL Performance Auditing - Part 2: Auditing Data Staging Phase

Frank Banin
BI and Advanced Analytics Professional.
abash2002
abash2002
Forum Newbie
Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: General Forum Members
Points: 9 Visits: 40
Good article, thanks for sharing the idea, however I have a complex ETL where I am thinking of implementing this Audit but the problem is, Manually creating the Package/TaskID, Name pair and its child relationship in the table is not practical, since I have around 9 dataflow tasks with approx around 700+ tasks overall.
Secondly, the audit log table structure and where the insertion of log is happening can be explained little elaborate for the readers to understand the flow.
Please help on this, thanks:-P.

Regards
Basheer
Frank Banin
Frank Banin
SSC-Enthusiastic
SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)SSC-Enthusiastic (120 reputation)

Group: General Forum Members
Points: 120 Visits: 431
As to collecting Package/TaskID, Name pair info. I am working on something that everyone can use, if not I will have to address individual needs.

Below is the audit log table structure

CREATE TABLE [sysssislog]
(
[id] [INT] NOT NULL IDENTITY PRIMARY KEY,
[event] [SYSNAME] NOT NULL,
[computer] [NVARCHAR] (128) NOT NULL,
[operator] [NVARCHAR] (128) NOT NULL,
[source] [NVARCHAR] (1024) NOT NULL,
[sourceid] [UNIQUEIDENTIFIER] NOT NULL,
[executionid] [UNIQUEIDENTIFIER] NOT NULL,
[starttime] [DATETIME] NOT NULL,
[endtime] [DATETIME] NOT NULL,
[datacode] [INT] NOT NULL,
[databytes] [IMAGE] NULL,
[message] [NVARCHAR] (2048) NOT NULL,
)
ON [PRIMARY]


after that you can for instance check out Stan Kulp's article on this website "An Introduction to Integration Services log providers" for how to enable logging into the table.

Frank Banin
BI and Advanced Analytics Professional.
Misha_SQL
Misha_SQL
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1380 Visits: 1010
Thank you for the article! This is a great and efficient way to capture information about the package/task duration, however in many cases one is also interested in some additional data, most basic one being the number of records processed or loaded. I think this would be a great enhancement to the system.



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search