Quantcast
Channel: SCN : Popular Discussions - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 1302

Isolation level Snapshot

$
0
0

Hi there.

 

We have a large materialized view, which collects data from several underlaying tables at the same time (both outer and inner joins).

The view is used in a rather large web BI-application, where updated data is important.

We tried to use immediate refresh, but that was a complete disaster in performance.

So this view is manual, and we've created an event that refreshes the view every 2 hours.

 

One issue is that the web-application hangs during refresh, since the view is unavailable. Is there any solution to this?

 

Another issue is that the users of our main Powerbuilder-application experiences some hangs and slowness when the view is refreshed.

In the beginning we refreshed using SHARE MODE, but now we're using READ COMMITED.

 

The big question is: should we use SNAPSHOT?

And in case of no: why not?

Is there any big drawbacks with SNAPSHOT (the reason why I wonder, is because the option is set to OFF by default in the database).

 

Hope some of you can help me shed some light on this matter and hopefully has some good ideas.

 

Regards,

 

Bjarne


Viewing all articles
Browse latest Browse all 1302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>