1
0
mirror of https://github.com/bitwarden/server synced 2025-12-29 22:54:00 +00:00

database tuning

This commit is contained in:
Kyle Spearrin
2018-07-28 21:25:25 -04:00
parent 407455562c
commit 98fc54881b
4 changed files with 72 additions and 8 deletions

View File

@@ -21,3 +21,8 @@ CREATE NONCLUSTERED INDEX [IX_OrganizationUser_UserIdOrganizationIdStatus]
ON [dbo].[OrganizationUser]([UserId] ASC, [OrganizationId] ASC, [Status] ASC)
INCLUDE ([AccessAll]);
GO
CREATE NONCLUSTERED INDEX [IX_OrganizationUser_OrganizationId]
ON [dbo].[OrganizationUser]([OrganizationId] ASC);