English 中文(简体)
是否有任何人利用斯诺瓦克搜索优化,并从集群钥匙中受益?
原标题:Has anyone used Snowflake search optimization and gained benefits over cluster keys?
问题回答

一般来说,搜索优化服务(SOS)将更有利于点视查询的分组工作、利用平等或国家过滤条件从一个非常庞大的桌子中检索1个或几个字的查询类型。

由于你只能在一张桌子上有一个组群钥匙,因此,SOS还可以帮助选择从一个分组表中的非组别进行搜索。

然而,情况并非如此。 集群、SOS增加了储存成本,为与SOS的每个桌子提供搜索通道数据,使SOS能够提供检索通道数据。

雪茄克搜索 优化旨在找到“灰色地带的危急情况”,而数据集则旨在减少所交数据,而不是找到少量的数据。

I have (at least) two use cases where Search Optimisation service and Clustering worked.

我有1.3个TB表,有数十亿分行,80%的查询数据本月,50%在本周内。 在剩余的20%中,多数数据为月份或15年前的数据。

一组钥匙将数据按交易日期进行实际分类,对90%的案件的询问则在秒钟内进行。 然而,分组工作做得很好,因为大多数查询都包含一种过滤器,如:

where TRANSACTION_DATE between :START and :END;

典型的询问使成千上万甚至数十万人从数十亿人返回。

另一张表格(TB的大小)询问了如何利用平等搜查混杂钥匙。 与以往使用案例不同的是,分析家在整个历史中(20亿分之十)寻求浏览,而典型的WHERE条款认为:

where AGE_GROUP = ‘GEN-Z’
and   INCOME_BRACKET = :INCOME 
and   REGION = :REGION 
and   GENDER = ‘MALE’
and   M_STATUS in (‘MARRIED’, ‘COHABITING’)

要点是:

  • Equality clauses not between or GREATER THAN
  • Queries across the entire table
  • Fetching a small number of rows relative to the number of micro partitions.

使用案例1(筛选)可以退回10万个牢房,但由于数据既被问,又(更重要的是)由国务司储存,大多数查询都涉及大约10个微分部分。 所有这些都是“共同的”。

Use case 2 Search Optimisation service, typically returned < 1,000 rows (from 70,000 micro partitions), but these were from across the entire table history.

更有选择性,反应速度越快。

I've written a blog post about my experiences: https://www.analytics.today/blog/snowflake-search-optimization-service-best-practices

希望这一帮助。





相关问题
Search field with Thickbox issue

i have a search form which is shown with Thickbox inside an iframe. the problem is.. that after i click "search" the result page is shown inside the same iframe! and i want it to be shown in the main ...

Will an incomplete google sitemap hurt my search ranking?

If I submit a sitemap.xml which does not contain all of the pages of my site, will this affect my search ranking? For example: If my sitemap only contained pages that had been created in the last ...

speeding up windows file search with C#

i made a program that search logical drives to find a specific file .if user type file name an click search button , searching begins , but i don t know how to stop searching in the middle of process....

JQuery/MVC Search Issue

I have inherited a piece of work where the entry screen shows a summary of 20 calculated variables. E.g. Var A (250), Var B (79). Clicking on any of these links takes the user to a view with a ...

Handling no results for docmd.applyfilter

I have an Access app where I use search functionality. I have a TextBox and a Search Button on the form, and it does a wildcard search of whatever the user enters in the TextBox, and displays the ...

Search by using the keyboard in a list/grid - algorithm

I need to implement a custom search in a grid and I would like to find some user interface guidelines that explain the standard way to implement it. I mean this kind of search that is initiated by ...

Embed Google/ Yahoo search into a web site or build your own

I am looking for an opinion on the whether to use Google custom search, Yahoo search builder or build my own for web projects (no more than 100 pages of content). If I should build my own - do you ...

热门标签