Viewing 15 posts - 31 through 45 (of 309 total)
Its back online and in sync. Took the backup, paused the data movement, restore the DB, join the DB and that's it.
November 14, 2019 at 5:15 pm
Run this query and tell me what you get?
SELECT
SPID,
DB_NAME(SP.DBID) AS DBNAME,
HOSTNAME,LOGIN_TIME,LOGINAME,
CAST(((DATEDIFF(s,start_time,GetDate()))/3600) as varchar) + ' hour(s), '
...
November 14, 2019 at 3:20 pm
I am restoring a DB with no recovery. I will then just join the DB.
November 14, 2019 at 3:11 pm
I have this query I run when I am trying to capture long running queries. You can modify it and capture all the select statement.
Create procedure [dbo].[spSelectQueries]
as
INSERT...
November 13, 2019 at 7:40 pm
Ag has been configured the same across all servers.
ON Prem:
SQL1 Primary synch
SQL2 Secondary synch
SQL3 Secondary Asynch
SQL4 Secondary synch
DR site
SQL15 Primary synch
SQL16 Secondary synch
SQL17 Secondary Asynch
SQL18 Secondary synch
log backup runs every 15 minutes
November 13, 2019 at 6:39 pm
I have been monitoring the redo_queue_length on 18 for past hour and the size is not decreasing. Its staying around '3341.....'. I am really not sure what to look for...
November 13, 2019 at 6:35 pm
I think it really doesn't matter where you are running your tlog backups (either Primary or Secondary).
Have you checked the error log? Did you try to run the log backup...
October 16, 2019 at 1:38 pm
This issue has been resolved. I was trying to create a client access point from cluster level and that's why it was just giving me all sorts of issues. I...
October 3, 2019 at 1:40 pm
sys.availability_group_listeners only gave me 1 record (details of an existing listener).
Tried running an alter AG statement with modify listener with port.
ALTER AVAILABILITY GROUP [AG]
modify LISTENER N'Test' (PORT=1433);
Got this error: "The...
October 3, 2019 at 12:56 pm
Attaching files
September 12, 2019 at 12:34 pm
This one is helpful as well
DECLARE @serverID INT
, @Memory INT
, @Edition VARCHAR (200)
, @Version VARCHAR (200)
, @CoreCount INT;
DECLARE @MemoryOutput TABLE ( MemoryGB INT )
select @serverID = server_id from sys.servers
SELECT @CoreCount...
June 13, 2019 at 4:47 pm
Something like this?
DROP TABLE [dbo].INVENTORY
CREATE TABLE [dbo].INVENTORY(
[ID] [int] NULL,
[ServerName] [varchar](200) NULL,
[Database_Name] [varchar](200) NULL,
[Recovery_Model] [varchar](30) NULL,
[Creation_Date] [datetime] NULL,
[Owner] [varchar](50) NULL,
[IS_Mirrored] [int] NULL,
[VLFcount] int
)
--variables to hold each 'iteration'
declare @query varchar(100)
declare @dbname sysname
declare...
June 13, 2019 at 4:46 pm
Yep, I was missing an END. That fixed the issue. Thanks!
May 28, 2019 at 8:03 pm
Not trying to be lazy but one of the server has 128 jobs and some of the jobs have multiple steps, some have SSIS packages. Am I to go through...
May 22, 2019 at 6:00 pm
Tried string, Unicode string but nothing. Still see NULL value
April 12, 2019 at 4:28 pm
Viewing 15 posts - 31 through 45 (of 309 total)