close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsasl2.so.2: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Sep 29, 2010, 1:31:46 PM (15 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v15
|
v16
|
|
| 203 | 203 | {{{ |
| 204 | 204 | hbase(main):> truncate 't1' |
| | 205 | }}} |
| | 206 | |
| | 207 | * 執行完 truncate 後,所有 't1' 的內容都會被移除。但此時,下 list 還會有 't1' 這個表格存在。 |
| | 208 | |
| | 209 | {{{ |
| 205 | 210 | hbase(main):> disable 't1' |
| 206 | 211 | hbase(main):> drop 't1' |
| 207 | 212 | }}} |
| | 213 | |
| | 214 | * 要完整移除 't1' 資料表,必須使用 disable 先將 't1' 停用,再用 drop 指令把 't1' 完全刪除。 |