Bigquery 中的物化视图

Materialized view in Bigquery

我在文档中遇到了以下命令:bq mk --materialized_view

想知道Bigquery中的bq mk --materialized_view命令是否创建物化视图 ?

谢谢 蒂鲁玛莱

物化视图是一个 alpha 项目 - 访问仅限于少数帐户,同时该功能继续开发。

请关注本期更新:

现在是测试版:

BigQuery Materialized View are precomputed views that periodically cache results of a query for increased performance and efficiency. BigQuery leverages precomputed results from materialized views and whenever possible reads only delta changes from the base table to compute up-to-date results. Materialized views can be queried directly or can be used by the BigQuery optimizer to process queries to the base tables.

Queries that use materialized views are generally faster and consume less resources than queries that retrieve the same data only from the base table. Materialized views are helpful to significantly boost performance of workloads that have the characteristic of common and repeated queries.

https://cloud.google.com/bigquery/docs/materialized-views-intro

物化视图现已正式发布。

基本文档:https://cloud.google.com/bigquery/docs/materialized-views-intro

BQ CLI 参考:https://cloud.google.com/bigquery/docs/reference/bq-cli-reference#mk-materializedview