Database Migration/ETL Testing Flashcards

1
Q

What’s a business rule?

A

Business Rules are used every day to define entities, attributes, relationships and constraints.

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

Movement of data from old database to a new database

A

What’s database migration

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

Source database or legacy database

A

Old database

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

Target database or destination database

A

New database

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

What’s ETL

A

Extract Transform and Load

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

Does the ETL tool have business rule?

A

yes it has business rule to increase data quality

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

Why do we need to DB migration testing?

A

To check if all entities are migrated to the correct tables
To check if all the attributes of the entities are migrated.
To check what’s the quality of data before and after migration.

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

What’s the DB migration testing approach

A
Design Validation Test:
a) We design the validation tests using SQL queries for both the source and target database
b) We put the queries in the right order
Create Test Environment
Run Database Migration Process
Run Validation Tests
Analyze and Report the Results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Potential problems in ETL testing

A

Source data might change.
Mitigation: Back up source and target

Source data has junk values.
Mitigation: ETL tool should handle the corrupt data

Source/Target Mappings might change.
Mitigation: Write tests for unchanged mapping first and rest once they are finalized

Part of the source data is rejected.
Mitigation: Run modular validation query

Time to complete.
Mitigation: Run validation query in the ETL tool so they run automatically.

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