Mulitple recordset speed problem.

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Mulitple recordset speed problem.

    Hi!
    I hav e solution thar loops one recordset and in the loop opens an other.
    All off a sudden it is getting reeeeeeeeel slooooooow. On one server!
    We have tried this on an other server with same versíons of sql-driver,
    asp-driver
    and mdsc-driver. No problem. We have the latest windows update.

    Any one else out ther who have experinced this problem?

    Thanks

    Anders


    Anders Tufvesson Guest

  2. Similar Questions and Discussions

    1. Datagrid speed problem
      When I first loaded my flex datagrid with 190 records I was really disappointed. It was almost impossible to scroll tha grid or resize it. It seems...
    2. mulitple query insert problem
      Ben. I am doing the scenario where the id key is auto generated from Access. I know I need to get that id to do the second insert into the...
    3. FW MX2004: speed problem
      Hello all, I'm testing Fireworks MX 2004 on Windows XP (Athlon XP 1600+, 768 MB RAM, Nvidia Geforce 4 MX400 64RAM). My first impression was that...
    4. Does Ruby 1.8.0 improve in file I/O speed and pattern match speed?
      Hi, rubyists, I'm using ruby 1.6.8 (2002-12-24) and find file I/O too slow. Is ruby 1.8.0 faster? Some one in the list said speed is quite...
    5. Speed Problem on different databases using ASP.NET
      Hi there I have a strange problem. I developing an application on my server SQL Server 2000 which is running on a 1 Gb memory and 2 GHz W2000...
  3. #2

    Default Re: Mulitple recordset speed problem.

    > I hav e solution thar loops one recordset and in the loop opens an other.

    Why are you doing that? If you show your table structure, sample data, and
    desired results, someone can probably teach you how to write a join.

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]


    Aaron Bertrand - MVP Guest

  4. #3

    Default Re: Mulitple recordset speed problem.

    Tanks, but I know perfectly well how you make a join.

    But that is not the problem.

    The problem is why the code works excellent on one macine but
    on an other machine it is slow. Same version of Sql, asp.dll, Mdac.

    That is my question, not how to make a join.

    Anders


    "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
    news:O96HnYB5DHA.2416@TK2MSFTNGP10.phx.gbl...
    > > I hav e solution thar loops one recordset and in the loop opens an
    other.
    >
    > Why are you doing that? If you show your table structure, sample data,
    and
    > desired results, someone can probably teach you how to write a join.
    >
    > --
    > Aaron Bertrand
    > SQL Server MVP
    > [url]http://www.aspfaq.com/[/url]
    >
    >

    Anders Tufvesson Guest

  5. #4

    Default Re: Mulitple recordset speed problem.

    Sorry, but we need more details. The exact same hardware? Over the exact
    same network? From the exact same client machine? The exact same tables?
    With the same indexes? And the same statistics? And the same peripheral /
    background activity?

    As asked, I don't think your question can be answered. However, one way to
    speed up your page would be to get rid of this nested recordset nonsense.
    If you know how to write a join, do it!

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "Anders Tufvesson" <anders.tufvesson@NOSPAMtwo.se> wrote in message
    news:bv5bqm$cid$1@yggdrasil.glocalnet.com...
    > Tanks, but I know perfectly well how you make a join.
    >
    > But that is not the problem.
    >
    > The problem is why the code works excellent on one macine but
    > on an other machine it is slow. Same version of Sql, asp.dll, Mdac.
    >
    > That is my question, not how to make a join.
    >
    > Anders
    >
    >
    > "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
    > news:O96HnYB5DHA.2416@TK2MSFTNGP10.phx.gbl...
    > > > I hav e solution thar loops one recordset and in the loop opens an
    > other.
    > >
    > > Why are you doing that? If you show your table structure, sample data,
    > and
    > > desired results, someone can probably teach you how to write a join.
    > >
    > > --
    > > Aaron Bertrand
    > > SQL Server MVP
    > > [url]http://www.aspfaq.com/[/url]
    > >
    > >
    >
    >

    Aaron Bertrand - MVP Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139