Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Performance considerations during taking back up-- - forum topic by Nishant.Bhardwaj

$
0
0

Hi Experts,
Need Your suggestions among the 2 possible scenerio through which we can take the backupof a  Huge table at production.
Scenerio 1-
Create table a_bkp as A with Data and Stats;  
 
Scenerio 2-
First Create empty table as create table A_bkp as A with no data .
second Use the merge statement to copy the data from main table to _bkp table
Merge statement in place of normal INsert  select ...
like -
Merge into _bkp
Using A
 
I had a discussion with one of my peer and he suggested to go with scernio 2 not with scenerio  1 as it scenerio 1 will run into spool issues at the production as table is really huge and MERGE dont take any Spool to process the record how ever Insert Select does.
 
As i am bit unsure ,Just wanted  to check this up Experts..
 
Thanks in advance.
 
Nishant 
 

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>