You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
5Please define "huge" and "a lot of time".Doc Brown– Doc Brown2012-03-02 12:38:37 +00:00Commented Mar 2, 2012 at 12:38
-
For exporting a 25,000 rows and 12 columns it is taking 7 minutes.Hariharbalaji– Hariharbalaji2012-03-02 13:51:05 +00:00Commented Mar 2, 2012 at 13:51
-
@Hari Is the bottleneck in downloading the file or in generating the file? If the bottleneck is generating the file then Darknight's response is appropriate. You might want to also see if the database queries that retrieve the data for the Excel report can be tuned. Often the biggest performance hit is joining tables and retrieving the data from the database. If these queries can be improved or perhaps indexes and statistics can be improved by the DBA, then you could notice a dramatic increase in performance.maple_shaft– maple_shaft ♦2012-03-02 14:20:45 +00:00Commented Mar 2, 2012 at 14:20
-
@maple_shaft the bottleneck as of now is in file preparation which is taking the 75% of the time. on the query side it is a simple query and there is no joins on the query. But as you had mentioned we will have a look in the indexes.Hariharbalaji– Hariharbalaji2012-03-02 14:31:10 +00:00Commented Mar 2, 2012 at 14:31
-
1-1. I think this question is too vague. There are endless things you can do to improve an applications performance. There is not enough information here to provide a useful answer.Craige– Craige2012-03-06 21:36:03 +00:00Commented Mar 6, 2012 at 21:36
|
Show 2 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-java