From 208aae9aa5678739c4c0d1698e29eead6b980a33 Mon Sep 17 00:00:00 2001 From: Andy Pavlo Date: Sat, 3 Feb 2018 23:00:51 -0500 Subject: [PATCH] Reorganizing the website directories --- {website => oltpbench}/.gitignore | 0 {website => oltpbench}/__init__.py | 0 {website => oltpbench}/admin.py | 0 {website => oltpbench}/forms.py | 0 {website => oltpbench}/models.py | 0 {website => oltpbench}/settings/.gitignore | 0 {website => oltpbench}/settings/__init__.py | 0 {website => oltpbench}/settings/common.py | 14 +- .../settings/credentials_TEMPLATE.py | 2 +- {website => oltpbench}/static/css/base.css | 0 .../static/css/bootstrap-select.min.css | 0 .../static/css/bootstrap.min.css | 0 .../static/css/jquery.dataTables.css | 0 .../css/themes/bootstrap-darkly.min.css | 0 .../css/themes/bootstrap-default.min.css | 0 .../css/themes/bootstrap-flatly.min.css | 0 .../css/themes/bootstrap-sandstone.min.css | 0 .../fonts/glyphicons-halflings-regular.eot | Bin .../fonts/glyphicons-halflings-regular.svg | 0 .../fonts/glyphicons-halflings-regular.ttf | Bin .../fonts/glyphicons-halflings-regular.woff | Bin .../fonts/glyphicons-halflings-regular.woff2 | Bin .../static/img/ajax-loader.gif | Bin .../static/img/glyphicons-halflings-white.png | Bin .../static/img/glyphicons-halflings.png | Bin {website => oltpbench}/static/img/logo.png | Bin .../static/img/sort_asc.png | Bin .../static/img/sort_both.png | Bin .../static/img/sort_desc.png | Bin .../static/js/FixedHeader.min.js | 0 .../static/js/benchmark_bar.js | 0 .../static/js/bootstrap-select.js.map | 0 .../static/js/bootstrap-select.min.js | 0 .../static/js/bootstrap.min.js | 0 {website => oltpbench}/static/js/common.js | 0 .../static/js/jqplot/excanvas.min.js | 0 .../js/jqplot/jqplot.barRenderer.min.js | 0 .../jqplot.canvasAxisLabelRenderer.min.js | 0 .../jqplot.canvasAxisTickRenderer.min.js | 0 .../jqplot/jqplot.canvasTextRenderer.min.js | 0 .../jqplot/jqplot.categoryAxisRenderer.min.js | 0 .../static/js/jqplot/jqplot.cursor.min.js | 0 .../js/jqplot/jqplot.dateAxisRenderer.min.js | 0 .../js/jqplot/jqplot.highlighter.min.js | 0 .../js/jqplot/jqplot.logAxisRenderer.min.js | 0 .../js/jqplot/jqplot.pointLabels.min.js | 0 .../static/js/jqplot/jquery.jqplot.min.css | 0 .../static/js/jqplot/jquery.jqplot.min.js | 0 .../static/js/jquery-1.10.2.min.js | 0 .../static/js/jquery-1.7.2.min.js | 0 .../static/js/jquery-migrate-1.2.1.min.js | 0 .../static/js/jquery.address-1.5.min.js | 0 .../static/js/jquery.dataTables.min.js | 0 .../static/js/jquery.jqpagination.min.js | 0 {website => oltpbench}/static/js/result10.js | 0 {website => oltpbench}/static/js/timeline.js | 0 {website => oltpbench}/tasks/__init__.py | 0 {website => oltpbench}/tasks/async_tasks.py | 8 +- {website => oltpbench}/templates/404.html | 0 .../templates/application.html | 0 {website => oltpbench}/templates/base.html | 0 .../templates/benchmark_conf.html | 0 {website => oltpbench}/templates/db_info.html | 0 .../templates/dbms_reference.html | 0 .../templates/edit_application.html | 0 .../templates/edit_benchmark.html | 0 .../templates/edit_project.html | 0 {website => oltpbench}/templates/home.html | 0 .../templates/home_application.html | 0 {website => oltpbench}/templates/login.html | 0 {website => oltpbench}/templates/ml_info.html | 0 {website => oltpbench}/templates/project.html | 0 .../templates/project_info.html | 0 {website => oltpbench}/templates/result.html | 0 {website => oltpbench}/templates/signup.html | 0 .../templatetags/__init__.py | 0 .../templatetags/util_functions.py | 0 {website => oltpbench}/types.py | 0 oltpbench/urls.py | 82 +++ {website => oltpbench}/utils.py | 0 {website => oltpbench}/views.py | 2 +- {website => oltpbench}/wsgi.py | 0 script/hardware/create_hardware_settings.py | 2 +- script/hardware/hardware.json | 114 ++-- .../create_ranked_knobs.py | 2 +- .../postgres-96_m3xlarge_ranked_knobs.json | 2 +- .../postgres_9.6/create_knob_settings.py | 4 +- .../postgres_9.6/postgres-96_knobs.json | 522 +++++++++--------- .../postgres_9.6/create_metric_settings.py | 4 +- .../postgres_9.6/postgres-96_metrics.json | 184 +++--- script/process_knob.py | 2 +- .../create_pruned_metrics.py | 2 +- .../postgres-96_m3xlarge_pruned_metrics.json | 2 +- website/urls.py | 82 --- 94 files changed, 515 insertions(+), 515 deletions(-) rename {website => oltpbench}/.gitignore (100%) rename {website => oltpbench}/__init__.py (100%) rename {website => oltpbench}/admin.py (100%) rename {website => oltpbench}/forms.py (100%) rename {website => oltpbench}/models.py (100%) rename {website => oltpbench}/settings/.gitignore (100%) rename {website => oltpbench}/settings/__init__.py (100%) rename {website => oltpbench}/settings/common.py (97%) rename {website => oltpbench}/settings/credentials_TEMPLATE.py (97%) rename {website => oltpbench}/static/css/base.css (100%) rename {website => oltpbench}/static/css/bootstrap-select.min.css (100%) rename {website => oltpbench}/static/css/bootstrap.min.css (100%) rename {website => oltpbench}/static/css/jquery.dataTables.css (100%) rename {website => oltpbench}/static/css/themes/bootstrap-darkly.min.css (100%) rename {website => oltpbench}/static/css/themes/bootstrap-default.min.css (100%) rename {website => oltpbench}/static/css/themes/bootstrap-flatly.min.css (100%) rename {website => oltpbench}/static/css/themes/bootstrap-sandstone.min.css (100%) rename {website => oltpbench}/static/fonts/glyphicons-halflings-regular.eot (100%) rename {website => oltpbench}/static/fonts/glyphicons-halflings-regular.svg (100%) rename {website => oltpbench}/static/fonts/glyphicons-halflings-regular.ttf (100%) rename {website => oltpbench}/static/fonts/glyphicons-halflings-regular.woff (100%) rename {website => oltpbench}/static/fonts/glyphicons-halflings-regular.woff2 (100%) rename {website => oltpbench}/static/img/ajax-loader.gif (100%) rename {website => oltpbench}/static/img/glyphicons-halflings-white.png (100%) rename {website => oltpbench}/static/img/glyphicons-halflings.png (100%) rename {website => oltpbench}/static/img/logo.png (100%) rename {website => oltpbench}/static/img/sort_asc.png (100%) rename {website => oltpbench}/static/img/sort_both.png (100%) rename {website => oltpbench}/static/img/sort_desc.png (100%) rename {website => oltpbench}/static/js/FixedHeader.min.js (100%) rename {website => oltpbench}/static/js/benchmark_bar.js (100%) rename {website => oltpbench}/static/js/bootstrap-select.js.map (100%) rename {website => oltpbench}/static/js/bootstrap-select.min.js (100%) rename {website => oltpbench}/static/js/bootstrap.min.js (100%) rename {website => oltpbench}/static/js/common.js (100%) rename {website => oltpbench}/static/js/jqplot/excanvas.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.barRenderer.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.canvasAxisLabelRenderer.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.canvasAxisTickRenderer.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.canvasTextRenderer.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.categoryAxisRenderer.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.cursor.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.dateAxisRenderer.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.highlighter.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.logAxisRenderer.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jqplot.pointLabels.min.js (100%) rename {website => oltpbench}/static/js/jqplot/jquery.jqplot.min.css (100%) rename {website => oltpbench}/static/js/jqplot/jquery.jqplot.min.js (100%) rename {website => oltpbench}/static/js/jquery-1.10.2.min.js (100%) rename {website => oltpbench}/static/js/jquery-1.7.2.min.js (100%) rename {website => oltpbench}/static/js/jquery-migrate-1.2.1.min.js (100%) rename {website => oltpbench}/static/js/jquery.address-1.5.min.js (100%) rename {website => oltpbench}/static/js/jquery.dataTables.min.js (100%) rename {website => oltpbench}/static/js/jquery.jqpagination.min.js (100%) rename {website => oltpbench}/static/js/result10.js (100%) rename {website => oltpbench}/static/js/timeline.js (100%) rename {website => oltpbench}/tasks/__init__.py (100%) rename {website => oltpbench}/tasks/async_tasks.py (98%) rename {website => oltpbench}/templates/404.html (100%) rename {website => oltpbench}/templates/application.html (100%) rename {website => oltpbench}/templates/base.html (100%) rename {website => oltpbench}/templates/benchmark_conf.html (100%) rename {website => oltpbench}/templates/db_info.html (100%) rename {website => oltpbench}/templates/dbms_reference.html (100%) rename {website => oltpbench}/templates/edit_application.html (100%) rename {website => oltpbench}/templates/edit_benchmark.html (100%) rename {website => oltpbench}/templates/edit_project.html (100%) rename {website => oltpbench}/templates/home.html (100%) rename {website => oltpbench}/templates/home_application.html (100%) rename {website => oltpbench}/templates/login.html (100%) rename {website => oltpbench}/templates/ml_info.html (100%) rename {website => oltpbench}/templates/project.html (100%) rename {website => oltpbench}/templates/project_info.html (100%) rename {website => oltpbench}/templates/result.html (100%) rename {website => oltpbench}/templates/signup.html (100%) rename {website => oltpbench}/templatetags/__init__.py (100%) rename {website => oltpbench}/templatetags/util_functions.py (100%) rename {website => oltpbench}/types.py (100%) create mode 100644 oltpbench/urls.py rename {website => oltpbench}/utils.py (100%) rename {website => oltpbench}/views.py (99%) rename {website => oltpbench}/wsgi.py (100%) delete mode 100644 website/urls.py diff --git a/website/.gitignore b/oltpbench/.gitignore similarity index 100% rename from website/.gitignore rename to oltpbench/.gitignore diff --git a/website/__init__.py b/oltpbench/__init__.py similarity index 100% rename from website/__init__.py rename to oltpbench/__init__.py diff --git a/website/admin.py b/oltpbench/admin.py similarity index 100% rename from website/admin.py rename to oltpbench/admin.py diff --git a/website/forms.py b/oltpbench/forms.py similarity index 100% rename from website/forms.py rename to oltpbench/forms.py diff --git a/website/models.py b/oltpbench/models.py similarity index 100% rename from website/models.py rename to oltpbench/models.py diff --git a/website/settings/.gitignore b/oltpbench/settings/.gitignore similarity index 100% rename from website/settings/.gitignore rename to oltpbench/settings/.gitignore diff --git a/website/settings/__init__.py b/oltpbench/settings/__init__.py similarity index 100% rename from website/settings/__init__.py rename to oltpbench/settings/__init__.py diff --git a/website/settings/common.py b/oltpbench/settings/common.py similarity index 97% rename from website/settings/common.py rename to oltpbench/settings/common.py index 1fe7425..a9bcf36 100644 --- a/website/settings/common.py +++ b/oltpbench/settings/common.py @@ -99,7 +99,7 @@ # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/var/www/example.com/static/" -STATIC_ROOT = join(PROJECT_ROOT, 'website', 'data', 'static') +STATIC_ROOT = join(PROJECT_ROOT, 'oltpbench', 'data', 'static') # URL prefix for static files. # Example: "http://example.com/static/", "http://static.example.com/" @@ -129,7 +129,7 @@ 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ # TEMPLATE_DIRS (use absolute paths) - join(PROJECT_ROOT, 'website', 'template') + join(PROJECT_ROOT, 'oltpbench', 'template') ], 'OPTIONS': { 'context_processors': [ @@ -186,7 +186,7 @@ # 'south', 'djcelery', # 'django_celery_beat', - 'website', + 'oltpbench', ) ## ============================================== @@ -215,7 +215,7 @@ ## LOGGING CONFIGURATION ## ============================================== -# A website logging configuration. The only tangible logging +# A oltpbench logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error when DEBUG=False. # See http://docs.djangoproject.com/en/dev/topics/logging for @@ -260,7 +260,7 @@ 'level': 'DEBUG', 'propagate': False, }, - 'website.views': { + 'oltpbench.views': { 'handlers': ['console', 'logfile'], 'propagate': False, 'level': 'DEBUG', @@ -291,14 +291,14 @@ ## URL CONFIGURATION ## ============================================== -ROOT_URLCONF = 'website.urls' +ROOT_URLCONF = 'oltpbench.urls' ## ============================================== ## WSGI CONFIGURATION ## ============================================== # Python dotted path to the WSGI application used by Django's runserver. -WSGI_APPLICATION = 'website.wsgi.application' +WSGI_APPLICATION = 'oltpbench.wsgi.application' ## ============================================== ## PASSWORD VALIDATORS diff --git a/website/settings/credentials_TEMPLATE.py b/oltpbench/settings/credentials_TEMPLATE.py similarity index 97% rename from website/settings/credentials_TEMPLATE.py rename to oltpbench/settings/credentials_TEMPLATE.py index edf2471..91fbca2 100644 --- a/website/settings/credentials_TEMPLATE.py +++ b/oltpbench/settings/credentials_TEMPLATE.py @@ -57,6 +57,6 @@ ## OTTERTUNE PATH CONFIGURATION ## ============================================== -LOG_FILE = '/path/to/website/log' +LOG_FILE = '/path/to/oltpbench/log' OTTERTUNE_LIBS = '/path/to/ottertune/MLlibs' diff --git a/website/static/css/base.css b/oltpbench/static/css/base.css similarity index 100% rename from website/static/css/base.css rename to oltpbench/static/css/base.css diff --git a/website/static/css/bootstrap-select.min.css b/oltpbench/static/css/bootstrap-select.min.css similarity index 100% rename from website/static/css/bootstrap-select.min.css rename to oltpbench/static/css/bootstrap-select.min.css diff --git a/website/static/css/bootstrap.min.css b/oltpbench/static/css/bootstrap.min.css similarity index 100% rename from website/static/css/bootstrap.min.css rename to oltpbench/static/css/bootstrap.min.css diff --git a/website/static/css/jquery.dataTables.css b/oltpbench/static/css/jquery.dataTables.css similarity index 100% rename from website/static/css/jquery.dataTables.css rename to oltpbench/static/css/jquery.dataTables.css diff --git a/website/static/css/themes/bootstrap-darkly.min.css b/oltpbench/static/css/themes/bootstrap-darkly.min.css similarity index 100% rename from website/static/css/themes/bootstrap-darkly.min.css rename to oltpbench/static/css/themes/bootstrap-darkly.min.css diff --git a/website/static/css/themes/bootstrap-default.min.css b/oltpbench/static/css/themes/bootstrap-default.min.css similarity index 100% rename from website/static/css/themes/bootstrap-default.min.css rename to oltpbench/static/css/themes/bootstrap-default.min.css diff --git a/website/static/css/themes/bootstrap-flatly.min.css b/oltpbench/static/css/themes/bootstrap-flatly.min.css similarity index 100% rename from website/static/css/themes/bootstrap-flatly.min.css rename to oltpbench/static/css/themes/bootstrap-flatly.min.css diff --git a/website/static/css/themes/bootstrap-sandstone.min.css b/oltpbench/static/css/themes/bootstrap-sandstone.min.css similarity index 100% rename from website/static/css/themes/bootstrap-sandstone.min.css rename to oltpbench/static/css/themes/bootstrap-sandstone.min.css diff --git a/website/static/fonts/glyphicons-halflings-regular.eot b/oltpbench/static/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from website/static/fonts/glyphicons-halflings-regular.eot rename to oltpbench/static/fonts/glyphicons-halflings-regular.eot diff --git a/website/static/fonts/glyphicons-halflings-regular.svg b/oltpbench/static/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from website/static/fonts/glyphicons-halflings-regular.svg rename to oltpbench/static/fonts/glyphicons-halflings-regular.svg diff --git a/website/static/fonts/glyphicons-halflings-regular.ttf b/oltpbench/static/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from website/static/fonts/glyphicons-halflings-regular.ttf rename to oltpbench/static/fonts/glyphicons-halflings-regular.ttf diff --git a/website/static/fonts/glyphicons-halflings-regular.woff b/oltpbench/static/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from website/static/fonts/glyphicons-halflings-regular.woff rename to oltpbench/static/fonts/glyphicons-halflings-regular.woff diff --git a/website/static/fonts/glyphicons-halflings-regular.woff2 b/oltpbench/static/fonts/glyphicons-halflings-regular.woff2 similarity index 100% rename from website/static/fonts/glyphicons-halflings-regular.woff2 rename to oltpbench/static/fonts/glyphicons-halflings-regular.woff2 diff --git a/website/static/img/ajax-loader.gif b/oltpbench/static/img/ajax-loader.gif similarity index 100% rename from website/static/img/ajax-loader.gif rename to oltpbench/static/img/ajax-loader.gif diff --git a/website/static/img/glyphicons-halflings-white.png b/oltpbench/static/img/glyphicons-halflings-white.png similarity index 100% rename from website/static/img/glyphicons-halflings-white.png rename to oltpbench/static/img/glyphicons-halflings-white.png diff --git a/website/static/img/glyphicons-halflings.png b/oltpbench/static/img/glyphicons-halflings.png similarity index 100% rename from website/static/img/glyphicons-halflings.png rename to oltpbench/static/img/glyphicons-halflings.png diff --git a/website/static/img/logo.png b/oltpbench/static/img/logo.png similarity index 100% rename from website/static/img/logo.png rename to oltpbench/static/img/logo.png diff --git a/website/static/img/sort_asc.png b/oltpbench/static/img/sort_asc.png similarity index 100% rename from website/static/img/sort_asc.png rename to oltpbench/static/img/sort_asc.png diff --git a/website/static/img/sort_both.png b/oltpbench/static/img/sort_both.png similarity index 100% rename from website/static/img/sort_both.png rename to oltpbench/static/img/sort_both.png diff --git a/website/static/img/sort_desc.png b/oltpbench/static/img/sort_desc.png similarity index 100% rename from website/static/img/sort_desc.png rename to oltpbench/static/img/sort_desc.png diff --git a/website/static/js/FixedHeader.min.js b/oltpbench/static/js/FixedHeader.min.js similarity index 100% rename from website/static/js/FixedHeader.min.js rename to oltpbench/static/js/FixedHeader.min.js diff --git a/website/static/js/benchmark_bar.js b/oltpbench/static/js/benchmark_bar.js similarity index 100% rename from website/static/js/benchmark_bar.js rename to oltpbench/static/js/benchmark_bar.js diff --git a/website/static/js/bootstrap-select.js.map b/oltpbench/static/js/bootstrap-select.js.map similarity index 100% rename from website/static/js/bootstrap-select.js.map rename to oltpbench/static/js/bootstrap-select.js.map diff --git a/website/static/js/bootstrap-select.min.js b/oltpbench/static/js/bootstrap-select.min.js similarity index 100% rename from website/static/js/bootstrap-select.min.js rename to oltpbench/static/js/bootstrap-select.min.js diff --git a/website/static/js/bootstrap.min.js b/oltpbench/static/js/bootstrap.min.js similarity index 100% rename from website/static/js/bootstrap.min.js rename to oltpbench/static/js/bootstrap.min.js diff --git a/website/static/js/common.js b/oltpbench/static/js/common.js similarity index 100% rename from website/static/js/common.js rename to oltpbench/static/js/common.js diff --git a/website/static/js/jqplot/excanvas.min.js b/oltpbench/static/js/jqplot/excanvas.min.js similarity index 100% rename from website/static/js/jqplot/excanvas.min.js rename to oltpbench/static/js/jqplot/excanvas.min.js diff --git a/website/static/js/jqplot/jqplot.barRenderer.min.js b/oltpbench/static/js/jqplot/jqplot.barRenderer.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.barRenderer.min.js rename to oltpbench/static/js/jqplot/jqplot.barRenderer.min.js diff --git a/website/static/js/jqplot/jqplot.canvasAxisLabelRenderer.min.js b/oltpbench/static/js/jqplot/jqplot.canvasAxisLabelRenderer.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.canvasAxisLabelRenderer.min.js rename to oltpbench/static/js/jqplot/jqplot.canvasAxisLabelRenderer.min.js diff --git a/website/static/js/jqplot/jqplot.canvasAxisTickRenderer.min.js b/oltpbench/static/js/jqplot/jqplot.canvasAxisTickRenderer.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.canvasAxisTickRenderer.min.js rename to oltpbench/static/js/jqplot/jqplot.canvasAxisTickRenderer.min.js diff --git a/website/static/js/jqplot/jqplot.canvasTextRenderer.min.js b/oltpbench/static/js/jqplot/jqplot.canvasTextRenderer.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.canvasTextRenderer.min.js rename to oltpbench/static/js/jqplot/jqplot.canvasTextRenderer.min.js diff --git a/website/static/js/jqplot/jqplot.categoryAxisRenderer.min.js b/oltpbench/static/js/jqplot/jqplot.categoryAxisRenderer.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.categoryAxisRenderer.min.js rename to oltpbench/static/js/jqplot/jqplot.categoryAxisRenderer.min.js diff --git a/website/static/js/jqplot/jqplot.cursor.min.js b/oltpbench/static/js/jqplot/jqplot.cursor.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.cursor.min.js rename to oltpbench/static/js/jqplot/jqplot.cursor.min.js diff --git a/website/static/js/jqplot/jqplot.dateAxisRenderer.min.js b/oltpbench/static/js/jqplot/jqplot.dateAxisRenderer.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.dateAxisRenderer.min.js rename to oltpbench/static/js/jqplot/jqplot.dateAxisRenderer.min.js diff --git a/website/static/js/jqplot/jqplot.highlighter.min.js b/oltpbench/static/js/jqplot/jqplot.highlighter.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.highlighter.min.js rename to oltpbench/static/js/jqplot/jqplot.highlighter.min.js diff --git a/website/static/js/jqplot/jqplot.logAxisRenderer.min.js b/oltpbench/static/js/jqplot/jqplot.logAxisRenderer.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.logAxisRenderer.min.js rename to oltpbench/static/js/jqplot/jqplot.logAxisRenderer.min.js diff --git a/website/static/js/jqplot/jqplot.pointLabels.min.js b/oltpbench/static/js/jqplot/jqplot.pointLabels.min.js similarity index 100% rename from website/static/js/jqplot/jqplot.pointLabels.min.js rename to oltpbench/static/js/jqplot/jqplot.pointLabels.min.js diff --git a/website/static/js/jqplot/jquery.jqplot.min.css b/oltpbench/static/js/jqplot/jquery.jqplot.min.css similarity index 100% rename from website/static/js/jqplot/jquery.jqplot.min.css rename to oltpbench/static/js/jqplot/jquery.jqplot.min.css diff --git a/website/static/js/jqplot/jquery.jqplot.min.js b/oltpbench/static/js/jqplot/jquery.jqplot.min.js similarity index 100% rename from website/static/js/jqplot/jquery.jqplot.min.js rename to oltpbench/static/js/jqplot/jquery.jqplot.min.js diff --git a/website/static/js/jquery-1.10.2.min.js b/oltpbench/static/js/jquery-1.10.2.min.js similarity index 100% rename from website/static/js/jquery-1.10.2.min.js rename to oltpbench/static/js/jquery-1.10.2.min.js diff --git a/website/static/js/jquery-1.7.2.min.js b/oltpbench/static/js/jquery-1.7.2.min.js similarity index 100% rename from website/static/js/jquery-1.7.2.min.js rename to oltpbench/static/js/jquery-1.7.2.min.js diff --git a/website/static/js/jquery-migrate-1.2.1.min.js b/oltpbench/static/js/jquery-migrate-1.2.1.min.js similarity index 100% rename from website/static/js/jquery-migrate-1.2.1.min.js rename to oltpbench/static/js/jquery-migrate-1.2.1.min.js diff --git a/website/static/js/jquery.address-1.5.min.js b/oltpbench/static/js/jquery.address-1.5.min.js similarity index 100% rename from website/static/js/jquery.address-1.5.min.js rename to oltpbench/static/js/jquery.address-1.5.min.js diff --git a/website/static/js/jquery.dataTables.min.js b/oltpbench/static/js/jquery.dataTables.min.js similarity index 100% rename from website/static/js/jquery.dataTables.min.js rename to oltpbench/static/js/jquery.dataTables.min.js diff --git a/website/static/js/jquery.jqpagination.min.js b/oltpbench/static/js/jquery.jqpagination.min.js similarity index 100% rename from website/static/js/jquery.jqpagination.min.js rename to oltpbench/static/js/jquery.jqpagination.min.js diff --git a/website/static/js/result10.js b/oltpbench/static/js/result10.js similarity index 100% rename from website/static/js/result10.js rename to oltpbench/static/js/result10.js diff --git a/website/static/js/timeline.js b/oltpbench/static/js/timeline.js similarity index 100% rename from website/static/js/timeline.js rename to oltpbench/static/js/timeline.js diff --git a/website/tasks/__init__.py b/oltpbench/tasks/__init__.py similarity index 100% rename from website/tasks/__init__.py rename to oltpbench/tasks/__init__.py diff --git a/website/tasks/async_tasks.py b/oltpbench/tasks/async_tasks.py similarity index 98% rename from website/tasks/async_tasks.py rename to oltpbench/tasks/async_tasks.py index 100b104..219b1ae 100644 --- a/website/tasks/async_tasks.py +++ b/oltpbench/tasks/async_tasks.py @@ -8,11 +8,11 @@ from djcelery.models import TaskMeta from sklearn.preprocessing import StandardScaler -from website.models import (DBMSCatalog, Hardware, KnobCatalog, PipelineResult, +from oltpbench.models import (DBMSCatalog, Hardware, KnobCatalog, PipelineResult, Result, ResultData, WorkloadCluster) -from website.settings import PIPELINE_DIR -from website.types import KnobUnitType, PipelineTaskType, VarType -from website.utils import (ConversionUtil, DataUtil, DBMSUtil, JSONUtil, +from oltpbench.settings import PIPELINE_DIR +from oltpbench.types import KnobUnitType, PipelineTaskType, VarType +from oltpbench.utils import (ConversionUtil, DataUtil, DBMSUtil, JSONUtil, MediaUtil,PostgresUtilImpl) diff --git a/website/templates/404.html b/oltpbench/templates/404.html similarity index 100% rename from website/templates/404.html rename to oltpbench/templates/404.html diff --git a/website/templates/application.html b/oltpbench/templates/application.html similarity index 100% rename from website/templates/application.html rename to oltpbench/templates/application.html diff --git a/website/templates/base.html b/oltpbench/templates/base.html similarity index 100% rename from website/templates/base.html rename to oltpbench/templates/base.html diff --git a/website/templates/benchmark_conf.html b/oltpbench/templates/benchmark_conf.html similarity index 100% rename from website/templates/benchmark_conf.html rename to oltpbench/templates/benchmark_conf.html diff --git a/website/templates/db_info.html b/oltpbench/templates/db_info.html similarity index 100% rename from website/templates/db_info.html rename to oltpbench/templates/db_info.html diff --git a/website/templates/dbms_reference.html b/oltpbench/templates/dbms_reference.html similarity index 100% rename from website/templates/dbms_reference.html rename to oltpbench/templates/dbms_reference.html diff --git a/website/templates/edit_application.html b/oltpbench/templates/edit_application.html similarity index 100% rename from website/templates/edit_application.html rename to oltpbench/templates/edit_application.html diff --git a/website/templates/edit_benchmark.html b/oltpbench/templates/edit_benchmark.html similarity index 100% rename from website/templates/edit_benchmark.html rename to oltpbench/templates/edit_benchmark.html diff --git a/website/templates/edit_project.html b/oltpbench/templates/edit_project.html similarity index 100% rename from website/templates/edit_project.html rename to oltpbench/templates/edit_project.html diff --git a/website/templates/home.html b/oltpbench/templates/home.html similarity index 100% rename from website/templates/home.html rename to oltpbench/templates/home.html diff --git a/website/templates/home_application.html b/oltpbench/templates/home_application.html similarity index 100% rename from website/templates/home_application.html rename to oltpbench/templates/home_application.html diff --git a/website/templates/login.html b/oltpbench/templates/login.html similarity index 100% rename from website/templates/login.html rename to oltpbench/templates/login.html diff --git a/website/templates/ml_info.html b/oltpbench/templates/ml_info.html similarity index 100% rename from website/templates/ml_info.html rename to oltpbench/templates/ml_info.html diff --git a/website/templates/project.html b/oltpbench/templates/project.html similarity index 100% rename from website/templates/project.html rename to oltpbench/templates/project.html diff --git a/website/templates/project_info.html b/oltpbench/templates/project_info.html similarity index 100% rename from website/templates/project_info.html rename to oltpbench/templates/project_info.html diff --git a/website/templates/result.html b/oltpbench/templates/result.html similarity index 100% rename from website/templates/result.html rename to oltpbench/templates/result.html diff --git a/website/templates/signup.html b/oltpbench/templates/signup.html similarity index 100% rename from website/templates/signup.html rename to oltpbench/templates/signup.html diff --git a/website/templatetags/__init__.py b/oltpbench/templatetags/__init__.py similarity index 100% rename from website/templatetags/__init__.py rename to oltpbench/templatetags/__init__.py diff --git a/website/templatetags/util_functions.py b/oltpbench/templatetags/util_functions.py similarity index 100% rename from website/templatetags/util_functions.py rename to oltpbench/templatetags/util_functions.py diff --git a/website/types.py b/oltpbench/types.py similarity index 100% rename from website/types.py rename to oltpbench/types.py diff --git a/oltpbench/urls.py b/oltpbench/urls.py new file mode 100644 index 0000000..36c7241 --- /dev/null +++ b/oltpbench/urls.py @@ -0,0 +1,82 @@ +from django.conf.urls import include, url +from django.contrib import admin +from django.contrib.staticfiles.views import serve +from django.views.decorators.cache import never_cache + +from oltpbench import settings +from oltpbench import views as oltpbench_views + +admin.autodiscover() + +urlpatterns = [ + url(r'^signup/', oltpbench_views.signup_view, name='signup'), + url(r'^login/', oltpbench_views.login_view, name='login'), + url(r'^logout/$', oltpbench_views.logout_view, name='logout'), + + url(r'^ajax_new/', oltpbench_views.ajax_new), +# url(r'^status/', oltpbench_views.ml_info), + + url(r'^new_result/', oltpbench_views.new_result), +# url(r'^result/', oltpbench_views.result), + url(r'^get_result_data_file/', oltpbench_views.get_result_data_file), + url(r'^update_similar/', oltpbench_views.update_similar), + + url(r'^$', oltpbench_views.redirect_home), + url(r'^projects/$', oltpbench_views.home, name='home'), + + url(r'^projects/(?P[0-9]+)/edit/$', oltpbench_views.update_project, name='edit_project'), + url(r'^projects/new/$', oltpbench_views.update_project, name='new_project'), + url(r'^projects/(?P[0-9]+)/apps$', oltpbench_views.project, name='project'), + url(r'^projects/delete/$', oltpbench_views.delete_project, name="delete_project"), + +# url(r'^edit_application/', oltpbench_views.update_application), +# url(r'^edit_application/(?P[0-9]+)/$', oltpbench_views.update_application, name='edit_application'), +# url(r'^edit_application/(?P[0-9]+)/$', oltpbench_views.update_application, name='edit_application'), +# url(r'^edit_application/(?P[0-9]+)/(?P[0-9]+)/$', oltpbench_views.update_application, name='edit_application'), +# url(r'^update_application/', oltpbench_views.update_application, name='update_application'), +# url(r'^application/', oltpbench_views.application, 'application'), + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/$', oltpbench_views.application, name='application'), +# url(r'^project_info/', oltpbench_views.project_info), + url(r'^projects/(?P[0-9]+)/apps/delete/$', oltpbench_views.delete_application, name='delete_application'), + url(r'^projects/(?P[0-9]+)/apps/new/$', oltpbench_views.update_application, name='new_application'), + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/edit/$', oltpbench_views.update_application, name='edit_application'), + + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/results/(?P[0-9]+)/$', oltpbench_views.result, name='result'), + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/bench_confs/(?P[0-9]+)/$', oltpbench_views.benchmark_configuration, name='bench_conf'), + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/bench_confs/(?P[0-9]+)/edit/$', oltpbench_views.edit_benchmark_conf, name='edit_bench_conf'), +# url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_confs/(?P[0-9]+)/compare=(?P[0-9]+)/$', oltpbench_views.db_conf_view, name='db_confs_compare'), + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_confs/(?P[0-9]+)/$', oltpbench_views.db_conf_view, name='db_confs'), + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_metrics/(?P[0-9]+)/$', oltpbench_views.db_metrics_view, name='db_metrics'), +# url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_metrics/(?P[0-9]+)/\?compare=(?P[0-9]+)/$', oltpbench_views.db_metrics_view, name='db_metrics'), + url(r'^ref/(?P.+)/(?P.+)/params/(?P.+)/$', oltpbench_views.db_conf_ref, name="dbconf_ref"), + url(r'^ref/(?P.+)/(?P.+)/metrics/(?P.+)/$', oltpbench_views.db_metrics_ref, name="dbmetrics_ref"), + url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/results/(?P[0-9]+)/status$', oltpbench_views.ml_info, name="status"), + +# url(r'^project/', oltpbench_views.project), +# url(r'^update_project/', oltpbench_views.update_project, name='update_project'), + +# url(r'^benchmark_conf/', oltpbench_views.benchmark_configuration), +# url(r'^edit_benchmark_conf/', oltpbench_views.edit_benchmark_conf), + url(r'^get_benchmark_data/', oltpbench_views.get_benchmark_data), + url(r'^get_benchmark_conf_file/', oltpbench_views.get_benchmark_conf_file), +# url(r'^update_benchmark/', oltpbench_views.update_benchmark_conf), + +# url(r'^db_conf/', oltpbench_views.db_conf_view), +# url(r'^db_conf_ref/', oltpbench_views.db_conf_ref), +# url(r'^dbms_metrics/', oltpbench_views.dbms_metrics_view), +# url(r'^dbms_metrics_ref/', oltpbench_views.dbms_metrics_ref), + url(r'^get_data/', oltpbench_views.get_timeline_data), + + # Uncomment the admin/doc line below to enable admin documentation: + # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), + + # Uncomment the next line to enable the admin: + url(r'^admin/', admin.site.urls), +] + +if settings.DEBUG: + import debug_toolbar + + urlpatterns = [ + url(r'^__debug__/', include(debug_toolbar.urls)), + ] + urlpatterns + [url(r'^static/(?P.*)$', never_cache(serve)), ] diff --git a/website/utils.py b/oltpbench/utils.py similarity index 100% rename from website/utils.py rename to oltpbench/utils.py diff --git a/website/views.py b/oltpbench/views.py similarity index 99% rename from website/views.py rename to oltpbench/views.py index 04ff155..b20e2cd 100644 --- a/website/views.py +++ b/oltpbench/views.py @@ -26,7 +26,7 @@ from tasks import aggregate_target_results, map_workload, configuration_recommendation from .types import DBMSType, KnobUnitType, MetricType, PipelineTaskType, StatsType, TaskType, VarType from .utils import DBMSUtil, JSONUtil, LabelUtil, MediaUtil -from website.types import HardwareType +from oltpbench.types import HardwareType log = logging.getLogger(__name__) diff --git a/website/wsgi.py b/oltpbench/wsgi.py similarity index 100% rename from website/wsgi.py rename to oltpbench/wsgi.py diff --git a/script/hardware/create_hardware_settings.py b/script/hardware/create_hardware_settings.py index 20e8d91..d696497 100644 --- a/script/hardware/create_hardware_settings.py +++ b/script/hardware/create_hardware_settings.py @@ -65,7 +65,7 @@ entries = [] for k,v in HW.iteritems(): entries.append({ - "model": "website.Hardware", + "model": "oltpbench.Hardware", 'fields': v }) diff --git a/script/hardware/hardware.json b/script/hardware/hardware.json index e93934e..02a8a06 100644 --- a/script/hardware/hardware.json +++ b/script/hardware/hardware.json @@ -9,7 +9,7 @@ "type": 2, "cpu": 1 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -21,7 +21,7 @@ "type": 3, "cpu": 1 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -33,7 +33,7 @@ "type": 4, "cpu": 1 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -45,7 +45,7 @@ "type": 5, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -57,7 +57,7 @@ "type": 6, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -69,7 +69,7 @@ "type": 7, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -81,7 +81,7 @@ "type": 8, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -93,7 +93,7 @@ "type": 9, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -105,7 +105,7 @@ "type": 10, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -117,7 +117,7 @@ "type": 11, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -129,7 +129,7 @@ "type": 12, "cpu": 16 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -141,7 +141,7 @@ "type": 13, "cpu": 40 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -153,7 +153,7 @@ "type": 14, "cpu": 64 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -165,7 +165,7 @@ "type": 15, "cpu": 1 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -177,7 +177,7 @@ "type": 16, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -189,7 +189,7 @@ "type": 17, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -201,7 +201,7 @@ "type": 18, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -213,7 +213,7 @@ "type": 19, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -225,7 +225,7 @@ "type": 20, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -237,7 +237,7 @@ "type": 21, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -249,7 +249,7 @@ "type": 22, "cpu": 16 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -261,7 +261,7 @@ "type": 23, "cpu": 36 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -273,7 +273,7 @@ "type": 24, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -285,7 +285,7 @@ "type": 25, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -297,7 +297,7 @@ "type": 26, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -309,7 +309,7 @@ "type": 27, "cpu": 16 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -321,7 +321,7 @@ "type": 28, "cpu": 32 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -333,7 +333,7 @@ "type": 29, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -345,7 +345,7 @@ "type": 30, "cpu": 32 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -357,7 +357,7 @@ "type": 31, "cpu": 64 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -369,7 +369,7 @@ "type": 32, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -381,7 +381,7 @@ "type": 33, "cpu": 32 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -393,7 +393,7 @@ "type": 34, "cpu": 64 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -405,7 +405,7 @@ "type": 35, "cpu": 128 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -417,7 +417,7 @@ "type": 36, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -429,7 +429,7 @@ "type": 37, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -441,7 +441,7 @@ "type": 38, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -453,7 +453,7 @@ "type": 39, "cpu": 16 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -465,7 +465,7 @@ "type": 40, "cpu": 32 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -477,7 +477,7 @@ "type": 41, "cpu": 64 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -489,7 +489,7 @@ "type": 42, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -501,7 +501,7 @@ "type": 43, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -513,7 +513,7 @@ "type": 44, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -525,7 +525,7 @@ "type": 45, "cpu": 16 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -537,7 +537,7 @@ "type": 46, "cpu": 32 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -549,7 +549,7 @@ "type": 47, "cpu": 2 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -561,7 +561,7 @@ "type": 48, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -573,7 +573,7 @@ "type": 49, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -585,7 +585,7 @@ "type": 50, "cpu": 16 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -597,7 +597,7 @@ "type": 51, "cpu": 32 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -609,7 +609,7 @@ "type": 52, "cpu": 64 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -621,7 +621,7 @@ "type": 53, "cpu": 4 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -633,7 +633,7 @@ "type": 54, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -645,7 +645,7 @@ "type": 55, "cpu": 16 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -657,7 +657,7 @@ "type": 56, "cpu": 36 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -669,7 +669,7 @@ "type": 57, "cpu": 8 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" }, { "fields": { @@ -681,6 +681,6 @@ "type": 58, "cpu": 64 }, - "model": "website.Hardware" + "model": "oltpbench.Hardware" } ] \ No newline at end of file diff --git a/script/knob_identification/create_ranked_knobs.py b/script/knob_identification/create_ranked_knobs.py index 58b20af..77c4cba 100644 --- a/script/knob_identification/create_ranked_knobs.py +++ b/script/knob_identification/create_ranked_knobs.py @@ -16,7 +16,7 @@ convert = True task_type = 2 -model = 'website.PipelineResult' +model = 'oltpbench.PipelineResult' validate = True extra_exceptions = { 'checkpoint_segments', diff --git a/script/knob_identification/postgres-96_m3xlarge_ranked_knobs.json b/script/knob_identification/postgres-96_m3xlarge_ranked_knobs.json index 04a79b6..d40d277 100644 --- a/script/knob_identification/postgres-96_m3xlarge_ranked_knobs.json +++ b/script/knob_identification/postgres-96_m3xlarge_ranked_knobs.json @@ -7,6 +7,6 @@ "creation_timestamp": "2016-12-04 11:00", "value": "[\n \"shared_buffers\", \n \"effective_cache_size\", \n \"bgwriter_lru_maxpages\", \n \"bgwriter_delay\", \n \"checkpoint_completion_target\", \n \"deadlock_timeout\", \n \"default_statistics_target\", \n \"effective_io_concurrency\", \n \"checkpoint_timeout\", \n \"commit_delay\", \n \"commit_siblings\", \n \"wal_buffers\", \n \"temp_buffers\", \n \"from_collapse_limit\", \n \"join_collapse_limit\", \n \"bgwriter_lru_multiplier\", \n \"random_page_cost\", \n \"work_mem\", \n \"maintenance_work_mem\", \n \"max_worker_processes\", \n \"max_parallel_workers_per_gather\", \n \"bgwriter_flush_after\", \n \"max_wal_size\", \n \"backend_flush_after\", \n \"checkpoint_flush_after\", \n \"min_wal_size\", \n \"min_parallel_relation_size\", \n \"wal_writer_delay\", \n \"wal_writer_flush_after\", \n \"wal_sync_method\", \n \"seq_page_cost\"\n]" }, - "model": "website.PipelineResult" + "model": "oltpbench.PipelineResult" } ] \ No newline at end of file diff --git a/script/knob_settings/postgres_9.6/create_knob_settings.py b/script/knob_settings/postgres_9.6/create_knob_settings.py index f648f67..b88fad7 100644 --- a/script/knob_settings/postgres_9.6/create_knob_settings.py +++ b/script/knob_settings/postgres_9.6/create_knob_settings.py @@ -531,7 +531,7 @@ def convert(size, system=pg_system): sorted_knob_names = [] for pname, pinfo in sorted(params.iteritems()): entry = {} - entry['model'] = 'website.KnobCatalog' + entry['model'] = 'oltpbench.KnobCatalog' fields = dict(pinfo) if fields['tunable'] == 'yes': fields['tunable'] = True @@ -551,7 +551,7 @@ def convert(size, system=pg_system): shutil.copy("postgres-96_knobs.json", "../../../preload/postgres-96_knobs.json") #sorted_knobs = [{ -# 'model': 'website.PipelineResult', +# 'model': 'oltpbench.PipelineResult', # 'fields': { # "dbms": 1, # "task_type": 1, diff --git a/script/knob_settings/postgres_9.6/postgres-96_knobs.json b/script/knob_settings/postgres_9.6/postgres-96_knobs.json index 888383e..35dcceb 100644 --- a/script/knob_settings/postgres_9.6/postgres-96_knobs.json +++ b/script/knob_settings/postgres_9.6/postgres-96_knobs.json @@ -16,7 +16,7 @@ "unit": "3", "description": "Also controls interpretation of ambiguous date inputs." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -35,7 +35,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -54,7 +54,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -73,7 +73,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -92,7 +92,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -111,7 +111,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -130,7 +130,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -149,7 +149,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -168,7 +168,7 @@ "unit": "3", "description": "When turned on, unquoted NULL in an array input value means a null value; otherwise it is taken literally." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -187,7 +187,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -206,7 +206,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -225,7 +225,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -244,7 +244,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -263,7 +263,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -282,7 +282,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -301,7 +301,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -320,7 +320,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -339,7 +339,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -358,7 +358,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -377,7 +377,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -396,7 +396,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -415,7 +415,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -434,7 +434,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -453,7 +453,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -472,7 +472,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -491,7 +491,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -510,7 +510,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -529,7 +529,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -548,7 +548,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -567,7 +567,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -586,7 +586,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -605,7 +605,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -624,7 +624,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -643,7 +643,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -662,7 +662,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -681,7 +681,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -700,7 +700,7 @@ "unit": "2", "description": "Write a message to the server log if checkpoints caused by the filling of checkpoint segment files happens more frequently than this number of seconds. Zero turns off the warning." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -719,7 +719,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -738,7 +738,7 @@ "unit": "3", "description": "Each level includes all the levels that follow it. The later the level, the fewer messages are sent." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -757,7 +757,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -776,7 +776,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -795,7 +795,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -814,7 +814,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -833,7 +833,7 @@ "unit": "3", "description": "Table scans will be skipped if their constraints guarantee that no rows match the query." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -852,7 +852,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -871,7 +871,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -890,7 +890,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -909,7 +909,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -928,7 +928,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -947,7 +947,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -966,7 +966,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -985,7 +985,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1004,7 +1004,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1023,7 +1023,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1042,7 +1042,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1061,7 +1061,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1080,7 +1080,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1099,7 +1099,7 @@ "unit": "3", "description": "This applies to table columns that have not had a column-specific target set via ALTER TABLE SET STATISTICS." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1118,7 +1118,7 @@ "unit": "3", "description": "An empty string selects the database's default tablespace." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1137,7 +1137,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1156,7 +1156,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1175,7 +1175,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1194,7 +1194,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1213,7 +1213,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1232,7 +1232,7 @@ "unit": "3", "description": "If a dynamically loadable module needs to be opened and the specified name does not have a directory component (i.e., the name does not contain a slash), the system will search this path for the specified file." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1251,7 +1251,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1270,7 +1270,7 @@ "unit": "1", "description": "That is, the portion of the kernel's disk cache that will be used for PostgreSQL data files. This is measured in disk pages, which are normally 8 kB each." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1289,7 +1289,7 @@ "unit": "3", "description": "For RAID arrays, this should be approximately the number of drive spindles in the array." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1308,7 +1308,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1327,7 +1327,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1346,7 +1346,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1365,7 +1365,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1384,7 +1384,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1403,7 +1403,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1422,7 +1422,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1441,7 +1441,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1460,7 +1460,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1479,7 +1479,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1498,7 +1498,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1517,7 +1517,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1536,7 +1536,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1555,7 +1555,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1574,7 +1574,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1593,7 +1593,7 @@ "unit": "3", "description": "This affects real, double precision, and geometric data types. The parameter value is added to the standard number of digits (FLT_DIG or DBL_DIG as appropriate)." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1612,7 +1612,7 @@ "unit": "3", "description": "If possible, run query using a parallel worker and with parallel restrictions." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1631,7 +1631,7 @@ "unit": "3", "description": "The planner will merge subqueries into upper queries if the resulting FROM list would have no more than this many items." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1650,7 +1650,7 @@ "unit": "3", "description": "The server will use the fsync() system call in several places to make sure that updates are physically written to disk. This insures that a database cluster will recover to a consistent state after an operating system or hardware crash." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1669,7 +1669,7 @@ "unit": "3", "description": "A page write in process during an operating system crash might be only partially written to disk. During recovery, the row changes stored in WAL are not enough to recover. This option writes pages when first modified after a checkpoint to WAL so full recovery is possible." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1688,7 +1688,7 @@ "unit": "3", "description": "This algorithm attempts to do planning without exhaustive searching." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1707,7 +1707,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1726,7 +1726,7 @@ "unit": "3", "description": "Zero selects a suitable default value." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1745,7 +1745,7 @@ "unit": "3", "description": "Zero selects a suitable default value." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1764,7 +1764,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1783,7 +1783,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1802,7 +1802,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1821,7 +1821,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1840,7 +1840,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1859,7 +1859,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1878,7 +1878,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1897,7 +1897,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1916,7 +1916,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1935,7 +1935,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1954,7 +1954,7 @@ "unit": "2", "description": "A value of 0 turns off the timeout." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1973,7 +1973,7 @@ "unit": "3", "description": "Detection of a checksum failure normally causes PostgreSQL to report an error, aborting the current transaction. Setting ignore_checksum_failure to true causes the system to ignore the failure (but still report a warning), and continue processing. This behavior could cause crashes or other serious problems. Only has an effect if checksums are enabled." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -1992,7 +1992,7 @@ "unit": "3", "description": "It does not prevent updating the indexes, so it is safe to use. The worst consequence is slowness." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2011,7 +2011,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2030,7 +2030,7 @@ "unit": "3", "description": "The planner will flatten explicit JOIN constructs into lists of FROM items whenever a list of no more than this many items would result." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2049,7 +2049,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2068,7 +2068,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2087,7 +2087,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2106,7 +2106,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2125,7 +2125,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2144,7 +2144,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2163,7 +2163,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2182,7 +2182,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2201,7 +2201,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2220,7 +2220,7 @@ "unit": "3", "description": "Skips privilege checks when reading or modifying large objects, for compatibility with PostgreSQL releases prior to 9.0." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2239,7 +2239,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2258,7 +2258,7 @@ "unit": "2", "description": "A value of 0 turns off the timeout." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2277,7 +2277,7 @@ "unit": "2", "description": "Zero prints all actions. -1 turns autovacuum logging off." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2296,7 +2296,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2315,7 +2315,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2334,7 +2334,7 @@ "unit": "3", "description": "Valid values are combinations of \"stderr\", \"syslog\", \"csvlog\", and \"eventlog\", depending on the platform." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2353,7 +2353,7 @@ "unit": "3", "description": "Can be specified as relative to the data directory or as absolute path." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2372,7 +2372,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2391,7 +2391,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2410,7 +2410,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2429,7 +2429,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2448,7 +2448,7 @@ "unit": "3", "description": "The parameter value is expected to be a numeric mode specification in the form accepted by the chmod and umask system calls. (To use the customary octal format the number must start with a 0 (zero).)" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2467,7 +2467,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2486,7 +2486,7 @@ "unit": "3", "description": "By default, connection logs only show the IP address of the connecting host. If you want them to show the host name you can turn this on, but depending on your host name resolution setup it might impose a non-negligible performance penalty." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2505,7 +2505,7 @@ "unit": "3", "description": "If blank, no prefix is used." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2524,7 +2524,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2543,7 +2543,7 @@ "unit": "2", "description": "Zero prints all queries. -1 turns this feature off." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2562,7 +2562,7 @@ "unit": "3", "description": "Each level includes all the levels that follow it. The later the level, the fewer messages are sent." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2581,7 +2581,7 @@ "unit": "3", "description": "Each level includes all the levels that follow it. The later the level, the fewer messages are sent." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2600,7 +2600,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2619,7 +2619,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2638,7 +2638,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2657,7 +2657,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2676,7 +2676,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2695,7 +2695,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2714,7 +2714,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2733,7 +2733,7 @@ "unit": "1", "description": "Zero logs all files. The default is -1 (turning this feature off)." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2752,7 +2752,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2771,7 +2771,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2790,7 +2790,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2809,7 +2809,7 @@ "unit": "1", "description": "This includes operations such as VACUUM and CREATE INDEX." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2828,7 +2828,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2847,7 +2847,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2866,7 +2866,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2885,7 +2885,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2904,7 +2904,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2923,7 +2923,7 @@ "unit": "3", "description": "The shared lock table is sized on the assumption that at most max_locks_per_transaction * max_connections distinct objects will need to be locked at any one time." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2942,7 +2942,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2961,7 +2961,7 @@ "unit": "3", "description": "The shared predicate lock table is sized on the assumption that at most max_pred_locks_per_transaction * max_connections distinct objects will need to be locked at any one time." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2980,7 +2980,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -2999,7 +2999,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3018,7 +3018,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3037,7 +3037,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3056,7 +3056,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3075,7 +3075,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3094,7 +3094,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3113,7 +3113,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3132,7 +3132,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3151,7 +3151,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3170,7 +3170,7 @@ "unit": "2", "description": "A value of -1 disables this feature." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3189,7 +3189,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3208,7 +3208,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3227,7 +3227,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3246,7 +3246,7 @@ "unit": "3", "description": "When a password is specified in CREATE USER or ALTER USER without writing either ENCRYPTED or UNENCRYPTED, this parameter determines whether the password is to be encrypted." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3265,7 +3265,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3284,7 +3284,7 @@ "unit": "2", "description": "This allows attaching a debugger to the process." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3303,7 +3303,7 @@ "unit": "2", "description": "This allows attaching a debugger to the process." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3322,7 +3322,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3341,7 +3341,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3360,7 +3360,7 @@ "unit": "3", "description": "When more tuples than this are present, quicksort will be used." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3379,7 +3379,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3398,7 +3398,7 @@ "unit": "3", "description": "When enabled, row security will be applied to all users." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3417,7 +3417,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3436,7 +3436,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3455,7 +3455,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3474,7 +3474,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3493,7 +3493,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3512,7 +3512,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3531,7 +3531,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3550,7 +3550,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3569,7 +3569,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3588,7 +3588,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3607,7 +3607,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3626,7 +3626,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3645,7 +3645,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3664,7 +3664,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3683,7 +3683,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3702,7 +3702,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3721,7 +3721,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3740,7 +3740,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3759,7 +3759,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3778,7 +3778,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3797,7 +3797,7 @@ "unit": "2", "description": "A value of 0 turns off the timeout." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3816,7 +3816,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3835,7 +3835,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3854,7 +3854,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3873,7 +3873,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3892,7 +3892,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3911,7 +3911,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3930,7 +3930,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3949,7 +3949,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3968,7 +3968,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -3987,7 +3987,7 @@ "unit": "3", "description": "This controls the number of consecutive keepalive retransmits that can be lost before a connection is considered dead. A value of 0 uses the system default." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4006,7 +4006,7 @@ "unit": "2", "description": "A value of 0 uses the system default." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4025,7 +4025,7 @@ "unit": "2", "description": "A value of 0 uses the system default." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4044,7 +4044,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4063,7 +4063,7 @@ "unit": "1", "description": "-1 means no limit." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4082,7 +4082,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4101,7 +4101,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4120,7 +4120,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4139,7 +4139,7 @@ "unit": "3", "description": "Each level includes all the levels that follow it. The later the level, the fewer messages are sent." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4158,7 +4158,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4177,7 +4177,7 @@ "unit": "3", "description": "Enables the collection of information on the currently executing command of each session, along with the time at which that command began execution." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4196,7 +4196,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4215,7 +4215,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4234,7 +4234,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4253,7 +4253,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4272,7 +4272,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4291,7 +4291,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4310,7 +4310,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4329,7 +4329,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4348,7 +4348,7 @@ "unit": "3", "description": "When turned on, expressions of the form expr = NULL (or NULL = expr) are treated as expr IS NULL, that is, they return true if expr evaluates to the null value, and false otherwise. The correct behavior of expr = NULL is to always return null (unknown)." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4367,7 +4367,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4386,7 +4386,7 @@ "unit": "3", "description": "The owning user of the socket is always the user that starts the server." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4405,7 +4405,7 @@ "unit": "3", "description": "Unix-domain sockets use the usual Unix file system permission set. The parameter value is expected to be a numeric mode specification in the form accepted by the chmod and umask system calls. (To use the customary octal format the number must start with a 0 (zero).)" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4424,7 +4424,7 @@ "unit": "3", "description": "Enables updating of the process title every time a new SQL command is received by the server." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4443,7 +4443,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4462,7 +4462,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4481,7 +4481,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4500,7 +4500,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4519,7 +4519,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4538,7 +4538,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4557,7 +4557,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4576,7 +4576,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4595,7 +4595,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4614,7 +4614,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4633,7 +4633,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4652,7 +4652,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4671,7 +4671,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4690,7 +4690,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4709,7 +4709,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4728,7 +4728,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4747,7 +4747,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4766,7 +4766,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4785,7 +4785,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4804,7 +4804,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4823,7 +4823,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4842,7 +4842,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4861,7 +4861,7 @@ "unit": "2", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4880,7 +4880,7 @@ "unit": "1", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4899,7 +4899,7 @@ "unit": "1", "description": "This much memory can be used by each internal sort operation and hash table before switching to temporary disk files." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4918,7 +4918,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4937,7 +4937,7 @@ "unit": "3", "description": "" }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" }, { "fields": { @@ -4956,6 +4956,6 @@ "unit": "3", "description": "Detection of a damaged page header normally causes PostgreSQL to report an error, aborting the current transaction. Setting zero_damaged_pages to true causes the system to instead report a warning, zero out the damaged page, and continue processing. This behavior will destroy data, namely all the rows on the damaged page." }, - "model": "website.KnobCatalog" + "model": "oltpbench.KnobCatalog" } ] \ No newline at end of file diff --git a/script/metric_settings/postgres_9.6/create_metric_settings.py b/script/metric_settings/postgres_9.6/create_metric_settings.py index efbb58b..dc531c9 100644 --- a/script/metric_settings/postgres_9.6/create_metric_settings.py +++ b/script/metric_settings/postgres_9.6/create_metric_settings.py @@ -63,7 +63,7 @@ def load_data(filename): for metric_name in mets: entry = {} - entry['model'] = 'website.MetricCatalog' + entry['model'] = 'oltpbench.MetricCatalog' mstats = stats[metric_name] fields = {} fields['name'] = '{}.{}'.format(view_name, metric_name) @@ -94,7 +94,7 @@ def load_data(filename): json.dump(numeric_metric_names, f, indent=4) #sorted_metrics = [{ -# 'model': 'website.PipelineResult', +# 'model': 'oltpbench.PipelineResult', # 'fields': { # "dbms": 1, # "task_type": 2, diff --git a/script/metric_settings/postgres_9.6/postgres-96_metrics.json b/script/metric_settings/postgres_9.6/postgres-96_metrics.json index 547d195..0304636 100644 --- a/script/metric_settings/postgres_9.6/postgres-96_metrics.json +++ b/script/metric_settings/postgres_9.6/postgres-96_metrics.json @@ -8,7 +8,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -19,7 +19,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -30,7 +30,7 @@ "metric_type": 2, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -41,7 +41,7 @@ "metric_type": 2, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -52,7 +52,7 @@ "metric_type": 2, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -63,7 +63,7 @@ "metric_type": 2, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -74,7 +74,7 @@ "metric_type": 2, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -85,7 +85,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -96,7 +96,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -107,7 +107,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -118,7 +118,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -129,7 +129,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -140,7 +140,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -151,7 +151,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -162,7 +162,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -173,7 +173,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -184,7 +184,7 @@ "metric_type": 1, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -195,7 +195,7 @@ "metric_type": 2, "scope": "global" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -206,7 +206,7 @@ "metric_type": 2, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -217,7 +217,7 @@ "metric_type": 2, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -228,7 +228,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -239,7 +239,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -250,7 +250,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -261,7 +261,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -272,7 +272,7 @@ "metric_type": 2, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -283,7 +283,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -294,7 +294,7 @@ "metric_type": 2, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -305,7 +305,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -316,7 +316,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -327,7 +327,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -338,7 +338,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -349,7 +349,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -360,7 +360,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -371,7 +371,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -382,7 +382,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -393,7 +393,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -404,7 +404,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -415,7 +415,7 @@ "metric_type": 2, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -426,7 +426,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -437,7 +437,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -448,7 +448,7 @@ "metric_type": 2, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -459,7 +459,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -470,7 +470,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -481,7 +481,7 @@ "metric_type": 1, "scope": "database" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -492,7 +492,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -503,7 +503,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -514,7 +514,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -525,7 +525,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -536,7 +536,7 @@ "metric_type": 1, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -547,7 +547,7 @@ "metric_type": 1, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -558,7 +558,7 @@ "metric_type": 1, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -569,7 +569,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -580,7 +580,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -591,7 +591,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -602,7 +602,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -613,7 +613,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -624,7 +624,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -635,7 +635,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -646,7 +646,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -657,7 +657,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -668,7 +668,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -679,7 +679,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -690,7 +690,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -701,7 +701,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -712,7 +712,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -723,7 +723,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -734,7 +734,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -745,7 +745,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -756,7 +756,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -767,7 +767,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -778,7 +778,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -789,7 +789,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -800,7 +800,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -811,7 +811,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -822,7 +822,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -833,7 +833,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -844,7 +844,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -855,7 +855,7 @@ "metric_type": 1, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -866,7 +866,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -877,7 +877,7 @@ "metric_type": 1, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -888,7 +888,7 @@ "metric_type": 2, "scope": "index" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -899,7 +899,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -910,7 +910,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -921,7 +921,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -932,7 +932,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -943,7 +943,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -954,7 +954,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -965,7 +965,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -976,7 +976,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -987,7 +987,7 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -998,7 +998,7 @@ "metric_type": 2, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" }, { "fields": { @@ -1009,6 +1009,6 @@ "metric_type": 1, "scope": "table" }, - "model": "website.MetricCatalog" + "model": "oltpbench.MetricCatalog" } ] \ No newline at end of file diff --git a/script/process_knob.py b/script/process_knob.py index beacfe9..c2ec160 100644 --- a/script/process_knob.py +++ b/script/process_knob.py @@ -11,7 +11,7 @@ for x in data: x = x.replace("\n","") l += 1 - f.write(" {\n \"model\":\"website.KNOB_PARAMS\",\n \"fields\":{\n") + f.write(" {\n \"model\":\"oltpbench.KNOB_PARAMS\",\n \"fields\":{\n") f.write(" \""+"db_type"+ "\":\"" +"MYSQL" + "\",\n") f.write(" \"params" + "\":\"" + str(x) + "\"\n") if l == len(data): diff --git a/script/workload_characterization/create_pruned_metrics.py b/script/workload_characterization/create_pruned_metrics.py index 618aac1..9d22992 100644 --- a/script/workload_characterization/create_pruned_metrics.py +++ b/script/workload_characterization/create_pruned_metrics.py @@ -14,7 +14,7 @@ convert = True task_type = 1 -model = 'website.PipelineResult' +model = 'oltpbench.PipelineResult' summary_map = { 'throughput_req_per_sec': 'Throughput (requests/second)', diff --git a/script/workload_characterization/postgres-96_m3xlarge_pruned_metrics.json b/script/workload_characterization/postgres-96_m3xlarge_pruned_metrics.json index 6a023b6..e065255 100644 --- a/script/workload_characterization/postgres-96_m3xlarge_pruned_metrics.json +++ b/script/workload_characterization/postgres-96_m3xlarge_pruned_metrics.json @@ -7,6 +7,6 @@ "creation_timestamp": "2016-12-04 11:00", "value": "[\n \"99th Percentile Latency (microseconds)\", \n \"Maximum Latency (microseconds)\", \n \"Throughput (requests/second)\", \n \"pg_stat_bgwriter.buffers_alloc\", \n \"pg_stat_bgwriter.buffers_checkpoint\", \n \"pg_stat_bgwriter.checkpoints_req\", \n \"pg_stat_bgwriter.maxwritten_clean\", \n \"pg_stat_database.blks_hit\", \n \"pg_stat_database.tup_deleted\", \n \"pg_stat_database.tup_inserted\", \n \"pg_stat_database.tup_returned\", \n \"pg_stat_database.tup_updated\", \n \"pg_stat_user_tables.autoanalyze_count\"\n]" }, - "model": "website.PipelineResult" + "model": "oltpbench.PipelineResult" } ] \ No newline at end of file diff --git a/website/urls.py b/website/urls.py deleted file mode 100644 index 02ea405..0000000 --- a/website/urls.py +++ /dev/null @@ -1,82 +0,0 @@ -from django.conf.urls import include, url -from django.contrib import admin -from django.contrib.staticfiles.views import serve -from django.views.decorators.cache import never_cache - -from website import settings -from website import views as website_views - -admin.autodiscover() - -urlpatterns = [ - url(r'^signup/', website_views.signup_view, name='signup'), - url(r'^login/', website_views.login_view, name='login'), - url(r'^logout/$', website_views.logout_view, name='logout'), - - url(r'^ajax_new/', website_views.ajax_new), -# url(r'^status/', website_views.ml_info), - - url(r'^new_result/', website_views.new_result), -# url(r'^result/', website_views.result), - url(r'^get_result_data_file/', website_views.get_result_data_file), - url(r'^update_similar/', website_views.update_similar), - - url(r'^$', website_views.redirect_home), - url(r'^projects/$', website_views.home, name='home'), - - url(r'^projects/(?P[0-9]+)/edit/$', website_views.update_project, name='edit_project'), - url(r'^projects/new/$', website_views.update_project, name='new_project'), - url(r'^projects/(?P[0-9]+)/apps$', website_views.project, name='project'), - url(r'^projects/delete/$', website_views.delete_project, name="delete_project"), - -# url(r'^edit_application/', website_views.update_application), -# url(r'^edit_application/(?P[0-9]+)/$', website_views.update_application, name='edit_application'), -# url(r'^edit_application/(?P[0-9]+)/$', website_views.update_application, name='edit_application'), -# url(r'^edit_application/(?P[0-9]+)/(?P[0-9]+)/$', website_views.update_application, name='edit_application'), -# url(r'^update_application/', website_views.update_application, name='update_application'), -# url(r'^application/', website_views.application, 'application'), - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/$', website_views.application, name='application'), -# url(r'^project_info/', website_views.project_info), - url(r'^projects/(?P[0-9]+)/apps/delete/$', website_views.delete_application, name='delete_application'), - url(r'^projects/(?P[0-9]+)/apps/new/$', website_views.update_application, name='new_application'), - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/edit/$', website_views.update_application, name='edit_application'), - - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/results/(?P[0-9]+)/$', website_views.result, name='result'), - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/bench_confs/(?P[0-9]+)/$', website_views.benchmark_configuration, name='bench_conf'), - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/bench_confs/(?P[0-9]+)/edit/$', website_views.edit_benchmark_conf, name='edit_bench_conf'), -# url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_confs/(?P[0-9]+)/compare=(?P[0-9]+)/$', website_views.db_conf_view, name='db_confs_compare'), - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_confs/(?P[0-9]+)/$', website_views.db_conf_view, name='db_confs'), - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_metrics/(?P[0-9]+)/$', website_views.db_metrics_view, name='db_metrics'), -# url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/db_metrics/(?P[0-9]+)/\?compare=(?P[0-9]+)/$', website_views.db_metrics_view, name='db_metrics'), - url(r'^ref/(?P.+)/(?P.+)/params/(?P.+)/$', website_views.db_conf_ref, name="dbconf_ref"), - url(r'^ref/(?P.+)/(?P.+)/metrics/(?P.+)/$', website_views.db_metrics_ref, name="dbmetrics_ref"), - url(r'^projects/(?P[0-9]+)/apps/(?P[0-9]+)/results/(?P[0-9]+)/status$', website_views.ml_info, name="status"), - -# url(r'^project/', website_views.project), -# url(r'^update_project/', website_views.update_project, name='update_project'), - -# url(r'^benchmark_conf/', website_views.benchmark_configuration), -# url(r'^edit_benchmark_conf/', website_views.edit_benchmark_conf), - url(r'^get_benchmark_data/', website_views.get_benchmark_data), - url(r'^get_benchmark_conf_file/', website_views.get_benchmark_conf_file), -# url(r'^update_benchmark/', website_views.update_benchmark_conf), - -# url(r'^db_conf/', website_views.db_conf_view), -# url(r'^db_conf_ref/', website_views.db_conf_ref), -# url(r'^dbms_metrics/', website_views.dbms_metrics_view), -# url(r'^dbms_metrics_ref/', website_views.dbms_metrics_ref), - url(r'^get_data/', website_views.get_timeline_data), - - # Uncomment the admin/doc line below to enable admin documentation: - # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), - - # Uncomment the next line to enable the admin: - url(r'^admin/', admin.site.urls), -] - -if settings.DEBUG: - import debug_toolbar - - urlpatterns = [ - url(r'^__debug__/', include(debug_toolbar.urls)), - ] + urlpatterns + [url(r'^static/(?P.*)$', never_cache(serve)), ]