Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2003
    Location
    NJ USA
    Posts
    19

    Unanswered: Database optimization

    Hello All,

    I have ran one query on 'A' server there it takes 10 sec and if I run same query 'B' server then it takes 22 sec.

    In both server, I have creted few index (as query needs).

    Is anyone can help me what is happening.

    Regards,
    M. J.
    M. Jain

  2. #2
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    Is the data the same? And HW? Anything different between servers?

  3. #3
    Join Date
    Nov 2003
    Location
    NJ USA
    Posts
    19
    Originally posted by rdjabarov
    Is the data the same? And HW? Anything different between servers?
    Both server has same data. Can I run update statistic on database level, if yes then how...

    Please let me know...
    M. Jain

  4. #4
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    UPDATE STATISTICS <TABLE_NAME>

  5. #5
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    I'd grab the "big hammer" and use DBCC UPDATEUSAGE if you want to get the whole lot of them.

    -PatP

Posting Permissions

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