Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33217
| Path | csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Martin Gregorie <martin@address-in-sig.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Using GROUP By or @OrderColumn in JPA |
| Date | Fri, 27 Nov 2015 18:21:57 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 46 |
| Message-ID | <n3a705$b7d$1@dont-email.me> (permalink) |
| References | <87bnai8pu7.fsf@Equus.decebal.nl> <n35lmq$mph$1@speranza.aioe.org> <87two9e0l7.fsf@Equus.decebal.nl> <n38b8u$br8$1@speranza.aioe.org> <56583e4f$0$23815$e4fe514c@news.xs4all.nl> <n39ore$m7l$1@dont-email.me> <565887fd$0$23852$e4fe514c@news.xs4all.nl> <5658882f$0$23852$e4fe514c@news.xs4all.nl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Fri, 27 Nov 2015 18:21:57 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="11501"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/lX4rVJOfcNE9tey6S6j1qh30AVwh3rpo=" |
| User-Agent | Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
| Cancel-Lock | sha1:F+89QRd+xPZy3Cg3rrYhSaxypg0= |
| Xref | csiph.com comp.lang.java.programmer:33217 |
Show key headers only | View raw
On Fri, 27 Nov 2015 17:43:27 +0100, Silvio wrote: > On 11/27/2015 05:42 PM, Silvio wrote: >> On 11/27/2015 03:22 PM, Jerry Stuckle wrote: >>> >>> Part of good programming is performance testing - that is, testing >>> under a typical load you would see in real life. This includes the >>> number of concurrent users, database size, typical operations, >>> hardware being used, etc. Good testing will show performance >>> problems. >>> >>> Just testing with one user and a minimal database is like an >>> automobile manufacturer building a car and just testing it at 5mph in >>> a large, empty parking lot. >>> >>> >> I totally agree but good testing is difficult to organize. A good >> integration test before a major release as we used to do in the past >> would indeed uncover 99% of the performance bottlenecks. >> >> But nowadays with all the agility going on testing is often equivalent >> to unit testing which is mostly in this area. >> >> I uphold that the majority of performance problems can easily be >> prevented by the writer of the code given a competent coder. > IME a major problem with sorting out performance during integration or system testing is getting anybody at all to say which transactions are the most used and/or important from a user POV, let alone getting usage volumes. On top of that, even after assuming the DB designer did a good job and added indexes etc to support all prime and alternate keys (this is often an unwarranted assumption but is usually obvious once you see the DB schema), it can be quite hard to find out what else bottlenecks the DB. I'm thinking of missing indexes that are needed for some joins or to obviate sorting to satisfy ORDER BY clauses. As a result, I've often had to instrument the application well enough to capture query frequencies and execution times just to find out which transactions to tackle first and, that decided, to use JDBC or ODBC tracing to see what the problem queries were doing. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using GROUP By or @OrderColumn in JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-11-25 09:07 +0100
Re: Using GROUP By or @OrderColumn in JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-11-25 20:02 -0500
Re: Using GROUP By or @OrderColumn in JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-11-26 07:28 +0100
Re: Using GROUP By or @OrderColumn in JPA Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-26 08:25 -0500
Re: Using GROUP By or @OrderColumn in JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-11-26 20:22 -0500
Re: Using GROUP By or @OrderColumn in JPA Silvio <silvio@internet.com> - 2015-11-27 12:28 +0100
Re: Using GROUP By or @OrderColumn in JPA Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-27 09:22 -0500
Re: Using GROUP By or @OrderColumn in JPA Silvio <silvio@internet.com> - 2015-11-27 17:42 +0100
Re: Using GROUP By or @OrderColumn in JPA Silvio <silvio@internet.com> - 2015-11-27 17:43 +0100
Re: Using GROUP By or @OrderColumn in JPA Martin Gregorie <martin@address-in-sig.invalid> - 2015-11-27 18:21 +0000
Re: Using GROUP By or @OrderColumn in JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-11-28 23:01 -0500
Re: Using GROUP By or @OrderColumn in JPA Silvio <silvio@internet.com> - 2015-11-29 12:42 +0100
Re: Using GROUP By or @OrderColumn in JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-11-28 22:44 -0500
Re: Using GROUP By or @OrderColumn in JPA Martin Gregorie <martin@address-in-sig.invalid> - 2015-11-27 11:07 +0000
csiph-web