Performance considerations accessing several database tables

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

  1. #1

    Default Performance considerations accessing several database tables

    I am using SQL Server, ASP and VBScript. My NavBar is built from database tables depending on browser's security status. Different tables are accessed at six times to do this on every page. Is it best to leave the recordset open throughout the page and use the data as required; put the data into arrays on the first access and then close the recordset; or put the data into session variables and only access the tables where necessary once in a session


    Roger Withnell Guest

  2. Similar Questions and Discussions

    1. Accessing duplicate field names from different tables
      Hi, I am joining two tables, and the two tables have the same field names, but they represent different data. eg. table 1 - People name -...
    2. Performance with linked tables
      I notice that performance drops when using linked tables in two Access 97 databases instead of all tables in one database. I.e. the ASP page takes...
    3. Accessing Temp Tables
      Hello Graham, You could try using global temp tables with a "##", in your case it would be - ##UserAccess. K "Graz79"...
    4. Joining Tables from different DBs => Do I have to care about performance?
      Hi, I have a more theoretic question: I have two huge tables (db1.dbo.table1 and db2.dbo.table2). I need to join them. Will the effort to join...
    5. Accessing 2 tables with 1 name
      I have 2 IDENTICAL tables (TableName_A and TableName_B) that I use in my production system. I have a table (TableState) with 1 row and 1 column...
  3. #2

    Default Re: Performance considerations accessing several database tables

    I would put the data into arrays and close the recordset as soon as
    possible.

    Brandon

    "Roger Withnell" <anonymous@discussions.microsoft.com> wrote in message
    news:2665B9FB-1D89-4109-A439-4B9F588764CA@microsoft.com...
    > I am using SQL Server, ASP and VBScript. My NavBar is built from database
    tables depending on browser's security status. Different tables are
    accessed at six times to do this on every page. Is it best to leave the
    recordset open throughout the page and use the data as required; put the
    data into arrays on the first access and then close the recordset; or put
    the data into session variables and only access the tables where necessary
    once in a session?
    >
    >

    Brandon Ludwig 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