The DBD = Database Designer is the primary native tool in the optimization of Vertica databases.
First run the AdminTools tool and follow the steps below:
1. Select "6 Configuration Menu"
2. Select "2 Run Database Designer"
3. "Select a database for design"Select the database you want to analyze
4. "Enter directory for Database Designer output:"Enter the output directory of the DBD
5. "Designer Name:"Enter the name of the DBD and feel free to start
6. "Design type[comprehensive| Query-specific]"Choose the design type of DBD with two single options and choose according to actual requirements
7. "Select Schema (s) for design"Select the Shema (s) to be designed
8. "Design options[optimize with queries| Update statistics| Deploy Design]"There are three complex options, it is recommended that you remove the deploy design and then manually apply the DBD recommendations
9. "Enter the full path for queries file"Input SQL query statements commonly used by the business to make the analysis of dbd more targeted
10. "proposed k-safety value:1"This is the default
11. "Select Storage footprint preference[balanced Query/load performance| Query performance (larger footprint) | Load performance (smaller footprint)]"There are three single options, depending on the actual needs of the choice, generally choose the first item, balanced query and load performance
12. "ProceedThe Execute DBD
13. "Database Designer started."The DBD has started and there will be output similar to the following until the DBD is completed
Database Designer started. For large databases a design session could take a long time; Allow it to complete uninterrupted. Use CTRL + C If you must cancel the session. Setting Up Design Session ... Examining table Data ... Loading queries from '/home/dbadmin/sqltune.sql '. Processed SQL statement (s), all accepted and considered in the design. No existing projections found. Creating design ... [100%] Design in progress ... Completed of. [100%] Analyzing Data Statistics ... Completed of. [100%] Design in progress ... Completed of. [100%] Optimizing Query Performance ... Completed of. [100%] Design in progress ... Completed of. [100%] Optimizing Storage footprint ... Completed of. [100%] Internal warning during design ... Completed of. Query Optimization Results ... Query 1 optimization ratio or status is 1Query 2 optimization ratio or status was 1Query 3 optimization ratio or status is 1Query 4 optimization ratio or status is 1Query 5 optimization ratio or status was 1Query 6 optimization ratio or status is 1Query 7 optimization ratio or status is 1Query 8 optimization ratio or status was 1Query 9 optimization ratio or status is 1Query optimization ratio or status is 1Query one optimization ratio or status is 1Query optimization ratio or status is 1Query optimization ratio or status are 1Query optimization ratio or status is 1Query optimization ratio or ST ATUs is 1Query-optimization ratio or status is 1Query optimization ratio or status is 1Query, optimization ratio o R status is 1Query optimization ratio or status are 1Query optimization ratio or status is 1Query optimization rat Io or status is 1Query optimization ratio or status is 1Generating deployment script ... Could not generate default deployment script. The deployment error is deployment do not complete successfully. Error-insufficient resources to the execute plan on the pool dbd [timedout waiting for resource request:waiting for reservation Spot]design script is located in/home/dbadmin/designer1_design.sqLdeployment script is located in/home/dbadmin/designer1_deploy.sqlthe design would not be deployed. The new design is not automatically deployed. For manual deployment Procedures Consult Vertica Administrator ' s guidedatabase Designer finished. Press <Enter> to return to the administration Tools menu. Vertica Analytic Database 6.1.3-7 Administration Tools
Optimization design of Vertica DBD analysis