Transients can accumulate if not expired properly. Object caching (e.g. Redis) stores them outside the DB when enabled, which reduces bloat; if you’re not using object cache, cleanup matters more.
WP-CLI cleanup
wp transient delete --expired
Related
- Setting up Redis object cache for WordPress — move transients out of the DB