数据库
首页 > 数据库> > AWS Aurora是否遭受与MySQL相同的局限性?

AWS Aurora是否遭受与MySQL相同的局限性?

作者:互联网

具体来说,MySQL的最大行大小限制为64kB.
我想知道Amazon Aurora是否存在相同的局限性,而Amazon Aurora可能是MySQL的替代产品.

解决方法:

好吧,根据AWS的文档:

The Amazon Aurora database engine is designed to be wire-compatible
with MySQL 5.6 using the InnoDB storage engine.

http://aws.amazon.com/rds/aurora/faqs/#general

这意味着适用innoDB限制:
http://dev.mysql.com/doc/refman/5.6/en/innodb-restrictions.html

专门针对行大小,默认限制为8000B:

The maximum row length, except for variable-length columns (VARBINARY,
VARCHAR, BLOB and TEXT), is slightly less than half of a database
page. That is, the maximum row length is about 8000 bytes for the
default page size of 16KB; if you reduce the page size by specifying
the innodb_page_size option when creating the MySQL instance, the
maximum row length is 4000 bytes for 8KB pages and 2000 bytes for 4KB
pages. LONGBLOB and LONGTEXT columns must be less than 4GB, and the
total row length, including BLOB and TEXT columns, must be less than
4GB.

标签:amazon-web-services,amazon,amazon-rds-aurora,mysql
来源: https://codeday.me/bug/20191028/1951843.html