Solved

With (nolock) in cube project

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

919 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

19 Experts available now in Live!

Get 1:1 Help Now