Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu


  • Sameh ElniketyEmail author
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_666


Database socket


A connection is a mechanism that allows a client to issue SQL commands to a database server. In a typical usage, the client software opens a connection to the database server, and then sends SQL commands and receives responses from the server.

To open a connection, the client specifies the database server, database name, as well as the client's credentials. Establishing a connection includes a handshake between the client software and the database server. For example, the client credentials, such as a simple user name and password, are examined by the database server to authorize the connection. Further information may also be negotiated such as the specific protocol and data encoding.

Key Points

Handling and servicing connections is an important part of database servers because connections are the main source of concurrency.

Database servers limit the number of connections they can accept and may provide differentiated service to connections from...

This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    Adya A, Blakeley J, Melnik S, Muralidhar S. Anatomy of the ADO.NET Entity Framework. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 2007. p. 877–88.Google Scholar
  2. 2.
    Data Management: SQL Call Level Interface (CLI), Technical Standard C451-15/10/1993. The Open Group.Google Scholar
  3. 3.
    Sun Microsystems, The Java Database Connectivity (JDBC). Available at: http://java.sun.com/javase/technologies/database/.

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Microsoft ResearchRedmondUSA

Section editors and affiliations

  • Anastasia Ailamaki
    • 1
  1. 1.Informatique et CommunicationsEcole Polytechnique Fédérale de LausanneLausanneSwitzerland