Github user blrunner commented on the pull request:
https://github.com/apache/tajo/pull/630#issuecomment-126214851
I added some columns and index to ``PARTITION_KEYS`` table for getting
partitions efficiently and tested on macbook successfully. The batch response
time results are listed below.
* 3,000 records: 1 ~ 2 sec
* 30,000 records: 6 ~ 8 sec
* 300,000 records: 60 ~ 70 sec
Honestly, I was worried about removing foreign key of ``PARTITION_KEYS``
table because it affected to batch insert performance. But it would be good to
leave it on the table because of data integrity.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---