Viewing 15 posts - 151 through 165 (of 392 total)
When you delete rows from a heap, the space is not completely reclaimed.
You need to add a clustered index, rebuild, drop the index and the space should be reclaimed
September 5, 2013 at 1:50 am
How about this?
UPDATE dbsource SET softwaremanufacturer = dbref.Amended_SW_Manufacturer,
productname = dbref.Amended_Product_name,
productversion = dbref.Amended_Product_Version,
licensable = ISNULL(dbref.category,'Unknown')
FROM dbo.newtable dbsource
LEFT OUTER JOIN (
SELECT Raw_SW_Manufacturer,Amended_SW_Manufacturer,
Raw_Product_Version,Amended_Product_Version,
Raw_Product_Name,Amended_Product_Name,category
FROM datalookuptable
GROUP BY Raw_SW_Manufacturer,Amended_SW_Manufacturer,
Raw_Product_Version,Amended_Product_Version,
Raw_Product_Name,Amended_Product_Name,category
) dbref
ON dbref.Raw_SW_Manufacturer = dbsource.softwaremanufacturer
and dbref.Raw_Product_Version =...
August 27, 2013 at 11:25 pm
Yes the database on ServerB should be in NORECOVERY, you can select "the secondary db is already initialized" in the wizard.
Steps here
http://www.mssqltips.com/sqlservertip/2301/step-by-step-sql-server-log-shipping/
August 26, 2013 at 10:29 pm
How about this?
select max(x.row) rows, x.[800num], x.CompanyName
from (
select row_number() OVER (partition by a.CompanyName order by a.[800num]) row, a.[800num], a.CompanyName
from calldata a ) as x
group by x.[800num], x.CompanyName
August 26, 2013 at 9:21 pm
What happens when you insert multiple rows? @id = ?? @type = ??
August 26, 2013 at 9:02 pm
Yes threadpool shouldnt be in the top waits. I would recommend setting your Sql max mem to 68GB as per best practise.
Try that first then investigate further.
July 26, 2013 at 8:08 pm
Yes its for error state 29 but 46 is likely going to be from the same sort of resource contention.
To help understand the state 46 error, this guy...
July 26, 2013 at 1:44 am
Actually probably your best bet is to build another box with standard edition then migrate everything over to it, that way you'll know if you've missed anything.
Then you can...
July 26, 2013 at 1:06 am
There is no point adding all columns as key columns unless you have queries which use all the columns in joins/where/group by clauses.
You also have a 900 byte limit on...
July 26, 2013 at 12:42 am
Both Paul Randal and Jonathan Kehayias have blogs which include evidence that the t-logs are filled sequentially
http://www.sqlskills.com/blogs/paul/multiple-log-files-and-why-theyre-bad/
Jonathan's conclusion:
The reason that only a fraction of the log records are written...
July 25, 2013 at 6:50 pm
You can't downgrade, you would need to completely uninstall and reinstall.
http://msdn.microsoft.com/en-us/library/ms143393%28v=sql.100%29.aspx
If you also have SQL on the box, you'd need to uninstall and reinstall standard edition as well:
Cross-version instances of...
July 25, 2013 at 5:48 pm
Actually since you get the error with normal Powershell as well, it's not patch related.
Very unusual.. I havent seen that issue on any clustered SQL servers.
The only related...
July 24, 2013 at 1:52 am
What version and patch level of SQL are you running?
There is a connect issue related to 2008 SP3 where sqlps is not working properly in a clustered environment:
Could be something...
July 23, 2013 at 1:58 am
Never shrink the log file, it will have to grow again to accomodate any transaction that requires the space.
Read up some more on transaction log management, you need to understand...
July 23, 2013 at 1:32 am
Dynamic SQL cache is in there somewhere
/*============================================================================
Script to report Memory usage details of a SQL Server instance
Author: Sakthivel Chidambaram, Microsoft http://blogs.msdn.com/b/sqlsakthi
...
July 23, 2013 at 1:23 am
Viewing 15 posts - 151 through 165 (of 392 total)