?
Solved

snapshots

Posted on 2010-11-28
5
Medium Priority
?
417 Views
Last Modified: 2012-05-10
How we will use snapshots  in oracle 11g?
Could you expain why?
0
Comment
Question by:nobleit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Expert Comment

by:mshakeb
ID: 34224467
u should have snapshot software
0
 
LVL 7

Accepted Solution

by:
jocave earned 2000 total points
ID: 34225001
"Snapshot" is a rather old term for what are now known as materialized views (CREATE SNAPSHOT is still supported syntax, but "materialized view" has been the preferred term since at least 9.0.1).  Materialized views have two general use cases

1

In a data warehouse, materialized views are used to pre-aggregate data so that queries can be made more efficient.  For example, if you have a warehouse with transaction-level data, you might create a materialized view that aggregates the data to the day.

2

In order to replicate data from one Oracle database to another, you create a materialized view on the destination database that selects the data from the source database over a database link.
0
 
LVL 5

Expert Comment

by:anand_20703
ID: 34282565
Take advantage of MV's with the below points
1) Use refresh fast option instead of complete.
2) Use query rewrite enable
3) try to avoid MV which fetches the data using the database link. If it cannot be avoided, try to reduce the amount of data that is fetching. eg. instead of pulling 2 years data, pull 1 year data or few months data. Because fetching data over the network/database link if it is huge will create tension.If it is a critical process in critical time, then after running for 6 hours, if the MV refresh fails, then people will be on toes. Very important to focus on the process that involves MV.
4) If huge data pulling is unavoidable, try creating to MV's. eg. 1 MV for 1 year data and 2nd MV for 2 year data.. So that both MV refreshes can be run in parallel to reduce the overall completion time.
5) IUse 32k block size tablespace for MV to increase the speed dramatically
6) many more to explore....
0
 

Author Comment

by:nobleit
ID: 34432596
Sorry for the delay. The issue is solved. Thank you for all your support..
0
 

Author Comment

by:nobleit
ID: 34528790
please accept jocave and give points
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question