Monday, 8 August 2011

informatica interview q&a

Data Warehouse FAQ’s

What is a Data Warehouse?

A Data Warehouse is the "corporate memory". Academics will say it is a subject oriented, point-in-time, inquiry only collection of operational data.
Typical relational databases are designed for on-line transactional processing (OLTP) and do not meet the requirements for effective on-line analytical processing (OLAP). As a result, data warehouses are designed differently than traditional relational databases.

What is ETL/ How does Oracle support the ETL process?

ETL is the Data Warehouse acquisition processes of Extracting, Transforming (or Transporting) and Loading (ETL) data from source systems into the data warehouse.
Oracle supports the ETL process with their "Oracle Warehouse Builder" product. Many new features in the Oracle9i database will also make ETL processing easier. For example:
  • New MERGE command (also called UPSERT, Insert and update information in one step);
  • External Tables allows users to run SELECT statements on external data files (with pipelining support).

What is the difference between a data warehouse and a data mart?

This is a heavily debated issue. There are inherent similarities between the basic constructs used to design a data warehouse and a data mart. In general a Data Warehouse is used on an enterprise level, while Data Marts is used on a business division/department level. A data mart only contains the required subject specific data for local analysis.

What is the difference between a W/H and an OLTP application?

Typical relational databases are designed for on-line transactional processing (OLTP) and do not meet the requirements for effective on-line analytical processing (OLAP). As a result, data warehouses are designed differently than traditional relational databases.
Warehouses are Time Referenced, Subject-Oriented, Non-volatile (read only) and Integrated.
OLTP databases are designed to maintain atomicity, consistency and integrity (the "ACID" tests). Since a data warehouse is not updated, these constraints are relaxed.

What is the difference between OLAP, ROLAP, MOLAP and HOLAP?

ROLAP, MOLAP and HOLAP are specialized OLAP (Online Analytical Analysis) applications.
ROLAP stands for Relational OLAP. Users see their data organized in cubes with dimensions, but the data is really stored in a Relational Database (RDBMS) like Oracle. The RDBMS will store data at a fine grain level, response times are usually slow.
MOLAP stands for Multidimensional OLAP. Users see their data organized in cubes with dimensions, but the data is store in a Multi-dimensional database (MDBMS) like Oracle Express Server. In a MOLAP system lot of queries have a finite answer and performance is usually critical and fast.
HOLAP stands for Hybrid OLAP, it is a combination of both worlds. Seagate Software's Holos is an example HOLAP environment. In a HOLAP system one will find queries on aggregated data as well as on detailed data.

What is the difference between an ODS and a W/H?

An ODS (Operational Data Store) is an integrated database of operational data. Its sources include legacy systems and it contains current or near term data. An ODS may contain 30 to 90 days of information.
A warehouse typically contains years of data (Time Referenced). Data warehouses group data by subject rather than by activity (subject-oriented). Other properties are: Non-volatile (read only) and Integrated.

What Oracle tools can be used to design and build a W/H?

Data Warehouse Builder (or Oracle Data Mart builder), Oracle Designer, Oracle Express, Express Objects, etc.

When should one use an MD-database (multi-dimensional database) and not a relational one?

Data in a multi-dimensional database is stored as business people views it, allowing them to slice and dice the data to answer business questions. When designed correctly, an OLAP database will provide must faster response times for analytical queries.
Normal relational databases store data in two-dimensional tables and analytical queries against them are normally very slow.

  What is a star schema? Why does one design this way?

A single "fact table" containing a compound primary key, with one segment for each "dimension," and additional columns of additive, numeric facts.
Why?
  It allows for the highest level of flexibility of metadata
  Low maintenance as the data warehouse matures
  Best possible performance


When should you use a STAR and when a SNOW-FLAKE schema?

The star schema is the simplest data warehouse schema. Snow flake schema is similar to the star schema. It normalizes dimension table to save data storage space. It can be used to represent hierarchies of information.

What is the difference between Oracle Express and Oracle Discoverer?

Express is an MD database and development environment. Discoverer is an ad-hoc end-user query tool.

How can Oracle Materialized Views be used to speed up data warehouse queries?

With "Query Rewrite" (QUERY_REWRITE_ENABLED=TRUE in INIT.ORA) Oracle can direct queries to use pre-aggregated tables instead of scanning large tables to answer complex queries.
Materialized views in a W/H environments is typically referred to as summaries, because they store summarized data.

What Oracle features can be used to optimize my Warehouse system?

The following Oracle features can be used to compliment your Warehouse system/database:
  • From Oracle8i One can transport tablespaces between Oracle databases. Using this feature one can easily "detach" a tablespace for archiving purposes. One can also use this feature to quickly move data from an OLTP database to a Warehouse database.
  • Data partitioning allows one to split big tables into smaller more manageable sub-tables (partitions). Data is automatically directed to the correct partition based on data ranges or hash values.
  • Oracle Materialized Views can be used to pre-aggregate data. The Query Optimizer can direct queries to summary/ roll-up tables instead of the detail data tables (query rewrite). This will dramatically speed-up warehouse queries and saves valuable machine resources.
  • Oracle Parallel Query can be used to speed up data retrieval by using multiple processes (and CPUs) to process a single task.

1. Q: What is a Star Schema?
A: This is widely used approach for physically modeling a data warehouse. On an Entity Relationship Diagram (ERD) a Star Schema has a single fact table in the center surrounded by multiple dimension reference tables. Together they form the shape of a multi-pointed star.

2. Q: What is a Snowflake Schema?
A: A lot like a Star Schema a Snowflake Entity Relationship Diagram keeps the fact table in the middle but normalizes the dimensional reference tables.  An example would be to break down the Time dimension and create tables for each level; years, quarters, months; weeks, days…  These additional branches on the ERD create more of a Snowflake shape then Star. 

3. Q: Which is better, Star or Snowflake?
A: Strict data warehousing rules would have you use a Star schema but in reality most designs tend to become Snowflakes. They each have their pros and cons but both are far better then trying to use a transactional system third-normal form design.

4. Q: Why can’t I use a copy of my transactional system for my data warehouse? 
A: This is one of the absolute worst things you can do. A lot of people initially go down this road because a tool vendor will support the idea when making their sales pitch.  Many of these attempts will even experience success for a short period of time.  It’s not until your data sets grow and your business questions begin to be complex that this design mistake will really come out to bite you.

5. Q: What is OLAP?
A: OLAP or Online Analytical Processing is a special breed of software tools designed to report and analyze your data. 

6. Q: What is a cube? 
A: Cubes are proprietary data file structures used to hold the data which is been analyzed. With tools such as Cognos the cubes reside on a special cube server. Business Objects actually builds a local cube structure on the client machine when a report is run.

7. Q Why do some OLAP tools (Cognos, Business Objects) use cubes?
A: The primary advantages offered by cubes are;

    • Cubes make it a lot easier to use a bad data model.  Problems and challenges in your model can be essentially ‘hidden’ and corrected within the code that generates the cube and since tools like Cognos build their cubes on server typically off-business hours the performance issues these data models present can be also be hidden from your users.
    • Server-side cubes provide extremely good report performance. You’ve essentially built all the various report permutations a user might ask for and little to know processing has to take place when a request for one is initiated.
  The disadvantages of a cube are;
    • Server-side cubes (Cognos) add an additional layer of complexity, administration, maintenance and point of failure for your Business Intelligence system.  And because your essentially creating one more redundant place your data must be stored the size of your data-sets is limited.
    • Client-side cubes (Business Objects) severely limit the size of data that can be accessed and analyzed in a single report.  For each report a developer must identify the ‘scope of analysis’ and include the entire data-set within the client-side cube.  This means if a user wants to run a quarterly report and then possibly drill-down into the weeks or even days of detail, an entire quarter of daily level data must be replicated down onto the clients machine into a cube file. 
    • Allows for bad data model design.  This is really as much of a disadvantage as it is an advantage.  Bad data modeling will eventually catch-up to you and create performance problems, analysis limitations and ultimately failure.
8. Q: What does MicroStrategy do instead of using cubes and why is it better?
A: MicroStrategy’s approach called ROLAP (relational online analytical processing) skips the entire cube layer and generates highly optimized and database specific SQL for each user request. This means if a user asks for Q4 2001 sales data the tool will create the SQL and return those requested results and nothing more. If the user then decides to drill-down and investigate a specific week or day of interesting activity the tool will generate the appropriate optimized SQL to satisfy the new request.  There is no need to create and maintain an additional redundant layer of cube data, nor is there any requirement to pre-determine the reports full ‘scope-of-analysis’ and fetch a large amount of useless detail data. 


Thursday, 4 August 2011

informatica install in windows7



Officially Informatica PowerCenter version 8.6 is not supported by Microsoft Windows 7 Operating System. However with the help of some hacks, I have successfully installed Informatica PowerCenter 8.6 on windows 7.
I will describe entire process of Installation step-by-step.
Important point: Informatica PowerCenter 8.6.0 is not compatible with Windows 7. If you just install the server, you won’t be able to run it in most of the case.
Solution:- Add server bin directory to PATH variable of your computer.
If installation directory is C:\Informatica\PowerCenter8.6.0
path of bin directory will be C:\Informatica\PowerCenter8.6.0\server\bin
You need to add this value in PATH variable.
How to set the windows path in Windows 7
Step1:- Change compatibility of install.exe to Windows XP SP3.
Server install.exe can be found at following path:-
….PowerCenter_8.6.0_SE_for_Windows_32bit\pc86_win32_x86\Server\Windows\Disk1\InstData\VM\install.exe
Right click on install.exe –> Compatibility tab –> Check box for Run this program in compatibility mode for Windows XP (Service Pack 3).
Step2:- Launch install.bat by double clicking on it.
….PowerCenter_8.6.0_SE_for_Windows_32bit\pc86_win32_x86\install.bat
Step3:- After a few moments, installation wizard will be launched. In the first screen, it will prompt you to select the language.
Informatica-PowerCenter-8.6-Server-Windows7-01
Step4:- Next screen is the welcome screen. Say –> Next.
Informatica-PowerCenter-8.6-Server-Windows7-02
Step5:- If you are installing Inforamtica PC 8.6 first time, select Install option. In case of upgrade from 8.1.1, 8.5 or 8.5.1, select upgrade to PowerCenter 8.6
Informatica-PowerCenter-8.6-Server-Windows7-03
Step6:- License key.
It is the time to provide a valid license key to Installation wizard. You can find this key in installation cd.
Informatica-PowerCenter-8.6-Server-Windows7-04
Step7:- Say –> Next
Informatica-PowerCenter-8.6-Server-Windows7-05
Step8:- Say –> Next
Informatica-PowerCenter-8.6-Server-Windows7-06
Step9:- Provide Installation directory.
Informatica-PowerCenter-8.6-Server-Windows7-07
Step10:- HTTPS configuration.
This configuration will enable secure communication between Admin console and Service manager.
If you are not an advanced user, don’t think too much about this option at this moment. Just let it be like this image.
Informatica-PowerCenter-8.6-Server-Windows7-08
Step11:- If firewall is enabled in the OS, it may prompt you to allow access for Java.
No need to worry much at this moment, Just click “Allow access”.
Informatica-PowerCenter-8.6-Server-Windows7-09
Step12:- Now installation wizard will start actual process. It may take about one minute. You will be having screens like..
Informatica-PowerCenter-8.6-Server-Windows7-10
Informatica-PowerCenter-8.6-Server-Windows7-11
Informatica-PowerCenter-8.6-Server-Windows7-12
Nothing to worry. Just wait and watch.
Step13:- Its time to create a new domain. I assume that this is the first installation of Informatica PowerCenter 8.6 on your Windows 7 OS.
Select –> Create New Domain.
Informatica-PowerCenter-8.6-Server-Windows7-13
it may take a moment of two for configuration.
Again say –> Next.
Informatica-PowerCenter-8.6-Server-Windows7-14
Step14:- Provide database connection for domain configuration metadata.
I have used Oracle database 10g Express edition (XE) for metadata.
Provide userid/password/Connection string/Service name/URL.

Now “Test connection”. If everything is fine, you will get a message like:-
Informatica-PowerCenter-8.6-Server-Windows7-16
Step15:- Information for PowerCenter domain.
Enter Domain name, Node name, Domain user name & Password of your choice.
Domain host name:- either machine name or localhost (assuming local installation).
Informatica-PowerCenter-8.6-Server-Windows7-17
Click on Advanced Configuration.
Informatica-PowerCenter-8.6-Server-Windows7-18
If you are not an advanced user, I will suggest you to not to change anything here. Just say –> OK
Step16:- Wait for a moment.Configuration is going on behind the screen.
Informatica-PowerCenter-8.6-Server-Windows7-19
Step17:- This will be last Step in Informatica PowerCenter 8.6 server installation on Windows 7 operating system.
If you want to run Informatica Services under a different user account, check the box and provide credentials.
Else uncheck the box.
Note:- In my case, I wanted to run informatica services under my userid of laptop, I unchecked this box.
Informatica-PowerCenter-8.6-Server-Windows7-20
Step18:- Once you click Next, you will get Post-installation Summary screen, saying that Installation status is successful.
Informatica-PowerCenter-8.6-Server-Windows7-21
This last status Screen will be having some messages like:-
Administration Console URL : http://lenovo-PC:6001/adminconsole
Domain Name : Domain_RIT_Infa86
Gateway Host Name : lenovo-PC
Administrator User Name : admin
Node Name : node01_RIT_Infa86
Node Port Number : 6001
These are useful information. Save them for future use.
Now you say –> Done
Step19:- Finally one last screen appears.
Informatica-PowerCenter-8.6-Server-Windows7-22
Don’t take any action. It will be automatically disappeared.
So, Now you have successfully installed Informatica PowerCenter 8.6 server on your Windows 7 machine. Now its time to Install Informatica PowerCenter 8.6 Client on WIndow 7.

Monday, 1 August 2011

samsung e2232 full specification




Samsung E2232

Samsung
Samsung E2232
MORE PICTURES
Also known as Samsung E2232 DUOS
General 2G Network GSM 900 / 1800 - SIM 1
  GSM 900 / 1800 - SIM 2
Announced 2011, April
Status Available. Released 2011, Q2
Size Dimensions 109.2 x 46 x 14.9 mm
Weight 79 g
Display Type TFT, 65K colors
Size 128 x 160 pixels, 1.77 inches
Sound Alert types Vibration; MP3 ringtones
Loudspeaker Yes
3.5mm jack Yes
Memory Phonebook Yes, up to 1000 entries
Call records Yes
Internal 40 MB
Card slot microSD, up to 8GB, buy memory
Data GPRS Class 10 (4+1/3+2 slots), 32 - 48 kbps
EDGE No
3G No
WLAN No
Bluetooth Yes, v2.1 with A2DP, EDR
Infrared port No
USB yes
Camera Primary VGA, 640x480 pixels
Video Yes, 128x96@15fps
Secondary No
Features Messaging SMS, MMS, Email
Browser WAP 2.0/xHTML
Radio FM radio
Games Yes
Colors Black
GPS No
Java Yes, MIDP 2.0
 - Dual SIM (dual stand-by)
- Flashlight
- MP3/H.263 player
- Organizer
- Voice memo
- Predictive text input
Battery   Standard battery, Li-Ion 1000 mAh
Stand-by
Talk time
Misc Price group    :::::::2225 rs best price

samsung e2232


Dual SIM

Dual SIM

E2232 will help you take advantage of different calling plans. Have a friend plan on one carrier, but another offers cheaper rates during the work day? Easily choose which card to use when calling certain people or at certain times of the money - and save money while doing it! Another benefit is the coverage offered by different providers - especially when traveling to different regions.
Full Music Experience

Full Music Experience

Let the music come to life anytime, anywhere! The dedicated music key offers instant access and control of your songs. Your entire music library can be stored on microSD (up to 8GB). Listen via your favourite headphones thanks to the 3.5mm ear jack or through the mobile’s loud speakers.
Improved Battery Life

Improved Battery Life

The improved battery life provides up to 9.5 hours of music playtime, so day or night you can groove to your tunes and still stay connected!
Ergonomic and Durable Design

Ergonomic and Durable Design

Designed for comfort and durability, the E2232’s ergonomic features and compact size ensure a secure grip and easy portability, while the anti-scratch pattern on the back cover means the mobile can withstand some rough handling.

Monday, 4 July 2011

TODAY'S NEWS


Today's featured article

A highway sign for U.S. Route 491/666
U.S. Route 491 is a north–south U.S. Highway serving the Four Corners region of the United States. One of the newest designations in the U.S. Highway System, it was created in 2003 as a renumbering of U.S. Route 666. With the 666 designation, this road was nicknamed Devil's Highway because of the common Christian belief that 666 is the Number of the Beast. This satanic connotation, combined with a high fatality rate along the New Mexico portion, convinced some people the highway was cursed. The problem was compounded with persistent sign theft. These factors led to two efforts to renumber the highway, by officials in Arizona and then in New Mexico. Since the renumbering, as a result of safety improvement projects, fatality rates have decreased. The highway runs through Colorado, New Mexico, and Utah, as well as the tribal nations of the Navajo Nation and Ute Mountain Ute Tribe. Features along the route include an extinct volcanic core named Shiprock, Mesa Verde National Park, and the self-proclaimed pinto-bean capital of the world, Dove Creek, Colorado. (more...)
Recently featured: Transformers – The Sun Also Rises – John Brownlee as Attorney-General of Alberta

Did you know...

From Wikipedia's newest content:
River with bushes on the banks.

In the news

Petra Kvitová

On this day...

July 4: Independence Day in the United States (1776)
The Brazilian cruiser Bahia
More anniversaries: July 3 – July 4 – July 5
It is now July 4, 2011 (UTC) – Refresh this page

Today's featured list

White woman wearing a dark jacket over an orange blouse. The United States flag is in the background.
To date, there have been 25 female officers in the United States Cabinet, including Hillary Clinton (pictured), the current Secretary of State. No woman held a Cabinet position before the ratification of the Nineteenth Amendment to the United States Constitution in 1920, which prohibits states and the federal government from denying any citizen the right to vote because of that citizen's sex. Frances Perkins was the first woman to serve in the Cabinet; she was appointed Secretary of Labor in 1933 by President Franklin D. Roosevelt. In 1953, Oveta Culp Hobby became the second woman to serve in the Cabinet, when she was named head of the then newly formed Department of Health, Education, and Welfare in 1953. Patricia Roberts Harris, who was Secretary of Health, Education, and Welfare before the department split and had earlier served as Secretary of Housing and Urban Development in 1977, became the first female Secretary of Health and Human Services in 1979. Harris was also the first African American woman to serve in the Cabinet. (more...)

Today's featured picture

"Join, or Die" "Join, or Die", a 1754 editorial cartoon by Benjamin Franklin, a woodcut showing a snake severed into eight pieces, with each segment labeled with the initials of a British American colony or region (not all colonies are represented). It was originally about the importance of colonial unity during the French and Indian War against France, and re-used in the years ahead of the American Revolution to signify unity against Great Britain.
Restoration: Adam Cuerden

Friday, 1 July 2011

july 1 special....

On this day...

July 1: Canada Day; Independence Day in Rwanda and Burundi (1962)
Remington No. 1 typewriter