Exploring Database Objects in Clarity Flashcards

1
Q

How do views and derived tables alleviate creating a tedious query?

A

By combining data from multiple tables in one place.

Aug. 2021, 5.4

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

What is a tool that visually shows relationships between database objects relevant to a particular reporting area?

A

ER Diagrams (Entity Relationship Diagrams)

Aug. 2021, 5.5

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

What are two things that an ER diagram contains?

A
  • Tables and their relationships
  • Cardinality of those relationships

(Aug. 2021, 5.5)

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

Where do you search for Clarity ER diagrams?

A
In Galaxy:
• Search " ER Diagram htm"
• Download ZIP file
• Extract
• Open "index.htm"

(Aug. 2021, 5.5)

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

Do Clarity ER Diagrams document all possible joins between Clarity tables?

A

No, only some of the joins that are possible between Clarity tables.

(Aug. 2021, 5.6)

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

List three types of database objects?

A
  1. View
  2. Derived Table (Materialized View)
  3. Extracted Table

(Aug. 2021, 5.7)

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

How are Views identified in an ER Diagram?

A

By a brownish/orangish color.

Aug. 2021, 5.7

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

How are database object types identified in the Clarity Compass?

A

By chips in the Overview section of the Summary tab.

Aug. 2021, 5.7

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

What is a View?

A

A stored query.

(Aug. 2021, 5.12)

  • Queries that are stored in the database
  • Accessed as if it were a table
  • Do not actually hold data. This means that using a view will not necessarily increase the efficiency of a query. However, views can reduce the amount of work that business intelligence developers must do by reducing the complexity of a query.

(RPT101i SQL I)

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

What type of database object pulls in data from several different tables in Clarity?

A

A View.

Aug. 2021, 5.12

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

What are Derived tables also known as?

A

Materialized Views

Aug. 2021, 5.12

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

How are Derived tables populated?

A

Populated from queries that run against data already contained in the database and can take the place of several tables in one report.

(Aug. 2021, 5.12)

  • Materialized views are tables populated from queries that run against other tables.
  • Materialized views are often populated by stored procedures.
  • Using materialized views can reduce the amount of work that business intelligence developers must do: one materialized view might take the place of several tables.
  • Materialized views can increase query efficiency; they are like pre-compiled and saved query results.

(RPT101i SQL I)

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

In Clarity, what data model does a derived table follow?

A

The dimensional data model.
• Fact tables begin with F_
• Dimension tables begin with D_

Fun Fact: Clarity has relatively few derived tables and primarily follows a normalized data model.

(Aug. 2021, 5.12)

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

What database objects typically begin with V_ ?

A

Views. However, this naming convention is not strictly enforced.

(Aug. 2021, 5.12)

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

What does a Queries section tell you about a table?

A

That the table is either a View or a Derived table.

Only Views and Derived tables have a Queries section.

(Aug. 2021, 5.13)

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

Where can you research Epic SQL Functions?

A

In the Database Object Search of the Clarity Compass.

Aug. 2021, 5.13

17
Q

True or False: Views and derived tables are considered SQL-based data marts.

A

True.

Aug. 2021, 5.14

18
Q

Why would a Clarity table be replaced with a view that performs the same task?

A

Occasionally, when a data model change in Clarity is significant enough, a Clarity table may be replaced with a view that performs the same task as the original Clarity table but with significant improvements to its underlying structure.

(Aug. 2021, 5.15)