Viewing 15 posts - 17,536 through 17,550 (of 49,552 total)
lokeshvij (7/19/2012)
Further to add on; scalar functions are always deterministic.
Sure about that?
All scalar udfs will always return the same value if called multiple times with the same parameter?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2012 at 11:20 am
pdanes (7/19/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2012 at 10:37 am
pdanes (7/19/2012)
I've just assembled this:
I would recommend not doing that. If you want to go that way, create multiple procs and call them from within the IFs. The selects within...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2012 at 10:33 am
Dynamic SQL or OPTION RECOMPILE (if you're on 2008 SP2 or above). Test the recompile, make sure it really does help.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2012 at 9:59 am
The Lost Fleet series is excellent.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2012 at 5:37 am
In short, max server memory's not configured properly. If that's left at default, SQL thinks it can use up to 2000 TB of memory. Probably OK if you have more...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 3:52 pm
Well firstly I would suggest that you discard that function entirely. If that's intended to be called as part of a larger query it's going to perform abysmally, at best....
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 3:23 pm
b.hedge (7/18/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 2:07 pm
If you like your books deep, try Foucault’s Pendulum. I struggled through it. Interesting though.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 1:39 pm
Uninstall, reinstall. First make sure you're not using any persistent enterprise only features
SELECT * FROM sys.dm_db_persisted_sku_features
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 1:19 pm
Another option: Mirror for automatic failover (synchronous with witness) and log ship to a 3rd site for extra redundancy.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 1:12 pm
Steve Jones - SSC Editor (7/18/2012)
WayneS (7/18/2012)
Gianluca Sartori (7/18/2012)
SQLRNNR (7/17/2012)
http://www.apress.com/9781430247708
Here's another one coming out in August (by a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 12:50 pm
Kiran.Baderdinni (7/18/2012)
Won't a bad page in the tran log backup (any of the hourly tan backup) have the same outcome?
Corruption is from something in the IO subsystem stamping on a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 12:44 pm
Kiran.Baderdinni (7/18/2012)
The over-arching concern I have with LS is that 'page corruptions' will propogate to the secondaries.
No they won't. Not unless the corruption is in the initial full backup used...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 12:37 pm
loda117 (7/18/2012)
why isn't SQL letting go of some of the memory once it allocates it 🙁
Because it's designed not to. What you're seeing there is documented, by design behaviour.
See...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2012 at 12:34 pm
Viewing 15 posts - 17,536 through 17,550 (of 49,552 total)