{"id":314,"date":"2009-05-06T23:04:54","date_gmt":"2009-05-06T17:04:54","guid":{"rendered":"http:\/\/techsatwork.com\/blog\/?p=314"},"modified":"2016-01-07T11:31:13","modified_gmt":"2016-01-07T05:31:13","slug":"extracting-siebel-etl-timings","status":"publish","type":"post","link":"https:\/\/techsatwork.com\/?p=314","title":{"rendered":"Extracting Siebel ETL timings"},"content":{"rendered":"<p>For a long time, I relied on my siebel admins to get Siebel ETL timings and often struggled to get certain information. Last week, I realized why bother when all the info are available on DB2 tables. This sql gives you the timing which can be imported into an excel spreadsheet to make pretty graphs and trend analysis :<\/p>\n<p><span style=\"color: #3366ff;\">with temp1 (etl_date,start_time,end_time,success_rows,failed_rows) as<br \/>\n(<br \/>\nselect date(start_ts)as &#8220;ETL_DATE&#8221; ,min(start_ts) as &#8220;START_TIME&#8221; ,max(end_ts) as &#8220;END_TIME&#8221;,<br \/>\nsum(sucess_rows) as &#8220;ROWS_SUCCEFULLY_PROCESSED&#8221;,sum(failed_rows) as &#8220;ROWS_FAILED&#8221;<br \/>\nfrom siebdac.W_ETL_RUN_STEP<br \/>\ngroup by date(start_ts),run_wid order by min(start_ts))<\/span><\/p>\n<p><span style=\"color: #3366ff;\">\u00c2\u00a0 <\/span><br \/>\n<span style=\"color: #3366ff;\">select etl_date,start_time,end_time,success_rows,failed_rows,timestampdiff(4,char(timestamp(end_time) &#8211; timestamp(start_time)))as &#8220;Duration_in_minutes&#8221; ,<br \/>\n((success_rows + failed_rows)\/timestampdiff(2,char(timestamp(end_time) &#8211; timestamp(start_time)))) as &#8220;Rows_processed_per_second&#8221;<br \/>\nfrom temp1;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a long time, I relied on my siebel admins to get Siebel ETL timings and often struggled to get certain information. Last week, I realized why bother when all the info are available on DB2 tables. This sql gives you the timing which can be imported into an excel spreadsheet to make pretty graphs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[53,3],"tags":[943,177,181,180,178,183,179,8,182],"class_list":["post-314","post","type-post","status-publish","format-standard","hentry","category-applications","category-db2","tag-db2","tag-etl","tag-etl-througput","tag-etl-tiings","tag-siebel","tag-siebel-and-db2","tag-siebel-etl","tag-sql","tag-trend-analysis"],"_links":{"self":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=314"}],"version-history":[{"count":6,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":1544,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions\/1544"}],"wp:attachment":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}