Google cloud platform Google MySQL云数据库标志不存在:内部\u tmp\u磁盘\u存储\u引擎
我们有谷歌云MySQL实例,我们得到的错误如下:Google cloud platform Google MySQL云数据库标志不存在:内部\u tmp\u磁盘\u存储\u引擎,google-cloud-platform,mysql-error-1064,Google Cloud Platform,Mysql Error 1064,我们有谷歌云MySQL实例,我们得到的错误如下: InnoDB: Cannot add field CE_Lead__c in table client_1067.#sql-ib1179556-1243586840 because after adding it, the row size is 8148 which is greater than maximum allowed size (8126) for a record on index leaf page. 解决此问题的解决方法是设
InnoDB: Cannot add field CE_Lead__c in table client_1067.#sql-ib1179556-1243586840 because after adding it, the row size is 8148 which is greater than maximum allowed size (8126) for a record on index leaf page.
解决此问题的解决方法是设置内部\u tmp\u disk\u storage\u engine=MYISAM
我在Database flags部分看不到这个标志,同样根据google文档,这个变量在google cloud中不存在,但是我可以在MySQL 5.7中看到它存在
谷歌云支持的标志中不存在数据库标志:
MySQL 5.7中存在数据库标志
谢谢
SKS由于服务的托管性质(稳定性/流线型原因等),云SQL MySQL中不支持某些标志。您可以尝试其他解决方法,如减少下面进一步提到的内存使用,如果您决定需要使用云SQL不支持的标志,您可以选择创建自己的自管理MySQL实例,以绕过云SQL限制。(例如使用)Thank@Andres,您能建议我需要减少哪些内存设置吗?在现有的云SQL MySQL服务器中是否有其他方法可以解决此问题。对于内存使用量的减少,这取决于您在特定查询或显示创建表中尝试执行的操作,你可以参考Rick James的答案,我不知道还有其他方法可以解决这个问题