查询无法打满 cpu

Viewed 48

测试 TPC-DS 1T,服务器是 3BE * 96 vcore,执行一个查询要 2s 多,是否可以优化?

SELECT
    item.i_brand_id brand_id,
    item.i_brand brand,
    sum(ss_ext_sales_price) sum_agg
FROM
    store_sales,
    item
WHERE
    store_sales.ss_item_sk = item.i_item_sk
GROUP BY
    item.i_brand,
    item.i_brand_id
ORDER BY
    sum_agg DESC,
    brand_id
LIMIT
    100;
2 Answers

开pipelineX,调整现成参数?

3.0 以后 pipelineX 默认开启了吧。主要是 TPC-DS 怎么调都到不了官方提供的性能,看起来 CPU 也没有打满。