Forum Replies Created

Viewing 15 posts - 2,221 through 2,235 (of 2,640 total)

  • RE: Stored procedures vs Imbedded SQL

    yes and no to the sp question - if you code effectively then yes. Indexing is the main key, or I should say efficient useful indexes, they will speed your...

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

  • RE: Building (fast) Stats in a table with 3+ Million Rows?

    3 million rows is a pretty small table to be honest. You might want to consider partitioning but I'm not sure you'll see much benefit.

    I don't quite follow the replication...

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

  • RE: Stored procedures vs Imbedded SQL

    On the other hand - are you asking because you have problems ? if not then there's always the old addage " if it aint broke don't fix it"

    It's worth...

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

  • RE: MS SQL 2000 Server Performance Problem

    If you have dynamic memory set then the usage of memory will fluctuate. I'm concerned thta you say Gb's, if you are useing AWE then you must fix the min...

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

  • RE: How to determine load on SQL Server instance?

    You need to have a baseline from which you can work, otherwise it's just a guess. The ms book sql server 2000 tuning is a good place to start. isbn...

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

  • RE: Disk Configuration Dilemma

    Raid 5 degrades performance only where there are lots of writes, and to be fair you can to a certain extent offset this with lots of memory, if database oprtations...

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

  • RE: Problem when taking backup In SQL 7

    I'd do a checkdb - or is it newalloc on 7.0 ? and I'd try backing up to another drive.

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

  • RE: The Challenge: Litespeed v TDPSQL

    One slight error concerning Litespeed, there is a ( free ) utility which allows you to restore a litespeed backup on a a non litespeed server.

    If you forget the GUI...

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

  • RE: Primary Key and Index on same column

    An interesting point about the indexes, but I doubt the optimiser would look at a secondary index defined on a clustered index ( where they are both identical in columns...

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

  • RE: Slow database performance on a higher spec server

    a view - well there's a thing - this well may be your problem - try replacing it with a function - or put the actual tables in the proc...

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

  • RE: Select from Partitioned View creates wrong plan

    Been there - the views are fine and everything works spot on when the queries are not parameterised - it appears to me that the optimiser is unable to select...

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

  • RE: Primary Key and Index on same column

    If the indexes are duplicates then the non clustered or non PK's should be removed.

    You have checked the columns in the indexes are identical  using for example, sp_helpindex tablename ...

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

  • RE: Slow database performance on a higher spec server

    aaarrghhhh!!! If it's paralellism then it will show clearly in the plan(s).

    Why buy a smp box and then restrict the procs ?

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

  • RE: Performance Tunning While Joining Tables

    You really have to examine your query plan to fine tune the query - I recommend the book SQL Server 2000 performance tuning isbn 0-7356-1270-6  as a start.

    There are lots...

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

  • RE: Performance Tunning While Joining Tables

    I'm not sure exactly what you're asking but ... first off you should index the columns that are used in the join statements of your query. Then consider indexes on...

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

Viewing 15 posts - 2,221 through 2,235 (of 2,640 total)