Skip to content

Conversation

@BP-TDI-TMA
Copy link

Hello,

I've find out that que SQL diagnostic query "GetTableUsage_RestartProof_AllDatabases.sql" has an issue.
Every time it loops on the databases' cursor, the inner dynamic query is appended with the same template. Which make the query grow linearly and apply one more time for each database loop.

IE :
First loop : 1 pass on first
Second loop : 1 pass on first, 1 pass on second
....

Have a nice day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant