Forum Replies Created

Viewing 15 posts - 316 through 330 (of 1,129 total)

  • RE: Stress Test Tool - SQL Server 2008R2 - Possibly freeware ?

    RTaylor2208 (8/27/2013)


    You can use the free RML utilities by microsoft to perfom this very action

    http://support.microsoft.com/kb/944837

    Not the easiest apps to use but very effective.

    Have downloaded, yet to try. Thanks

  • RE: Performance issue

    PRR.DB (8/22/2013)


    Are you running this as a query from SSMS from your local machine?

    yes..

    If you using a scipt from your local machine using SSMS to populate 35 M...

  • RE: query to find total number of total number of reads for a stored procedure

    Erland Sommarskog (8/22/2013)


    If you want to collect this data for a specific execution, you need to save the data before execution into a table, and then after execution read the...

  • RE: query to find total number of total number of reads for a stored procedure

    sql-lover (8/22/2013)


    SELECT ss.sum_execution_count

    ,t.TEXT

    ,ss.sum_total_elapsed_time

    ,ss.sum_total_worker_time

    ,ss.sum_total_logical_reads

    ,ss.sum_total_logical_writes

    FROM (SELECT s.plan_handle

    ,SUM(s.execution_count) sum_execution_count

    ,SUM(s.total_elapsed_time) sum_total_elapsed_time

    ,SUM(s.total_worker_time) sum_total_worker_time

    ,SUM(s.total_logical_reads) sum_total_logical_reads

    ,SUM(s.total_logical_writes) sum_total_logical_writes

    FROM sys.dm_exec_query_stats s

    GROUP BY s.plan_handle

    ) AS ss

    CROSS APPLY sys.dm_exec_sql_text(ss.plan_handle) t

    WHERE t.TEXT LIKE '%PROCEDURE NAME HEREt%'

    ORDER BY sum_total_logical_reads DESC

    almost....how do i point...

  • RE: Performance issue

    PRR.DB (8/22/2013)


    Hi All,

    I am migrating 35 million data to another new table(EVALUATION_CRITERIA) using simple joins, But it is taking to execute around 24 hrs and system ram=16 GB,

    Below are the...

  • RE: MAXDOP query hint doesn't work- SQL 2008R2 Enterprise Edition

    Erland Sommarskog (8/19/2013)


    curious_sqldba (8/19/2013)


    The server on which i see this issue doesn't have hyperthreading enabled ( msinfo32 shows physical=logical).Is that the reason why i see twice the number of cores...

  • RE: MAXDOP query hint doesn't work- SQL 2008R2 Enterprise Edition

    Jeff Moden (8/17/2013)


    curious_sqldba (8/17/2013)


    I have enforced MAXDOP on my query using hint, i have enforce it to 8 but when i look at the task manager i see all 16...

  • RE: How efficient is your covered index?

    Thank you for sharing this article. Actually i had this question posted in forums also, so far no response, would like to know your thoughts please.

    I have a view which...

  • RE: Tool to search, list out distinct .sql files

    Lowell (8/6/2013)


    WinMerge, which is free, can compare folders vs folders or files vs files, and identifiy differences:

    http://winmerge.org/

    will that do what you want?

    Actually i do use winmerge, basically i have 10...

  • RE: Page level compression - Indices/Partitions/Heap

    GilaMonster (7/23/2013)


    curious_sqldba (7/23/2013)


    i) if a table has no clustered index and has non-clustered indices, do i need to compress the table first and then the nc indices?

    Depends. Do you want...

  • RE: Group By Minutes

    curious_sqldba (6/23/2013)


    ALZDBA (6/23/2013)


    the way you did it is grouping by minute ( not taking year/month/day/hour into account )

    This is how I would do it.

    SELECT

    datepart(mi,[startDate]) as MI,

    min(startDate) as startDate,

    avg(duration)...

  • RE: Group By Minutes

    ALZDBA (6/23/2013)


    the way you did it is grouping by minute ( not taking year/month/day/hour into account )

    This is how I would do it.

    SELECT

    datepart(mi,[startDate]) as MI,

    min(startDate) as startDate,

    avg(duration) Duration

    FROM...

  • RE: perfmon logical disk VS physical disk

    Evil Kraig F (6/6/2013)


    How close are you to the drives? Are they a raid hanging directly off the machine in question? Are you working through a SAN? ...

  • RE: Can i restore database with new log file?

    GilaMonster (5/30/2013)


    When restoring, the first step is to create all the files at the same size as the source database for the backup had them, then copy the data from...

  • RE: Can i restore database with new log file?

    GilaMonster (5/30/2013)


    No. A restore always recreates the database as it was at the time of the backup. That includes the size of all files.

    Thanks. When restoring does it restore MDF...

Viewing 15 posts - 316 through 330 (of 1,129 total)