Sales Management Customer Relationship Human Resources Business Performance BI & Data Quality IT Tools & Vendors

Sign-in   Register
Establishing 'Making it Happen' as a 'Formal & Predictable' Discipline
Principles and Rules Listing Page

Using Synonyms and Views

Synonyms and Views create a user friendly layer for user access and querying. They also enable to make underlying database changes with minimum impact on user access interface.
 
This page of 'Principles and Rules' is linked to:  Data Warehousing, Data Analysis/OLAP,

Using Synonyms and Views to better handle the database level changes

This tip is equally applicable for OLTP scenario.

Synonyms or Alias

Synonym is like an alias for a table name at a physical level. The idea is that the query which an end-user tool fires to access the data, should be ideally using a synonym than the actual table name. A synonym (or alias) is just like the name of the book-mark in your internet browser, while the underlying link is pointing to the actual URL. You can maintain the same name of the book mark, while changing the underlying hyperlink.

Similarly, if you use synonym for providing access to the users and end-user tools, the advantage is that you can rename the underlying tables (as your dimensional model evolves), while still maintaining the same aliases or synonym. You can create synonyms for tables, views, stored procedure, function and some other objects. The idea is to have user-friendly synonyms and also to have a better change management.

Views

A view is a virtual table created on which the end-user tools or users can run queries. The views are created to make it easy and user-friendly access to the database. Views are typically created to provide a single table made out of multi-table, complex queries. For example, you may have a snow-flake schema, which you may convert into a star-schema by combining the dimensional table and its extension.  OR you may like to create a single virtual table combining the fact table and dimensional table.


Quick Feedback- Was this information helpful ?
Relevant Links to this page
Principles & Rules → Dimensional model has to be aligned to the Entity-Relationship → Principles & Rules → Always Use Conformed Dimensions → Principles & Rules → You may not be a able to have a perfect ETL → Practice Techniques → Handling Sparse Dimensional tables → Principles & Rules → Do not separate the parent and child line item data → Practice Techniques → Managing time-stamps across multiple time-zones → Practice Techniques → Recording events in multiple currencies → Practice Techniques → Handle different units of measure in the same fact table → Principles & Rules → Handling of Null foreign Keys in fact tables → Principles & Rules → Dimension Attributes as NULL → Principles & Rules → Don't rely too much on Meta Data Tools to enforce Business Intelligence → Principles & Rules → Don't wait for universal models for Data Marting → 
 
Back
 
Relevant links to this page
Dimensional model has to be aligned to the Entity-Relationship
Always Use Conformed Dimensions
You may not be a able to have a perfect ETL
Handling Sparse Dimensional tables
Do not separate the parent and child line item data
Managing time-stamps across multiple time-zones
Recording events in multiple currencies
Handle different units of measure in the same fact table
Handling of Null foreign Keys in fact tables
Dimension Attributes as NULL
Don't rely too much on Meta Data Tools to enforce Business Intelligence
Don't wait for universal models for Data Marting
Additional Channels
Principles & Rules
Free Templates
Glossary
Key Performance Indicators

Most Popular Zones with list of pages crossing 25000 hits  →→→ 
Maximising Sales Performance
Sales Campaign Infrastructure
Sales Campaign SWOT analysis
Sales geographic expansion
Sales Channel Mix Profitability
Sales Channel Data Management
Read more...
  Customer Relationship Management
Drivers for Customer Satisfaction & Retention
Customer Satisfaction & Retention- Data Management
Customer Value and Profitability Tips and Actions
Customer Satisfaction and Retention- Overview
Customer Value and Profitability-Overview
Read more...
  Human Resources & Leadership
Feedback does not mean only negative feedback
Lead Change
Roles and Level based Competency Segregation
Customer Focus
Develop Self and Others
Read more...
 
 
Business Performance & Planning
SWOT Assessment Report
Creating Strategy Blueprint
Shifting the mind-set to leading Indicators- KPIs
Scorecard Health Checklist
For important KPIs- Install first & Fix later
Read more...
  Business Intelligence & Data Quality
Don't fix before root cause Analysis
Add extra buffer for ETL phase
One tier Data Warehouse
Data Warehouse Components and Framework
Data Warehouse Design Phase
Read more...
  IT Vendors & Tools Management
Technical Customization Evaluation
OLAP Server Reliability
Vendor Quality Evaluation
Vendor Commercial Evaluation- Billing structure
OLAP Dimensional Model Tuning
Read more...