The above TSQL commands should run very fast (in one second) and may
have the same effect as rebuilding the index if the slowdown
is due to a problem with the query plan cache in SQL Server.
use master
go
DBCC FREEPROCCACHE
go
DBCC FREESYSTEMCACHE ('TokenAndPermUserStore')
go