In order to interpret any performance issues with ETL's, it is important to be able to read the ETL log and understand what is being reported.
2. The ETL will first Look Up the data. This is where the data's external IDs are obtained, and compared against the Data Warehouse integer keys. In the example above, this time was 0 ms. Once the look up finds data that matches, it will determine if the records will be inserted (new data) or updated (existing data in the datawarehouse). Time for each of the Update/Inserted steps will be provided in the log, as well as how many records were selected for update/insert.
3. The next step is Fetching the Data. This will actually bring the data from the application database into the data warehouse.
4. The Total time running displays the amount of time that the build ran for.
Reading the ETL Log file
A typical ETL log file will display the following information:2013-02-18 19:07:34,106 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: ***Started Build IterationParent at 2/18/13 7:07 PM*** 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Records Selected: 0 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Records Inserted: 0 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Records Updated: 0 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Records Ignored: 0 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Time Inserting: 0ms 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Time Updating: 0ms 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Time Looking Up: 0ms 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Time Fetching Data: Less than 1ms 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: Time Running: Less than 1ms 2013-02-18 19:07:34,216 [ ccm: AsynchronousTaskRunner-3] DEBUG ervice.internal.common.CommonRemoteSnapshotService - ETL: ***Finished Build IterationParent at 2/18/13 7:07 PM. The build was successful***1. The first line indicates which build within the ETL is run and the date and timestamp. In the example above, the Build IterationParent was started on 2/18/13 at 7:07 PM.
2. The ETL will first Look Up the data. This is where the data's external IDs are obtained, and compared against the Data Warehouse integer keys. In the example above, this time was 0 ms. Once the look up finds data that matches, it will determine if the records will be inserted (new data) or updated (existing data in the datawarehouse). Time for each of the Update/Inserted steps will be provided in the log, as well as how many records were selected for update/insert.
3. The next step is Fetching the Data. This will actually bring the data from the application database into the data warehouse.
4. The Total time running displays the amount of time that the build ran for.
Key Areas to look for in the ETL Log File
Errors
You may see errors at the end of the ETL indicating that the ETL failed, but errors may also be contained within each build. Oftentimes, if one build fails, the ETL will move onto the next build which may contribute to long running ETLs. Is is important to review each build as its own item to ensure there are no failures.Time Fetching Data
If the time to fetch data increases dramatically between ETL runs, this may be indicative of database latency problem as the data is brought from one database into another. The time to run the ETL may also be impacted if there are long delays between the entries. If this occurs, it may be due to a process being waited for, garbage collection, logging allocation, etc.Baseline and State History Jobs
The Baseline and State History Jobs will actually move data from the data warehouse. This type of data is used in trend reports and these ETLs are often the slowest.Related Topics: Deployment Web Home, Deployment Web Home
External Links:
Additional Contributors: TWikiUser, TWikiUser
Contributions are governed by our Terms of Use. Please read the following disclaimer.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.