connection pooling and SQL Server analysis Services

Source: Internet
Author: User
Tags connection pooling microsoft sql server

Available for: Microsoft SQL Server? Analysis Services

Summary: Learn how to develop a scalable client and WEB application that works with Microsoft SQL Server Analysis Services by using the connection pool objects that are included with Microsoft XML for analysis Provider 。

Brief introduction

Resource management is an important issue to consider when developing scalable clients and web-based applications. When constructing client applications that can serve many concurrent users, the guideline for resource management is to allocate resources as late as possible and to deallocate resources as early as possible. The availability of resources, such as memory, process threads, and network or database connections, is directly related to the performance of the client application and to the satisfaction of the user. As a result, resource management has become increasingly important as client applications continue to expand.

With further control over resource management, connection pooling can reduce the impact of scalability. Connection pooling enables client applications to establish a connection between a connection pool and a given resource without having to re-establish the connection every time it is used. After a connection is established in the connection pool, the client application can reuse the connection without having to perform a complete connection process.

Because client applications do not need to repeatedly establish and close connections, using pool-buffered connections can significantly improve connectivity performance. The time required for this process is especially important for client applications that use a resource that is a long time lag, such as the Internet or a network connection. When a client application no longer requires a connection, the connection is returned to the connection pool.

In addition to improving performance, using connection pooling can also manage resources more efficiently without adding additional resource management costs to client applications. Connection pooling Manager can allocate and deallocate connections as needed to maintain connection pooling, and connections in the connection pool can be reused by multiple applications.

To support the scalability needs of WEB client applications using Microsoft SQL Server Analysis Services, the connection pooling feature has been implemented in Microsoft XML for Analysis Provider. XML for Analysis Provider automatically uses connection pooling, and it can also be used with other client applications that do not need to use XML connections provided by the provider itself. This article is intended to introduce objects that allow you to take full advantage of connection pooling in an analysis Services client application.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.