Delphi-connection-pool

所属分类:Pascal/Delphi编程
开发工具:Delphi
文件大小:151KB
下载次数:133
上传日期:2012-02-07 08:22:17
上 传 者ninglng
说明:  不错的数据库连接池实现,很有参考价值。包括多种数据库连接方式的
(DB connection pool)

文件列表:
Delphi数据库连接池\Demos\ConnPoolTest.dpr (200, 2002-08-07)
Delphi数据库连接池\Demos\ConnPoolTest.dproj (4692, 2009-06-23)
Delphi数据库连接池\Demos\ConnPoolTest.dproj.2007 (4650, 2009-06-23)
Delphi数据库连接池\Demos\ConnPoolTest.dproj.local (62, 2009-06-23)
Delphi数据库连接池\Demos\ConnPoolTest.identcache (212, 2009-06-26)
Delphi数据库连接池\Demos\ConnPoolTest.res (876, 2002-08-07)
Delphi数据库连接池\Demos\fmMAIN.dcu (18721, 2009-06-24)
Delphi数据库连接池\Demos\fmMAIN.dfm (5435, 2009-06-24)
Delphi数据库连接池\Demos\fmMAIN.pas (9680, 2009-06-24)
Delphi数据库连接池\form.txt (3719, 2002-08-11)
Delphi数据库连接池\Help\ConnectionPool.cnt (803, 2002-08-11)
Delphi数据库连接池\Help\ConnectionPool.hlp (135342, 2002-08-11)
Delphi数据库连接池\License.txt (3028, 2002-07-26)
Delphi数据库连接池\Order.txt (4043, 2002-07-28)
Delphi数据库连接池\Packages\ConnectionPool_D12.dcu (3892, 2009-06-25)
Delphi数据库连接池\Packages\ConnectionPool_D12.dpk (941, 2009-06-23)
Delphi数据库连接池\Packages\ConnectionPool_D12.dproj (5604, 2009-06-23)
Delphi数据库连接池\Packages\ConnectionPool_D12.dproj.local (483, 2009-06-23)
Delphi数据库连接池\Packages\ConnectionPool_D12.identcache (570, 2009-06-25)
Delphi数据库连接池\Packages\ConnectionPool_D12.res (1536, 2002-09-07)
Delphi数据库连接池\Packages\ConnectionPool_D5.dpk (833, 2002-08-11)
Delphi数据库连接池\Packages\ConnectionPool_D5.res (1536, 2002-08-11)
Delphi数据库连接池\Packages\ConnectionPool_D6.dpk (915, 2002-09-07)
Delphi数据库连接池\Packages\ConnectionPool_D6.dproj (5473, 2009-06-23)
Delphi数据库连接池\Packages\ConnectionPool_D6.dproj.2007 (5473, 2009-06-23)
Delphi数据库连接池\Packages\ConnectionPool_D6.dproj.local (62, 2009-06-23)
Delphi数据库连接池\Packages\ConnectionPool_D6.res (1536, 2002-09-07)
Delphi数据库连接池\Packages\dclConnectionPool_D12.dcu (7653, 2009-06-25)
Delphi数据库连接池\Packages\dclConnectionPool_D12.dpk (823, 2009-06-23)
Delphi数据库连接池\Packages\dclConnectionPool_D12.dproj (5843, 2009-06-25)
Delphi数据库连接池\Packages\dclConnectionPool_D12.dproj.local (349, 2009-06-25)
Delphi数据库连接池\Packages\dclConnectionPool_D12.identcache (95, 2009-06-24)
Delphi数据库连接池\Packages\dclConnectionPool_D12.res (1536, 2002-09-07)
Delphi数据库连接池\Packages\dclConnectionPool_D5.dpk (743, 2002-07-28)
Delphi数据库连接池\Packages\dclConnectionPool_D5.res (1536, 2002-07-25)
Delphi数据库连接池\Packages\dclConnectionPool_D6.dpk (759, 2002-09-07)
Delphi数据库连接池\Packages\dclConnectionPool_D6.dproj (5391, 2009-06-23)
Delphi数据库连接池\Packages\dclConnectionPool_D6.dproj.2007 (5391, 2009-06-23)
Delphi数据库连接池\Packages\dclConnectionPool_D6.dproj.local (62, 2009-06-23)
Delphi数据库连接池\Packages\dclConnectionPool_D6.res (1536, 2002-09-07)
... ...

Connection Pool for Delphi release notes ------------------------------------------------------------------------------- This document contains: - Short description of the product - Other text files - TRIAL version limitations - Delphi - versions supported - Installation of Connection Pool for Delphi - Installation of Connection Pool for Delphi help file - Ordering information - Support and Web resources - Thanks To SHORT DESCRIPTION ------------------------------------------------------------------------------- Connection Pool for Delphi - A connection pool is a cache of open connections that can be used and reused, thus cutting down on the overhead of creating and destroying database connections. Connection pooling is a method for conserving scarce database resources by managing a pool of connections among concurrently active clients. Connection Pool provides developers a way to easily cache open connections to databases. This is useful in server environments since opening database connections can be slow, and because many database vendors price their products on a concurrent user basis. Why you need a connection pool? As example: a dynamic web site generates HTML pages from information stored in a database. Each request for a page results in a database access. But connecting to a database is a time consuming activity since the database must allocate communication and memory resources as well as authenticate the user and set up the corresponding security context. The exact time varies, of course, but it is not unusual to see connection times of one or two seconds. Establishing the connection once and then use the same connection for subsequent requests can therefore dramatically improve the performance of a database driven web application. You simple call GetConnection to obtain a connection. When you call FreeConnection on the connection, that connection is returned back to the pool, but the connection to the database is kept open. Connection Pool for Delphi Advantages * Supported all delphi database engines: Borland Database Engine (BDE), ADO, IB, dbExpress * The maximum number of connections for the pool to create (Connection pool dynamically sizes to meet spikes in demand) * Simplicity of use * Connection pool is really thread-safe * Native VCL code * Borland Delphi 5-6 supported Copyright (c) 2002. All rights reserved. OTHER TEXT FILES ------------------------------------------------------------------------------- Besides this file, you get: - licence.txt - license agreement - order.txt - information on ordering and registering - form.txt - printable order form DEMO VERSION LIMITATIONS ------------------------------------------------------------------------------- According to Licence agreement (see licence.txt), the Demo version can be used for evaluation purposes only. It differs from the full version in the following moments: - limited by 3 connection - source code is excluded ON DELPHI VERSIONS ------------------------------------------------------------------------------- Connection Pool for Delphi works with the following compilers: - Delphi 5.0 (Update Pack 1) - Delphi 6.0 INSTALLATION PROCEDURES ------------------------------------------------------------------------------- DELPHI 6.0 ------------- 1. In IDE, remove previously installed Connection Pool for Delphi packages. 2. Run Setup.exe and answer the questions. After setup completion all units are placed in \D6Units folder. 3. Close all open projects and choose Tools|Environment Options...|Library menu command. 4. Remove every entry referencing Connection Pool for Delphi and add \D6Units to the Library Path field, substituting with the name of Connection Pool for Delphi installation directory. 5. Choose File|Open... menu command to open ConnectionPool_D6.dpk (run-time package). 6. In the Package window click the "Compile" button to compile ConnectionPool_D6.dpk. 7. Close the Package window and move compiled ConnectionPool_D6.bpl file into directory that is accessible through the search PATH (i.e. DOS "PATH" environment variable; for example, in Windows\System directory). 8. Open dclConnectionPool_D6.dpk (design-time package). Compile and install it. 9. Close the Package window and _CLICK "NO" BUTTON_ when asked if you want to save changes. DELPHI 5.0 UPDATE PACK 1 ------------------------ 1. In IDE, remove previously installed Connection Pool for Delphi package. 2. Run Setup.exe and answer the questions. After setup completion all units are placed in \D5Units folder. 3. Close all open projects and choose Tools|Environment Options...|Library menu command. 4. Remove every entry referencing Connection Pool for Delphi and add \D5Units to the Library Path field, substituting with the name of Connection Pool for Delphi installation directory. 5. Choose File|Open... menu command to open ConnectionPool_D5.dpk (run-time package). 6. In the Package window click the "Compile" button to compile ConnectionPool_D6.dpk. 7. Close the Package window and move compiled ConnectionPool_D5.bpl file into directory that is accessible through the search PATH (i.e. DOS "PATH" environment variable; for example, in Windows\System directory). 8. Open dclConnectionPool_D5.dpk (design-time package). Compile and install it. 9. Close the Package window and _CLICK "NO" BUTTON_ when asked if you want to save changes. HELP FILE ------------------------------------------------------------------------------- To install Connection Pool for Delphi help file choose Help|Customize... in IDE. Then in OpenHelp window choose every tab (except for Project tab) and delete any references to Connection Pool for Delphi. Then, for every tab, choose Edit|Add Files..., browse for \Help folder and add an appropriate file. You can find additional info on using OpenHelp in OpenHelp.hlp file. ORDERING INFORMATION ------------------------------------------------------------------------------- See order.txt file or visit our site http://www.sdmsoft.com/order.shtml. SUPPORT ------------------------------------------------------------------------------- Sorry, but we offer only email support. Feel free to write us to support@sdmsoft.com. We are interested in regular contacts with you. So we are ready to hear your comments, criticism, wishes, and bug reports. Visit our site http://www.sdmsoft.com/ for the latest news. THANKS TO ------------------------------------------------------------------------------- HardKey System Copyright (c) 2001 Andre Belokon http://www.softcomplete.com Best regards, SDMSoft.

近期下载者

相关文件


收藏者