Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

With (nolock) in cube project

Posted on 2007-11-30
3
Medium Priority
?
558 Views
Last Modified: 2013-11-16
Just a quick one, in my cube project, in the Named queries for the dimensions and measure, should I be using With(nolock)?  i.e. will it make processing the cube quicker?
0
Comment
Question by:kinton
3 Comments
 
LVL 10

Accepted Solution

by:
lahousden earned 500 total points
ID: 20382784
The brief answer is "yes" - dimension tables are traditionally less likely to be changing often, so you should be mostly safe from the possibility of presenting inconsistent data...
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 20384354
<<i.e. will it make processing the cube quicker?>>
Not necessarily.  It mainly will decrease the chance for your query to time out by  avoiding blocking locks (dirty reads)...If you want to make your processes faster, make sure the feeding processes are well tuned(indexes, structure, code, filegroup, partiion, you name it....)

Hope this helps...
0
 
LVL 2

Author Comment

by:kinton
ID: 20394758
Excellent, thanks for the info guys.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

824 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