Saturday 28 February 2015

SQL MASTER DATA SERVICE

Microsoft SQL Server is the most preferred database management system use by the database user’s and large enterprise organization to manage and store their useful data effectively.Microsoft SQL Server support three file formats for different data. Primary data are stored in the form of .mdf file, secondary data is being stored in the .ndf file and all the transaction log files are stored in .ldf files. The master database management is done by the Master Data Service provided by the Microsoft SQL Server. As seen that the management of the large bulky database is not that easy it, as it not a doubt on the efficiency of Microsoft SQL Server but the unfortunate truth is that this most efficient database management and storage application is not immune to the corruption. So sometimes these master database files get corrupted so in that case user goes for a SQL Repair.


WHAT IS MASTER DATA SERVICE?

All the efforts done by an organization to define and discover the list of data (non-transactional lists) are described by the master data management to compile the maintained master lists. So the Microsoft SQL Server solutions for MDM (Master database Management) is your Master Data Services. Master Data Services can be used for managing Domain (As the service is not specified to managing lists of products, customer or accounts).

Components and Tools of Master Data Services

The Master Data Services offered by Microsoft SQL include many tools and components which are listed below.

1.  Master Data Service Add-in (For Excel):- Used to create new attributes and entities as well as manage the data.
2. Master Data Service Configuration Manager: - A tool used to configure and create MDS web applications and database.
3. Master Data Manager:- Basically a web application used to perform tasks (administrative) used by the user to update data
4. Master Data Services Web Service: - Used by the developer to build or extend custom solutions that are used by Master Data Service.
5. MDSModelDeploy.exe:- A tool used to make packages of the model objects and data which can be used in other environment.


Friday 27 February 2015

SQL Server Transaction Log

Thinking of a database management system, a mission critical application and a breakthrough perform, the first application which strikes the mind of the user is SQL Server. SQL Server is best rated database management application which provide storage and management of database. SQL support three different file formats, MDF for primary database NDF for secondary database and LDF for the transaction logs or can say for log database. At the time when your database gets corrupted you can recover your full data by using the transaction log saved as .ldf format.

Note: - But sometimes this backup is not maintained so then at the time of corruption other methods are used to repair corrupt data.



Transactions Log: - Basically transaction log contain all the records of the transaction operations done on your database. Truncation should be done on transaction log to reduce the size of these files.
Supported Operations by Transaction:-  All the operations supported by transaction log are listed below.

  •   Individual transaction recovery.
  • Transaction replication support.
  •  It recovers all pending transactions when SQL Server is started.
  • Database mirroring, log shipping and Always on groups are some recovery and               high availability solutions.

Truncation in Transaction log: - Truncation done in transaction log will free the space in the log files. In this process the in-active virtual log files are deleted so to avoid transaction log filling. So truncation of transaction log is an important process to avoid the filling of full disk space allocated to transaction log. The delay in this process can cause problem so there is automatic start of this process by certain events that are listed below.


  •  When check-point occurs in the simple recovery model than truncation occurs.
  • In the case of full and bulked-logged recovery model when log back-up occurs the truncation of transaction log take place.

As mentioned above truncation take place when virtual log are inactive but sometimes the long activeness of the logs leads to deal in this truncation process. But sometimes we need to analysis the transaction files so for that can use Log Analyzer Tool.