web 2.0
Showing posts with label Database Services. Show all posts
Showing posts with label Database Services. Show all posts

Decision Support Services

SQL Server also provides decision support facilities. This facility is known as data warehousing or business intelligence. Decision support, analysis support the user at the database information.

Decision support system database is implemented as a separate duplicate information and read-only and stored in another operating system, and is usually called a data mart or data warehouse. Some reasons for the decision support system separate databases :
  1. Decision support activities can be located on a separate database server so that even the integrity and operational databases performance undisturbed.
  2. Operational database structure is usually very complicated and optimized for the transaction.
  3. Decision support database must declare the consolidation of a number of operating system databases, operating systems, and different hardware platforms.
The data did not suddenly appear in a decision support database. Such data must be moved periodically. Before the transfer of data should be validated, cleaned, and in the transformation. This process is called extraction and transformation. SQL Server has a facility called Data Transformation Services (DTS) to conduct a population of decision support database. With DTS, you can create a routine to extract data from a number of operating systems using OLE DB or ODBC, perform data validation and transformation, and then call him at high speed into a decision support database.

Usually, decision support databases are redundant, because it is a copy of the operational database, thus requiring periodic maintenance involving large amounts of data. Query processor of SQL Server provides a number of techniques called bulk processing updates that are designed to improve the performance of operations serve targeted. For example, when changing large amounts of data, the query processor will try to save all changes to the index that are affected in a pass if possible. This method is faster than by changing the index by way of line by line.

SQL Server also contains a number of tools to write queries in natural language. This tool is called English Query. You can use this facility to create a description of the entry and relationships expressed in a database.

Distributed Database Services

SQL Server has the ability to refer to the tables from multiple databases in a query, even the tables on a different computer. The tables are stated in the FROM clause of a SELECT statement, INSERT, UPDATE, or DELETE.

Distributed Queries, very useful. For example you will combine data from tabeltabel on several servers. Besides the remote table can also be accessed using OLE DB or ODBC.

SQL Server supports the use of Microsoft Distributed Transaction Coordinator (MS DTC) to conduct transactions in multiple SQL Server by using two-phase commit protocol. SQL Server can create a list of all remote servers automatically within a two-phase commit.

SQL Server also supports a number of model replication using replication architecture-and publish-subscribe. Replication automates the process to synchronize data between multiple SQL Server databases to facilitate the development of distributed applications.

Snapshot Replication is a replication of the basic model in SQL Server. With this model, a 'shot' with a scheduled publication created and distributed to all subscribers. This method is very useful if the information in the publication of the relatively static and subscriber only needs to refresh periodically.

Transactional Replication is used when all active subscriber on a LAN or WAN, and changes to the published data should be replicated to the installation of SQL Server subscriber.

Merge Replication is used if the subscriber is autonomous and often operate in a way disconnected. For example a user at the computer not connected can make changes in his data on the subscript when offline. When the user is connected to the network and start the synchronization, the subscript will be merged line by line with published data on the server. Just new rows and changes rows involved process.

Therefore, the publication can be simultaneously on multiple subscriber is offline. Conflict will easily occur when a user makes changes to the same data. Merge Replication supports a number of conflict resolution scheme that detects conflicts at the row or column level.

Microsoft Data Transformation Services (DTS) is a facility for the transformation and integration of data transfer. DTS is a COM object model for transferring data between a source and destination data. DTS object model will run the DTS package. A DTS package is a set of transformation commands and transfer data can be stored in a file in the system database msdb, or in Microsoft Repository.