473,465 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Partition Merge Performance - Sql Server 2005

Does anyone know of any documentation on the performance of partition
merge/split? Does the merge or split of a partition cause any locking
on the partitioned table? If you were merging or splitting a large
volume of data rebalancing your partitioned table would you
potentially lock users out?

Mar 8 '07 #1
2 4773
Yes, performing partition maintenance during application operation can cause
blocking and perhaps deadlocks. Here's what the Books Online says:

<Excerpt
href="ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/70866dac-0a8f-4235-8108-51547949ada4.htm">

ALTER PARTITION FUNCTION repartitions any tables and indexes that use the
function in a single atomic operation. However, this operation occurs
offline, and depending on the extent of repartitioning, may be
resource-intensive.

</Excerpt>

You mention rebalancing so I assume your goal is to distribute data roughly
evenly over multiple partitions so that you can more easily manage smaller
data subsets instead of one huge table. In that case, I would think you
would have a good idea of data distribution beforehand so you wouldn't need
to adjust partition boundaries. In general, partitioning changes should be
treated like schema changes and not done during normal operation.

Planning is important if you want to maximize partition maintenance
performance. For example, in a sliding window scenario one should plan
partitioning so that a SPLIT does not require data movement. SPLIT and
MERGE can be very fast, requiring only meta data changes. Conversely,
splitting a partition with a lot of data can be resource intensive and
reduce availability.

--
Hope this helps.

Dan Guzman
SQL Server MVP

<ea****@cdc.govwrote in message
news:11**********************@30g2000cwc.googlegro ups.com...
Does anyone know of any documentation on the performance of partition
merge/split? Does the merge or split of a partition cause any locking
on the partitioned table? If you were merging or splitting a large
volume of data rebalancing your partitioned table would you
potentially lock users out?
Mar 11 '07 #2
I'm assuming that

"However, this operation occurs
offline, and depending on the extent of repartitioning, may be
resource-intensive. "

means that effected indexes/tables etc are locked until the
repartitioning is finished.
(Versus on-line which would allow users to proceed).

As far as the indexes go, it maybe cheaper to drop the index, change
the function, then re-create the index.


Mar 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

41
by: Xah Lee | last post by:
here's another interesting algorithmic exercise, again from part of a larger program in the previous series. Here's the original Perl documentation: =pod merge($pairings) takes a list of...
1
by: Joriveek | last post by:
Trying to install SQL Server 2005 beta version on partition disk drive say F:\ (Other than local disk drive c:\), Does anyone know how can I do this? During the installation, it never asks me on...
5
by: Janick Bernet | last post by:
I'm going crazy trying to write a working merge-statement. Why doesn't the following work: MERGE INTO utSystem.t_Filter_Results AS Res USING (SELECT 9 as clubid, 50 as filterid, ID as MemberID...
3
by: Marc C | last post by:
Hello, I have a SQL 2000 installation on a small partion that I would like to move to a second larger partion on the same disk array array with the config as follows: d: full installation of prod...
0
by: sk.rasheedfarhan | last post by:
Hi all, I set the configuration for Merge replication for Subscription on one database and I have created the Merge replication for publication on another machine. And I updated columns of...
4
by: eavery | last post by:
I can't seem to find a way to do the following: create table part_table ( col1 int, col2 datetime ) on psX (datename(week,col2)) I want to partition based on the week number of a date field....
0
by: eavery | last post by:
Does anyone know of any documentation on the performance of partition merge/split? Does the merge or split of a partition cause any locking on the partitioned table? If you were merging or...
0
by: Vinod Sadanandan | last post by:
Table Partition Performance analysis ============================================ Collection of Statistics for Cost-Based Optimization/DBMS_STATS vs. ANALYZE The cost-based approach relies on...
0
debasisdas
by: debasisdas | last post by:
SAMPLE CODE TO CREATE SUB PARTITIONS ======================================= RANGE-HASH-9i ------------------------- CREATE TABLE SUBPART ( ID NUMBER(10) PRIMARY KEY, NAME VARCHAR2(20) )
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.