This action might not be possible to undo. Are you sure you want to continue?
1 Informatic a 2 Informatic a 3 Informatic a 4 Informatic a 5 Informatic a 6 7 8 Informatic a Informatic a Informatic a Informatic a Informatic a
Complexi Questions ty simple What is sql override ? simple Can we have multiple conditions in a Lookup? simple Can we have multiple conditions in a Filter? simple How the flags are called in Update strategy? simple Is it possible to run the session other than Server manager? If so how? simple What is diff. Things u can do using PMCMD? average/si What is the use of power mple plug? average/si What kind of Test plan? mple What kind of validation you do? simple What is the usage of unconnected/connected look up? simple What is the difference between Connected and Unconnected Lookups ?
Answers Overriding a SQL in source qualifier or lookup for additional logic. Yes Yes 0 - DD_INSERT , 1- DD_UPDATE , 2- DD_DELETE , 3- DD_REJECT YES USING PMCMD
Start, Stop and abort the session For 3rd party connectors to sap, mainframe, Peoplesoft In Informatica we create some test SQL to compare the number or records and validate scripts if the data in the warehouse is loaded for the logic incorporated. We use a lookup for connecting to a table in the source or a target. There are 2 ways in which a lookup can be configured i.e. connected or unconnected Connected Lookup Receives input values directly from the pipeline. Unconnected Lookup Receives input values from the result of a :LKP expression in another transformation. Connected Lookup You can use a dynamic or static cache. Unconnected Lookup You can use a static cache. Connected Lookup Cache includes all lookup columns used in the mapping (that is, lookup table columns included in the lookup condition and lookup table columns linked as output ports to other transformations). Unconnected Lookup Cache includes all lookup/output ports in the lookup condition and the lookup/return port.Connected Lookup Can return multiple columns from the same row or insert into the dynamic lookup cache. Unconnected Lookup The dynamic lookup cache, Designate one return port (R). Returns one column from each row. Connected Lookup If there is no match for the lookup condition, the Informatica Server returns the default value for all output ports. If you configure dynamic caching, the Informatica Server inserts rows into the cache. Unconnected
Informatic simple a
If u have data coming from Joiner Transformation diff. sources what transformation will u use in your designer? What are different Input, Output, Variable, Return/Rank, Lookup and Master. ports in Informatica? What is a Variable port? Variable port is used to store intermediate results. Variable ports can reference input Why it is used? ports and variable ports, but not output ports. Diff between Active and Transf can be active or passive , activ tranf can change the no of rec passed th it, a passive transormation ? passive tranf can never change the rec cnt, Active trsnf that might change the rec cnt are advan ext proc, aggrega, filter,joiner,normalizer, rank , updte strategy, source qualifier, if u use powerconnect to access erp sources, erp source quail is also an active tranfor Passive tranf :- lookup, expression, external procedure, seq generator, stored procedure U mapplet is a only 1 active tranf torepresentstranf or target can connect allows you to What are Mapplet? A can connect reusable object that the same a set of transformations. It any no of pass tranf reuse transformation logic and can contain as many transformation as you need. What is Aggregate An aggregator transformation allows you to perform aggregate calculations, such as transformation average and sums. The Aggregator transformation is unlike the Expression transformation, in that you can use the Aggregator transformation to perform calculations on groups. is similar to a Filter transformation because both What is Router A Router transformation Transformation? How is it transformations allow you to use a condition to test data. A Filter transformation tests different from Filter data for one condition and drops the rows of data that do not meet the condition. transformation? However, a router transformation tests data for one or more conditions and gives you the option to route rows of data that do not meet any of the conditions to default output group. What are connected and Connected transformations are the transformation, which are in the data flow, whereas unconnected transformations? What is Normalizer transformation? How to use a sequence created in Oracle in Informatica? What are source qualifier transformations? unconnected transformation will not be in the data flow. These are dealt in Lookup and Stored procedure transformations. Normalizer transformation normalizes records from COBOL and relational sources allowing you to organize the data according to your needs. A normalizer transformation can appear anywhere in a data flow when you normalize a relational source. By using Stored procedure transformation.
12 13 14
Informatic simple a Informatic simple a Informatic average a
Informatic simple a Informatic simple a Informatic simple a
Informatic simple a
Informatic simple a Informatic simple a Informatic simple a
The source qualifier represents the records that the Informatica Server reads when it runs a session.
Informatic simple a Informatic simple a
What are cache and their types in Informatica? What is an incremental aggregation?
Informatic complex a
What is Reject loading?
The Informatica server creates index and data cache for aggregator, Rank, joiner and Lookup transformations in a mapping. The Informatica server stores key values in the index cache and output values in the data cache. In Incremental aggregation, you apply captured changes in the source to aggregate calculations in a session. If the source changes only incrementally and you can capture changes, you can configure the session to process only those changes. This allows the Informatica server to update your target incrementally, rather than forcing it to process the entire source and recalculate the same calculation each time you run the session. During a session, the Informatica server creates a reject file for each target instance in the mapping. If the writer or the target rejects data, the Informatica server writes the rejected row into reject file. The reject file and session log contain information that helps you determine the cause of the reject. You can correct reject files and load them to relational targets using the Informatica reject load utility. The reject loader also creates another reject file for the data that the writer or target reject during the reject loading.
Informatic average a
WHAT IS SESSION and BATCHES?
Informatic simple a
Significance of Source Qualifier Transformation
SESSION - A Session Is A set of instructions that tells the Informatica Server How And When To Move Data From Sources To Targets. After creating the session, we can use either the server manager or the command line program pmcmd to start or stop the session. BATCHES - It Provides A Way to Group Sessions For Either Serial Or Parallel Execution By The Informatica Server. There Are Two Types Of Batches : 1. SEQUENTIAL - Run Session One after the Other. 2. CONCURRENT - Run Session At The Same Time. When you add a relational or a flat file source definition to a mapping, you need to connect it to a Source Qualifier transformation. The Source Qualifier represents the records that the Informatica Server reads when it runs a session. · To join data originating from the same DB. · Filter records in the Source itself. · To specify an outer join instead of a default inner join. · To specify sorter ports. · To select distinct values from the source. · To create a custom query to issue a special select statement for the Informatica server to read source data. For example, we might use a custom query to perform aggregate calculations or execute a stored procedure.
Informatic average a
What are 2 modes of data The data movement mode depends on whether Informatica Server should process movement in Informatica single byte or multi-byte character data. This mode selection can affect the Server? enforcement of code page relationships and code page validation in the Informatica Client and Server. a) Unicode – IS allows 2 bytes for each character and uses additional byte for each non-ascii character (such as Japanese characters) b) ASCII – IS holds all data in a single byte Why we use lookup transformations? Lookup Transformations can access data from relational tables that are not sources in mapping. With Lookup transformation, we can accomplish the following tasks: a) Get a related value - Get the Employee Name from the Employee table based on the Employee ID b) Perform Calculation Update slowly changing dimension tables - We can use unconnected lookup transformation to determine whether the records already exist in the target or not. Confirmed dimensions are linked to multiple fact tables A DW is a DB used for query,analysis and reporting . By definition DW is a subject oriented, intergrated, non volatile and time variant Subject Oriented:- Represents a subject Aread like sales, Mktg Integrated :- Data Colleted from multiple source systems integrated into a user readable unique format Ex:- male, female ,0,1, M,F, T, F Non Volatile :- Dw stores historical data Time Variant :- Stores data timewise like weekly,monthly,quarterly, yearly
Informatic simple a
Informatic simple a DataWare simple housing
What are confirmed dimensions What is Data warehousing
Informatic simple a
What is a reusable transf.. Reusable tranformation:- if u want to create tranfor that perform common tasks such What is a mapplet . as avg sal in a dept Explain diff. Bet them Mapplet:- Is a reusuable object that represents a set of transformations What happens when u use Inserts:- treats all records as inserts , while inserting if the record violates primary, the delete or update or foreign key or foreign key in the database it rejects the record reject or insert statement in your update strategy? Where do u design ur mappings Where do u define users and privileges in Informatica designer Repository manager
Informatic simple a
Informatic simple a Informatic simple a
Informatic simple a Informatic simple a Informatic simple a Informatic simple a
Informatic average a Informatic average a
How do u debug the data in Informatica tool when u run the session does debugger loads the data to target ? Can u use flat file and table (relational) as source together ? suppose I need to separate the data for delete and insert to target depending on the codition, which transformation u use ? What is the difference between lookup Data cache and Index cache. What is an indicator file and how it can be used.
Use debugger in designer If you select the option discard target data then it will not load to target
Router or filter
Index cache:Contains columns used in condition Data cache: :Contains other output columns than the condition columns. Indicator file is used for Event Based Scheduling when you don’t know when the Source Data is availaible., A shell command ,script or a batch file creates and send this indicator file to the directory local to the Informatica Server.Server waits for the indicator file to appear before running the session. · · · · · Source Analyzer Warehouse designer Transformation Developer Maplet designer Mapping designer
Informatic simple a
Different Tools in Designer
Informatic simple a
Components of Informatica
· Designer · Workflow Manager · Workflow Monitor · Task Developer · Worklet designer · Workflow Designer
Informatic simple a
Different Tools in Workflow Manager
Informatic simple a
What is overview window ? It’s a window in which you can see all the transformations that are used for a mapping. Why it is used ?
Use to create reusable transformations. and only records that meet the condition pass through the Filter transformation. then enter a filter condition for the transformation.45 Informatic simple a · While using Debugger. Warehouse Designer. All ports in a Filter transformation are input/output. . Use to import or create source definitions for flat file. A command-line program that allows you to start and stop sessions and batches. Cobol. Use to create mappings. A client application used to create and manage sessions and batches. ERP. You can use information provided through the Server Manager to troubleshoot sessions and improve session performance. Use to import or create target definitions. Mapping Designer. You pass all the rows from a source transformation through the Filter transformation. and relational sources. and to monitor and stop the Informatica Server. Discarded rows do not appear in the session log or reject files 48 Informatic simple a Informatic average a 49 50 Informatic simple a What u can do with Designer ? Informatica provides Server Manager and pmcmd programs to communicate with the Informatica Server: Server Manager. Transformation Developer. Mapplet Designer. Use to create mapplets. and verify if the Informatica Server is running. how will you fined out which transformation is currently running ? How do u load the data using Informatica? What is an Filter Transformation? or what options u have in Filter Transformation? What happens to the discarded rows in Filter Transformation. The Designer client application provides five tools to help you create mappings: Source Analyzer. What are the two programs that communicate with the Informatica Server? The left hand corner of the transformation that has an arrow looks like moving. 46 47 Informatic simple a Informatic simple a Using workflow manager The Filter transformation provides the means for filtering records in a mapping. stop the Informatica Server. pmcmd.
the tracing level for every transformation is Normal. To add a slight performance boost. writing the minimum of detail to the session log when running a session containing the transformation. if you have a several fact tables that require a series of dimension keys. You can then use the mapplet in each fact table mapping. Note: By default. Normal Includes initialization information as well as error messages and notification of rejected data. . For example. you can also set the tracing level to Terse.51 Informatic avrage a What are different types of Tracing Levels in Transformations :Tracing Levels u hv in Level Description Transformations? Terse Indicates when the Informatica Server initializes the session and its components. Summarizes session results. but not at the level of individual records. It allows you to reuse transformation logic and can contain as many transformations as you need. 52 Informatic simple a What is Mapplet and how do u create Mapplet? A mapplet is a reusable object that represents a set of transformations. you can create a mapplet containing a series of Lookup transformations to find each dimension key. rather than recreate the same lookup logic in each mapping. Create a mapplet when you want to use a standardized set of transformation logic in several mappings. Verbose initialization Includes all information provided with the Normal setting plus more extensive information about initializing transformations in the session. Verbose data Includes all information provided with the Verbose initialization setting.
54 Informatic simple a 55 Informatic simple a . To import an Excel source definition. Once you define ranges and format cells. you can have multiple return values. updating slowly changing dimension tables) => Calling the same lookup multiple times in one mapping How many values it (informatica server) returns when it passes thru Connected Lookup n Unconncted Lookup? Connected Lookup can return multiple values where as Unconnected Lookup will return only one values that is Return Value.53 Informatic simple a If data source is in the PowerMart and PowerCenter treat a Microsoft Excel source as a relational database. When do u use connected A connected Lookup transformation is part of the mapping data flow. With connected lookup n when do u use lookups. Some common uses for unconnected lookups include: => Testing the results of a lookup in an expression => Filtering records based on the lookup results => Marking records for update based on the result of a lookup (for example. Like relational sources. · Import the source definitions in the Designer. · Prepare Microsoft Excel spreadsheets by defining ranges and formatting columns of numeric data. form of Excel Spread sheet not a flat file. you need to complete the following tasks: · Install the Microsoft Excel ODBC driver on your system. you can pass multiple values unconnected lookup? from the same row in the lookup table out of the Lookup transformation. the Designer uses ODBC to import a Microsoft then how do use? Excel source. you can import the ranges in the Designer. · Create a Microsoft Excel ODBC data source for each source file in the ODBC 32-bit Administrator. You write an expression using the :LKP reference qualifier to call the lookup within another transformation. Ranges display as source definitions when you import the source. Finding a Dname based on deptno => Finding a value based on a range of dates => Finding a value based on multiple conditions Unconnected Lookups : An unconnected Lookup transformation exists separate from the data flow in the mapping. You do not need database permissions to import Microsoft Excel sources. That is. Common uses for connected lookups include: => Finding a name based on a number ex.
Source Qualifier Order records queried by the Informatica Server Source Qualifier Call a stored procedure Stored Procedure Call a procedure in a shared library or in the External Procedure COM layer of Windows NT Generate primary keys Sequence Generator Limit records to a top or bottom range Rank Normalize records. update. you can modify data in the following ways: ---------------------------------------Task Transformation ---------------------------------------Calculate a value Expression Perform an aggregate calculations Aggregator Modify text Expression Filter records Filter. including those read Normalizer from COBOL sources Look up values Lookup Determine whether to insert. delete. Update Strategy or reject records Join records from different databases Joiner or flat file systems .56 Informatic simple a What kind of modifications u can do/perform with each Transformation? Using transformations.
-----------------------------------------Transformation How It Uses Expressions --------------------. Aggregator Calculates the result of an aggregate expression. or update the target. you use the Expression Editor to enter the expression. For example. Rank Filters the top or bottom range of records. the PowerMart/PowerCenter transformation language includes additional functions not found in SQL. The Expression Editor supports the transformation language for building expressions. using values from one or more ports. However. and other components to build the expression.57 Informatic simple a Expressions in Transformations. The ports used in the expression can appear in the same transformation. indicating whether the Informatica Server should use the information in the record to insert.-----------------------------------------Expression Calculates the result of an expression for each row passing through the transformation. delete. Update Strategy Assigns a numeric code to each record based on an expression. based on a condition you enter using an expression. you can use values available through ports. such as a sum or average. Filter Filters records based on a condition you enter using an expression. Transformations that use expressions include the following: --------------------. operators. The transformation language uses SQL-like functions. 58 Informatic average a In case of Flat files (which U get a fatal error which cause server to fail/stop the session. which perform calculations on either single values or an entire range of values within a port. you can calculate the final sales tax using these two values. the transformation language includes the functions COUNT and SUM. based on all data passing through a port or on groups within that data. When you enter the expression. Explain briefly how do u use? Expressions in Transformations To transform data passing through a transformation. if the transformation has two input ports representing a price and sales tax rate. comes thru FTP as source) has not arrived then what happens . as in SQL. In each transformation. The most obvious examples of these are the Expression and Aggregator transformations. For example. you can write an expression. or you can use output ports in other transformations.
Which of these two sources (S1. 3. creates DTM process which executes the session What is a cache What is an Expression transformation? Temporary memory area used to store intermediate results Expression transformation is used to calculate expressions on a row by row basis. I want to join them. It accepts requests do ? from the PowerCenter Client and from pmcmd.59 Informatic average a What does a load manager The Load Manager is the primary PowerCenter Server process.locks the session and reads the session properties. Write a stored procedure and use Stored Procedure Transformation to generate sequence numbers using mappings in informatica. using joiner transformation.S2) should be master to improve my performance? Why? I have a source and I want YES. validates the source and target code pages 5. 1. expands the session and server variables and parameters 4. S2 should be detail. It performs the following tasks: Starts the session. But I don’t want to use sequence generator transformation.Manages the session and batch scheduling 2. 63 Informatic average a 64 Informatic average a . The Load Manager runs and monitors the workflow. verifies the permissions and privileges 6. creates DTM process and sends pre & post session emails. Total_sal = Com * sal 60 61 Informatic simple a Informatic simple a 62 Informatic simple a I have two sources S1 S1 should be the master as it contains few records so that the usage of cache can be having 100 records and S2 reduced . creates session log file 7. Is there any other way to do it? What is a bad file? Bad file is the file which contains the data rejected by the writer or target. having 10000 records.
delete -.2. DTM.coz update st. Writer. transformation or Passive transformation ? What is a Mapping? Mapping Represent the data flow between source and target What are the types of Passive and active transformations If a sequence generator Each target will get the value in multiple of 3 (with increment of 1) is connected to (say) 3 targets and each target uses the NEXTVAL port. Decode functions? If the primary key column contains NULL.Rejected by writer --. o DTM process is started once the Load Manager has completed its job.Rejected by writer/target 1. 71 Informatic average a 72 Informatic average a . 66 67 Informatic average a Informatic simple a Informatic simple a Informatic simple a Informatic simple a 68 69 70 What are the contents of Index cache files and Data caches the cache directory in the server Is lookup a Active Passive.update -. o Reader scans data from the specified sources. what value will each target get? Have you used the Abort. Transformer o Load Manager is the first process started when the session runs. has marked it for reject.1.65 Informatic average a What is the first column of Record / Row indicator the bad file? 0. It starts a thread for each pipeline. and you need to stop the session from continuing then you may use ABORT function in the default value for the port. o Writer manages the target/output data. Reader. o Transformer performs the task specified in the mapping.3 0 – insert -.Rejected by writer/target 3-reject -. It checks for validity of mappings. locks sessions and other objects. What do you know about the Informatica server architecture? Load Manager. It can be used with IIF and DECODE function to Abort the session. Abort can be used to Abort / stop the session on an error condition.Rejected by writer/target 2.
3. 4.73 74 Informatic simple a Informatic simple a What are the default values for variables? How many ways you can filter the records? String = Null. Date = 1/1/1753 1. Source Qualifier Filter transformation Router transformation Ranker Update strategy . 5. 2. Number = 0.
Caching the lookup table: When caching is enabled the informatica server caches the lookup table and queries the cache during the session. Dynamic. You can identify target bottleneck by configuring the session to write to a flat file target. Use indexes wherever possible. When this option is not enabled the server queries the lookup table on a row-by row basis. Sources Set a filter transformation after each SQ and see the records are not through. (OR) Look for the performance monitor in the Sessions property sheet and view the counters. If the time taken is same then there is a problem. Shared. Targets The most common performance bottleneck occurs when the informatica server writes to a target database. .75 Informatic complex a · How do you identify the bottlenecks in Mappings? Bottlenecks can occur in 1. Un-shared and Persistent cache 2. Optimize Single Pass Reading: Optimize Lookup transformation : 1. If the session performance increases significantly when you write to a flat file. Execute the query against the source database with a query tool. If the performance is same then there is a Source bottleneck. Add a filter transformation before target and if the time is the same then there is a problem. SQ and remove all transformations and connect to file target. Using database query – Copy the read query directly from the log. Static. 3. You can also identify the Source problem by Read Test Session – where we copy the mapping with sources. Solution : Drop or Disable index or constraints Perform bulk load (Ignores Database log) Increase commit interval (Recovery is compromised) Tune the database for RBS. Dynamic Extension etc. Optimizing the lookup condition Whenever multiple conditions are placed. then the query can be modified using optimizer hints. If the time it takes to execute the query and the time to fetch the first row are significantly different. Mapping If both Source and target are OK then problem could be in mapping. the condition with equality sign should take precedence. Solutions: Optimize Queries using hints. Solutions: If High error rows and rows in lookup cache indicate a mapping bottleneck. 2.. you have a target bottleneck.
Reduce error tracing It is available in navigator inside the folder. Since generally data cache is larger than the index cache. you ensure each use of the shortcut matches the original object. you can configure the shortcut name and description. 4. and you add a column to the definition. Remove Staging area 5. . Verbose Data) The session has memory to hold 83 sources and targets. Tune off Session recovery 6. If the allocated data or index cache is not large enough to store the date. Tracing level (Normal. · Scenario1 Here is a table with Single Row. ensuring uniform metadata. By using a shortcut instead of a copy. data cache size. Terse. It stores group information for those transformations in index cache. 77 Informatic a Informatic complex a 78 What is Business components ? Where it exists ? What are Short cuts ? Where it is used ? Shortcuts allow you to use metadata across folders without making copies. Lookup and Joiner transformation. Rank. Index cache size. Hint : Normalizer / Occurs make it 10 and Have 10 inputs and a output. You will get 10 rows. in a target table the same row should be populated 10 times.76 Informatic complex a How to improve the Session performance? 1 Run concurrent sessions 2 Partition session (Power center) 3. This can be seen from the counters . Commit Interval. If it is more. Each time the server pages to the disk the performance slows. Verbose Init. A shortcut inherits all properties of the object to which it points. For example. the shortcut inherits the additional column. Using Normalizer. it has to be more than the index. Tune Parameter – DTM buffer pool. Buffer block size. we can do it. the server stores the data in a temporary disk file as it processes the session data. When the object the shortcut references changes. The informatica server uses the index and data caches for Aggregate. The server stores the transformed data from the above transformation in the data cache before returning it to the data flow. if you have a shortcut to a target definition. then DTM can be increased. the shortcut inherits those changes. Once you create a shortcut.
82 Informatic average a . A mapping parameter retains the same value throughout the entire session.What r the unsupported repository objects for a mapplet? COBOL source definition Joiner transformations Normalizer transformations Non reusable sequence generator transformations. The informatica server saves the value of mapping variable to the repository at the end of session run and uses that value next time U run the session. Click the add button on the ports tab. 83 Informatic simple a What r the mapping parameters and mapping variables? . what are Column names the meta data of source U Data types import? Key constraints . Edit the definition definition and what r they? 2.U declare and use the parameter in a mapping or maplet. How many ways U can Two ways update a relational source 1. When u use the mapping parameter . a mapping variable represents a value that can change throughout the session. Drag the port from another transformation 2.79 Informatic simple a While importing the Source name relational source definition Database location from database.5 style Look Up functions XML source definitions IBM MQ source definitions Mapping parameter represents a constant value that U can define before running a session. Unlike a mapping parameter. Pre or post session stored procedures Target definitions Power mart 3. Re-import the definition 80 Informatic simple a 81 Informatic simple a How many ways u create ports? Two ways 1. Then define the value of parameter in a parameter file for the session.
Both input pipelines originate from the same Joiner transformation. Both input pipelines originate from the same Source Qualifier transformation. session performance in aggregator transformation? . 86 Informatic simple a Informatic simple a 87 How can U improve Use sorted input. Because reusable transformation is not contained with any maplet or mapping. Where as u doesn't need matching keys to join two sources. 88 Informatic simple a In which conditions we can not use joiner transformation(Limitations of joiner transformation)? 89 Informatic simple a Both pipelines begin with the same original data source. Both input pipelines originate from the same Normalizer transformation. Either input pipelines contains a connected or unconnected Sequence Generator transformation. We can use mapping parameters or variables in any transformation of the same mapping or mapplet in which U have created mapping parameters or variables. transformation and source U need matching keys to join two relational sources in source qualifier qualifier transformation? transformation. Two relational sources should come from same data source in sourcequalifier. Either input pipelines contains an Update Strategy transformation. 85 Informatic simple a Yes.What r the difference U can join heterogeneous data sources in joiner transformation which we can not between joiner achieve in source qualifier transformation.84 Informatic simple a Can U use the mapping parameters or variables created in one mapping into another mapping? Can u use the mapping parameters or variables created in one mapping into any other reusable transformation? NO. What r the settings that u Master and detail source use to configure the joiner Type of join transformation? Condition of the join 90 Informatic simple a What r the join types in joiner transformation? Normal (Default) Master outer Detail outer Full outer . U can join relational sources which r coming from different sources also.
If you need to test the same input data based on multiple conditions. use a Router Transformation in a mapping instead of creating multiple Filter transformations to perform the same task The designer copies property information from the input ports of the input group to create a set of output ports for each output group. the rank index numbers the salespeople from 1 to 5: 93 Informatic simple a What is the Router transformation? Input group Output group A Router transformation is similar to a Filter transformation because both transformations allow you to use a condition to test data. Rank transformation? The Informatica Server uses the Rank Index port to store the ranking position for each record in a group. If U configure the session to use a binary sort order.91 Informatic simple a How the informatica server sorts the string values in Rank transformation? When the informatica server runs in the ASCII data movement mode it sorts session data using Binary sort order. . if you create a Rank transformation that ranks the top 5 salespersons for each quarter. a Filter transformation tests data for one condition and drops the rows of data that do not meet the condition. However. Two types of output groups User defined groups Default group U can not modify or delete default groups. 92 Informatic simple a What is the Rank index in The Designer automatically creates a RANKINDEX port for each Rank transformation. A Router transformation tests data for one or more conditions and gives you the option to route rows of data that do not meet any of the conditions to a default output group. the informatica server calculates the binary value of each string and returns the specified number of rows with the highest binary values for the string. 94 Informatic simple a What r the types of groups in Router transformation? 95 Informatic simple a Why we use stored procedure transformation? For populating and maintaining data bases. For example.
Within a session.96 average What r the types of data that passes between informatica server and stored procedure? 3 types of data Input/Out put parameters Return Values Status code. update. or reject. It only used by the informatica server to determine whether to continue running the session or stop. Within a mapping. source qualifier? what is update strategy transformation ? This transformation is used to maintain the history data or just most recent changes in to target table. delete. or use instructions coded into the session mapping to flag records for different database operations. 101 Informatic simple a 102 Informatic simple a Describe two levels in which update strategy transformation sets? 103 Informatic average a What is the default source Data driven. . Select only distinct values from the source. Creating custom query to issue a special SELECT statement for the informatica server to read source data. option for update strategy transformation? . The stored procedure issues a status code that notifies whether or not stored procedure completed sucessfully. 97 Informatic average a What is the status code? Status code provides error handling for the informatica server during the session. Specify an outer join rather than the default inner join specify sorted records. What is the default join Inner equi join. 98 Informatic simple a Informatic simple a 100 Informatic simple a 99 What r the tasks that Join data originating from same source data base. When you configure a session. source qualifier performs? Filter records when the informatica server reads source data. This value can not seen by the user. you use the Update Strategy transformation to flag records for insert. that source qualifier provides? basic needs to Two sources should have primary and Foreign key relation ships. What r the join two sources in a Two sources should have matching data types. you can instruct the Informatica Server to either treat all records in the same way (for example. treat all records as inserts). Within a mapping.
a series of dimensions related to a central fact table. 107 Informatic simple a . the informatica server ignores all update strategy transformations in the mapping. Use this mapping when you want to drop all existing data from your table before loading new data. Informatica? Creates mappings to load static fact and dimension tables. Insert Delete Update Update as update Update as insert Update else insert Truncate table 105 Informatic simple a What r the options in the target session of update strategy transformation? 106 Informatic simple a What r the types of The Designer provides two mapping wizards to help you create mappings quickly and mapping wizards that r to easily. Slowly Growing target : Loads a slowly growing fact or dimension table by inserting new rows. update. delete or reject. Slowly Changing Dimensions Wizard. Creates mappings to load slowly changing dimension tables based on the amount of historical dimension data you want to keep and the method you choose to handle historical dimension data. What r the types of mapping in Getting Started Wizard? Simple Pass through mapping : Loads a static fact or dimension table by inserting all rows. Getting Started Wizard. If u do not choose data driven option setting.104 Informatic average a What is Data driven? The informatica server follows instructions coded into update strategy transformations with in the session mapping determine how to flag records for insert. Both wizards are designed to create mappings for loading and maintaining star be provided in schemas. as well as slowly growing dimension tables. Use this mapping to load new data when existing data does not require updates.
This mapping also inserts both new and changed dimensions in to the target.108 Informatic avrage a What r the mappings that Type1: Rows containing changes to existing dimensions are updated in the target by we use for slowly changing overwriting the existing dimension. Use the Type 2 Dimension/Version Data mapping to update a slowly changing dimension table when you want to keep a full history of dimension data in the table. Type 3: The Type 3 Dimension mapping filters source rows based on user-defined comparisons and inserts only those found to be new dimensions to the target. And changes r tracked by the effective date range for each version of each dimension. When updating an existing dimension. Type2 Dimension/Flag current Mapping: This mapping is also used for slowly changing dimensions. Changes are tracked in the target table by versioning the primary key and creating a version number for each dimension in the table. And updated dimensions r saved with the value 0. In the Type 1 Dimension mapping. all rows contain dimension table? current dimension data. In addition it creates a flag value for changed or new dimension. Version numbers and versioned primary keys track the order of changes to each dimension. Type 2: The Type 2 Dimension Data mapping inserts both new and changed dimensions into the target. Flag indicates the dimension is new or newly updated. Use the Type 1 Dimension mapping to update a slowly changing dimension table when you do not need to keep any previous versions of dimensions in the table. the Informatica Server saves existing data in different columns of the same row and replaces the existing data with the updates 109 Informatic average a What r the different types Type2 Dimension/Version Data Mapping: In this mapping the updated dimension in the of Type2 dimension source will gets inserted in target along with a new version number. . Rows containing changes to existing dimensions are updated in the target. Type2 Dimension/Effective Date Range Mapping: This is also one flavor of Type2 mapping used for slowly changing dimensions. Recent dimensions will gets saved with current flag value 1. And mapping? newly added dimension in source will insert into target with a primary key.
112 Informatic a 113 Informatic simple a 114 Informatic simple a Can u generate reports in Yes. u can access information about Ur repository with out having knowledge of sql. U can use multiple CPU's to process a session concurrently. What r the features of the U can use command line arguments for a session or batch. Informatica? What is metadata reporter? It is a web based application that enables you to run reports against repository metadata. Mapping: It is a set of source and target definitions linked by transformation objects that define the rules for transformation. and manage sessions and batches and to monitor and stop the informatica server? . This allows U to server manager in the change the values of session parameters. Creates threads to initialize the session. With a meta data reporter. Process session data using threads: Informatica server runs the session in two processes. transformation language or underlying tables in the repository. read.110 Informatic average a How can u recognize In the Type2 mapping we have three options to recognize the newly added rows whether or not the newly Version number added rows in the source r Flag value gets insert in the target ? Effective date Range 111 Informatic average a What r two types of Load manager Process: Starts the session. Session : It is a set of instructions that describe how and when to move data from source to targets.0? variables. Parallel data processing: This feature is available for power center only. creates the DTM process. If we use the informatica server on a SMP system. and transform data. By using Metadata reporter we can generate reports in informatica. and sends postprocesses that informatica session email when the session completes.and post-session operations. runs the session? The DTM process. 115 Informatic simple a Define mapping and sessions? 116 Informatic simple a Which tool U use to create Informatica server manager. write. and handle pre. Explained in previous question. and mapping parameters and mapping informatica 5.
For XML and file sources. informatica server directly communicates the repository to check whether or not the session and users r valid. For loading the data informatica server creates a separate file for each partition(of a source file). Informatica server reads multiple partitions of a single source concurently.117 Informatic simple a Why we use partitioning Partitioning achieves the session performance by reducing the time period of the session in informatica? reading the source and loading the data into target. informatica server reads multiple files concurrently. 118 Informatic simple a To achieve the session Configure the session to partition source data. partition what r the necessary tasks u have to Install the informatica server on a machine with multiple CPU's. schedule the session each time. do? How the informatica server increases the session performance through partitioning the source? For relational sources informatica server creates multiple connections for each partition of a single source and extracts separate range of data for each connection. Why u use repository connectivity? When u edit. 119 Informatic avrage a 120 Informatic simple a .U can choose to merge the targets. Similarly for loading also informatica server creates multiple connections to the target and loads partitions of data concurrently. All the metadata of sessions and mappings will be stored in repository. .
It reads data from source. 123 Informatic average a What r the different threads in DTM process? Master thread: Creates and manages all other threads Mapping thread: One mapping thread will be creates for each session. Locking prevents U starting the session again and again. Transformation thread: It will be created to transform data. Writer thread: It will be created to load data to the target. it creates the DTM process. I creates the master thread. Pre and post session threads: This will be created to perform pre and post session operations. When u start a session load manger fetches the session information from the repository to perform the validations and verifications prior to starting DTM processLocking and reading the session: When the informatica server starts a session load manager locks the session from the repository.121 Informatic average a What r the tasks that Load Manages the session and batch scheduling: When u start the informatica server the manger process will do? load manager launches and queries the repository for a list of sessions configured to run on the informatica server. Master thread creates and manages all the other threads. Reading the parameter file: If the session uses a parameter files. DTM is to create and manage the threads that carry out the session tasks. 122 Informatic average a What is DTM process? After the load manger performs validations for session. load manager reads the parameter file and verifies that the session level parameters are declared in the file Verifies permission and privileges: When the session starts load manger checks whether or not the user have privileges to run the session. Fetches session and mapping information. Reader thread: One thread will be created for each partition of a source. When u configure the session the load manager maintains list of list of sessions and session start times. .
U choose the data movement in the informatica server configuration settings. Two types of data movement modes available in informatica.124 Informatic average a What r the data movement Data movement modes determines how informatica server handles the character modes in informatica? data. ASCII mode Uni code mode. .
It also creates an error log for error creates during the session messages. number of rows written or rejected. Aggregator transformation Joiner transformation Rank transformation Lookup transformation . The control file contains the information about the target flat file such as data format and loading instructions for the external loader. It writes information about session into log files such as initialization process. Reject file: This file contains the rows of data that the writer does not write to targets. U can create two different messages.log). These files will be created in informatica home directory. Post session email: Post session email allows U to automatically communicate information about a session run to designated recipients. 126 Informatic complex a In which circumstances that informatica server creates Reject files? Cache files: When the informatica server creates memory cache it also creates cache When it the following circumstances informatica server creates index files. Session detail include information such as table name. and data cache files. running? Session log file: Informatica server creates session log file for each session. creation of sql commands for reader and writer threads.Violates database constraint Filed in the rows was truncated or overflowed.server. One if the session completed successfully the other if the session fails. errors encountered and load summary. Control file: Informatica server creates control file and a target file when U run a session that uses the external loader. To generate this file select the performance detail option in the session property sheet. The amount of detail in session log file depends on the tracing level that u set. For each target row. output file: If session writes to a target file. Forencounters the DD_Reject in update strategy transformation. U can view this file by double clicking on the session in monitor window Performance detail file: This file contains information known as session performance details which helps U where performance can be improved.125 Informatic average a What r the out put files Informatica server log: Informatica server(on UNIX) creates a log for all status and that the informatica server error messages(default name: pm. Session detail file: This file contains load statistics for each target in mapping. update. delete or reject. Indicator file: If u use the flat file as a target. the informatica server creates the target file based on file properties entered in the session property sheet. U can configure the informatica server to create indicator file. the indicator file contains a number to indicate whether the row was marked for insert.
. If u have sessions with source-target dependencies u have to go for sequential batch to start the sessions one after another. 135 Informatic simple a In a sequential batch can u Yes. 129 Informatic average a 130 Informatic average a 131 Informatic average a 132 Informatic simple a 133 Informatic simple a 134 Informatic simple a Can u copy the batches? . Two optionsRun the session only if previous session completes successfully. run the session if previous session fails? . failed? used to run a batch What r the different options used to configure the sequential batches? NO Any number of sessions. If target folder or repository is not having the mapping of copying session . Batches r two types Sequential: Runs sessions one after the other Concurrent: Runs session at same time. u should have to copy that mapping first before u copy the session. What is batch and describe about types of batches? Grouping of session is known as batch.How many number of sessions that u can create in a batch? When the informatica server marks that a batch isWhat is a command that . If u have several independent sessions u can use concurrent batches. Always runs the session.127 Informatic average a What is polling? It displays the updated information about the session in the monitor window. By setting the option always runs the session. The monitor window displays the status of each session when U poll the informatica server 128 Informatic average a Can u copy the session to Yes. By using copy session wizard u can copy a session in a different folder or a different folder or repository. Which runs all the sessions at the same time. If one of session is configured to "run if previous completes" and that previous session fails. But that target folder or repository should consists of mapping of that repository? session. pmcmd is used to start a batch.
Database connections Source file names: use this parameter when u want to change the name or location of session source file between session runs Target file name :Use this parameter when u want to change the name or location of session target file between session runs. in case of inside a batch individually? concurrent batch we can’t do like this. U can define the following values in parameter file Mapping parameters Mapping variables session parameters . A parameter file is a file created by text editor such as word pad or notepad. Server manager also allows U to create user defined session parameters. Reject file name :Use this parameter when u want to change the name or location of session reject files between session runs. 140 Informatic simple a What is parameter file? Parameter file is to define the values for parameters and variables used in a session. If u want to start batch that resides in a batch. represent values U might want to change between sessions such as database connections or source files. Can u start a session We can start our required session only in case of sequential batch.136 Informatic average a 137 Informatic average a 138 Informatic average a 139 Informatic simple a Can u start batches with U can not. create a new independent in a batch? batch and copy the necessary sessions into the new batch. What r the session parameters? Session parameters r like mapping parameters. Following r user defined session parameters. How can u stop a batch? By using server manager or pmcmd.
the server manager creates a heterogeneous session that displays source options for all types.141 Informatic simple a How can u access the remote source into Ur session? Relational source: To access relational source which is situated in a remote place . Aggregator Transformation: If u use sorted ports u can not partition the associated source Joiner Transformation : U can not partition the master source for a joiner transformation Normalizer Transformation XML targets. . If u partition a session with a file target the informatica server creates one target file for each partition. Heterogeneous : When Ur mapping contains more than one source type. File Source : To access the remote source file U must configure the FTP connection to the host machine before u create the session. Advanced External procedure transformation and External procedure transformation: This transformation contains a check box on the properties tab to allow partitioning. U can configure session properties to merge these target files. 142 Informatic average a What is difference between portioning of relational target and partitioning of file targets? 143 Informatic average a what r the transformations that restricts the partitioning of sessions? If u partition a session with a relational target informatica server creates multiple connections to the target database to write target data concurrently.u need to configure database connection to the data source.
Flat files: If ur flat files stored on a machine other than the informatica server. We can improve the session performance by configuring the network packet size. If u r target consists key constraints and indexes u slow the loading of data. Unicode mode takes 2 bytes to store a character.144 Informatic complex a . To do this go to server manger . Running a parallel sessions by using concurrent batches will also reduce the time of loading the data. If a session joins multiple source tables in one Source Qualifier. which allows data to cross the network at one time. Distributing the session load to multiple informatica servers may improve session performance. single table select statements with an ORDER BY or GROUP BY clause may benefit from optimization such as adding indexes. So avoid network connections. Increase the session performance by following. move those files to the machine that consists of informatica server. Partitioning the session improves the session performance by creating multiple . U can run the multiple informatica servers against the same repository. optimizing the query may improve performance. Staging areas: If u use staging areas u force informatica server to perform multiple data passes. Because ASCII data movement mode stores a character value in one byte. To improve the session performance in this case drop constraints and indexes before u run the session and rebuild them after completion of session. Moving target database into server system may improve session performance.choose server configure database connections. Data generally moves across a network at less than 1 MB per second. So concurrent batches may also increase the session performance. Also. Removing of staging areas may improve session performance. The performance of the Informatica Server is related to network connections. Thus network connections often affect on session performance. Relational data sources: Minimize the connections to sources . Run the informatica server in ASCII data movement mode improves the session performance.targets and informatica server to improve session performance. Performance tuning in Informatica? The goal of performance tuning is optimize session performance so sessions run during the available load window for the Informatica Server. whereas a local disk moves data five to twenty times faster.
sessions indicating when you want the Informatica Server to perform the transformations. 147 Informatic simple a What is power center repository? 148 Informatic average a How can u work with remote database in informatica? did u work directly by using remote .Instead u bring that source into U r local machine where informatica server resides. and connect strings for sources and targets. Metadata can include information such as mappings describing how to transform source data. The Repository Manager connects to the repository database and runs the code needed to create the repository tables. and product version. To work with remote data source u need to connect it with remote connections. and a number of local repositories to share the global metadata as needed. If u work directly with remote source the session performance will decreases by passing fewer amounts of data across the network in a particular time. used by the Informatica Server and Client tools. The repository also stores administrative information such as usernames and passwords. or metadata.145 Informatic simple a Define informatica repository? The Informatica repository is a relational database that stores information. 146 Informatic simple a What r the types of metadata that stores in repository? Following r the types of metadata that stores in the repository Database connections Global objects Mappings Mapplets Multidimensional metadata Reusable transformations Sessions and batches Short cuts Source definitions Target definitions Transformations The PowerCenter repository allows you to share metadata across repositories to create a data mart domain. But it is not preferable to work with that remote source directly by using remote connections . you can create a single global repository to store metadata used across an enterprise. client tools use.These tables stores metadata in specific format the informatica server. Use repository manager to create the repository. In a data mart domain. permissions and privileges.
level? Types of tracing level Normal Verbose Verbose init Verbose data What is difference In case of stored procedure transformation procedure will be compiled and executed between stored procedure in a relational data source. 152 Informatic simple a . U can schedule a session to run at a given time or interval. Different options of scheduling Run only on demand: Informatica server runs the session only when user starts session explicitly Run once: Informatica server runs the session only once at a specified date and time. If the source changes only incrementally and you can capture changes. 151 Informatic simple a What is tracing level and Tracing level represents the amount of information that informatica server writes in a what r the types of tracing log file. you can configure the session to process only those changes. Where as in external procedure transformation procedure external procedure or function will be executed out side of data source. rather than forcing it to process the entire source and recalculate the same calculations each time you run the session. Customized repeat: Informatica server runs the session at the dates and times specified in the repeat dialog box. What r the scheduling options to run a session? When using incremental aggregation.149 Informatic average a what is incremental aggregation? 150 Informatic simple a . This allows the Informatica Server to update your target incrementally. or u can manually run the session. No need to have data base connection in case of external procedure transformation. ie u need to make it as a DLL to transformation? access in u r mapping. Run every: Informatica server runs the session at regular intervals as u configured. you apply captured changes in the source to aggregate calculations in a session. U need data base connection to import the stored transformation and procedure in to ur maping.
and then complete the session. Select Server Requests-Stop from the menu. highlight the session you want to recover. 3. From the command line. For example. How to recover the A standalone session is a session that is not nested in a batch. if the Informatica Server commits 10. The Informatica Server then reads all sources again and starts processing from the next row ID.001. · Consider performing recovery if the Informatica Server has issued at least one commit.153 Informatic complex a Explain about Recovering sessions? 154 Informatic complex a 155 Informatic complex a 156 Informatic complex a If you stop a session or if an error causes a session to stop. Use loading of 10. Use one of the following methods to complete the session: · Run the session again if the Informatica Server has not issued a commit.From the command line. and Informatica Server configuration. How can u load the records from 10001st record when u run the session next time? Explain about perform When the Informatica Server starts a recovery session. To recover sessions using the menu: 1. To recover sessions using pmcmd: 1.000 rows before the session fails. the Informatica Server bypasses the rows up to 10. Perform Recovery is disabled in the Informatica Server setup. when you run recovery. 2. you can run recovery using a menu command or pmcmd. By default. With the failed session highlighted. If a session fails after As explained above informatica server has 3 methods to recovering the sessions. 2.000 and starts loading with row 10. . · Truncate the target tables and run the session again if the session is not recoverable. refer to the session and error logs to determine the cause of failure. session. If a standalone session standalone session? fails. You must enable Recovery in the Informatica Server setup before you run a session so the Informatica Server can create and/or write entries in the OPB_SRVR_RECOVERY table. These options are not available for batched sessions. select Server Requests-Start Session in Recovery Mode from the menu. stop the session.000 records performing recovery to load the records from where the session fails. start recovery. The method you use to complete the session depends on the properties of the mapping. In the Server Manager. Correct the errors. it reads the recovery? OPB_SRVR_RECOVERY table and notes the row ID of the last row committed to the target database. in to the target.
select Perform Recovery. and click OK. 3. 4. the Informatica Server attempts to recover the previous session. If you do not configure a session in a sequential batch to stop on failure. 5.Drag the copied session outside the batch to be a standalone session.Delete the standalone copy.On the Log Files tab. If you do not clear Perform Recovery. the next time you run the session. 4. open the session property sheet. and click OK.In the Server Manager. you can recover the session as a standalone session. 158 Informatic complex a How to recover sessions in If multiple sessions in a concurrent batch fail. However. if a session in a concurrent batch fails and the rest of the sessions complete successfully. Run the session from the beginning when the Informatica Server cannot run recovery or when running recovery might result in inconsistent data. Use the Perform Recovery session property To recover sessions in sequential batches configured to stop on failure: 1. recover the failed session as a standalone session.157 Informatic complex a How can u recover the session in sequential batches? If you configure a session in a sequential batch to stop on failure. To recover a session in a concurrent batch: 1. you can run recovery starting with the failed session. open the session property sheet. 159 Informatic complex a . 2. 2.Copy the failed session using Operations-Copy Session.Follow the steps to recover a standalone session. The Informatica Server completes the session and then runs the rest of the batch. when a session does not complete. you might want to truncate all targets concurrent batches? and run the batch again. How can u complete unrecoverable sessions? Under certain circumstances.After the batch completes. and the remaining sessions in the batch complete.Clear Perform Recovery. you need to truncate the target tables and run the session from the beginning. 3.Run the session.
$PMWorkflowLogCount 15.informix) to a single source qualifier. $PMRootDir 2. $PMExtProcDir 8. results an unrecoverable Perform recovery is disabled in the informatica server configuration. NO. $PMBadFileDir 4. $PMSessionLogDir 3. $PMSessionErrorThreshold 13. $PMFailureEmailUser 11. $PMSourceFileDir 7. If want to reflect back end changes to informatica screens.oracle. If the mapping consists of sequence generator or normalizer transformation. $PMTempDir 9. It displays u all the information that is to be stored in repository. If i've done any modifications for my table in back end does it reflect in informatica warehouse or mapping designer or source analyzer? After dragging the ports of three sources(sql server. If a concurrent batch contains multiple failed sessions. And u have to replace the existing files with imported files. $PMCacheDir 5. $PMTargetFileDir 6. Informatica is not at all concern with back end data base. $PMSessionLogCount 12. can u map these three ports directly to target? Server Variables NO. $PMWorkflowLogDir 14. session? If the sources or targets changes after initial session fails. $PMLookupFileDir . that informatica server If u change the partition information after the initial session fails. Unless and until u join those three ports in source qualifier u cannot map them directly.160 Informatic complex a What r the circumstances The source qualifier transformation does not use sorted ports. 161 Informatic average a 162 Informatic average a 163 Informatic a 1. $PMSuccessEmailUser 10. again u have to import from back end to informatica by valid connection.
Each folder has a set of configurable properties that help you define how users access the folder. . including mappings. In the Repository Manager. Or. you can view the users accessing folders and the objects within each folder. Folders are designed to be flexible. to help you logically organize the repository. schemas. Note: You must create a folder in a repository before you can connect to the repository using the Designer or Workflow Manager. 165 Informatic a Multiple Servers Register multiple PowerCenter Servers. You create and maintain folders in the Repository Manager. you can create a folder that allows users to share objects within the folder. When you register multiple PowerCenter Servers. You can also copy and replace folders within the repository or across repositories. choose the PowerCenter Server for a workflow in the workflow properties. For example. but not to edit them. you can create a folder that allows all repository users to see objects within the folder.164 Informatic a Folders Folders provide a way to organize and store all metadata in the repository. and sessions. You can create shared and non-shared folders.
A cursor is basically an area allocated by Oracle for executing the SQL Statement. Self join is joining a table to itself.create. Oracle uses an implicit cursor statement for Single row query and Uses Explicit cursor for a multi row query.Sl.commit. insert. INSERT. %NOTFOUND . Can you force the optimizer to choose the optimal execution plan? A:Yes. Outer join.dno from emp.select.No 1 2 3 Category Performance tuning Performance tuning Performance tuning Complexity Simple Medium Medium 4 5 Performance tuning Performance tuning Complex Medium 6 7 Performance tuning Joins Simple Simple 8 9 Queries Fundamentals Simple Simple 10 PL/SQL Simple Questions What are the types of optimizer? A: Rule-based and Cost-based optimizers Which optimizer mode is the default one? A: Optimizer takes the rule based approach as default. Self join Simple join returns the common rows between two or more tables. %ISOPEN.%ROWCOUNT How will you identify the duplicates in a particular column? 11 12 PL/SQL Queries Simple Medium . alter. By using hints option. What are attributes of cursor? %FOUND . delete TCL . Outer join returns the matching rows from one. How will you fetch the first 10 records of a table? A: select * from emp where rownum<11 How many types of SQL statements are there in Oracle? A: DDL . drop DML . savepoint. DELETE statements. UPDATE. update. with the unmatched rows marked as NULL. What are the types of joins? What are they? A:Simple join. What is explain plan? A:The sequence of steps the optimizer chooses to execute the SELECT. ename. Revoke What are cursors? A: A cursor is a handle ( name or a pointer) for the memory associated with a specific statement. and all the rows from the other table. rollback DCL – Grant. dept where dno=deptno Which is faster? Using IN or EXISTS? A: EXISTS is faster compared to IN. How will you tune the following query? dept) A: select empid.
update to. Partition p2 values less than 20. When too_many_rows b) User Defined Exceptions e. Share Update. INOUT Difference between Stored procedure and functions A: Function returns a value to the calling block whereas the Stored procedure does not. How many types of Exceptions are there There are 2 types of exceptions. variables and other Package Contents. When no_data_found. How many types of parameters can be passed to a stored procedure? A:3 types: IN. A basic component of the model is the EntityRelationship diagram which is used to visually represents data objects. My_exception exception When My_exception then How many types of Locks are there? What are they? A: Shared. How many tables would you require to implement the same? . Partition p3 values less than maxvalue) What is ER model? A: It is a conceptual data model that views the real world as entities and relationships. count(*) from table1 group by col1 having count(*)>1 What are packages? Advantages of packages? A:Packages Provide a method of encapsulating and storing related procedures.g. Syntax of creating a partition Create table A(a varchar(1). They are a) System Exceptions e.g. What are Database Triggers and Stored Procedures A: Database Triggers are Procedures that are automatically executed as a result of insert in. What are partitions? A: Partitions are segments of a logical table split by range of key column values.13 PL/SQL Medium 14 15 PL/SQL PL/SQL Simple Simple 16 PL/SQL Simple 17 Partition Medium 18 Partition Complex 19 Normalization Simple 20 PL/SQL Simple 21 Locks Medium 22 Normalization Medium A:Select col1. OUT. or delete from table. b numeric(10)) Partition by range(b) (partition p1 values less than 10. functions. Exclusive You are asked to model a many-many relationship given the students and teachers data.
When too_many_rows b) User Defined Exceptions e. How many types of Exceptions are there? What are they? A: There are 2 types of exceptions. My_exception exception Can you execute DDL statements inside a PL/SQL block? How? A: Yes. When no_data_found. where as public synonym is created by the database administrator and is available to all users. Table Emp has 3 records: A B C Sequence of 4 sql stmts are executed: Delete emp where val='A' Alter table emp modify(val varchar2(5)) Delete emp where val='B' Rollback What is the status of the table emp? A: Table emp has 2 records B & C. In a correlated sub query. What are embedded SQLs? A: Sql Statements embedded in a high level language such as 'C' are called embedded sqls. the sub query gets executed once for each row processed by the parent query. What are the two types of synonyms? What is the difference between the two? A: Private and Public. They are a) System Exceptions e.g. By using 'execute immediate' clause.23 Queries Medium 24 Fundamentals Simple 25 PL/SQL Simple 26 27 PL/SQL Queries Complex Medium 28 Fundamentals Medium 29 PL/SQL Complex A: 3 query? A: Subquery is a query inside a query. What are mutating tables? . Private synonyms are created by the database user and is available only to the user. where the sub query gets executed only once.g.
To_number converts a char or varchar to a number.ora file provides the ability to reference oracle databases by a simple alias. go for on delete cascade option.profile file. 35 36 Performance tuning PL/SQL Complex Complex query? A: Analyze table compute statistics What are PL/SQL tables? A: PL/SQL tables are not stored in the database. and is usually created inside a PL/SQL block with only one column. What is Oracle SID? Where do you set that? A: If Oracle is used in a UNIX server. 37 Database connection Medium 38 39 40 Queries Queries Conversion functions Medium Simple Medium 41 What are inline views? Views . But truncating a table deletes it completely and release the space consumed by it too. It denotes the database.. then Oracle SID is set in the . What is 'on delete cascade' option? A: When a key value is deleted.30 Fundamentals Simple 31 32 Fundamentals Queries Simple Medium 33 34 Fundamentals Database connection Medium Medium A: Mutating table is a table that is currently being modified by insert update or delete statement causing a trigger to fire that again tries to modify the same table What is the difference between deleting and truncating of tables A: Deleting a table will remove the rows from the table but space consumed by these rows is not released. How do u implement the If statement in the Select Statement? A: Using DECODE queries? A: Using MINUS operator What is the difference between to_char() & to_number() function/ A: To_char converts a number or date to a char. Name a few pseudocolumns. What is tnsnames. if you want to also delete the references of the key.ora? A tnsnames. A: NEXTVAL. How many columns can table have? A: The number of columns in a table can range from 1 to 254. ROWNUM etc. CURRVAL.
it? Select *.42 43 44 What are the advantages of force views? What type of DBMS is supported by Oracle 8i? What are materialized views? What are the rules that are to be followed while inserting data into views? Can you insert records into materialized views? What is the difference between a snapshot and a materialized view? What is the advantage of using a clustered index? What are the enhancements on Views in Oracle 8i? What are the new types of triggers added in Oracle 8i? Executing the query on a million records performance. revenuecost from tableA Views Fundamentals Views 45 Views 46 Views 47 Fundamentals 48 Index 49 Views 50 Triggers 51 Index .
When will both the exceptions get executed? (Twisted) When do you use 'connect by prior' in a query? 55 Datatypes 56 57 58 59 Locks Nested tables PL/SQL Queries 60 PL/SQL 61 Queries to display records hierarchy tree level . Index Which feature in Oracle 8i supports incremental Summary tables updates? Hash and composite partitioning techniques Partition What are the constraints imposed on creating a column of 'LONG' datatype? What happens when you use a 'for update of clause' in a select stmt? How are data stored in a nested table? What are REF cursors? What is a star query? Give eg. There are 2 exceptions in a PL/SQL block.52 53 54 Difference between Bitmap and B-Tree indices.
given his DOB column in a table. What's the implication? fetch How will you the age of a person. using a simple query? 66 Fundamentals 67 Date functions .62 63 64 65 What is the difference between a translate and a replace of a string? Egs? happens when String functions What you modify and recompile a Procedure procedure? What are bind PL/SQL variables? How will you find the byte size of a particular column? Numeric functions 'Select sysdate from dual' returns 5 records.
3 Control M Simple Owner of the production file . the Enterprise/CS Workstation. controlled 'prod' user.The third component. integrated components which work in unison to provide centralised control of the entire job scheduling environment. An instance of Control-M resides on each of the machines for which scheduling is required. provides communication between datacentres and the Enterprise/CS workstation(s). submits. the data-centre. 3.The second component. Enterprise/CS can control many datacentres of the same or different types of platforms. Enterprise/CS resides on a Sun workstation and can control multiple Enterprise/CS is comprised of three instances of Control-M. 2. tracks and follows up the execution of jobs. used to maintain all the datacentres. 1. provides an easy-to-use graphical user interface and local SQL database. consists of one or more computers which are managed by one Control-M monitor. Used in conjunction with Enterprise Control Station (Enterprise/CS) it provides centralised workstation control of the job scheduling production environment. a gateway. The first component. It executes as a background activity and schedules.Srl NO # Subject 1 Control M ComplexityQuestions Average What is Control M? Answers 2 Control M Complex Integerated Components of Enterprise/CS Control-M is a multi-platform job scheduling and control system.
It copies the file. These changes are made so that Control-M can trace and post-process the job output. Control M checks the permissions of the file.Emergency one off runs INIT . pcp related files. What the environment variable CTM_ODATE mean? Stages of execution 1.Used as holding area prior to release into run library oldlib . Main script startup 4.Storage area for all scripts and the 'prod' user binaries used by a Control M controlled application overlib . 2. some of which may change depending on the date.env.env.Final processing PCP The Parameter Construction Program should be used to create any variable configuration. 5. comparing it with the job owner field.profile/.cshrc scripts. parameters or startup code required by a group of scripts. changes directory to the job owners HOME directory and executes the . 7 Control M Simple . 3. Control-M switches user to the job owner. adhoc .Initialisation files : ksh. The Parameter Construction Program (PCP) is used to create a file of options. csh.Contains the previous version of any updated files. INIT. Main script execution 6.4 Control M Average 5 Control M 6 Control M Simple Average General Structure of the HOME dorectory of runlib . making a number of changes to the script.Control M . Order date for the job. parameters and other configuration information.Temporary area for emergency fixes rellib .
It tell us the information about the control M job reg. Whether it is doing Insert/ Update / Delete . database which it is using.8 Control M 9 Control M 10 Control M Average Average Simple How do you call a sql? How do you call a Informatica session? What is RIT? Call the oracle login instances and giving the sql script as a parameter Using pmcmd command in the script It's a Run time Information Template. Inputs reqired. Its scheduling time.
Subject Complexity Questions Answers 1 DataWareh simple what is a Data Warehouse? A data warehouse is a relational database that is designed ousing for query and analysis rather than for transaction processing. It typically supports a single. between a database.A data warehouse is A very large database with special warehouse and a data mart? sets of tools to extract and cleanse data from operational systems and to analyze data. but it can include data from other sources. Non-volatile.Sl. a data -. Legacy system. Files. What the difference is A database is an organized collection of information. What are the goals of the Data warehouse? What are the approaches in constructing a Datawarehouse and the datamart? Data Mart Subject-oriented. No. <Diagram> Top-down and Bottom-up approaches. independent? What are the sources for a datawarehouse? OLTP system. It usually contains historical data derived from transaction data.A data mart is A focused subset of A data warehouse that deals with A single area of data and is organized for quick OLAP (On-Line Analytical A analysis. Draw the architecture of a Datawarehousing system. method Processing) . 4 DataWareh simple ousing Can a datamart be Yes. -. It separates analysis workload from transaction workload and enables an organization to consolidate data from several sources. A data structure that is optimized for access. It is designed to facilitate end-user analysis of data. Time-variant. Other sources. Integrated. analytic application used by a distinct set of workers.by which multidimensional analysis occurs. DataWare 19 housing Complex DataWare 17 housing Medium 35 DataWare 18 housing Medium 2 DataWareh simple ousing Datawareh 25 ousing Medium Datawareh 30 ousing simple 14 DataWareh simple ousing What is the conventional definition of a DWH? Explain each term.
Cognos. Star Schema .5 DataWareh average/simple what do you mean by ousing Multidimensional Analysis? 42 40 20 OLAP Medium What is the difference between OLAP. MOLAP eg. “drilling-across” and “slicing and dicing” ROLAP eg.DOLAP? Difference between OLAP & OLTP? What are the different types of OLAP? Give an eg. The Why? main advantage of this database is query performance. HOLAP. DOLAP Data 24 modelling Medium DataWareh simple 7 ousing Which is the suitable data MultiDimensional Model.BO. MOLAP . ROLAP. It is also sometimes referred to as “drilling-down”. optimized for data warehouse. data model for a datawarehouse? mart and online analytical processing (OLAP) applications. The ability to manipulate information by a variety of relevant categories or “dimensions” to facilitate analysis and understanding of the underlying data.
dimensional tables. datamarts/DWH used in your project. of the fact. Project21 related Complex Datawareh 31 ousing Medium . Explain what data each contains. we don’t need to store the unit price. counting. adding. We fetch a very large number of records on which we then do. 8 DataWareh simple ousing Snowflake Schema Datawareh 32 ousing Complex 36 41 Normalizat 23 ion Twisted 37 38 48 43 What is Galaxy schema? What is Dimension & Fact ? An extension of the star schema by means of applying additional dimensions to the dimensions of a star schema in a relational environment. semi-additive.16 DataWareh complex ousing What are Additive Facts? Or what is meant by Additive Fact? The fact tables are mostly very huge and almost never fetch a single record into our answer set. Mini. Degenerate. Too-Many. What are fact constellations? Multiple fact tables sharing the dimension tables. Thus. Dirty Different types of Dimensions customer. Multivalued. Confirmed. non-additive What are the types of Factless fact tables? Event tracking & coverage Granularity What is Granularity? The level of detail of the facts stored in a data warehouse. A set of fact tables with some mutual dimension tables is called galaxy schema. Junk. Normalizat 22 ion simple Is the Fact table normalized? Yes 12 DataWareh average/simple Can 2 Fact Tables share Yes ousing same dimensions Tables? Give egs. they are normalized. averaging. What is Transaction fact table & Centipede Fact table? Different types of Facts? Additive. We compute the unit price by dividing the dollar sales by the unit sales whenever necessary. The most common of them is adding. or taking the min or max. Demographic mini dimensions Are the dimensional tables normalized? If so when? Yes. Applications are simpler if they store facts in an additive format as often as possible. In snowflake schema. in the grocery example.
They are often used to record events or coverage information. ( A fact which does not have any measures ) Common examples of factless fact tables include: o Identifying product promotion events (to determine promoted products that didn’t sell) o Tracking student attendance or registration events o Tracking insurance-related accident events o Identifying building. you’re able to create a single record view. Materialized views? Can you insert into materialized views? No. facility. Erwin. and equipment schedules for a hospital or University. typically as part of the ETL process. business rules. this all takes place prior to the initial load to the target database as well as during the on-going data maintenance and updating processes. but contains no numeric or textual facts. By Cleansing . By cleansing/enhancing the data and combining related records to avoid duplicate entries. Data that describes data and other structures. Embarcedaro. Views storing pre-computed results are called materialized views. Data quality (information quality) is defined as standardizing and consolidating customer and/or business data. DSS (Decision support System). artificial primary keys in alternative to the natural keys like SSN etc. Within Informatica. Data Staging Area. and processes. Definition of Adhoc Queries? What is ODS (Operational Data Store). such as objects. What are surrogate keys? Name a few data modelling tools. Data Presentation Area.The process of resolving inconsistencies and fixing the anomalies in source data. System generated.15 DataWareh simple ousing What is a Fact less fact table ? A factless fact table captures the many-to-many relationships between dimensions. Rational Rose. Oracle Designer. Datawareh 27 ousing simple 9 DataWareh simple ousing What is metadata? What is data quality? 28 ETL simple 46 Datawareh 29 ousing Medium Datawareh 26 ousing simple Datawareh 33 ousing Medium Datawareh 34 ousing Medium 44 How do you achieve data quality? Mining. 45 .
This term can be compared to drill down. which is the process of dividing an information area up into finer and finer layers in a hierarchy. aggregation. indexing. but with the purpose of narrowing in to one small area or item. Explain slice and dice ? . 6 DataWareh simple ousing what is a Hypercube? 11 DataWareh complex/average Explain the performance Partition.. ousing improvement techniques in DW? To slice and dice is to break a body of information down into smaller parts or to examine it from different viewpoints so that you can understand it better.What is Market-Basket 47 analysis? 49 DataWareh average/simple CD Types S ousing Type 1 : Keep Most recent Values in Target Type 2 : Keep a full history of changes in the target Type 3 : Keep the current and previous values in the target. A means of visually representing multidimensional data.
This action might not be possible to undo. Are you sure you want to continue?