












































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













































































This project belongs to the data warehousing domain and for the first time aims at bringing a combined set of functionalities in a single product which are unique to different products in OLTP and OLAP domains. This project is a starting point towards building a suite of applications that offer ease and guidance in a variety of data migration as well as data warehousing projects carried out in an onsite/offshore model.
In onsite/offshore delivery projects, access to data is limited to the offshore team due to varying laws of the host country. This adds complications to the development process especially in the business intelligence area where answering business queries requires building a set of reports. The design and development of these reports can be effectively performed if actual data is available but rarely access to that data is possible. With data anonymization, this problem can be addressed. The real data values are replaced such that the actual data is no longer identifiable. This dummy data may then be made available to the offshore team for their development tasks.
Often there is a requirement that an organization wants to shift its systems to newer and better different technology. For example, earlier they were carrying out all their data analysis and processing tasks on Oracle but as part of their IT strategy they decide to move to a better ware housing solution built on Teradata. This is known as migration. It involves porting existing data structures to the new platform with transformations involved for every database object. This project will also introduce a migration facility that will involve extraction, transformation and loading process.
A new functionality related to database usage intelligence is debuted in this product and is called Database Analytics and Reporting. A software agent will continue to monitor the database usage over time and predict whether the space requirements allow creation of more databases and database objects. A set of graphical reports will be developed that will help analyze database usage over a period of time and aid in capacity planning or database extensions. It will also contain a set of database utilities such as Database Explorer & Backup Utility, SQL Conversion guide etc.
The scope of this project includes building a set of core functionalities listed below:
TAILAR product aims at providing an integrated set of functionalities to its users. The functionality of Anonymization aims at concealing the original data so that when it is paired with some background information, identification of real data remains no more possible. A set of rules on the basis of which Anonymization is done are dealt with keeping the information loss least and efficiency maximum. Migration on the other hand encapsulates the tasks of extracting data from data source, transforming the data and then loading it back to the target. The functionality of Analytics & Reporting helps in database capacity planning and provides reports on the usage of the databases and respective tables. Database Utilities aid the user in carrying out a few databases related tasks in an integrated environment.
The stakeholders of this project comprise mainly of the application users, project managers and the development team.
The software development lifecycle followed for TAILAR application development is Incremental and Iterative Model. Project functionalities are sliced into increments as well as iterations. Each iteration enhances the functionality selected in a particular increment. In this case, the model of the system will be designed, implemented and tested incrementally with enhancements in each iteration until the product satisfies all of its requirements. The Incremental and Iterative Model combines both the Waterfall Model and Prototyping approach, with the elements of the waterfall model and the iterative philosophy of prototyping.
The thesis has been organized in 8 chapters with Introduction being the first chapter, which introduces the nature of the project and defines its scope, the project stakeholders and at the end the project lifecycle that has been followed for the development of the TAILAR product. Chapter 2 discusses complete project plan including the functional and non- functional requirements and the complete application architecture. Chapter 3 comprehensively discusses the functional requirements with detailed use case diagrams. Chapters 4, 5, 6, 7 each discuss four TAILAR functionalities including Anonymization, Migration, Analytics & Reporting and Database Utilities. Data Anonymization concepts with detailed Anonymization technique is discussed in Chapter 4. Similarly, Chapter 5 targets the ETL process, Chapter 6 the Analytics & Reporting section and Chapter 7 the Database Utilities. The conclusion and future work is discussed in Chapter 8. Appendix A, B, C and D show the Abbreviations, Code segments, TAILAR screenshots and Coding and naming conventions respectively.
This chapter named TAILAR PLAN discusses in detail different user requirements for TAILAR. All the functional, non-functional, connectivity and hardware/software requirements along with the complete TAILAR Architecture are comprehensively discussed as follows.
TAILAR will provide the following set of functionalities which are discussed below.
Data anonymization de-identifies the confidential information and creates a realistic database copy that is still fully functional and no longer vulnerable. It refers to replacing the original data with dummy data values while maintaining the referential integrity as it exists in the original data. In this way, anonymized data becomes a true representation of original data and can be provided to development team. The need for anonymization arises due to varying data privacy laws in many parts of the world and access to production data is denied for offshore development. It is understandable as the data may contain confidential information but a way should exist in order to
TAILAR will provide a number of database utilities which will include DB Explorer & Backup Utility, SQL Conversion Guide and SQL Syntax Converter. The functionality of Database exploration and then taking the backup includes the selection of a particular database object kind and then a database object, taking the backup at a user specified location.
The SQL Conversion guide will provide a feature in which the utility will help the user in identifying the incompatible keywords in the SQL Syntax that occur across different RDBMS including Teradata, Oracle and MS-SQL.
In case of SQL Syntax Converter, user will enter a specific SQL keyword and accordingly the converter will display a list of matching keywords in all other technologies including Oracle, Teradata etc.
The DB Similarity Test will compare the two databases across same server type and show the results.
The non-functional requirements of the system are described in detail as follows:
TAILAR will serve many usability requirements including the following:
In the development of the software product TAILAR, the following performance requirements will be under consideration.
The connectivity to databases will be secured by encrypting the connection strings. The connection string will be secured through one way encryption using SHA-1 hash algorithm.
Following connectivity requirements should be met for the development of TAILAR:
The application will be developed using Microsoft .NET Framework Version 2.0. Its hardware requirements are given below:
1 2 GHZ Processor 2 2 Gigabytes of RAM 3 1 GB free space for application folder
The TAILAR application exposes three-tier architecture namely:
The data access layer cleanly separates the data access details from the presentation layer, however, it does not enforce any business rules that may apply. For simplicity, the data access layer is divided into the following:
A Data Access Helper Component provides methods to perform the following tasks upon a database:
The methods that perform the preceding tasks are often called “CRUD” methods, where CRUD is an acronym based on the first letter of each task.
The business entities serve as objects using which the Data Access Helper Component does data manipulations with the target database. Figure 2-2 encapsulates the division of layers.
Presentation Layer
Business Logic Layer
Helper Component^ Data Access Business Entity
Data Access Layer
Figure 2-2: Architectural Layers
The detailed TAILAR architectural diagrams for each TAILAR functionality are discussed below.
Figure 2-3 describes the complete architecture for the functionality of Data Anonymization. This feature is modeled using the basic three-tier architecture where the real data is the input to the functionality; Anonymization is done based on Presentation layer, Business Logic Layer and the Data Access Layer. All the major processing including selecting tables to Anonymize, selecting columns, executing the process and extracting the output are done in the BLL Layer where DAL helps in all data manipulations and PL provides the user with the easy-to-use interface.
AnonymizationData
DBX (^) DBX
----T ---- --------T
----T ---- --------T
Business LogicLayer
Presentation Layer
Data Access Layer
REAL DATA ANONYMIZED DATA
Figure 2-3: Data Anonymization Architectural Diagram
Figure 2-4 discusses the detailed architecture for the functionality of Migration which includes Extract Transform and Load operations. The data is extracted from source,
Analytics & Reporting (^) - Analyze System Parameters
Business Logic Layer
Presentation Layer
Data Access Layer
Figure 2-5: Analytics & Reporting Architectural Diagram
Database Utilities - Explore Databases- Take Backups
Business Logic Layer
Presentation Layer
Data Access Layer
Figure 2-6: Database Utilities Architectural Diagram
The complete use case modeling that has been performed for the application is comprehensively discussed in this chapter. The system use cases with their packages and their exploded package details are given underneath. Each use case along with its Description, Post-Condition, Pre-Condition, Sequence, Alternate Sequence (if applicable), Error Sequence (if applicable) and Constraints supported with figures is shown in the chapter.
The functional requirements of the system which describe different functions of the application that are developed are discussed as follows:
Following are the use cases which show the overall behavior of the system. The complete system is shown in Figure 3-1, as a single TAILAR application package, which encompasses other functionalities.
TAILAR Application Package
Figure 3-1: TAILAR Application Package
The exploded view of the TAILAR application package shows further packages with distinguished set of functionalities. Packages of Data Anonymization, Data Migration, Database Usage Analytics & Reporting and Database Utilities are included in the TAILAR application package. Figure 3-2 gives the complete picture of the exploded TAILAR package.
Data MigrationPackage
Invoke MigrationWizard TAILAR User
Extract Data fromSource
<
Convert Metadata
Load Data to Target
<
<
Figure 3-4: Use Cases of Database Migration Package
The exploded view of the package of Analytics & Reporting is shown in Figure 3-5. It shows two important use cases of Capacity Planning and Database Usage Analysis which are the two main feature of the Analytics & Reporting functionality.
Analytics & ReportingPackage
TAILAR User
Usage AnalysisDatabase
Capacity Planning
Figure 3-5: Use cases of Database Usage Analytics & Reporting Package
The detailed overview of the Database Utilities Package is shown in Figure 3-
Analytics & ReportingPackage
SQL Conversion Guide
TAILAR User Db Explorer & BackupUtility
Db Similarity Test
SQL Syntax Converter
Save to File
<
Figure 3-6: Use Cases of Database System Utilities Package
Description: This functionality will replace the original data values with dummy data at three different levels while maintaining the referential integrity. The detailed use case diagram is shown in Figure 3-7.
Levels of Anonymization:
Pre-Conditions: TAILAR application is running and Data Anonymization functionality button is clicked.
Post-Conditions: Pop up message for successful completion of Anonymization process is shown to the user if no errors were encountered.
Sequence:
The use case diagram for Anonymize Data is shown below:
Anonymize Data TAILAR User
Save To Database
<
Figure 3-7: Use Case-Anonymize Data
Description: This functionality aids in the data migration process. Pre-Condition: TAILAR application is running and Data Migration button is clicked. Post-Condition: Pop up message for successful completion of data migration process is shown to the user, if no errors were encountered.
Sequence:
Description: This functionality performs the process of extracting data from any source database. The detailed use case diagram is shown in Figure 3-9.
Invoke MigrationWizard
TAILAR User
Extract Data fromSource
<
Convert Metadata
Load Data to Target
<
<
Figure 3-8: Use Case- Invoke Migration Wizard
Pre-Conditions: TAILAR application is running and Extract Data from Source tab is open in Data Migration wizard. Post-Conditions: Pop up message for successful completion of data extraction process is shown to the user, if no errors were encountered.
Sequence:
Description: This functionality performs the process of creating a connection to a database server. Pre-Conditions: TAILAR application is running, Extract Data from Source tab is open in Data Migration wizard and create database connection button is clicked. Post-Conditions: Pop up message for successful completion of creation of a database connection is shown to the user, if no errors were encountered.
Sequence: