Viewing 15 posts - 106 through 120 (of 236 total)
You can use sysprocesses to determine the amount of active connections and then a grouping based on that to get the count data.
However, I'd be very careful with this as...
December 11, 2014 at 12:01 pm
Nevyn (12/11/2014)
Two easiest methods I can think of on top of my head:
1) Foreach loop that...
December 11, 2014 at 11:58 am
I've done the job test, but I'd like to failover to the secondary node and test it out. Unfortunately I can't do that on my box as I have windows...
December 10, 2014 at 10:14 am
Grant Fritchey (12/10/2014)
December 10, 2014 at 9:45 am
Thanks. I forgot about the Upgrade Advisor.
December 10, 2014 at 9:43 am
Perry Whittle (12/10/2014)
JoshDBGuy (12/9/2014)
Perry Whittle (12/9/2014)
JoshDBGuy (11/26/2014)
So will this also work,
if (select ars.role
from sys.dm_hadr_availability_replica_states ars
where ars.is_local = 1) = 2
begin
raiserror ('This is not the primary replica.',2,1)
end
Work from where, where will...
December 10, 2014 at 9:41 am
Perry Whittle (12/9/2014)
JoshDBGuy (11/26/2014)
So will this also work,
if (select ars.role
from sys.dm_hadr_availability_replica_states ars
where ars.is_local = 1) = 2
begin
raiserror ('This is not the primary replica.',2,1)
end
Work from where, where will this be running...
December 9, 2014 at 10:05 am
Just so you know, if it's a smaller company with only a few Dev's you will generally see that Dev's have a lot of access as there's no real QA...
December 9, 2014 at 9:28 am
I had a longer conversation with our system admin. So he created multiple LUNS for our environments. For the particular SQL Server, it's shared storage from one LUN, meaning it's...
December 9, 2014 at 9:27 am
Sorry for the bump guys. Do you happen to know if the script I listed above will work? I want to implement this within the next day or two.
December 9, 2014 at 9:25 am
Actual query looks fine. We would need data to determine the reason why it's taking so long. But as Grant said, it's most likely an indexing issue. Another reason could...
December 5, 2014 at 11:33 am
Ville-Pekka Vahteala (12/3/2014)
JoshDBGuy (12/3/2014)
Perry Whittle (12/3/2014)
JoshDBGuy (12/1/2014)
December 3, 2014 at 11:36 am
So it doesn't look like we use RDM. Basically we have storage assigned to a host and then spread out that storage among virtual machines.
December 3, 2014 at 11:15 am
Great questions. This is the first time I've worked with a SAN. I will ask the systems admin. Do you happen to know of a good write-up/whitepaper to give me...
December 3, 2014 at 11:10 am
Perry Whittle (12/3/2014)
JoshDBGuy (12/1/2014)
December 3, 2014 at 11:09 am
Viewing 15 posts - 106 through 120 (of 236 total)