You have a fact table named PowerUsage that has 10 billion rows. PowerUsage contains data about customer power usage dur

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

You have a fact table named PowerUsage that has 10 billion rows. PowerUsage contains data about customer power usage dur

Post by answerhappygod »

You have a fact table named PowerUsage that has 10 billion rows. PowerUsage contains data about customer power usage during the last 12 months. The usage data is collected every minute. PowerUsage contains the columns configured as shown in the following table.LocationNumber has a default value of 1. The MinuteOfMonth column contains the relative minute within each month. The value resets at the beginning of each month.A sample of the fact table data is shown in the following table.There is a related table named Customer that joins to the PowerUsage table on the CustomerId column. Sixty percent of the rows in PowerUsage are associated to less than 10 percent of the rows in Customer. Most queries do not require the use of the Customer table. Many queries select on a specific month.You need to minimize how long it takes to find the records for a specific month.What should you do?
You Have A Fact 1
You Have A Fact 1 (27.62 KiB) Viewed 72 times
You Have A Fact 2
You Have A Fact 2 (33.8 KiB) Viewed 72 times
A. Implement partitioning by using the MonthKey column. Implement hash distribution by using the CustomerId column.
B. Implement partitioning by using the CustomerId column. Implement hash distribution by using the MonthKey column.
C. Implement partitioning by using the MinuteOfMonth column. Implement hash distribution by using the MeasurementId column.
D. Implement partitioning by using the MonthKey column. Implement hash distribution by using the MeasurementId column.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply