Вы находитесь на странице: 1из 15

MetaQuery

User Guide

Table of Content
1. 2. 3. 4. 5. MetaQuery Introduction2 MetaQuery License...2 MetaQuery installation and configuration..2 Accessing MetaQuery through Support console..2 MetaQuery Functionality and Properties...3

5.1 Adding and deleting PowerCenter repository...3 5.2 Connecting to and disconnecting from PowerCenter repository...6 5.3 Running MetaQuery Report.7 5.4 MetaQuery Report : Properties....11 5.4.1 Session..11 5.4.2 Workflow12 5.4.3 Mapping.12 5.4.4 Transformation.13 5.4.5 Permissions..13 5.5 Managing Users..14 6. 7. Updating MetaQuery..14 MetaQuery : Support Policy..14

1.

MetaQuery Introduction
MetaQuery which was a standalone Informatica tool, is now embedded in Support Console. This is a tool to query against PowerCenter repository for key properties in sessions, workflows, and mapping objects.

2.

MetaQuery License
MetaQuery is available to all Informatica Customers with no additional cost.

3.

MetaQuery installation and configuration


You will need to install Support Console to access MetaQuery. For more information on installing and configuring Support Console, please refer to Prerequisites and Configuration Guide available with the download.

4.

Accessing MetaQuery through Support console


After installing Support Console, access Support Console using the URL: http://<hostname>:<portnumber>.

4.1 Default port number is 25000 and you can change this during the installation. For more details on installation, see Pre-Requisites and Installation Guide. 4.2 Default user-name and password for Support Console is admin / admin.

5.

MetaQuery Functionality and Properties


MetaQuery is a tool that uses JDBC to connect to PowerCenter repository database via credentials provided. Currently the tool supports repository in Oracle, DB2, and SQL Server. The following are some of the features of this tool: This tool displays a list of properties for sessions, workflows, mappings that can be used for querying purposes, on the left pane (There are different properties currently supported). Click on any of the property on the left pane and the right pane displays the options to query on the selected property. After making selections from the right pane, click on Get Details button.

Once you get the details, you can export it to CSV format or get it as an email attachment.

5.1 Adding and deleting PowerCenter repository


To add a repository, Go to My Repositories > Actions > Add Repository. Note: You can add and connect more than one repository. Each repository will be displayed as a tab.

In the Repository Properties dialog, provide the following details:

Field Name User Name Password Oracle/SQL Server/DB2 Host Port Service/Database

Description User name of the repository database Password of the repository database Database of your repository Host name of the database Port Number of the database Service Name for Oracle. Database for DB2

Click Test, to test the repository connection. Note: When the test connection is successful, then it will display the Repository name and if it is Versioned or Non- Versioned.

Click Save to save the Repository Connection details. Click Connect to connect to the repository. You can also connect to an existing repository through Actions.

To delete a repository, click on Reports >> MetaQuery tab. Highlight the repository that you wish delete. And under Actions Menu, click Remove Repository as shown below.

5.2 Connecting to and disconnecting from PowerCenter repository


To connect to an existing repository,
1. Select the repository under My Repositories. 2. Go to Actions > Connect Repository.

Alternatively, you can also double click on the repository to connect to it.
3.

Enter the password in the Repository Connect dialog.

To disconnect from a repository,


1. 2.

Select the repository under My Repositories. Go to Actions > Disconnect Repository.

Alternatively, you can also double click on the repository to disconnect to it.

5.3 Running MetaQuery Report


When you expand the (newly) added repository, it will display the queries for the following: Session Mapping Workflow Transformation

To get the details of the property, Select the property and click Get Details.

For Example, Select Target Load Type under Session. To filter your search, you can choose to run the MetaQuery on a specific Folder. Depending on the property, different parameters are displayed. You can choose the Value(s) accordingly.

The description of the selected property will be displayed against Description. For Versioned repository, some properties may not produce correct results. A Warning will be displayed and a small red cross is displayed against the property name.

In the Filter section, you can filter the results by using the following: Keywords

Filter by Column: To add or remove columns from the results page, click in the

icon.

From the Column Selection dialog, you can choose to make a column visible or invisible.

The results are displayed page wise. To go to a certain page, enter the page number or navigate to the that page using the arrow keys.

You can export the results to CSV file by clicking on the You can also email this result by clicking on the attachment to user who is logged in.

icon

icon. A CSV file will be sent as email

5.4 MetaQuery Report: Properties


The following properties are supported in MetaQuery:

5.4.1 Session
1. Target Load Type 2. Stop on Errors 3. DTM Buffer Size 4. Buffer Block Size 5. Enable Test Load 6. Enable High Precision 7. Collect Performance Data 8. Commit Interval 9. DB Connection 10. Database Connection Variable 11. FTP Connection 12. Loader Connection 13. Application Connection 14. $ Source Variable 15. $ Target Variable 16. Session Recovery Strategy 17. Session on Grid 18. Override Tracing 19. Pre-session Command 20. Post-session Command 21. Truncate Table Option 22. Sessions in Worklets 23. Log File Directory 24. Log File Name 25. Treat Source Row as 26. Commit Type 27. Incremental Aggregation 28. 8.5.x. Sess_Level_Custom_Property 29. Pre 85 Timestamp Compatibility 30. Constraint based Load Ordering 31. Source File and Directory 32. Target File and Directory 33. Reject File and Directory 34. Session Instance General Options

35. Maximum Memory 36. Maximum Percentage of Total Memory Allowed 37. Additional Concurrent Pipeline 38. Pre-build Lookup Cache 39. Dynamic Partitioning 40. Pushdown Optimization 41. Session Parameter 42. Error Table1 or Error Table2 43. Session Run Status 44. Session Throughput and Load Time 45. Webservice Consumer URL 46. Running Realtime Session 47. Not-running Realtime Session currently 48. Email User 49. Source File type for Flat file source 50. Mload and TDPID 51. Teradata Fast Export

5.4.2 Workflow
1. Enable HA Recovery 2. Suspend on Error 3. Automatically Recover terminated tasks 4. Parameter File Name 5. Workflow Log Directory 6. Workflow Log Filename 7. Workflow Schedule Option 8. Workflow Run Statistics 9. Commands in Command Tasks 10. Worklets in Workflow 11. File Based Lookup delimiter 12. Workflow Session Mapping 13. Concurrent Workflow 14. Workflow Integration Service

5.4.3 Mapping
1. SQL Override in SQ 2. SQL Override in Lookup 3. Source Table 4. Target Table

5. Owner Name for source 6. Table Name Prefix for Target 7. Target table update else insert options 8. Target table update as update options 9. Target table update as insert options 10. Lookup Table 11. Mapping file based Lookup Delimiter 12. Flat file Row Delimiter 13. Source and Target of a Mapping 14. Missing Reference Objects 15. Mapping with Flat file information as source or target 16. Precision 17. Mapping transformation

5.4.4 Transformation
1. Source File delimiter 2. Target File delimiter 3. SQ SQL override 4. Lookup SQL override 5. SQLs from SQL Transformations 6. Router Group and Group Condition 7. Data Cache and Index Cache 8. Cache Directory 9. User Defined Function 10. PC transformation with junk data*

5.4.5 Permissions
1. Permission on Folders 2. Permission on Labels 3. Permission on Deployment Groups 4. Permission on Queries 5. Permission on Connection objects

5.5 Managing Users


The Admin tab on Support Console will let you configure parameters for other features of support console. One of the features that might be of interest is to restrict access to support console by changing password of admin users, creating and configuring users. To learn more about managing support console users, please refer to Admin >> Configure users of Prerequisites and Configuration Guide available with the download.

6. Updating MetaQuery
Any new updates of MetaQuery are available as Support Console updates. For more information, refer to following KB: HOW TO: Upgrade Support Console using Support Console Agent

7. MetaQuery : Support Policy


Support for MetaQuery is available to customers with valid Support Contract only. For any help / issues related to MetaQuery or Support Console, please raise a support ticket at http://my.informatica.com with a valid Project ID.