Solved

With (nolock) in cube project

Posted on 2007-11-30
3
551 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

734 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