數據庫連接

維基百科,自由的百科全書

數據庫連接(database connection)是數據庫服務器與客戶端之間的通信聯繫。客戶通過數據庫連接發送命令、接收服務器返回的結果。

IBM DB2,[1] Microsoft SQL Server,[2] Oracle,[3] MySQL,[4] PostgreSQL,[5]Neo4j[6]使用連接池技術來改善性能。

建造連接時,通常要提供一個驅動程序provider英語provider model與一個連接字符串英語connection string。例如, Server=sql_box;Database=Common;User ID=uid;Pwd=password;.

一旦連接建立,它可以被打開、關閉、設置性質。

參見[編輯]

參考文獻[編輯]

引用[編輯]

  1. ^ IBM Connection Pooling Support[永久失效連結]
  2. ^ SQL Server Connection Pooling (ADO.NET). [2018-11-08]. (原始內容存檔於2016-05-14). 
  3. ^ OCI Driver Connection Pooling. [2018-11-08]. (原始內容存檔於2011-11-14). 
  4. ^ MySQL Connection Pooling. [2018-11-08]. (原始內容存檔於2016-03-20). 
  5. ^ PostgreSQL Replication, Clustering and Connection Pooling. [2018-11-08]. (原始內容存檔於2020-04-13). 
  6. ^ 4.2. Client applications - Chapter 4. Drivers. neo4j.com. [2018-02-23]. (原始內容存檔於2018-02-23). 

來源[編輯]

  • IDbConnection Interface on MSDN
  • Managing and Monitoring .NET Connections whitepaper.
  • Getting and Staying Connected whitepaper.
  • Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition) Addison Wesley, William Vaughn, ISBN 978-0-321-24362-1.

外部連結[編輯]