Query taking extra time

Last post 11-07-2008 6:33 AM by FrankKalis. 1 replies.
Page 1 of 1 (2 items)
Active Topics My Discussions Unanswered Sort Posts: Previous Next
  • 11-07-2008 5:52 AM

    Query taking extra time

    Hi,

    I have a table in which there are 100 million rows and 2 supporting table, also have same amount of records.

    Now, I have created a view to get all related information but it is taking 50-60 mins to querying the data from the view.

    please advice waht to do so that i can get data in quickly from my view.

     Thanks,

    Amit

  • 11-07-2008 6:33 AM In reply to

    Re: Query taking extra time

    Please post the code and the structure of the underlying tables. I would guess that you're missing a where clause and probably some indices.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Contributing Editor, Writer & Forum Moderator http://www.sql-server-performance.com
    Webmaster: http://www.insidesql.org
    View Frank Kalis's profile on LinkedIn

    XING
Page 1 of 1 (2 items)
Active Topics   My Discussions    Unanswered Posts


© 2000 - 2007 vDerivatives Limited All Rights Reserved.