diff --git a/README.md b/README.md index e167ea9..1c8c5e7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The configuration is stored the the `src/config.yaml` file. ## Database-specific configuration -`database_name` should contain the name of the database to use. The database has to be stored in the proper directory structure (See the [Directory structure > Datasets](README.md#Datasets)) +`database_name` should contain the name of the database to use. The database has to be stored in the proper directory structure (See the [Directory structure > Datasets](README.md#datasets)) # Directory structure of the project diff --git a/src/cache/joblib/querying/query/bfb43fb753d3849f0b14bcf38096eb16/metadata.json b/src/cache/joblib/querying/query/bfb43fb753d3849f0b14bcf38096eb16/metadata.json new file mode 100644 index 0000000..0ba8828 --- /dev/null +++ b/src/cache/joblib/querying/query/bfb43fb753d3849f0b14bcf38096eb16/metadata.json @@ -0,0 +1 @@ +{"duration": 15.753787755966187, "input_args": {"q": "\"\\n SELECT p_color, c_region, SUM(lo_quantity)\\n FROM lineorder\\n INNER JOIN customer ON lo_custkey = c_custkey\\nINNER JOIN part ON lo_partkey = p_partkey\\nWHERE p_color IN ('azure', 'bisque', 'black', 'aquamarine')\\n\\n GROUP BY p_color, c_region\\n ORDER BY SUM(lo_quantity) DESC;\\n \""}, "time": 1719882521.904444} \ No newline at end of file diff --git a/src/cache/joblib/querying/query/bfb43fb753d3849f0b14bcf38096eb16/output.pkl b/src/cache/joblib/querying/query/bfb43fb753d3849f0b14bcf38096eb16/output.pkl new file mode 100644 index 0000000..d381d59 Binary files /dev/null and b/src/cache/joblib/querying/query/bfb43fb753d3849f0b14bcf38096eb16/output.pkl differ diff --git a/src/config.yaml b/src/config.yaml index b725746..daf4804 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -97,11 +97,14 @@ database: # }}} - # set which parts of the program should ouput logs verbose: # queries to the database (src/querying.py) querying: true concentration_test: true -persistent_query_memoization: false + +# memoïze the result of queries +persistent_query_memoization: true + +