Viewing 15 posts - 1,516 through 1,530 (of 7,502 total)
- What did you try ?
- I think it may work like the other queries in this list, don't you ?
December 16, 2011 at 2:18 pm
This is out of my league at this moment.
I've launched a tweet using #sqlhelp and hope people will see and hop in.
December 16, 2011 at 2:14 pm
Sapen (12/16/2011)
ALZDBA,I am new to powershell. May I know what this statement does please. Thanks a bunch.
Clear-Host
#first doing just get-item to pull over file details
get-item c:\temp\ibn\IBN_1_56_4960135.sqlplan
<# result
...
December 16, 2011 at 2:11 pm
of course this restored db also holds the sysjobschedules table ...
December 16, 2011 at 2:06 pm
Maybe you can also use a DTS/SSIS solution to pull over new data every x time, unless your systems need is actually real time or near time.
Did you consider a...
December 16, 2011 at 1:53 pm
Indeed, this would cause less system overhead ...
get-item c:\temp\ibn\IBN_1_56_4960135.sqlplan | foreach -process {if ( $_.length -gt 0 ) { send mail here }}
December 16, 2011 at 1:43 pm
also keep in mind, scalar functions come with a performance hit for sqlserver !
So, while you're at it, because you'll have to modify all referencing queries (views, sprocs, other functions,...
December 16, 2011 at 12:38 pm
December 16, 2011 at 12:26 pm
did you try to redo the first unsuccessful log restore ? (the one that failed during your outage)
( or a restart of it )
I haven't had this kind of issue...
December 16, 2011 at 11:02 am
You mean something like :
This one will fail if you got circular references !
;with cteObjHirarchy
as (
select 1 as MyLevel
, -1 as FK_object_id
, O.object_id as ChildObjectId
...
December 16, 2011 at 2:09 am
Jeff Moden (12/15/2011)
Brandie Tarvin (12/15/2011)
Why would you put your CLUSTERED index on the ID field of the table?To prevent page splits on a massive table.
My bet - and this is...
December 15, 2011 at 11:42 pm
- Can you post related Windows eventlog messages ?
- can you find anything in the sqlserver errorlog file ?
December 15, 2011 at 10:05 am
Did you try indexing your table for the columns in your query ?
As you are talking performance, with your current design, this query (and almost all queries for that matter)...
December 15, 2011 at 10:01 am
I would implement windows security for that purpose whenever I can.
( both for your usage as sqladmin as well as for the other person to use in that monitoring tool/service...
December 15, 2011 at 9:52 am
Viewing 15 posts - 1,516 through 1,530 (of 7,502 total)