Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Loading
1. Fast load Multiload Tpump FASTEXPORT
-can only load onto empty table -Used for Loading, Updating or -ATOMIC upserts - requires a SELECT privileges.
with no secondary indexes and deleteting. -u can load more than 60 tables -uses multiple sessions.
referential integrity. -Support 5 tables per script at a time. -fully automated restart
-create two error tables -full restart capability using -allows target table to have RI -sessions, tenacity, sleep,
-if Amp goes down fast load logtable. constraint, secondary indexes notify.
cannot be started until Amp is - Allows I/D/U/Upsert and enabled triggers - blocksize used in returning
online -Can perform two task -no session limits. exported data is 64 k
-duplicate rows cannot be Import task (5 tables) -no limit to no. of concurrent (default/maximum).
loaded into multiset table using Delete task (1 table) instances. -support all feature of SQL
fast load. Import task - can be stopped and restarted select excluding WITH, WITH
-It have two phase -Cannot be done with USI, Join with no ill effect. BY , USING.
- Acquisition Phase Index, RI constraint, enable -limit of 4 Import commands - field mode is not availbel in
-Application Phase triggers. with single TPUMP “LOAD” fexport so it doesn’t support
-privileges SELECT & - Nusi’s permitted task. with and withby options of
INSERT for target table and 5 Phase: -checkpoint, errlimit, sessions SQL.
CREATE table for error tables. Preliminary Phase -tenacity, sleep , notify
- S/I/U/D on Do’s – validate all statements,
sysadmin.FASTLOG. acquire sessions, create Additional parameters
-FASTload will discard the worktables, create error tables, -serialize, pack, packmaximum,
error tables at the successful apply locks to table. rate, monitor, latency,
conclusion of loader job, if DML Phase nomonitor, robust, macrodb
table are empty. Do’s –Send prototype DML to
-Err table 1 will capture all dbc, add a using modifier to
constraint violation & the request, Add a ‘match tag’
translation violation. to the request.
- Err table 2 captures rows that Acqusition Phase
contain duplicate values for Application Phase
UPIs. End Phase
- no default tenacity .have to DELETE task will not have
use tenacity command to give acqusitin phase
2. tenacity -default tenacity is 4 hours
- CHECKPOINT option (no -checkpoint option
default check point) (default is 15 min)
- Can have RECORD option
FALLBACK is created in
-Axsmod, Errlimit, Tenacity, phase 3
Sleep
FALLBACK is created in
second phase
Restriction:
You cannot use the FastLoad
utility to:
• Insert additional data rows into
existing tables
• Update individual rows of
existing tables
• Delete individual rows from
existing tables
• Load data into multiple tables