Skip to content

MyCat查询指定分区 #57

Open
Open
@superleo-cn

Description

@superleo-cn

我现在有3个分区,

# range start-end ,data node index
# K=1000,M=10000.
0-500M=0
500M-1000M=1
1000M-1500M=2

现在想指定MyCat查询的时候走第0个分区,下面的语句不起作用
explain /*!mycat:sql=select 0 */select * from t_ticket_detail where PK_SID >= 1000

请问要怎么实现呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions