Re: Optimising Database Calls
- From: "Martin Eyles" <martin.eyles@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Sep 2006 15:58:04 +0100
"Richard Brown" <richard.ian.brown@xxxxxxxxx> wrote in message
news:1158762356.215592.98810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Richard Brown wrote:
Martin Eyles wrote:
I have an ASP page that makes a vml/svg graph out of data. In order to
extract all the necessary data I have to perform 68 SQL queries, which
is
unfortunatley a bit slow at the moment.
I don't pretend to know much more about SVG than what I've just googled
for but if it is as described on w3.org "a language for describing
two-dimensional graphics in XML" then can you not find a way to pass in
all necessary variables to your stored from and have it return the xml
necessary?
For the purposes of this graph, the begining and end of each output SVG/VML
code line (which also happens to represent one of the 86 graph lines) can be
thought of as predefined arbitrary text. (If you're interested, I used an
element that is valid in both VML and SVG, and added the headers needed for
both, so that the graph shows in both IE and firefox. However this is not
the likely cause of the slowdown, so it is the next bit that is more
important).
The data I am extracting, which goes between these, can be thought of as a
comma seperated list of x and y coordinates (ie. x1, y1, x2, y2, x3, y3)
where duplicates of y coordinates are not added.
.
- References:
- Optimising Database Calls
- From: Martin Eyles
- Re: Optimising Database Calls
- From: Richard Brown
- Re: Optimising Database Calls
- From: Richard Brown
- Optimising Database Calls
- Prev by Date: Re: Menu Control - current node
- Next by Date: FileNotFoundException
- Previous by thread: Re: Optimising Database Calls
- Next by thread: Re: Optimising Database Calls
- Index(es):
Relevant Pages
|