I am designing a new laboratory database.
My primary data tables will have at least id (PK NUMBER) and created_on (DATE). Also, for any two entries, the entry with a higher id will have a later created_on date.
I plan to partition by created_on to increase performance on recently entered data. Since the columns increase together, the table would also be partitioned by id, implicitly. Oracle wouldn't know about the implied partitioning by id to take advantage of the partitioning of table joins on id.
Two questions:
How do I enforce both columns increasing together?
How can I take advantage of this implicit partitioning for table joins?