{"id":8715,"date":"2021-03-03T13:32:57","date_gmt":"2021-03-03T08:02:57","guid":{"rendered":"https:\/\/www.h2kinfosys.com\/blog\/?p=8715"},"modified":"2021-03-03T13:36:51","modified_gmt":"2021-03-03T08:06:51","slug":"etl-testing-process","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/etl-testing-process\/","title":{"rendered":"ETL TESTING"},"content":{"rendered":"\n<p>ETL (Extract, Transform, and Load) extracts the data from different source systems then transforms the data and loads the data into data warehouse system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>ETL Testing:<\/strong><\/h2>\n\n\n\n<p>ETL testing is done before data is moved into a production data ware house system. It is sometimes also called table balancing or production reconciliation. The main goal of ETL testing is to identify and mitigate data defects and general errors that occur prior to processing of data for analytical reporting.<\/p>\n\n\n\n<p>ETL Testing tasks performed are<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Understanding the data to be used for reporting.<\/li><li>Review data Model<\/li><li>Source to target mapping<\/li><li>Data checks on source data<\/li><li>Packages and schema validation<\/li><li>Data integrity and quality checks in the target system.<\/li><li>Performance testing data.<\/li><\/ul>\n\n\n\n<p>ETL testing involves the operations like:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Validating the data movement from the source to the target system<\/li><li>checking of data count in the source and the target system.<\/li><li>validating data extraction, transformation as per requirement and expectations<\/li><li>Verifying the table relations like joins and keys are preserved during the transformation<\/li><\/ol>\n\n\n\n<p>We need ETL because it helps companies to analyse their business data for taking many business decisions. A data warehouse provides a common data repository. ETL provides a method of moving the data from many different sources into data warehouse. As data sources will change the data warehouse will automatically update. ETL process accepts the sample data comparison between the source and the target system. ETL process can perform complex transformation and also needs extra area to store the data. ETL is a predefined process for accessing and manipulating source data into the target database.ETL offers deep historical context for the business and it also helps in improving the quality because it codifies and reuses without a need for technical skills.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"475\" height=\"346\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2021\/03\/image-6.png\" alt=\"\" class=\"wp-image-8717\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2021\/03\/image-6.png 475w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2021\/03\/image-6-300x219.png 300w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/figure>\n\n\n\n<p>It consists of three processes<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Extraction<\/li><li>Transform<\/li><li>Load<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">1. <strong>Extraction<\/strong><\/h2>\n\n\n\n<p>Here data is taken from the source system into the staging area.staging area gives an opportunity to validate extracted data before it moves into the datawarehouse. There are three data extraction methods.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Full extraction<\/li><li>Partial extraction without update notification<\/li><li>Partial Extraction with update notification<\/li><\/ol>\n\n\n\n<p>The extraction should not affect the performance and response time of the source systems irrespective of any method used. These source system are live production databases. The validations done during the extraction are:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Reconcile records with sources data<\/li><li>Make sure that no spam data loaded<\/li><li>Data type check<\/li><li>Remove all types of duplicate data<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. <strong>Transform<\/strong><\/h2>\n\n\n\n<p>Data extracted from source server is raw and not usable in its original form. Therefore it needs to be cleansed, mapped and transformed. In transformation step, we can also do customised operations on data like the user wants sum of sales revenue which is not in the database. Validations done during this stage are filtering using rules and lookup tables for data standardisation, character set conversion and encoding handling, use lookups to merge data, using any complex data validation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. <strong>Loading<\/strong><\/h2>\n\n\n\n<p>Loading data into the target data warehouse database is the last step of ETL process. Huge volume of data needs to be loaded in a relatively short period. Load process should be optimized for performance.<\/p>\n\n\n\n<p>Types of loading:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Initial load-populating all data warehouse tables<\/li><li>Incremental Load-applying ongoing changes as when needed periodically.<\/li><li>Full refresh-erasing the contents of one or more tables and reloading with fresh data.<\/li><\/ol>\n\n\n\n<p>The different examples ETL tools are Markogic, Oracle, Amazon Redshift.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ETL (Extract, Transform, and Load) extracts the data from different source systems then transforms the data and loads the data into data warehouse system. ETL Testing: ETL testing is done before data is moved into a production data ware house system. It is sometimes also called table balancing or production reconciliation. The main goal of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8719,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-8715","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qa-tutorials"],"_links":{"self":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/8715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/comments?post=8715"}],"version-history":[{"count":0,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/8715\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media\/8719"}],"wp:attachment":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media?parent=8715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/categories?post=8715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/tags?post=8715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}