Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Normal View, Materialised View and Bitmap Index

This is a discussion on Normal View, Materialised View and Bitmap Index within the Oracle forums, part of the Databases category; Question asked by Visitor Gnaneshwar What is materialised view? Compare normal view and materalised (snapshot) view? What Bitmap Index? Compare with normal index?...

Go Back   Geeks Talk > Databases > Oracle
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 191 Times in 153 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
Normal View, Materialised View and Bitmap Index

Question asked by Visitor Gnaneshwar

What is materialised view?
Compare normal view and materalised (snapshot) view?
What Bitmap Index? Compare with normal index?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-22-2007
Junior Member
 
Join Date: Apr 2007
Location: india
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
balasubramanian.j is on a distinguished road
Re: Normal View, Materialised View and Bitmap Index

Quote:
Originally Posted by Geek_Guest View Post
Question asked by Visitor Gnaneshwar

What is materialised view?
Compare normal view and materalised (snapshot) view?
What Bitmap Index? Compare with normal index?
Hi,

Materialized view is a also type of view. It is basically used in the datawarehousing environment. For generating report sort of thing this mat. view.

If to use the normal view, we need to explictly say the view name. But the optimizer by default checks the materialized view if it is available and uses it. (Just like how it finds the index).

Now coming the index.

By default the default index is B-Tree(Balanced-Tree) index. The difference between this and bitmap is :
1.Bitmap is mainly used in the columns where it contains the low-cardinal values.
2.The efficiency and the performance of using Bitmap in low cardinal valued columns is great. Why because it uses bitmap values (biinary values 0,1) to store the information.

Hope this helps

Balasubramanian.J
Reply With Quote
  #3 (permalink)  
Old 05-27-2008
Junior Member
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ggazulas is on a distinguished road
Re: Normal View, Materialised View and Bitmap Index

hi,

The big difference between View and Materialise view , is a view will not take space in the memory where as a materialised view will take some space in the memory.

Bitmap indexes are generally used for dataware housing. The reason is these indexes are suitable only for the columns with low cordinality(low uniqueness). As the data in the dataware house is not normalised in nature, these indexes are best suitable.It will create an index for every column with o's and 1's.

General index will be based on the address, it will create an address for every row in the table.
Reply With Quote
  #4 (permalink)  
Old 05-28-2008
Expert Member
 
Join Date: Sep 2007
Posts: 738
Thanks: 22
Thanked 67 Times in 65 Posts
krishnaindia2007 is on a distinguished road
Re: Normal View, Materialised View and Bitmap Index

>>What is materialised view?
- A materialised view is a database object that stores the result of a query in a database.
- A materialised view allow you to maintain copies of remote data on your local node.
- Materialized views, which store data based on remote tables are also, know as snapshots.


>>Compare normal view and materalised (snapshot) view?
-A view contain no data of its own but it is like a window through which data from tables can be viewed or changed where as materialised view stores the output of a query in database.
-After the update, the view data matches the table data but the materialized view data does not.Data in materialized views must be refreshed to keep it synchronized with its base table.

>>What Bitmap Index?
A bitmap index is a type of index that uses a string of bits to quickly locate rows in a table.


>>Compare with normal index?
Conventional wisdom holds that bitmap indexes are most appropriate for columns having low distinct values—such as GENDER, MARITAL_STATUS, and RELATION. This assumption is not completely accurate.

For clear explanation with examples follow the link
Reply With Quote
The Following User Says Thank You to krishnaindia2007 For This Useful Post:
Reply

  Geeks Talk > Databases > Oracle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to view constraints? Bhuvana07 Oracle 6 02-13-2009 07:27 PM
B-tree index and Bitmap index Lokesh M Data Warehousing 1 12-14-2008 06:01 AM
Not able to view the script Geek_Guest LoadRunner 5 01-23-2008 08:15 PM
Hill View!! intresting smart_coder Brainteasers 3 01-29-2007 12:53 AM
WebSphere V5.0 : Use hierarchy view Lokesh M Web Tools 0 06-10-2006 09:12 AM


All times are GMT -4. The time now is 02:57 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved