Results 1 to 2 of 2

Thread: 4.21a to 6.5 - Slow Stored procedures

  1. #1
    Geoff Oliphant Guest

    4.21a to 6.5 - Slow Stored procedures

    We've just done an upgrade of our databases from 4.21a to 6.5 (sp3) onto a new box. The database came across fine and we haven't had any problems...except....

    We have a nightly process that imports information from another system that bcps the data into some import tables and then we run some stored procedures (7 actually - darn 64k limit) to do some referential integrity checks before loading the new data into the existing production tables. The problem is that the stored procedures takes 90 minutes to run whereas on the 4.21a database it took under 30 minutes!

    SQL Server 6.5 is on a much bigger box (RAID 5 with 5x4Gb disks) with 512Mb RAM but it just proves the old adage that more memory is not always better.

    Could this just be a performance tuning issue or am I missing something here?

    Thanks in advance

    Geoff

  2. #2
    Ray Miao Guest

    4.21a to 6.5 - Slow Stored procedures (reply)

    On 11/15/98 11:10:48 PM, Geoff Oliphant wrote:
    > We've just done an upgrade of our databases from 4.21a to 6.5 (sp3)
    > onto a new box. The database came across fine and we haven't had any
    > problems...except....

    We have a nightly process that imports information
    > from another system that bcps the data into some import tables and then we
    > run some stored procedures (7 actually - darn 64k limit) to do some
    > referential integrity checks before loading the new data into the existing
    > production tables. The problem is that the stored procedures takes 90
    > minutes to run whereas on the 4.21a database it took under 30
    > minutes!

    SQL Server 6.5 is on a much bigger box (RAID 5 with 5x4Gb
    > disks) with 512Mb RAM but it just proves the old adage that more memory is
    > not always better.

    Could this just be a performance tuning issue or am I
    > missing something here?

    Thanks in advance

    Geoff

    How many ram you give to SQL? By default, SQL server only takes 16mb ram.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •