Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Information: I took over a SQL Server 2005 that the previous DBA had configured three filegroups to segregate the data onto unique LUNs:

G: Data (Primary)
F: Audit
J: Index

However, the developers are not certain that these Filegroups have been maintained over the last few years. For example, Audit tables or Indexes might be on the primary filegroup and not their respective FG. Also, while I began to try and look into this I don't see any evidence that the server has partitioning setup for these filegroups? Using system tables:

select distinct [partition_number]
from sys.partitions
select *
from sys.data_spaces 

The first query only returns "1" which leads me to believe there are no partitions configured. And the second query returns three FG's (Primary, Audit, and Index).

Question: Does anyone know how I can determine that no partitions exists and/or validate that the data is being stored on it's proper filegroup? Am I wrong in thinking that these filegroups aren't really providing much performance increase without the use of partitioning?

Currently reading through http://msdn.microsoft.com/en-us/library/ms345146.aspx for more information on partitioning, but any advice is welcome!

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

SELECT * from sys.partition_schemes

share|improve this answer
    
I suspect the DBA set up filegroups and directed specific database objects to them, but did actually partition any tables. –  jl. Jul 18 '11 at 17:37
    
Yes, you're correct. Is there any benefit to having these filegroups without using a partition scheme? –  David George Jul 20 '11 at 12:03
    
Any benefit? "Your mileage may vary" :-) . In my experience, I identified high use tables and specifically moved them to their own file group on a separate drive. Then compared query results with a set of base queries and perfmon output to determine if there was improvement. This was usually with a third-party app where we didn't control the schema and code. –  jl. Jul 20 '11 at 13:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.