Solved

With (nolock) in cube project

Posted on 2007-11-30
3
543 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 125 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Viewers will learn how the fundamental information of how to create a table.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now