Viewing 15 posts - 1,711 through 1,725 (of 6,676 total)
A new cardinality estimator was introduced in SQL Server 2014 and could cause some queries to get a less than optimal execution plan. I suspect that is what is happening...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 9, 2020 at 7:27 pm
Thanks Anthony for your help
If i get you well you are saying i must add a file group add 2 files which will be ndf not mdf and the...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 9, 2020 at 7:13 pm
That works, but you lose the fail over if that is a concern
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 8, 2020 at 8:27 pm
Log shipping won't get you near-real time data in a read-only database. You have to stop applying log files and switch the database to STANDBY for it to be accessible,...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 8, 2020 at 7:39 pm
I missed that this database was already included in the other AG. You are fairly stuck here...
If you already have a secondary that is set to read-only, why do you...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 8, 2020 at 7:22 pm
Since the clustered index is the data - any other indexes should be able to be dropped and recreated with no data loss. The non-clustered indexes will be built from...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 8, 2020 at 7:15 pm
Are you on Enterprise Edition - or are you using Standard Edition?
Assuming Enterprise Edition, you can add that third machine into the cluster, install a stand-alone SQL Server instance and...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 8, 2020 at 6:35 pm
One of the indexes is the primary key - but that index may not be the clustered index. If it isn't the clustered index you may be able to rebuild...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 8, 2020 at 6:24 pm
Sorry that guy had one of my post removed. He is a freelancer and well known on sql central
I'm getting:
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 7, 2020 at 8:52 pm
See if this is an improvement
With excludeRoles
As (
Select lr.legalID
From legalReference ...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 7, 2020 at 7:39 pm
You also have to be aware of transaction log usage - if you import a large file in a single batch you will need at least that much...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 6, 2020 at 10:11 pm
@Brian - your solution is not the same as the original query. The original query is joining to the max date for each column1 - not the max date across...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 6, 2020 at 9:19 pm
That function is going to be a performance killer - no matter what. As it is used - it must be a scalar function and therefore needs to execute for...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 6, 2020 at 7:53 pm
You also have to be aware of transaction log usage - if you import a large file in a single batch you will need at least that much space available...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 6, 2020 at 7:44 pm
You probably need to rethink the approach...
What is the agent job doing? Why does it need to run after this process - and why does it need to run in...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
July 6, 2020 at 6:23 pm
Viewing 15 posts - 1,711 through 1,725 (of 6,676 total)