[ 
https://issues.apache.org/jira/browse/KUDU-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993782#comment-15993782
 ] 

Dan Burkert commented on KUDU-1458:
-----------------------------------

Did a quick survey: in Oracle and Postgres, truncate operations are not 
MVCC-safe.  Relevant docs: 
https://www.postgresql.org/docs/9.1/static/sql-truncate.html, 
https://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_10007.htm#CHDDGIHF.
  [~mpercy] besides transactionality, is there a reason to do this at the 
tablet level instead of whole-sale replacing the tablets?

> truncate table support for kudu tables
> --------------------------------------
>
>                 Key: KUDU-1458
>                 URL: https://issues.apache.org/jira/browse/KUDU-1458
>             Project: Kudu
>          Issue Type: New Feature
>          Components: impala, master
>            Reporter: nick
>
> truncate will come in handy to quickly erase the table. current delete 
> statement takes long time when the record count is high.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to