⚠️ This issue respects the following points: ⚠️
Bug description
create index cards_abid
on nextclouddev.oc_cards (addressbookid);
create index cards_abiduri
on nextclouddev.oc_cards (addressbookid, uri);
cards_abiduri makes cards_abid. INSERT and DELETE queries need two indices to be maintained. UPDATE should not be affected as long as we ever write a new addressbookid or uri.
Tested with 26 (prod) and master/29 (dev).
Steps to reproduce
- Install Nextcloud
Expected behavior
Efficient database index usage
Installation method
None
Nextcloud Server version
26
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
Bug description
cards_abiduri makes cards_abid. INSERT and DELETE queries need two indices to be maintained. UPDATE should not be affected as long as we ever write a new addressbookid or uri.
Tested with 26 (prod) and master/29 (dev).
Steps to reproduce
Expected behavior
Efficient database index usage
Installation method
None
Nextcloud Server version
26
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response