简体   繁体   中英

Implement vitess with magento 2

Can someone please help me on how to implement a vitess with Ma.neto 2 Ecommerce platform? I want to do sharding Magento 2 database in the community version.

It's unlikely you'll be able to achieve this for two reasons:

  1. Although an application does not generally need to be vitess-aware, certain queries that magento may issue may not be supported eg joining on a sub-query. Other things that aren't supported are auto-incrementing ids

  2. In order to get the most from Vitess, you need to supply it with a VSchema - a json definition of your schema detailing how each table should be sharded 9plus other stuff). If you don't supply this, vitess just won't work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM