Possible to partition on client id and year/month from timestamp?
Posted by:
M Z
Date: May 21, 2025 12:20PM
Hi! Is it possible to partition on my_client_id and my_table_timestamp? I am not doing it for performance but rather the ability to archive and then delete entire partition per client id per month.
Here's a sample DDL:
CREATE TABLE `my_table` (
`my_client_id` int NOT NULL,
`my_table_id` bigint NOT NULL DEFAULT '0', -- auto increment
`my_client_location_id` int DEFAULT NULL,
`my_table_timestamp` timestamp NOT NULL
);
Many thanks in advance,
Subject
Views
Written By
Posted
Possible to partition on client id and year/month from timestamp?
44
May 21, 2025 12:20PM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.