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

Full database table scan oc_circles_circle/oc_circles_member #1622

Open
ChristophWurst opened this issue Jul 3, 2024 · 0 comments
Open

Full database table scan oc_circles_circle/oc_circles_member #1622

ChristophWurst opened this issue Jul 3, 2024 · 0 comments

Comments

@ChristophWurst
Copy link
Member

Query Id: 840cd7ddd2b35ffc135ea23c59096c00

SELECT
  `cs`.`unique_id`,
  `cs`.`name`,
  `cs`.`display_name`,
  `cs`.`sanitized_name`,
  `cs`.`source`,
  `cs`.`description`,
  `cs`.`settings`,
  `cs`.`config`,
  `cs`.`contact_addressbook`,
  `cs`.`contact_groupname`,
  `cs`.`creation`
FROM
  `oc_circles_circle` `cs`
  INNER JOIN `oc_circles_member` `cs_mm` ON `cs_mm`.`circle_id` = `cs`.`unique_id`
WHERE
  (`cs`.`instance` = ?)
  AND (
    (`cs_mm`.`user_id` = ?)
    AND (`cs_mm`.`user_type` = ?)
    AND (`cs_mm`.`level` >= ?)
  )
  AND ((`cs`.`config` & ?) > ?)

Nextcloud 27.1.11

@ChristophWurst ChristophWurst changed the title Full database table scan Full database table scan oc_circles_circle/oc_circles_member Jul 3, 2024
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