on 11-10-2014 11:04 PM
Hi everyone,
for my current HANA SQLScript development it would be very convenient to temporarily rename tables and then re-rename them back to their original names.
Algorythmically this may obviously be solved by two "rename table" commands -
but in case my tables are huge: can I be sure that this has no impact on DB performance?
Concretely: Does the "rename table" command physically drops- and then re-creates my table?
Since I haven't found any background information on the "rename table" command neither in the HANA SQL online documentation nor in the Development Guides:
Does anyone know if "rename table" has got any HANA DB performance impact for huge tables?
Thanks & Best Regards,
Alexander
RENAME TABLE does not drop and recreate the table.
It really "only" changes the name of the table object in the catalog.
Of course it also invalidates all dependent objects and cursors which means that there will be a performance impact (although not as big as dropping and recreating the table).
- Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.