7. Loading – Best practices
• Avoid using update & delete
– Can Only be serial transaction
– Update in Vertica is delete + insert .
• Do not load more than 50 files per load.
– Vertica Limitation.
• Use copy direct for large inserts
– Will bypass the WOS.
• Use INSERT /*+DIRECT*/
• Will bypass the WOS.
8. Loading – Best practices
• COPY FROM STDIN pipes from STDIN
zcat table_a.gzip | vsql –c “COPY table_a from STDIN DIRECT;”
• Use Vertica ability to load from gzip files.
• Use Parallel load
– multiple separate COPY commands that load different files
from different nodes.
– Issue a single multi-node COPY command **
9. Loading – Best practices
• Do not use Vertica map reducer plugin
• Do not use fuse
• Use Liveperson’s generic loading infrastructure.