hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mostafa Mokhtar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7784) Created the needed indexes on Hive.PART_COL_STATS for CBO
Date Tue, 19 Aug 2014 19:31:18 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mostafa Mokhtar updated HIVE-7784:
----------------------------------

    Attachment: HIVE-7784.2.patch

> Created the needed indexes on Hive.PART_COL_STATS for CBO 
> ----------------------------------------------------------
>
>                 Key: HIVE-7784
>                 URL: https://issues.apache.org/jira/browse/HIVE-7784
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 0.14.0
>            Reporter: Mostafa Mokhtar
>            Assignee: Mostafa Mokhtar
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7784.1.patch, HIVE-7784.2.patch
>
>
> With CBO we need the correct set of indexes to provide an efficient Read/Write access.
> These indexes improve performance of Explain plan and Analyzed table by 60% and 300%.
> {code}
> MySQL 
>  CREATE INDEX PART_COL_STATS_N50 ON PART_COL_STATS (DB_NAME,TABLE_NAME,COLUMN_NAME) USING
BTREE;
> MsSQL
> CREATE INDEX PART_COL_STATS_N50 ON PART_COL_STATS (DB_NAME,TABLE_NAME,COLUMN_NAME);
> Oracle 
> CREATE INDEX PART_COL_STATS_N50 ON PART_COL_STATS (DB_NAME,TABLE_NAME,COLUMN_NAME);
> Postgres
> CREATE INDEX "PART_COL_STATS_N50" ON "PART_COL_STATS" USING btree ("DB_NAME","TABLE_NAME","COLUMN_NAME");
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message