Forum Replies Created

Viewing 15 posts - 166 through 180 (of 309 total)

  • RE: How many indexes should we have?

    Michael L John (7/17/2014)


    The execution plan tells it all. This query is performing a table scan. In order to get one row, the query optimizer needs to look at...

  • RE: How many indexes should we have?

    Michael L John (7/17/2014)

    Uh, when you say "8GB is assigned to this DB", how are you determining that? Do you mean this INSTANCE?

    Sorry my bad. 8GB is assigned to...

  • RE: How many indexes should we have?

    Since the DB is only 10 GB, you may not see a need for more indexes. At this size, unless you have a server with 512 mb of RAM,...

  • RE: How would I tune this query?

    Keep an eye on a good maintenance as well: Statistics update, control of fragmentation, low wait stats and etc...

    How often you think I should update statistics? Do I do it...

  • RE: I am just puzzled by this :crazy:?

    Can you post the output of the below when running it inside the databases context.

    SELECT type_desc FROM sys.objects WHERE name = 'T659'

    I feel like an idiot now. I should have...

  • RE: How would I tune this query?

    It seems that you have a clustered index on B270.C1. Do you? you didn't post the indexes and tables definitions.

    You could probably reduce the logical reads by using non-clustered index...

  • RE: I am just puzzled by this :crazy:?

    anthony.green (7/15/2014)


    What type of object is T659? Is it a view or a table, as that object isn't in the plan which leads me to think its a view...

  • RE: How would I tune this query?

    Luis Cazares (7/14/2014)


    You need to realize that excluding the wildcard (%) will generate different results. It doesn't matter if the query runs 1000x faster if the results aren't correct.

    The leading...

  • RE: How would I tune this query?

    Igor Micev (7/14/2014)


    Include the Actual Execution Plan for the query and find the most costly node? Did you do that for the query?

    We don't know what indexes you have added,...

  • RE: Who TOOK the backup?

    george sibbald (7/2/2014)change the sa password (to something strong) and then disable it. There should not be a need to use sa. If people really need sysadmin grant it to...

  • RE: Who TOOK the backup?

    Jeff Moden (7/1/2014)This is one of many reasons why it's important that only DBAs can do backups, which normally means that only DBAs have SA privs.

    I completely agree with you,...

  • RE: Query issues?

    Grant Fritchey (7/1/2014) The other book (not free I'm afraid) is all about query tuning.

    I don't mind buying the book. As my father always say, you never waste money on...

  • RE: Who TOOK the backup?

    Alan.B (7/1/2014)


    You can get this information from msdb.dbo.backupset

    SELECT name,

    description,

    user_name,

    database_creation_date,

    backup_start_date,

    backup_finish_date,

    backup_size,

    database_name,

    server_name,

    machine_name

    FROM msdb.dbo.backupset

    Thanks. It gave me all the details.

    I also right clicked on the backup set -->properties and then details which also...

  • RE: Query issues?

    T501 (frightening naming convention by the way).

    I have no idea why we can't follow a proper guideline on how to name the table, but I usually keep my mouth shut:(

    If...

  • RE: Query issues?

    I Just became a SQL Server DBA about 8 months ago but don't have any other DBA in the company who I can talk to :ermm: Until last week, we...

Viewing 15 posts - 166 through 180 (of 309 total)