Which privilege is required on the table to use the Search Optimization Service for a query?

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

Which privilege is required on the table to use the Search Optimization Service for a query?

Explanation:
Access to read the table data is what lets the Search Optimization Service speed up a query. The service enhances how data is scanned during a SELECT by using optimized structures, but it can only apply when the engine is allowed to read the table. Having the ability to read the table—granted by the SELECT privilege on that table—provides the necessary access without giving broader rights. Granting a schema-level privilege to add Search Optimization isn’t about reading the data for a specific query, and USAGE on the schema doesn’t permit data access. So, the required privilege is the SELECT on the table.

Access to read the table data is what lets the Search Optimization Service speed up a query. The service enhances how data is scanned during a SELECT by using optimized structures, but it can only apply when the engine is allowed to read the table. Having the ability to read the table—granted by the SELECT privilege on that table—provides the necessary access without giving broader rights. Granting a schema-level privilege to add Search Optimization isn’t about reading the data for a specific query, and USAGE on the schema doesn’t permit data access. So, the required privilege is the SELECT on the table.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy