Forum Replies Created

Viewing 15 posts - 4,351 through 4,365 (of 49,552 total)

  • RE: TABLE CONSTRAINT Issue

    Yes it is.

    It'll be a CHECK constraint.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: index_id = 0

    Fragmentation in heaps is completely different to indexes. For indexes it's logical fragmentation. Heaps have no logical order, so they only have extent fragmentation.

    To be honest, if you have a...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Grant Fritchey (11/5/2015)


    I'd strongly suggest looking at Excel and, maybe even more importantly, PowerBI. the technology is wildly different from what we think.

    PowerBI is very pretty, and it's pretty easy...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Searching improvment

    river1 (11/5/2015)


    If I add an additional transaction log (on other disk) to the database that would devide the i/0 between logs . which would help, correct?

    No, it wouldn't.

    SQL does not...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Is SQL Profiler the culprit ?

    Profiler takes latches to sync the display with the server activity. It'll have minimal impact on a server that's got a light workload. As the workload increases, so Profiler's impact...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: running sql profiler

    Jeff Moden (11/4/2015)


    ramyours2003 (11/4/2015)


    is running a profiler will make the tempdb grow?

    Depending on where you run it from and how you run it

    Profiler can fill up the local...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Is SQL Profiler the culprit ?

    Yes, your use of profiler GUI was the culprit.

    NEVER use the Profiler GUI against a production server. It will degrade performance, potentially severely, it can crash the server. Use a...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How can I tell if a certain table is being hit?

    yb751 (11/4/2015)


    Also as Gail's answer eluded to, it only helps if those tables have an index. If you have any heaps you are out of luck.

    No, index usage stats...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Update statistics

    That's not automatic stats update, that's a manual update job. If you're seeing that every 20 minutes, then you have a SQL Agent job that's scheduled to run every 20...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How can I tell if a certain table is being hit?

    Yes and no.

    You can use the DMV sys.dm_db_index_usage_stats, however that only has data back to the last time SQL Server started

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Monitoring Tables

    Consider querying the system tables - sys.partitions or sys.dm_db_partition_stats.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Max Server Memory

    Always set max server memory. It's not the VMWare admin's job, it's the DBA's job, it's changed in SQL's server settings.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: running sql profiler

    No. Not unless you selected the option to save to table and specified the TempDB database

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Max Server Memory

    You change it at the server level, availability groups are at the database level, they don't transfer server settings. Change it on all servers, it might not be set to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Compatibility level

    Compatibility level affects how the parser, query optimiser and query processor treat some T-SQL constructs (ones that have changed across the versions). It doesn't change the database version, that's defined...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 4,351 through 4,365 (of 49,552 total)