Deprecate most methods which were never used in `DatabaseLimits`
#33799

kamipo wants to merge kamipo:deprecate_unused_methods_in_database_limits into rails:master

We do not currently have an analysis of these two commits