what are the different threads that are created by the dtm

Download What Are the Different Threads That Are Created by the DTM

If you can't read please download the document

Upload: pavanreddyreddy

Post on 17-Jan-2016

212 views

Category:

Documents


0 download

DESCRIPTION

dgeg

TRANSCRIPT

What are the different threads that are created by the DTM?When the workflow reaches a session, the Load Manager starts the DTM process. The DTM process is the process associated with the session task. The Load Manager creates one DTM process for each session in the workflow. The DTM process performs the following tasks: Reads session information from the repository. Expands the server and session variables and parameters. Creates the session log file. Validates source and target code pages. Verifies connection object permissions. Runs pre-session shell commands, stored procedures and SQL. Creates and runs mapping, reader, writer, and transformation threads to extract, transform, and load data. Runs post-session stored procedures, SQL, and shell commands.Sends post-session email.The DTM allocates process memory for the session and divides it into buffers. This is also known as buffer memory. The default memory allocation is 12,000,000 bytes. The DTM uses multiple threads to process data. The main DTM thread is called the master thread. The master thread creates and manages other threads. The master thread for a session can create mapping, pre-session, post-session, reader, transformation, and writer threads.Mapping Thread -One thread for each session. Fetches session and mapping information. Compiles the mapping. Cleans up after session execution.Pre- and Post-Session Threads- One thread each to perform pre- and post-session operations.Reader Thread -One thread for each partition for each source pipeline. Reads from sources. Relational sources use relational reader threads, and file sources use file reader threads .Transformation Thread -One or more transformation threads for each partition. Processes data according to the transformation logic in the mapping. Writer Thread- One thread for each partition, if a target exists in the source pipeline. Writes to targets. Relational targets use relational writer threads, and file targets use file writer threads.