Solved

Data Warehouse Workloads - nonclustered indexes are not required

Posted on 2014-07-17
2
282 Views
Last Modified: 2014-07-18
Hi experts,

i am reading about: Data Warehouse Workloads
but i do not understand:
Large numbers of nonclustered indexes are not required
0
Comment
Question by:enrique_aeo
[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
2 Comments
 
LVL 65

Assisted Solution

by:Jim Horn
Jim Horn earned 100 total points
ID: 40203659
I'm a developer and not a DBA, so there will be other experts that can give you a more exact answer, but I'll give this a whack...

A table can have only one clustered (i.e. rows are physically ordered) index.  
All other indexes are non-clustered.  Each nonclustered index takes up disk space to store, and processing time when you insert or delete.

The more non-clustered indexes you have, the more memory (bloat) the table stores, and the longer it takes to insert and update.  So there's a certain point of diminishing returns with more indexes.

Also, if tables are huge, and searchability is a big requirement, many companies will make multiple copies of a table for reporting purposes, each one indexed differently (say by customer, address, age, etc) to be optimized for that specific search.

Good luck.
Jim
0
 
LVL 45

Accepted Solution

by:
Kent Olsen earned 150 total points
ID: 40203749
Hi Enrique,

I've found a couple of articles that use that exact phrase.  The statement is very narrow in scope and refers to specific queries that filter few rows.

In truth, an effective data warehouse requires indexes.  Often times many indexes, depending on the design, data, data volume, and query needs.

Don't get caught up in the misleading statement "Large numbers of nonclustered indexes are not required".  They are required.

The data in a data warehouse is often static (or semi-static).  Update/Insert timing considerations generally don't come into play when determining if the warehouse needs indexes.


Kent
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SQL Server connect issues 4 38
push and Pull replication 31 46
Rebooting Witness SQL Server 2 25
SQL Server Express automatically execute SQL or SP 8 30
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to take different types of Oracle backups using RMAN.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

735 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