hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <>
Subject [jira] [Assigned] (HIVE-14047) add primary key on WRITE_SET
Date Mon, 02 Oct 2017 19:26:00 GMT


Eugene Koifman reassigned HIVE-14047:

    Assignee: Steve Yeom

> add primary key on WRITE_SET
> ----------------------------
>                 Key: HIVE-14047
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 1.3.0, 2.1.0
>            Reporter: Thejas M Nair
>            Assignee: Steve Yeom
> WRITE_SET table created in HIVE-13395 should some columns in the primary key. I expect
most databases to organize the data in a b-tree with primary key as the index (or have an
option to do so). That should help in reducing the search space for your prominent queries.
As long as columns in the where clause match the prefix of the index, it should greatly reduce
the search space.
> You can add a autoincrement column to keep it unique if necessary. MySQL (innodb) anyway
ends up organizing data on an autoincrement column, which is useless for the queries (see
post ).

This message was sent by Atlassian JIRA

View raw message