diff --git a/config.ipynb b/config.ipynb index ed00d0d..4d51b8e 100644 --- a/config.ipynb +++ b/config.ipynb @@ -1,6 +1,4 @@ # 📁 SQL Profiler JSON File Path Configuration -# -# Please change the JSON_FILE_PATH below to your actual file path: # SQLProfiler JSON file (required) JSON_FILE_PATH = '/Workspace/Shared/AutoSQLTuning/sample.json' @@ -8,6 +6,9 @@ JSON_FILE_PATH = '/Workspace/Shared/AutoSQLTuning/sample.json' # Output file directory (required) OUTPUT_FILE_DIR = './output' +# 🔍 EXPLAIN statement execution setting (EXPLAIN_ENABLED: 'Y' = execute, 'N' = do not execute) +EXPLAIN_ENABLED = 'Y' + # 🗂️ Catalog and database configuration (used when executing EXPLAIN statements) CATALOG = 'tpcds' DATABASE = 'tpcds_sf1000_delta_lc' @@ -15,11 +16,8 @@ DATABASE = 'tpcds_sf1000_delta_lc' # 🌐 Output language setting (OUTPUT_LANGUAGE: 'ja' = Japanese, 'en' = English) OUTPUT_LANGUAGE = 'en' -# 🔍 EXPLAIN statement execution setting (EXPLAIN_ENABLED: 'Y' = execute, 'N' = do not execute) -EXPLAIN_ENABLED = 'Y' - # 🐛 Debug mode setting (DEBUG_ENABLED: 'Y' = keep intermediate files, 'N' = keep final files only) -DEBUG_ENABLED = 'Y' +DEBUG_ENABLED = 'N' # 🚀 Iterative optimization maximum attempt count settings (MAX_OPTIMIZATION_ATTEMPTS: default 3 times) # 🔄 New design: Each attempt is clearly evaluated @@ -36,4 +34,4 @@ if not os.path.exists(OUTPUT_FILE_DIR): os.makedirs(OUTPUT_FILE_DIR, exist_ok=True) print(f"📁 Created output directory: {OUTPUT_FILE_DIR}") else: - print(f"📁 Using output directory: {OUTPUT_FILE_DIR}")# Cell 3 placeholder# Cell 2 placeholder# Cell 1 placeholder# SQL Profiler Configuration Notebook \ No newline at end of file + print(f"📁 Using output directory: {OUTPUT_FILE_DIR}")