2025 Performance and Resource Optimization Flashcards

1
Q

What type of queries does Search Optimization help improve performance on

A
  • Point lookup queries that return a few distinct rows.
  • Substring and regular expression searches
  • Queries on fields in VARIANT, OBJECT, and ARRAY columns that use certain types of predicates
  • Queries that use selected geospatical functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Search optimization works best for a query in which at least one of the columns has a minimum of WHAT distinct values

A

100 k

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the minimum table size to get a benefit from Search Optimization

A

10 gb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does Search Optimization and Cluserting keys fit in

A

Search optimization is best suited for cases where users query tables on columns beside the cluster key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What permissions are required to implement search optimization on a table

A

Ownership
ADD SEARCH OPTIMIZATION (on schema level)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

To improve the performance on range searches, which method should you look at, Clustering or Search Optimization

A

Clustering, Search only speeds up equality searches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Is search optimization enabled on all columns or a select set of keys

A

All columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What costs are associated with Search Optimization

A

Compute and Storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What cost are associated with Clustering

A

Compute and Storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which type of searches can benefit from a materialized view, equality or range

A

both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What costs are associated with Materialized Views

A

Storage and Compute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What edition is required for Search Optimization

A

Enterprise and above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can you tell how much it might cost to enable Search Optimization on a table

A

SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTS(‘<t1>' , ­ <search_>)</search_></t1>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What objects do not support Search Optimization

A

External tables
Materialized Views
Column concatenation
Analytical expressions
Casts on table columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How long are results cached

A

24 hours or until the underlying table is updated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When a result is retrieved from the cache, what happens to the retention period

A

It is reset for a max of 31 days

17
Q

How can you bypass the results cache in a session

A

alter session set USE_CACHED_RESULT = false

18
Q

For local disk cache, warehouse cache, ssd cache, and data cache, what determines the size of the cache?

A

The warehouse size

19
Q

What happens to a warehouse’s cache when the warehouse is suspended?

A

It loses the data cache. It rebuilt when the data is resumed

20
Q

Search optimization service works best with a column that has a minimum of how many distinct values

21
Q

What costs are associated with Materialized View

A

Storage and Compute

22
Q

What costs are associated with Query Acceleration Service