Dale,
Online Table Move would be the correct technology for partitioned tables
where we are trying to re-size the underlying area.
Online Area Move would not do the resizing that is requested.
Kevin
Kevin Shuma
Director of Engineering
*Broadcom Software*
5465 Legacy Drive, Plano, TX 75024-3106
Mobile: 214 280-5907
kevin.shuma@broadcom.com<
kevin.shuma@broadcom.com>
<http: broadcom.com/="">
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Original Message:
Sent: 7/7/2022 3:37:00 PM
From: Dale Russell
Subject: RE: Manipulating massive year-based partitions
Steve,
Thanks for bringing up your situation and initiating this conversation. We would be open to you going to the Datacom Ideas board and submitting a request that we allow ONLINE_AREA_MOVE for partitioned tables. Would you do that?
Dale
------------------------------
Dale Russell
Product Owner, Datacom Product Family
Broadcom Software
------------------------------
Original Message:
Sent: Jun 23, 2022 03:12 PM
From: Steve Roy
Subject: Manipulating massive year-based partitions
We have a massive 7 year retention table that is partitioned on the last digit of the year, hence 2 of the 10 partitions always have 0 rows, one is increasing and one is decreasing. It is always accessed by the original table name, just as it was before being partitioned.
04 CREATE-DATE.
05 CREATE-DATE-CCY
PICTURE 9(3).
05 CREATE-DATE-Y <== the partition key
PICTURE 9(1).
05 CREATE-DATE-MM
PICTURE 9(2).
05 CREATE-DATE-DD
PICTURE 9(2).
The past couple years' data files are each about a million tracks and over 600 million rows.
2 questions:
1 - What is the best method of removing all excess disk allocation from the empty files, which would be done on an annual basis, as rows are deleted daily?
2 - What recommendations would there be for a conversion to month-based partitioning, which would eliminate the reason for my first question?</http:></kevin.shuma@broadcom.com>