Wednesday, 11 September 2013

Components under Workflow Manager Tool

Here is a concise idea about the Workflow Manager in Informatica.

1.  Workflow: This is top level object and the entire task (process) for data loading has to be defined under the workflow. It is like a Mapping that integrates different kind of tasks as a Unit.


2.  Task: A task is an individual process to perform a very specific activity during data loading. There are 10 different kinds of tasks that can be grouped under a Workflow:

Friday, 6 September 2013

Informatica Stored Procedure Properties


Informatica Stored Procedure
------------------------------------------
Some of the properties of stored procedure transformation in Informatica are listed below


Location Information:
Use system variables $SOURCE or $TARGET or ODBS Data Source Name to define the location of Stored Procedures.

Stored Procedure Type:
  • ·         Normal:
In this case it is a Connected Stored procedure that receives values from One or More Transformations and passes the value to Target Table or Other Transformations.

  • ·         Source Pre Load:
It is Unconnected Mode and is used to perform Database Level task silently without any return value. This type of Stored Procedure is executed automatically when Data Query is about to start from Source Databases.

  • ·         Source Post Load:
Same as Source Pre Load but it is executed automatically when Data Query is completed from source databases and Data Transformation is about to start.

  • ·         Target Pre Load:
Same as Source Pre Load but it is executed automatically when Data Loading is about to start after Transformation.

  • ·         Target Post Load:
Same as Source Pre Load but it is executed automatically when Data Loading into target Database is completed.
      
 Some of the uses of Unconnected Mode Stored Procedures are:
    • To delete all records from Target Database,
    • To make backup/copy of target database tables,
    • To enable or disable database users before data loading
    • To restore data from Backup Tables if data loading fails, etc.
Note: In the case of Unconnected Stored Procedure, we mostly use Procedures since procedures can be defined without any Return Value while Functions must return a value.

Call Text
Write the syntax to call Procedure or Function if the Stored Procedure is defined for other than 'Normal'. In case of PL/SQL procedures or functions, syntax will be:
            <Procedure name> [(<value list>)];
            <Function name> [(<value list>)];

 Note: Stored Procedure must have an Output Port to receive value.


 

Thursday, 5 September 2013

NO SQL- NOT ONLY SQL

“NoSQL  just means non-relational and not SQL”


NoSQL is a class of database management system that doesn’t use structured query language for data processing. This set of database is useful while working with huge volume of data. NoSQL databases are known for being able to handle high volume data that doesn't fit the relational model, i.e. why companies like Amazon, Facebook, and Google go for it. NoSQL was an answer for all the shortcomings of relational databases. MongoDB (Document Database) is one of examples of NoSQL database.

Relational database where introduced in the late 70s to store data in an organized manner. With the arrival of social networks and more web products the amount of data has become out of control. Relational database were not designed to handle the huge amount of data

Big Data, Big Users, and Cloud Computing are taking the option of NoSQL technology as an alternative to relational databases.Examples are Apache Cassandra,CouchDB,Hadoop & Hbase,MongoDB,StupidDB,BigTable Etc.

Comparison with SQL Systems
1. More flexible, faster and high performance
2. Schema Free, No predefined Schema
3. ACID transaction properties are not needed. ACID (atomic, consistent, integrity, durable) is a set of properties that guarantees that database transactions are processed reliably.



TYPE OF NO SQL DATABASES
1.Column: Each storage block contains data from only one colum
Eg:HBase, Accumulo
2.Document: Stores documents made up of tagged elements
Eg: MongoDB, Couchbase 
3.Key-value : Allow the application to store its data in a schema-less (key, value) pairs
Eg: Dynamo, Riak, Redis, Cache, Project Voldemort 
4.Graph: Example : Neo4J, Allegro, Virtuoso

Tuesday, 27 August 2013

Types of Dimensions

Dimension
A dimension table typically has two types of columns, primary keys to fact tables and textual\descriptive data.
Eg: Time, Customer

Types of Dimensions
  1. Slowly Changing Dimensions
  2. Rapidly Changing Dimensions
  3. Junk Dimensions
  4. Inferred Dimensions
  5. Conformed Dimensions
  6. Degenerate Dimensions
  7. Role Playing Dimensions
  8. Shrunken Dimensions
  9. Static Dimensions 
Slowly Changing Dimensions
Attributes of a dimension that would undergo changes over time. It depends on the business requirement whether particular attribute history of changes should be preserved in the data warehouse. This is called a slowly changing attribute and a dimension containing such an attribute is called a slowly changing dimension.
Related Posts Plugin for WordPress, Blogger...

ShareThis