debugged parallelization logic

This commit is contained in:
Bill
2025-11-18 09:59:49 -07:00
parent c91c3ad2f7
commit b2224a15b8
5 changed files with 241 additions and 135 deletions

View File

@@ -36,7 +36,7 @@ SELECT
(random() * 10 + 100)::INT AS course_id,
(NOW() - (random() * '1000 days'::INTERVAL))::DATE AS start_date,
(random() * 5)::FLOAT8 AS rating
FROM generate_series(1, 1000000) s(i);
FROM generate_series(1, 5000000) s(i);
-- 4. Analyze the table for better query planning (good practice)
ANALYZE benchmark_table;