Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Can Collocation be helpfullin following situation.
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

17 Posts

Posted - 12/06/2013 :  02:36:32  Show Profile  Reply with Quote

I was trying to partition my tables , and also read about Collocation.

q1) I would like to know whether i will get benefit of Collocation in following situation or not.

q2) Should i make clusterd index on partition key Pid

q3) will it get benefit from partitioning.

I have a table "A" and "B" with many columns and it has one Partition key Pid with is not unique.
with in a table Pid repeates 3 or 4 times.

Both are partitioned, since the partition key is not unique.
so at many places i have to use following query.

1) Select * from A
join (select Distinct pid , tname from B) B1
on =
where ......

2) Select * from A
where exist (select pid , tname from B
on =

yours sincerly
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000