Understanding the limitations of MySQL database on the server light mark

Source: Internet
Author: User

Guidance:Starting from MySQL 5.0.2MysqlThe _ stmt_attr_set () c api function implements the server-side cursor.Server cursorAllows the server to generate a result set, but does not transmit it to the client unless the client requests these rows. For example, if the client executes a query but is only interested in 1st rows, the remaining rows will not be transmitted.

The cursor is read-only and cannot be used to update rows.

Update where current of and delete where current of are not implemented because the updatable cursor is not supported.

The cursor cannot be kept (open again after submission ).

The cursor is insensitive.

The cursor cannot be rolled.

The cursor is not named. The statement handler acts as the cursor ID.

Only one cursor can be opened for each pre-processing statement. If you need multiple cursors, you must process multiple statements.

If the statement is not supported in Preprocessing mode, you cannot use the cursor on the statement that generates the result set. Including check tables, handler read, and show binlog events statements.

The limitations of MySQL databases on the backend are described above. Therefore, it can be concluded that database management is not so easy. Database Management is subject to many constraints, I hope the content mentioned above will be helpful to you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.