Forum Replies Created

Viewing 15 posts - 286 through 300 (of 479 total)

  • RE: Utilizing fn_virtualfilestats

    No probs, thanks for the feedback.


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: missing join predicate

    Hi there Antares686, here is the DML

    CREATE TABLE [Application_Function] (

    [application_code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,

    [function_id] [int] NOT NULL ,

    [parent_function_id] [int] NOT NULL ,

    [function_code] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: How to Diagnose and Fix Wait Locks

    Hi all

    Some things to remember..

    a) measures physical io, not logical, flush buffers when testing

    b) force checkpoints when testing writes to force log flush

    before trying it all on prod

    Cheers

    Ck


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: Moving MSDB

    Hi steve, good article.

    Other things to watch:

    a) if moving msdb and model at the same time, attach model before msdb. I have run it issues with database ID's...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: How to Diagnose and Fix Wait Locks

    Fantastic article.. thanks for the insight into some of the lower level commands, most appreciated.


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: very poor delete performance

    Hi

    Thanks for the emails. Sorry about the query actually, my fault, this was 1 of the many in an attempt to improve overall performance. The

    DELETE FROM corpsys.dbo.organisation...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: very poor delete performance

    DELETE FROM corpsys.dbo.organisation

    where exists

    (select org_id

    from corpsys.dbo.organisation B with (nolock)

    where last_updated_by = 'NTISImport'

    and organisation.org_id = B.org_id)

    (167 row(s) affected)

    17min 35sec


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: Worst Practices - Not Using Primary Keys and Clustered Indexes

    btw.. i didnt even vote yet, where did my 3 stars come from?! sorry, it should be 5 stars! 🙂


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: Worst Practices - Not Using Primary Keys and Clustered Indexes

    Hi

    First of all from a comment made:

    >>I am a great believer that SQL Server is too easy and has shot itself in the >>foot, as developers have designed bad databases,...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: Worst Practice - Not Having An Archive Plan For Each Table

    Hi

    Its far from worst practice, but is something to consider. Archiving off data and making it subsequently accessible for historical reporting (typicaly old user queries and auditing) is difficult...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: access db locking

    Hi

    Ok, cool, i initially ripped an example from sqldts.com for looping but its a tad restrictive with access databases. In the end, I adapted this code to generate a...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: Querying XML files using SQL 2000

    Hi

    One question:

    WARNING: - This will use 1/8th of the memory available to SQL Server.

    So, we open up 10 4kb documents it will do what to memory?? and what memory structure...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: Querying XML files using SQL 2000

    Great article !


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: Push Those Logs Away!

    Hi

    "duplexing" log backups (and fulls!) is common place for oracle dba's, but typically not to another server. Where possible, I always code it in with a simple custom SP...


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

  • RE: xpsql.cpp: Error 1909 from LogonUserW on line 515

    Hi all

    This error can also occur if the proxy account's password expired, account is locked etc.

    cheers

    ck


    Chris Kempster
    www.chriskempster.com
    Author of "SQL Server Backup, Recovery & Troubleshooting"
    Author of "SQL Server 2k for the Oracle DBA"

Viewing 15 posts - 286 through 300 (of 479 total)