I used pas.plugins.sqlalchemy to provide a database for an RDBMS to authenticate and store MemberData data using MySQL. Authentication works fine, and member data is correctly stored and retrieved on the DBMS. Current users over 20,000
However, listing users takes a lot of time. I checked β Many Users β under βPlone Control Panelβ / βUsers and Groups,β but even a simple user search takes an almost infinite amount of time. While debugging the plugin.py script, I noticed that enumerateUsers () is called as many times as the number of users saved; therefore, to complete a simple search request, a huge amount of processor time is required, since the request is mapped to each user name, one user at a time, one request at a time.
Am I missing something? Is pas.plugins.sqlalchemy especially useful when you have a lot of users? I currently have the sql plugin as the top priority in my setting of * acl_users / plugins / User Enumeration *. Should I change this?
source share