Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant index circles_member_cisi #1810

Open
ChristophWurst opened this issue Dec 12, 2024 · 0 comments
Open

Redundant index circles_member_cisi #1810

ChristophWurst opened this issue Dec 12, 2024 · 0 comments

Comments

@ChristophWurst
Copy link
Member

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Install the app
  2. Look at the db schema

Expected behaviour

Efficient use of indices

Actual behaviour

Redundant index circles_member_cisi which is already covered by circles_member_cisiuiutil.

$table->addIndex(
['circle_id', 'single_id', 'user_id', 'user_type', 'instance', 'level'],
'circles_member_cisiuiutil'
);
$table->addIndex(['circle_id', 'single_id'], 'circles_member_cisi');

Server configuration

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL

PHP version: 8.1/8.2/8.3

Nextcloud version: (see Nextcloud admin page)

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Firefox/Chrome/Safari/…

Browser version: 124/125/…

Operating system: Windows/Ubuntu/Mac/…

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant