数据库连接

维基百科,自由的百科全书

数据库连接(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.

外部链接[编辑]