MySQL Connector/Python Developer Guide  /  The Connector/Python C Extension

Chapter 8 The Connector/Python C Extension

Connector/Python supports (as of version 2.1.1) a C Extension that interfaces with the MySQL C client library. For queries that return large result sets, using the C Extension can improve performance compared to a pure Python implementation of the MySQL client/server protocol. Section 8.1, “Application Development with the Connector/Python C Extension”, describes how applications that use the mysql.connector module can use the C Extension. It is also possible to use the C Extension directly, by importing the _mysql_connector module rather than the mysql.connector module. See Section 8.2, “The _mysql_connector C Extension Module”. For information about installing the C Extension, see Chapter 4, Connector/Python Installation.


User Comments
Sign Up Login You must be logged in to post a comment.