Viewing 15 posts - 1,921 through 1,935 (of 6,676 total)
I don't think the difference in the systems is the determining factor in how fast this runs - it appears to me to be network related. As shown above, running...
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
March 31, 2020 at 6:36 pm
thanks Jeff.
so a bit slower on my pc - I7 4 core , 16GB ram, SSD drive - 29 seconds for same criteria.
on this type of multiple files output,...
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
March 31, 2020 at 2:33 pm
Open Windows Powershell ISE - this is the development tool for Powershell included with Windows 10.
You will need to include 2 variables that I excluded from the post. Those are:
$SQLServer...
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
March 31, 2020 at 2:18 pm
I ran a test against your JBMTest table - here is the code that was executed and the Get-Date output.
Get-Date;
$yearFrom = "2019-01-01";
$yearTo = "2020-01-01";
1..53 | foreach {
...
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
March 30, 2020 at 10:11 pm
Crap... I'm sorry Jeffrey. I hit "report" instead of "quote" on your post by mistake.
As for the partitioning, please don't put words in my mouth. The original decision to...
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
March 30, 2020 at 8:42 pm
You can do this in Powershell:
$weeks = @(); 1..53 | ForEach {$weeks += $_};Another method would be:
$yearfrom = "2020-01-01"
$yearto = "2020-01-01"
$exportfile = "c:\temp\datafile_--week--.csv"
1..53 |...
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
March 30, 2020 at 6:14 pm
'data access patterns and table structure' is meant to include inserts/deletes/updates/selects - all methods of accessing and using that table. And your answer is the same answer I have been...
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
March 29, 2020 at 3:49 pm
Is there a particular issue you are trying to resolve? Are you seeing performance issues related to the above questions - or is there another reason you are looking 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
March 29, 2020 at 3:02 pm
And, no... my 4 year long experiment also shows that you can't just not do any index maintenance although not doing any index maintenance (still rebuilding stats, though) is...
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
March 28, 2020 at 3:12 pm
I found that the easiest way to change the owner of a database in an AG - is the following:
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
March 27, 2020 at 5:10 pm
My question is: would that index with unique be unique? Will an insert fail if it is breaking the logic of the unique nonclustered index with include?
No - included...
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
March 26, 2020 at 9:47 pm
I get all that - but changing over to 7-zip is going to require modifying the Execute Process Task to call a different executable with different command line parameters.
Here is...
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
March 24, 2020 at 7:55 pm
Is there a reason why you cannot use the built-in .NET code?
In a script task, you can include the namespace System.IO.Compression and add a reference to System.IO.Compression.FileSystem - then use...
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
March 24, 2020 at 5:56 pm
No - you would not need any additional servers and there wouldn't be any additional AG's.
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
March 23, 2020 at 9:04 pm
I don't understand...if you have the following:
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
March 23, 2020 at 7:24 pm
Viewing 15 posts - 1,921 through 1,935 (of 6,676 total)