A database administrator needs to aggregate data from multiple tables in a way that does not impact the original tables, and then provide this information to a department. Which of the following is the best way for the administrator to accomplish this task?
26 comments · newest first
FL
Fletcher
11 months ago
Functions are useful, but not for this specific task.
JO
Joanna
11 months ago
Creating indexes won't help with aggregation, so that's not it.
LA
Larae
11 months ago
Totally agree, option A is the best choice here!
BI
Billye
12 months ago
A materialized view is a great way to aggregate data without altering original tables.
KR
Krystina
12 months ago
Wait, can a new database really be the answer? Seems excessive!
FL
Fletcher
1 year ago
I practiced a similar question where a materialized view was the answer, so I’m leaning towards that option again.
KA
Kattie
1 year ago
Creating a new database seems excessive for just aggregating data. I feel like there has to be a simpler solution.
EM
Emilio
1 year ago
I'm not entirely sure, but I remember something about indexes being more for performance rather than aggregation.
CR
Cruz
1 year ago
I think creating a materialized view might be the right choice since it allows for aggregation without altering the original tables.
MI
Micah
1 year ago
I think creating a materialized view is the best option here. It will allow the administrator to provide the aggregated data to the department without making any changes to the original tables.
DA
Darell
1 year ago
I'm a little confused by this question. I'm not sure if creating indexes or a new database is the right solution here. I'll need to review the differences between the options more carefully.
JU
Justine
1 year ago
Ah, I know this one! Creating a materialized view is definitely the way to go. It will give the department the aggregated data they need without affecting the original tables.
GE
German
1 year ago
Hmm, I'm a bit unsure about this one. I'm trying to decide between creating a materialized view or a function. I'll need to think it through carefully.
PH
Phyliss
1 year ago
This seems like a straightforward question. I think creating a materialized view would be the best approach to aggregate the data without impacting the original tables.
MA
Matthew
1 year ago
Wait, they want to create a new database just to aggregate some data? That's like using a sledgehammer to crack a nut. Materialized views all the way!
LE
Lewis
1 year ago
Indexes? That's not going to help with aggregating data across multiple tables. The materialized view is the way to go here.
JE
Jennifer
1 year ago
A function could work, but it might not be as efficient as a materialized view. Plus, the question specifically asks for the best way to accomplish the task.
RE
Reyes
1 year ago
Creating a new database? Really? That's overkill for this task. I'd go with the materialized view option.
AL
Alline
1 year ago
A materialized view seems like the best option to aggregate data without impacting the original tables. It's a great way to provide the department with the information they need.
DE
Delila
1 year ago
B) Create indexes on those tables
RE
Rene
1 year ago
A) Create a materialized view.
RU
Rusty
1 year ago
B) Create indexes on those tables
AR
Arleen
1 year ago
A) Create a materialized view.
PU
Pura
1 year ago
I'm not sure. Creating a new database could also work, but it might be too drastic of a solution.
LU
Luann
1 year ago
I agree with Emilio. Materialized views can store the aggregated data separately without impacting the original tables.
EM
Emilio
1 year ago
I think the best way is to create a materialized view.