spoke-and-chain icon indicating copy to clipboard operation
spoke-and-chain copied to clipboard

Reduce huge database size

Open MisterMike opened this issue 2 years ago • 0 comments

Description

This is not a real bug, but it seems a little annoying (at least to me). When setting up a clone of this project, the database file seed.sql is not being replicated due to its size. Upon examining the database and its entries, it occurred to me that there are several hundert thousand addresses and customers entries which don't seem to offer any benefit for anyone wanting to set up a Craft CMS Commerce demo site.

By understanding the usefulness of seeded customers, addresses and orders, we might consider reducing that amount to just a few, shouldn't we ?

Steps to reproduce

  1. Clone project
  2. Download db seed file manually
  3. Import database
  4. Optionally see customers and addresses in CP

Additional info

  • Craft version: 4.6.0
  • PHP version: 8.1.26
  • Database driver & version: MariaDB 10.4.32
  • Plugins & versions: project's default

MisterMike avatar Jan 15 '24 08:01 MisterMike