QuestionQ90

VerifiedCost & Performance Optimisation

A data engineer is designing a system to process batch patient-encounter data stored in an S3 bucket, creating a Delta table (patient_encounters) with the columns encounter_id, patient_id, encounter_date, diagnosic_code, and treatment_cost. The table is queried frequently by patient_id and encounter_date, so fast performance is required. Fine-grained access controls must be enforced. The engineer wants to reduce maintenance and improve performance.

How should the data engineer create the patient_encounters table?

Explanation

Unity Catalog managed tables provide centralized fine-grained permissions, while predictive optimization automatically runs maintenance operations such as OPTIMIZE, VACUUM, and ANALYZE to improve data layout and query performance without manually scheduled maintenance. Predictive optimization supports Unity Catalog managed tables and does not run on external tables.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!