Viewing 15 posts - 121 through 135 (of 248 total)
it's worth to read although it's a long read
"Slow in the Application, Fast in SSMS?"
http://www.sommarskog.se/query-plan-mysteries.html
Regarding master db : it has another compatibility level (130) than your db (110 =...
July 11, 2019 at 12:21 pm
The original question was how to store the 5 minute data.
best approach is to save it into local table
how to get the 5 minute data remotely :
the following...
July 11, 2019 at 12:09 pm
Kaz hi!
Did you compare config files of SSRS2014 and SSRS2017? Memory settings and the rest?
July 11, 2019 at 9:47 am
Thanks - I've already done cross database (scoped credentials etc) querying. I tried that on master, but it doesn't work there - I may ahve got the credentials etc...
July 11, 2019 at 9:18 am
In case of SQL2016 read the following article
https://www.sqlrx.com/sql-2016-sp1-use-hint/
Also, take into account that the same behavior can be got using database scoped config changes instead of turning traceflags for the...
July 11, 2019 at 7:54 am
Browser is needed for port resolution of named instances. Kind of DNS for named SQLs.
Clients connect to default instances without contacting Browser first, assuming that the default instance is on...
July 11, 2019 at 7:27 am
I saw the same weird thing too.
If i'm not mistaken in my case it was due to dbcc checkdb running in parallel which creates hidden snapshot of the database it...
July 10, 2019 at 10:00 pm
July 10, 2019 at 3:11 pm
try this one:
SELECT r.[session_id]
,s.original_login_name
,c.[client_net_address]
,s.[host_name]
,c.[connect_time]
,r.blocking_session_id [blocking]
,s.[last_request_start_time] [request_start_time]
,CURRENT_TIMESTAMP [current_time]
,r.[percent_complete] [Done%]
,dateadd(millisecond, r.[estimated_completion_time], CURRENT_TIMESTAMP) [estimated_finish_time]
,r.status
,current_command = SUBSTRING(t.[text], r.[statement_start_offset] / 2, COALESCE(NULLIF(r.[statement_end_offset], - 1) / 2, 2147483647))
,module = COALESCE(QUOTENAME(OBJECT_SCHEMA_NAME(t.[objectid],...
July 10, 2019 at 3:03 pm
AND substring(f.form_line1, charindex('{', f.form_line1)+1,charindex('}', f.form_line1)-2)=ff.form_var_nm
Any pointers how to fix this error ?
obviously, there is/are records without '}' or charindex('}', f.form_line1)-2 < 0
check the data or use...
July 10, 2019 at 1:22 pm
I cannot figure out why the addition of asking for a date range would matter in run time. Any suggestions on where to start?
I suspect this one:
July 9, 2019 at 3:56 pm
If you have 10,000, use sampling. If you know a representative set, use that, otherwise, grab 20-50 dbs, do the backups, and make an educated guess. I assume if...
July 9, 2019 at 3:53 pm
SELECT Id, CONCAT_ws (',',VAL1,VAL2,VAL3,VAL4,VAL5,VAL6)
FROM #MyTable
or
SELECT Id, (ISNULL(Val1+ ', ' , '') + ISNULL(Val2+ ', ', '') + ISNULL(Val3+ ', ' , '')+ ISNULL(Val4+...
July 9, 2019 at 3:42 pm
S Maybe I can powershell out pids <> programs over the course of the night somehow. Nothing relevant in task manager & it's not a SQL agent job or...
July 9, 2019 at 2:51 pm
besides the real-time monitoring using dmv, there are two valuable sources of information:
1) msdb.dbo.backuphistory
2) default trace and "backup/restore" event
https://www.mssqltips.com/sqlservertip/3445/using-the-sql-server-default-trace-to-audit-events/
July 9, 2019 at 2:42 pm
Viewing 15 posts - 121 through 135 (of 248 total)