Forum Replies Created

Viewing 15 posts - 16 through 30 (of 388 total)

  • RE: Unable to restore a database on a new instance

    do RESTORE HEADERONLY and check if HasIncompleteMetadata is set to 1.

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Warm the cache with a table and its indexes

    quentin.harris (11/25/2016)


    Hi,

    Can this be used before running a series of select queries against a table?

    Or is this specifically about updates/deletes?

    Q

    My use case was for a large number of deletes in...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Filtered Stats and Incremental Stats on Partitioned table

    Statistics are independent of each other so you can have 1 stat with sampling, another with full scan, another with incremental, another with filter.

    The test is below, from the below...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Warm the cache with a table and its indexes

    Bill Talada (11/22/2016)


    I have an alternate suggestion to your generic script which is to manually write custom stored procedures for whatever process you are going to call. No offense...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Warm the cache with a table and its indexes

    Hi

    That means that you are executing the queries manually.

    The output of the query is of no importance.

    The checksum is used since it can work on all data types.

    The important bit...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: What's Your Backup Speed?

    Backup times were before vs after optimisation for one of my databases.

    Native sql default options

    BACKUP DATABASE successfully processed 4098542 pages in 3049.584 seconds (10.499 MB/sec)

    Native sql Buffercount=500, maxtransfer =...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: proc long running after plan cache

    Changing cost threshold for parallelism could also invalidate plans.

    Let us see the code and/or plan.

    If anything, I am guessing the query may not be optimum.

    I have seen option(recompile) work wonders...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Performance of system tables when loading views and procedures.

    Has warming the cache improved the deployment time in your test environment?

    I would only look for a more permanent solution if I have proven that caching was the problem.

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Performance of system tables when loading views and procedures.

    I'm including Eirikur Eiriksson's reply to a different thread as that has a great example of how warming the cache works.

    So try doing this for the largest system tables.

    Remember when...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Performance of system tables when loading views and procedures.

    Have you resolved the issue yet?

    If not, can you check as an example

    sp_spaceused 'sys.sysschobjs'

    My prod DB has 5000 rows and is 3MB.

    If you have 2 million objects, I am...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Adding Space to the Database

    Jeff Moden (11/2/2016)


    GA_SQL (11/2/2016)


    need a script or an idea to create script when my db is full by 75% i want add some space to the db

    This could actually be...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Adding Space to the Database

    you didnt specify which full you mean, is the F drive 75% full and you want to add disk, or the MDF is 75% full and you want to grow...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Details required

    For all the DB info

    http://qa.sqlservercentral.com/Forums/Topic670489-146-1.aspx

    For the disk info

    SELECT distinct volume_mount_point,total_bytes/1024/1024 total_bytesInMB ,available_bytes/1024/1024 available_bytesInMB

    FROM sys.master_files AS f CROSS APPLY

    sys.dm_os_volume_stats(f.database_id, f.file_id)

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: SSMS 2016 slow connection (Windows 10)

    Try disable all SQL Server Error and Usage Reporting options.

    If that doesnt work, try disable (Check for publishers certificate revocation) in IE Advanced options, if you willing to accept the...

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

  • RE: Can anyone help optimize runtime on a dimension creating query?

    Here is an article around that.

    In the article, the numbers table is created and then worked on after.

    http://qa.sqlservercentral.com/articles/Tally+Table/70735/

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

Viewing 15 posts - 16 through 30 (of 388 total)