Forum Replies Created

Viewing 15 posts - 871 through 885 (of 2,640 total)

  • RE: Query to return table column names with certain values

    just query sys.columns - I'm sure that somewhere on the ms site there is a pdf of the system tables and views - you can work out how to do...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Does redundant code effect performance?

    I agree, usually the optimiser is clever enough to know what to do - however experience tells me this is not always the case so you should just check the...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: sqlio.exe and the .dat file

    far as I can remember it creates a "workfile" on the drives which you specify a size for somewhere in the run setup - it then uses this file to...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Help reqd: Increasing Query Performance

    well maybe 10 secs is good for this. clustered sql server has no bearing upon performance btw.

    you need to eliminate the scans and get some seeks - you might want...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: UDF as UDF parameter performance hit

    I'd say that your approach was probably not the most efficient way to do things - your second call executes 1.7 million page io - I wouldn't want calls like...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL 2005 x64 bit memory high usage

    it is critical on x64 platform to set the maximum sql server memory. If you don't you will get problems.

    BOL explains how sql server uses memory and it's been this...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: select column dynamically

    you can use a t sql function to generate a value for a calulated column in a table. I've used the technique since sql 2000.

    For those readers who don't know...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Query times inconsistent

    having 4 seperate selects, any one of which may run based upon parameters passed will almost always give you problems unless the query plan for each query is identical -...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL 2005 64-bit on Windows 2003 R2 Standard 64-bit and AWE/Lock Pages in Memory

    if you query sys.dm_os_performance_counters you'll get a true figur eon memory usage in a much more easy to read format.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Server time out error

    it depends where and how you're executing the stored proc. If it's through an app then the timeout maybe there as usually timeouts are a client not a server setting....

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Database compatibility level after upgrade to SQL2005

    it's generally a bad idea to leave the database in backward compat and I'd ask for the actual reasons. You won't be able to use the performance dashboard for instance...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Behaviour of SQL Agent that I can't explain.

    I've seen this happening on sql 2000 boxes, even to the extent of an hourly job set to run from 08:00 to 18:00 continuing 24 x 7. I think...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Multiple Operator Notifications and Data Base Status

    create a group in exchange - add the group as the recipient

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: UPDATA STATISTICS

    you may find sp_autostats tablename is quickest if you just want basic information

    this query is more complex - run in the database you're interested in

    ( this is part of...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL 2005 64-bit on Windows 2003 R2 Standard 64-bit and AWE/Lock Pages in Memory

    you must set the maximum memory on your install otherwise you may have problems.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

Viewing 15 posts - 871 through 885 (of 2,640 total)