Viewing 15 posts - 48,331 through 48,345 (of 49,552 total)
VAIYDEYANATHAN.V.S (10/24/2007)
You can define a trace that records only Microsoft® SQL Server™ processes while filtering out any unnecessary system events. Filtering out system server process IDs (SPIDs) saves system...
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
October 24, 2007 at 5:58 am
In my company, the first interview is technical. After that there's a technical test, then the HR-type interview.
Seems to work quite well. So few people get through the first interview....
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
October 24, 2007 at 5:36 am
p.s. What you'll get from dm_exec_sql_text in the case of stored procs and functions is the creation script, not the code that executed the procedure which is what you will...
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
October 24, 2007 at 5:25 am
You can always run a trace serverside if you don't want to use the profiler GUI (which you shouldn't on a production system) See sp_tracecreate in BoL.
As for getting the...
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
October 24, 2007 at 5:21 am
VAIYDEYANATHAN.V.S (10/24/2007)
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/indexvw.mspx
Huh? What does an indexed view have to do with anything?
Kiruba:
I'm not sure I understood your question totally. You have an application that's exhibiting poor performance. Using profiler,...
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
October 24, 2007 at 5:11 am
Just be aware that isnumeric can return true for values that can't be cast to int.
SELECT ISNUMERIC ('346E05'), ISNUMERIC ('25,2566')
SELECT CAST('346E05' AS int)
SELECT CAST('25,2566' AS int)
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
October 24, 2007 at 2:22 am
Why are you storing amounts in a character field? The following will work, provided there are no values in the column that are not ints.
update T
set T.saleamount=tot.Totsales
from salestable T inner...
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
October 24, 2007 at 1:35 am
nachikethm@yahoo.com (10/23/2007)
There are FK index of Id,Date and Value is included column as non-clustered index.and if we querry any date range it taking that much of time.
You didn't answer Grant's...
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
October 24, 2007 at 1:28 am
I've been having a similar thing recently while running CheckDB and have attributed it to overloading the IO subsystem. I've know for some time that I'm straining the disks.
What I...
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
October 24, 2007 at 1:06 am
Ratheesh.K.Nair (10/23/2007)
change ur database recovery model...
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
October 24, 2007 at 12:12 am
B.SC in computer science and physics. I wanted to go into physics, but there are very few jobs in that field in this country except teaching.
Currently working on my Masters...
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
October 23, 2007 at 6:05 am
Yup. That's correct.
If you don't need to be able to make point-in-time restores, then you can change to simple recovery mode. In simple the log auto truncates on checkpoints.
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
October 23, 2007 at 4:33 am
Look at sp_executesql
DECLARE @ReturnValue DATETIME, @EmployeeID INT
SET @EmployeeID = 1
exec sp_executesql N'SELECT @JoinDate = JoinDateQuery NewHireEmployee where empid = @EmpID ',
N'@EmpID int, @JoinDate DATETIME OUTPUT', @EmpID = @EmployeeID, @JoinDate...
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
October 23, 2007 at 2:00 am
What you're seeing in parallelism waits. Is there a wait type of CXPacket?
iirc, the display of spids blocking themselves was new in SP3 or 4. Before that you wouldn't 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
October 23, 2007 at 1:41 am
rhunt (10/22/2007)
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
October 23, 2007 at 1:28 am
Viewing 15 posts - 48,331 through 48,345 (of 49,552 total)