My company just provided me with SQL Server 2005 Enterprise Edition and I wanted to partition some tables with large(r) amounts of data. I have about about 5 or 6 tables which would be a good fit to partition by datetime.
There will be some queries that need 2 of these tables in the course of the same query.
I was wondering if I should use the same partition scheme for all of these tables or if I should copy the partition scheme and put different tables on each one.
Thanks for any help in advance.
You should define your partition by what makes sense for your domain. i.e. if you deal primarily in year quarters, create 5 partitions (4 quarters + 1 overspill).
You should also take into account physical file placement. From the MSDN article:
These two articles may be useful:
Partitioned Tables in SQL Server 2005
Partitioned Tables and Indexes in SQL Server 2005