Professional Documents
Culture Documents
▪ Demo
2
GRASP Analytics
Scrutinize (tar/zip)
4
How This is Achieved
Customer interested in
Scrutinize is downloaded Advisor report gets Report is mailed
health check or has an Collect Scrutinize Upload to S3 bucket
and processed created to customer.
issue
Scrutinize
What is Scrutinize?
7
Information Collected by Scrutinize
• Host OS information
o Mostly OS commands or config files
o uname, uptime, ifconfig, sysctl.conf …
• Log files
o vertica.log, admintools.log, dbLog …
o Rotated logs are also collected
• Vertica-specific Configuration files
o vertica.conf, spread.conf, the entire /opt/vertica/conf directory
Information Collected by Scrutinize (continued)
• DC Tables
o Configuration Changes, Startups, Node State
• System Tables
o vs.resource_pools
• Catalog Objects
o LGE, GlobalSettings
• Database Design
o select export_catalog(‘design.sql’, ‘design’)
How Do I run Scrutinize?
• Usage:
– /opt/vertica/bin/scrutinize --by-minute yes -U < enter username here> -P '<enter
password here>' --tmpdir=<TMP_DIR> -m '<short reason for collection>’
• Use –tmpdir option to specify a directory that has a minimum of 5GB free space.
tmpdir cannot be a NFS or EFS share. NFS and EFS shares are not suited for rapid and
concurrent file creation and deletion due to nfs file metadata cache.
• Collect scrutinize from a node in UP state and avoid passing the arguments; -v, --vsql-
off and --diagnostics
• Pass -- exclude-tasks VerticaLog , if collecting scrutinize for health check purpose
Scrutinize Upload S3 Bucket
• It is write-only S3 bucket for customers.
• Only accepts Scrutinize files and file is Immediately downloaded and removed
• File name format: VerticaScrutinize.20190815230001.tar.gz [Please do not edit the file name S3
generated by scrutinize.]
• Curl command:
– curl --request PUT --upload-file VerticaScrutinize.20190815230001.tar.gz -H 'x-amz-acl:
bucket-owner-full-control' -H "x-amz-meta-email: YOUR_EMAIL" -H "x-amz-meta-account:
YOUR_ACCOUNT_NAME" -H "x-amz-meta-caseid: CASE_ID" https://vertica-scrutinize-
upload.s3.amazonaws.com/incoming/
• AWS CLI:
– aws s3 cp ./VerticaScrutinize.20190911192014.tar s3://vertica-scrutinize-upload/incoming/ -
-acl bucket-owner-full-control --metadata
"email=YOUR_EMAIL,account=YOUR_ACCOUNT_NAME,caseid=CASE_ID"
Scrutinize Upload SFTP/FTP
14
System Configuration
• Disk and network configuration Eon Mode Depot Machine check events
15
Vertica Configuration and Catalog
• K-Safety and node dependency K=1 Tt Tables with too many projs
Max. Dependency Tu Tables with unused projs
per node = 3
Ts Tables with skew
16
Resource Pools
General Pool
85%
Recovery Pool
65%
17
Database Operation and Usage
System Utilization Metrics
• Utilization Memory
Usage
Network
Usage
o Memory
CPU Disk
o CPU Usage Usage
o Network
o Disk
• Workload history by query type Best Practices Analyze Recommendations
Resource
Response
Intensive
Time
Queries
18
Errors and Events
Insert > 20ms
19
Vertica Advisor Home Page
20
Example Section Card
21
How to get VAdvisor Report
• Collect and upload scrutinize to S3 bucket with valid email S3
address
22
Future Plans
23
Demo
Thank you