MySQL Forums
Forum List  »  Quality Assurance

Re: Partition pruning with composite partitioning keys
Posted by: Roderick Groeneveld
Date: August 02, 2012 01:20PM

Andrii Nikitin Wrote:
-------------------------------------------------------
> Hm, did you try the same , but not quoting numeric
> values?
>
> where nodeid = 4 and cksumtype = 1;


No, but I have now. Same problem:

mysql> explain partitions select * from node_cksum where nodeid = 4 and cksumtype = 1;
+----+-------------+------------+---------------------------------------+------+---------------+---------+---------+-------------+---------+-------+
| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+------------+---------------------------------------+------+---------------+---------+---------+-------------+---------+-------+
| 1 | SIMPLE | node_cksum | p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11 | ref | PRIMARY | PRIMARY | 8 | const,const | 1941944 | |
+----+-------------+------------+---------------------------------------+------+---------------+---------+---------+-------------+---------+-------+
1 row in set (0.07 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Partition pruning with composite partitioning keys
1355
August 02, 2012 01:20PM


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.