MySQL Forums
Forum List  »  Partitioning

Re: Possible to partition on client id and year/month from timestamp?
Posted by: Jon Stephens
Date: May 22, 2025 07:32AM

Hi!

I think you can achieve what you want using subpartitioning: Partition the tale by client ID, then subpartition by timestamp--or the other way around if you like.

See https://dev.mysql.com/doc/refman/9.3/en/partitioning-subpartitions.html for syntax and an example or two.

cheers

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Possible to partition on client id and year/month from timestamp?
868
May 22, 2025 07:32AM


Sorry, you can't reply to this topic. It has been closed.

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.