Viewing 15 posts - 46 through 60 (of 79 total)
>> Buffer Cache page life expectancy is 66 seconds
That is very low and there can be multiple reasons for this.
1) Low memory available on the server.
2) Queries returning large sets...
May 24, 2009 at 1:20 pm
Gaby,
>>(we're talking 10 minutes plus, last time I ran it it was heading to 15).
sys.dm_db_index_physical_stats will tell you the fragmentation of the tables. And in limited mode also, it will...
May 24, 2009 at 1:07 pm
WayneS (2/27/2009)
I modified the supplied code to get the # of tempdb objects, and all tempdb table names:
use AdventureWorks
go
select count(*) from tempdb.sys.objects
select name from tempdb.sys.tables --where name like '%tableA%'
declare @tableA...
February 27, 2009 at 12:13 pm
Jeff, Thanks for your timely good spanking for using the TVF. I wouldn't use/propose this next time and you will see me use the numbers table here next time.
January 26, 2009 at 10:57 am
Just to complement what was already said, you should read the below articles to understand why its happenning and how can you avoid this.
January 26, 2009 at 10:20 am
>>how to create secondary data files in sql server 2005?
-- Create a new file group
ALTER DATABASE test_filegroup
ADD FILEGROUP NonClustIndexes
go
-- Add a file to the file group,...
January 26, 2009 at 2:34 am
>>I want to populate a column that have the values null of an table that contains data with data from one column to another table. who I do this? with...
January 26, 2009 at 1:54 am
Plz take a look at PIVOT in BOL.
CREATE TABLE #Test
(Id_solution INT, Parameter_nm VARCHAR(100), Parameter_value VARCHAR(50))
INSERT INTO #Test
...
January 26, 2009 at 1:50 am
Andy is right that you can't create view on the snapshot db unless the views are created in the source database.
Where are these views located? Can you share more details...
January 25, 2009 at 11:52 pm
>>My system always using High RAM 25 GB out of 32 GB
As explained earlier, this is normal behavior for SQL Server. SQL grabs as much memory as needed and will...
January 25, 2009 at 11:38 pm
DTA is very good tool but you have to present substantial query load (representative of complete load) for it to give a good set of options. I wouldn't simply create...
January 25, 2009 at 11:20 pm
Do you need to account for data integrity also if any of the SP's fail? Then look at SET XACT_ABORT (Transact-SQL) This will ensure that if any SP fails...
January 25, 2009 at 9:53 pm
Dynamic sql is the only way, although you don't necessarily use cursors.
CREATE TABLE #Test
(OrderNo INT, SeqNo INT, Type CHAR(2))
INSERT INTO #Test
...
January 25, 2009 at 9:47 pm
When using bcp, you have to specify the data types in some format. For faster responses, try -n.
-n: Native
-c: character
-N: native (database) data types of the data for noncharacter data,...
January 25, 2009 at 9:29 pm
Viewing 15 posts - 46 through 60 (of 79 total)