Synonyms
Database socket
Definition
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...
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Recommended Reading
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.
Data Management: SQL Call Level Interface (CLI), Technical Standard C451-15/10/1993. The Open Group.
Sun Microsystems, The Java Database Connectivity (JDBC). Available at: http://java.sun.com/javase/technologies/database/.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Section Editor information
Rights and permissions
Copyright information
© 2018 Springer Science+Business Media, LLC, part of Springer Nature
About this entry
Cite this entry
Elnikety, S. (2018). Connection. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_666
Download citation
DOI: https://doi.org/10.1007/978-1-4614-8265-9_666
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-8266-6
Online ISBN: 978-1-4614-8265-9
eBook Packages: Computer ScienceReference Module Computer Science and Engineering