Viewing 15 posts - 781 through 795 (of 2,863 total)
To me that sounds like when the disk had bad sectors which resulted in data getting corrupted in the system databases and possibly user databases.
First, I would put it into...
November 16, 2021 at 3:58 pm
I would start by reaching out to Microsoft for support.
They may suggest that you rebuild master, but you will lose all of your logins and roles and other objects stored...
November 16, 2021 at 3:45 pm
I am thinking you mean DLL not DDL. Wireshark would probably help determine if it is network related, and I am still leaning towards something on the network stack between...
November 16, 2021 at 2:17 pm
With the view, if the indexes on the table are "good enough" for it, then you could still use the view without the index on it. This would allow you...
November 15, 2021 at 9:52 pm
Pretty sure in SQL Server, that would be a view or a table.
You cannot name a query. So whatever the contents of the query "QRY_DATES" are, you would need to...
November 15, 2021 at 9:47 pm
If I am understanding your post correctly, switching to Windows Server 2019 is causing the slowness getting data from the SQL instance, correct?
If so, I would guess the problem is...
November 15, 2021 at 5:52 pm
My first thought would be firewall or permissions.
Permissions could be a problem if the SQL Server Service account (or Agent service account or the Polybase service account... not 100% certain...
November 15, 2021 at 5:33 pm
type = 'U' means you are grabbing all "user" type of login. To SQL, a "human" and a "non-human" are identical. It is just a login.
How would SQL know the...
November 15, 2021 at 3:12 pm
I would go with that approach UNLESS the full CHECKDB fails on the restored DB. If it fails, I would then run a full on prod as well to ensure...
November 15, 2021 at 2:59 pm
Pretty sure that my advice above would apply to views as well. Profiler or plan cache will capture the TSQL being run and then you can review and audit it.
The...
November 12, 2021 at 5:23 pm
If there is any data you would be upset or in trouble for if it got leaked, I would encrypt it.
My opinion - there isn't anything worth stealing in the...
November 10, 2021 at 7:48 pm
One approach that MAY work for you would be to break it up into multiple steps.
Since pulling the inner queries into a temp table improves performance, why not just use...
November 10, 2021 at 6:45 pm
Looking at the execution plan, I am thinking that adding an index on SubscriberID may help as you are using those in the WHERE clause.
Your estimated number of rows is...
November 10, 2021 at 4:32 pm
There is a good article on checkdb here:
https://www.mssqltips.com/sqlservertip/2399/minimize-performance-impact-of-sql-server-dbcc-checkdb/
I do recommend you read that as it addresses your concerns with PHYSICAL_ONLY as well as using the backup-restore-checkdb approach.
November 10, 2021 at 3:16 pm
The best way to work with performance issues is to look at the execution plan. Could you post the execution plan for your query?
When I run the above, it is...
November 10, 2021 at 3:06 pm
Viewing 15 posts - 781 through 795 (of 2,863 total)