Forum Replies Created

Viewing 15 posts - 811 through 825 (of 1,518 total)

  • RE: Clustered and Non-clustered Index

    I would define the clustered index on one of the columns used in the ORDER BY clause. The USER_NAME or LOG_DATE_TIME columns might be good candidates.

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Differentiate system from user tables

    GilaMonster (12/17/2008)


    Since you're on 2005, join to sys.tables. Only user tables appear in that view.

    sysobjects is deprecated in 2005 and above and will be removed in a future version.

    Good point,...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Differentiate system from user tables

    george sibbald (12/17/2008)


    join to the sysobjects table, sytem tables have an XTYPE = 'S'

    Thank you sir!

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: parallelism

    If multiple processors being used by your system's workload is a problem, it might be indicative of badly written queries and/or missing indexes.

    On the other hand, if your system functions...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Configuring Kerberos Authentication

    Brian, thanks for taking the time to write about this. It's so important and, at the same time, such a pain to understand and implement properly.

    I have recently come across...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Report Server error when attempting to access SSAS datasource

    Nick1234 (12/8/2008)


    Perhaps check your accounts under Reporting Services Configuration Manager under "Database Setup" and "Execution Account". Have you changed a password recently?

    This seems to be an issue with Kerberos...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: READ COMMITTED SNAPSHOT ISOLATION LEVEL IN SQL 2008

    Grant Fritchey (12/5/2008)


    I've got two systems that we're trying it out on. The first one was getting lots of deadlocks. We know why, but we're not allowed to modify the...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: READ COMMITTED SNAPSHOT ISOLATION LEVEL IN SQL 2008

    Grant Fritchey (12/5/2008)


    It's 4,5,and 6 that we're going for, paying for them with 1,2 and 3 and the other things already mentioned on this thread because, after all, TANSTAAFL.

    What is...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: READ COMMITTED SNAPSHOT ISOLATION LEVEL IN SQL 2008

    A few more things to consider with any isolation level that uses the version store (BTW, the following points are taken from INSIDE MICROSOFT SQL SERVER 2005: THE STORAGE ENGINE...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: READ COMMITTED SNAPSHOT ISOLATION LEVEL IN SQL 2008

    Grant Fritchey (12/4/2008)


    Tempdb is the biggest cauion in the lot. You have to know that if the tempdb fills while dealing with READ COMMITTED SNAPSHOT, then the read's against the...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: READ COMMITTED SNAPSHOT ISOLATION LEVEL IN SQL 2008

    Grant Fritchey (12/4/2008)


    I'm not aware of any differences in behavior on READ COMMITTED SNAPSHOT. They did introduce the SNAPSHOT isolation level though. It's much more stringent and requires actual code...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Does my SQLCLR code contain a memory leak?

    Jonathan Kehayias (11/24/2008)


    Marios,

    My appologies, I didn't see that you had previously responded. Your problem is that you are running SQL Server on a 32 bit server, and it has...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Does my SQLCLR code contain a memory leak?

    Hey guys, any ideas?

    I'm still getting this error:

    Msg 50000, Level 16, State 1, Procedure ..., Line ...

    An error occurred in the Microsoft .NET Framework while trying to load assembly id...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: An Introduction to the Service Broker

    kingshukbagchi (11/19/2008)


    This has actually worked for me... have you done "alter database [database name] set enable_broker"?

    Kingshuk

    yes

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Service Broker as a better alternative to linked servers?

    Steve Jones - Editor (11/19/2008)


    Service Broker sends messages back and forth. I think it's more designed for a notification of some sort, or an update of some values, not really...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Viewing 15 posts - 811 through 825 (of 1,518 total)