Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions config.ipynb
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
# 📁 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'

# 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'

# 🌐 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
Expand All @@ -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
print(f"📁 Using output directory: {OUTPUT_FILE_DIR}")