Re: large amounts of data by Kathleen
Kathleen
Wed Jul 16 06:58:26 CDT 2003
Terry,
I was a little too vague.
Report Server is going into public beta at some point. I had a chance to
work with it at TechEd and was quite impressed with the flexiblity. It was
announced as an extension to SQL Server - if you've got SQL Server, you've
got it (and it will work on Oracle, but you may have to buy a SQL Server
license...). Because it is an upcoming tool, you haven't heard about it
creating solutions today. It is a few months out for real world deployment I
suspect.
I think you are going to need a combination of tricks to get this to work
smoothly. If I understand what you are doing, the users select values from
combo boxes, that may or may not have interdependencies. Armed with this set
of information you'll go to the ASP server to get data. If there aren't
interdependencies, and you can do a full page/frame postback at that point,
then forget the Javascript. It was to manage the experience prior to that
point.
Yes, caching may be part of your solution. But its easy to jump to without
looking at alternatives, and to be honest, I don't have enough information
to give you an answer other than a classic "It depends". If my understanding
is correct, I doubt I'd go with a cache of employee names, or an XML
document. The perf hit will be the filtering, not the selection, and SQL
Server is excellent at that (unless you know your SQL Server is already in
serious trouble on perf). If you insure your critieria is indexed, you
should see excellent perf. On the other hand, if the employees segment
themselves into logical subsets for that combo box, even if there are a
couple of hundred subsets, I'd seriously consider a user control cache of
the output.
If you do go with an XML solution, be sure you to load it as an XPath
document and don't reload the doc on every postback. Keep it in memory, and
shove some more memory at the ASP server if needed (20,000 employees * 100
characters of data * 2 xml factor I made up = 4Mb).
I am extremely unclear on why you want to cache the training data. That
seems like a retrieval of a small subset of your data based on a primary
key, and I initially see no benefit to the cache.
Kathleen
"Terry" <ntuser_man@msdn.com> wrote in message
news:0b5101c34a5b$0a082090$a001280a@phx.gbl...
> Kathleen,
>
> Thanks for the advice. Most of the resources I can find
> about .Net focus on the ability to cache data. If I
> could rely users to request the output of a single
> variation of a report several times I might try caching
> the output, but the source data seems just to vast to
> handle that way.
>
> I will look into this Report Server, but if it requires
> buying something then it will be a long range solution
> (several months out).
>
> You mentioned using javascript in conjunction with an xml
> service. Do you think that xml would be the best way to
> go? Better than caching? I am leaning towards that. I
> made some documents with xml and Office Web Components
> that enable an Excel savvy user to manipulate data. The
> thought was that the Web Component would use an xml doc
> as its data source, rather than the SQL server. Office
> Web Components are not as popular as I hoped they would
> be because of challenges with varying user box
> configurations. I also have an example of an xml style
> sheet that makes possible sorting data on a web page with
> reloading and no call back to the server. Just click on
> the column to sort and the style sheet changes. I am
> considering adapting the style sheet to filter as well as
> sort.
>
> --Terry
>
> To reply directly replace msdn . com with msn . com.
>
>
> >-----Original Message-----
> >Terry,
> >
> >Is this strictly a "report of employee information". If
> so, I think you
> >should look for the schedule SQL Server 2000 Report
> Server.