Forum Replies Created

Viewing 15 posts - 6,406 through 6,420 (of 49,552 total)

  • RE: Assign Consecutive Numbers to a block of data

    Google: "Gaps and Islands Itzik Ben-gan"

    That should get you 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: Count on table with million data too slow

    Index definitions (CREATE INDEX) and table definition please. I think I know what's going on, but need confirmation.

    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: Count on table with million data too slow

    What's the definition of the table and index (CREATE statements please)?

    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: Strange shrink error

    Firstly why are you regularly shrinking your database?

    AFAIK the error's from the log's trying to auto-grow while you have a shrink running. Solution: stop shrinking the log, if it's reaching...

    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?

    Luis Cazares (3/17/2015)


    Can someone help with a crystal ball or interrogation system for this thread?

    http://www.sqlservercentral.com/Forums/Topic1668185-391-1.aspx

    Sorry, mine's broken, it's only showing clouds.

    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: sa account to disabled?

    There is some external application running on the local server connecting to SQL as sa.

    It is not an internal SQL background process, they do not need to log in and...

    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: Query to show Database Objects last change

    Books Online (the SQL help file) 🙂

    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: No. of Offline Databases

    John suggested what you should do.

    John Mitchell-245523 (3/17/2015)


    If you want to rely on index usage stats, I would recommend that you collect and store them regularly, perhaps every 30 minutes.

    Set...

    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: Query to show Database Objects last change

    No, SQL doesn't track object change history.

    You can look at sys.objects in each database and look at the create_date and modify_date, but I think there are things you can do...

    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: sa account to disabled?

    No, that's something external trying to connect. The system tasks don't need to log in. They're internal.

    I prefer disable, as I've seen a case before where a service pack installation...

    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: SQL Server Migration from 2012 to 2014 is degrading the query performance

    gopisrinivas.t (3/17/2015)


    I have done sql server configuration in 4 to 5 systems and observed the differences in the execution plan of these systems. I could see the query execution faster...

    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: Strategies for storing tags

    kangarolf (3/17/2015)


    The alternative is to normalise and go with relationship tables.

    Yup.

    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: SQL Server Migration from 2012 to 2014 is degrading the query performance

    You shouldn't be touching the minimum memory for query without a really, really good reason. The max server memory however should almost always be changed from the default, as few...

    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: data access

    jshahan (3/16/2015)


    I haven't heard this before and I believe the query optimizer (assuming you're talking about linking at least two tables in the same query) is going to use them...

    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: Back Up a warm standby

    Randy Doub (3/16/2015)


    Is there ANY way I can get a "backup" of the Standby/Read-Only database that can be put in place as a Standby/Read-Only and used?

    No.

    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 - 6,406 through 6,420 (of 49,552 total)