Improve SQLAlchemy performance with auto-incrementing primary keys.