x

Partitioned table with read-only filegroups

Is it possible to have a partitioned table with some of its filegroups in read/only mode?

more ▼

asked Oct 27, 2009 at 02:26 PM in Default

Alberto De Rossi gravatar image

Alberto De Rossi
148 7 7 9

(comments are locked)
10|1200 characters needed characters left

3 answers: sort voted first

Readonly filegroups have benefits around locking and backups, so partitions that are spread across a combination of writable and readonly partitions can give major benefits.

It's most definitely encouraged...

more ▼

answered Oct 27, 2009 at 07:32 PM

Rob Farley gravatar image

Rob Farley
5.7k 16 18 20

(comments are locked)
10|1200 characters needed characters left

Yes, that's one of the main reasons for setting up partitioning.

more ▼

answered Oct 27, 2009 at 02:52 PM

Grant Fritchey gravatar image

Grant Fritchey ♦♦
101k 19 21 74

Grant: I thought the main reason for partitiong was speeding up your queries against big tables; what about parallel processing?
Oct 27, 2009 at 04:23 PM Alberto De Rossi
Xactly. Speed up processing. Read only file groups are going to process quite a bit faster than ones that can take data.
Oct 27, 2009 at 06:41 PM Grant Fritchey ♦♦
(comments are locked)
10|1200 characters needed characters left
I have any application which has old data (as old as 8 years). we are thinking of paritioning into RO and RW partitions. but sometime the older data gets modified. So how do we move data from Read Only Partition to Read Write Partitions before we can modify the data?
more ▼

answered Jan 24, 2011 at 10:38 PM

Ramakrishnan Nagasamy gravatar image

Ramakrishnan Nagasamy
11 1 1 2

@Ramakrishnan Nagasamy, Please ask your comment as a new question so that your question will get more attention and response
Jan 24, 2011 at 11:02 PM Cyborg
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x1948
x51

asked: Oct 27, 2009 at 02:26 PM

Seen: 2788 times

Last Updated: Oct 29, 2009 at 11:22 AM