snapshot_previous_MonDmOsExceptionStats error on IndexOptimize #750
Unanswered
JohnMTrollope
asked this question in
General
Replies: 2 comments 1 reply
-
Note: even when I run "@MSShippedObjects = 'N'", I get the same error. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The table in master does not cause an issue but the clustered index does. If I remove this, then there is no error CREATE UNIQUE CLUSTERED INDEX pkLoginAudit ON dbo.LogonAudit (
pk ASC
) WITH (
PAD_INDEX = OFF,
STATISTICS_NORECOMPUTE = OFF,
SORT_IN_TEMPDB = OFF,
IGNORE_DUP_KEY = OFF,
DROP_EXISTING = OFF,
ONLINE = OFF,
ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON,
OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF
) ON [PRIMARY] Alas this index is very necessary so I will just have Hallengren code ignore this table for now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am on this version:
Microsoft SQL Azure (RTM) - 12.0.2000.8
Mar 23 2023 05:33:04
Copyright (C) 2022 Microsoft Corporation
I am running these parameters
Eventually, the IndexOptimise runs this code (I have put in the parameters)
Which boils down to this:
I consistently get this and simply cannot find the object or anything about it on Google.
The best I can do for now is to change Hallengren's code to skip it but really not keen to do that. Does anyone know what's going on?
Thanks
John
Beta Was this translation helpful? Give feedback.
All reactions