10K Record Query Best Practice Question

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default 10K Record Query Best Practice Question

    We have an issue in which we are trying to come up with the best solution to a
    problem. The problem is that we have up to 10,000 records that need to be
    displayed in such a manner that they can be grouped and sub grouped much like a
    file system, but with the ability to easily select an entire group or
    individual line items and assign certain values to them.

    One suggestion was use of search/filters and paging throuh results, another
    was to use cfgrid, and lastly was to use grouping and sub grouping in a manner
    that would expand and contract the items.

    All of these have inherent problems as the perception is that this should be a
    solution where all items can be displayed at once like on an Excel Spreadsheet.

    Any ideas? Best Practices in this scenario?

    Braden Guest

  2. Similar Questions and Discussions

    1. Referencing a record from a query
      Here's the short n sweet. I have a query that captures a list of categories and their names SELECT * FROM Categories ORDER BY categoryName ASC...
    2. Last record of query
      Is there a way no figure out if I am at the last record of a MySQL query? Jesper
    3. Need a hand with an SQL Query to add a new record
      The Database is Access 2000. The Statement when "Response.writing" it to the Browser (with example data)is: INSERT INTO tblEvents (fldDate,...
    4. Adding a new record when the record source is a query.
      Hello All, I have a form that runs a query. The reason it runs on a query is because prior to it opening I have a form from which you can pick...
    5. best practice question regarding AspState database for sessions
      Quick question regarding best practices for using the AspState database for storing session variables in .NET web applications. I know I need to...
  3. #2

    Default Re: 10K Record Query Best Practice Question

    You could potentially use flash remoting to display the top level, and then
    when expanding, have flash go back to the server and get the subset to display.
    Other than that you have a lot of overhead just getting the query. So return
    as few columns as possible to limit the dataset size. Using maxrows in
    cffqurey does no good, it still gets the whole record set . There is also a
    lot of overhead getting this much info to the end user, so using page forward
    back may be a good solution unless this is an intranet solution, then it may
    not be such an issue, and you can use a DHTML type of interface to pop open
    groups when clicking on the top level. Another option would be to use a hidden
    frame and some fancy JS to callbacks to the server to get subsets of data for
    dispaly and show these, somewhat like flash remoting works, but by JS.
    Overall the slickest solution is flash remoting. Also don't bother trying a
    grid in a flash form, with mx 7. I've been told by MM engineers these only
    work really well for smaller datasets. Which kind of makes me wonder how well
    flash remoting would handle it and a swf file. Another optoin may be to just
    do a tree view using dhtml and when a record title or id is clicked on another
    html frame is called that will load the record details, by querying just that
    record in a template. This way your initial large query is just returning
    10000 id's and maybe a title or header, which shouldn't take too long.

    byron1021 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