materialized view refresh

I have a couple of materialized views that i currently refresh on demand.

I need to have them automatically refreshed.

how can i alter these mviews without having to force a complete refresh when i alter?

i have a couple of views that i want to refresh on sundays, a couple that i want to refresh daily.


another question is, can i refresh multiple views at the same time?

say, i have 5, 3 gig tables that i want to refresh at 3am every night.

the source tables are on a mssql server.

will my bottle neck be processing power at the mssql server? or network bandwidth.

thanks
FutureDBA-Asked:
Who is Participating?
 
slightwv (䄆 Netminder)Connect With a Mentor Commented:
>>We cannot answer this.  We don't know your system.

Describing your hardware really doesn't help.  There are way to many factors involved for us to help.  You need to look at the amount of data that will be refreshed across the wire, how fast the disks/servers can process it, etc...

You can create smaller tables and set up some tests and attempt to forecast the final actual numbers.

For example:
Create a table with 100,000 rows, set up the materialized view, perform a percentage of DML that you believe will represent actual changes and time it.

Then create 200,000 rows, time it.

etc...  

Then you can start to build a behavior that may allow you to forecast actual times and possibly predict where you may run into problems.

Just knowing the setup is sort of like asking:
I have a Ferarri with a top speed of 150 MPH.  How long will it take me to drive through Chicago and where will I be slowed down?
0
 
FutureDBA-Author Commented:
anyone?
0
 
slightwv (䄆 Netminder) Commented:
You can alter the view and provide a start and next time.

An example of this can be found in the link below:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2664480900346253895

The online docs should also have examples.

>>will my bottle neck be processing power at the mssql server? or network bandwidth.

We cannot answer this.  We don't know your system.

>>anyone?

This does nothing.  There are no automated alerts that go out to Experts that are not already involved in the question by posting this.
0
 
FutureDBA-Author Commented:
We cannot answer this.  We don't know your system. <<

Source server = 4 quad core xeons with 16 gigs of ram.
Target ORacle server = 16 core VM with 32 gigs of ram

I can connect both boxes to a gig-e switch on the networking side.



This does nothing.  There are no automated alerts that go out to Experts that are not already involved in the question by posting this.<<

Apologies
0
 
FutureDBA-Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.