Forum Replies Created

Viewing 15 posts - 2,926 through 2,940 (of 49,571 total)

  • RE: Tables, Primary Keys and Clustered Indexes

    andymay-496937 (6/20/2016)


    One little point is that in a data warehousing situation you honestly believe that we're going to add referential integrity?

    Given the phrasing of the question, I guess you're...

  • RE: adding new column's as Column store index

    SQL 2014, I assume, since you mention clustered columnstore.

    The clustered columnstore is a clustered index, meaning it is the primary storage of the table, hence add columns to the table...

  • RE: Memory Optimized Table memory reservation?

    The memory-optimised tables are memory-resident, they cannot not be in memory. What memory is left over from that is the normal SQL buffer pool and managed as normal for the...

  • RE: peer to peer replication PK violation issue.

    That can happen if there are inserts into the same table on both nodes at the same time. There's a latency on the replication.

    This is why the design guidance for...

  • RE: who changed DB autogrowth Settings

    It might be in the default trace. If not, then unlikely unless you had some custom monitoring in place.

  • RE: Tuning SQL Query

    Estimated plan can be perfectly adequate. Only time you need the actual plan is if you're looking at the row estimates and whether they're wrong. For just finding table/index scans...

  • RE: Run through all user tables, add an user

    Steve Jones - SSC Editor (6/20/2016)


    What you're doing to deferring a problem that will come back to cause you issues later.

    And if db_datareader didn't 'work', then manually adding exactly the...

  • RE: Run through all user tables, add an user

    That query generates the statement, copy-paste once you've checked it, then run it.

    I'll echo, use roles. Directly assigning users to objects causes major admin overhead and debugging pain. db_datareader gives...

  • RE: Tables, Primary Keys and Clustered Indexes

    andymay-496937 (6/19/2016)


    Thank you for your comments Gail, I always thought that good design was a basic requirement for good performance?

    Yup, bad design will almost certainly result in sub-standard performance

    Your comments...

  • RE: Table Size & Page Count

    If you want accurate results, you probably don't want to use a script written for SQL 2000 on SQL 2014. Find a correct one for recent versions of SQL (ie...

  • RE: Tables, Primary Keys and Clustered Indexes

    andymay-496937 (6/19/2016)


    as the clustered index key is always added to any non-clustered indexes meaning that 2 look-ups are always required to find rows, the first to get the collection of...

  • RE: Table Size & Page Count

    Depending how the 'table size' is being calculated, it may not take the LOB columns into account.

  • RE: Table Size & Page Count

    VastSQL (6/19/2016)


    Table got a column with datatype varbinary(Max) which stores attachment.

    That's probably why. Varchar(max) columns are stored out of row, so depending how that 'table size' is being calculated, they...

  • RE: How to Attach Database in SQL Server 2008 r2 without index.idx file

    Don't know what happened to the other thread...

    Was that file in a secondary filegroup, or was it part of Primary?

  • RE: Difference of Rights for SA user and Other users with SA privileges

    wodom (6/17/2016)


    GilaMonster (12/29/2010)


    General recommendations are to disable the sa login completely and never use it.

    Disable, or delete? (And create another login with same permissions for cases where you need it.)

    You...

Viewing 15 posts - 2,926 through 2,940 (of 49,571 total)