Viewing 15 posts - 286 through 300 (of 758 total)
Find the queries with the worst IO load (not the ones that do the most reads per execution).
Thanks
I've been using the following script to identify the highest IO intensive queries
SELECT...
January 12, 2013 at 9:05 am
The application that uses this SQL Server is installed on the server as well and is very resource intensive
January 12, 2013 at 9:01 am
GilaMonster (1/12/2013)
SQLSACT (1/12/2013)
In your opinion, what's a better approach: Changing the T-SQL Code or adding indexes to accomodate the code ?
Yes.
Adding indexes is useless if the problem is in the...
January 12, 2013 at 8:27 am
Thanks
Thanks, I know that there are definately some queries hitting the disk quite hard, and that could definately do with some tuning.
In your opinion, what's a better approach: Changing the...
January 12, 2013 at 5:22 am
Thanks
I've checked the highest averaging IO queries in cache and there are definately some serious scans happening against the top tables
Also, do you think that the low Buffer cache hit...
January 12, 2013 at 12:09 am
At startup there a quite a few inserts that run.
I wasn't sure if that would get the log to it's tipping point and then subsequently grow. Was really trying...
January 11, 2013 at 4:21 am
GilaMonster (1/11/2013)
Yes, you could have. The DB was online and available.
Thanks, would you recommend it though?
Am I right in that the 3rd phase (Undo) is where the uncommitted transactions...
January 11, 2013 at 4:12 am
Maybe something like this
SET ROWCOUNT 20000
DELETE from ....
OUTPUT DELETED.* into ........
SET ROWCOUNT 0
Not sure about the running total
January 10, 2013 at 8:00 am
Perry Whittle (1/2/2013)
There was a small bug with the shared tools install on a cluster, you would install the new instance...
January 2, 2013 at 5:28 am
opc.three (12/21/2012)
SQLSACT (12/21/2012)
December 21, 2012 at 4:10 am
WolfgangE (12/21/2012)
23 Indexes seems to very very very much for a simple log table. I personally think it's very much for any table. You should check the sys.dm_db_index_usage_stats() too....
December 21, 2012 at 12:32 am
Hi Guys
As far as I know, the table is used as an event logging table and is used only used for inserts
Also, I have rebuilt all the indexes (23 in...
December 20, 2012 at 11:50 pm
SQLSACT (12/19/2012)
Some DDL
--Table 1
CREATE TABLE [dbo].[Indexing2](
[Col1] [int] IDENTITY(1,1) NOT NULL,
[Col2] [int] NULL,
[Col3] [int] NULL,
[Col4] [int] NULL
)
--Indexes
CREATE UNIQUE CLUSTERED INDEX [CX] ON [dbo].[Indexing2] ([Col1])
CREATE NONCLUSTERED INDEX [NCX] ON [dbo].[Indexing2]...
December 20, 2012 at 1:50 am
anthony.green (12/19/2012)
Using the following sample data
insert into Indexing values (199),(200),(210),(220),(230),(240),(250),(251)
insert into Indexing2 (Col4) values (199),(200),(210),(220),(230),(240),(250),(251)
I get no duplicates and now stream aggregate, the only...
December 20, 2012 at 1:47 am
anthony.green (12/19/2012)
Using the following sample data
insert into Indexing values (199),(200),(210),(220),(230),(240),(250),(251)
insert into Indexing2 (Col4) values (199),(200),(210),(220),(230),(240),(250),(251)
I get no duplicates and now stream aggregate, the only...
December 20, 2012 at 1:44 am
Viewing 15 posts - 286 through 300 (of 758 total)