Skip to content

Commit

Permalink
Check in table size stats for CH-BenCHmark
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Apr 26, 2024
1 parent 3b40183 commit 48a491f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions src/brad/planner/constants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,22 @@ table_extract_bytes_per_row:
movie_info: 29.57191
person_info: 133.458044

# TPC-C Warehouses: 1740
# Around ~120 GB of uncompressed data.
chbenchmark:
warehouse: 92.40747126436781
item: 75.62581
stock: 308.868974
district: 98.52431034482758
customer: 570.148704
history: 65.51127
orders: 40.134002
new_order: 9.937048
order_line: 68.538322
region: 216.8
nation: 185.03225806451613
supplier: 194.728

###
### Models used to account for hardware/system load.
###
Expand Down
4 changes: 2 additions & 2 deletions tools/calibration/table_sizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def delete_s3_object(client, bucket: str, key: str) -> None:


async def main_impl(args) -> None:
config = ConfigFile.load(args.config_file)
config = ConfigFile.load_from_physical_config(args.physical_config_file)
assets = AssetManager(config)
mgr = BlueprintManager(config, assets, args.schema_name)
await mgr.load()
Expand Down Expand Up @@ -121,7 +121,7 @@ def main():
"Run this after bootstrapping a schema to measure table sizing "
"constants used by the blueprint planner."
)
parser.add_argument("--config-file", type=str, required=True)
parser.add_argument("--physical-config-file", type=str, required=True)
parser.add_argument("--schema-name", type=str, required=True)
parser.add_argument("--debug", action="store_true")
# Unloading is slow - we do not need to unload the entire table to get a
Expand Down

0 comments on commit 48a491f

Please sign in to comment.