Re: Unable to create partition InnoDB
This part made me think
Each of the following statements is valid, and represents one way in which the corresponding invalid table creation statement could be made to work:
CREATE TABLE t1 (
col1 INT NOT NULL,
col2 DATE NOT NULL,
col3 INT NOT NULL,
col4 INT NOT NULL,
UNIQUE KEY (col1, col2, col3)
)
PARTITION BY HASH(col3)
PARTITIONS 4;
above table doesn't have any primary key,but has unique key. Whereas in my case i have only primary key on 'id'.
Thats why i asked such question.
Regards
Samad
Subject
Views
Written By
Posted
2831
November 02, 2017 02:50AM
1128
November 02, 2017 09:12AM
1016
November 02, 2017 12:57PM
1181
November 02, 2017 01:16PM
Re: Unable to create partition InnoDB
1069
November 02, 2017 01:55PM
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.