swisscom cloudfoundry:扩大数据库大小

swisscom cloudfoundry: scaling up DB size

我的 PHP BP 在 Swisscom CloudFoundry Appcloud 上有一个 MariaDB,我想知道我是否可以将该服务从小型升级到中型,而无需创建新服务、迁移数据和重新绑定应用程序。

Grtnx, 汉斯

搜索 "cloud foundry change service instance" 我找到了 open source documentation 的一个部分,上面写着:

By updating the service plan for an instance, users can effectively upgrade and downgrade their service instance to other service plans. Though the platform and CLI now support this feature, services must expressly implement support for it so not all services will. Further, a service might support updating between some plans but not others (e.g., a service might support updating a plan where only a logical change is required, but not where data migration is necessary).

所以听起来原则上是可能的,但不太可能,因为它会涉及数据迁移,因此 Swisscom MariaDB 服务必须相当出色。 Swisscom MariaDB service 上的文档似乎无法以某种方式解决问题。

您可以自己尝试(为了安全起见,在单独的测试应用程序上):

cf update-service SERVICE_INSTANCE [-p NEW_PLAN] [-c PARAMETERS_AS_JSON] [-t TAGS]

来源的小澄清 - Swisscom 应用云团队:

确实,我们的 none 服务平台目前不支持更改服务计划的功能。我们的路线图上有它(服务 up-scaling)。我们应该更快地发布更高级的备份管理功能,使此类操作更易于手动执行。

亲切的问候

迈克尔