Sunitha Kambhampati escreveu:

...I was just trying to find out if your app was using a lot of cpu or if it was just waiting for disk i/o to happen. I guess your app sounds like it is cpu bound.

Sunitha.


Oh, I'm getting 100% Cpu every time I open JSP page that make queries.

One interesting point: my JSP page make obtain PK values from textual index (using lucene). Then I execute a query by PK for each result returned from Lucene, limited to 50 results per page.

So, for each page I execute 50 queries (open connection -> query by pk -> Navigate resultSet -> close connection).

Regards,

--
Edson Carlos Ericksson Richter
MGR Informática Ltda.
Fones: 3347-0446 / 9259-2993

begin:vcard
fn:Edson Carlos Ericksson Richter
n:Richter;Edson
org;quoted-printable:MGR Inform=C3=A1tica Ltda;Desenvolvimento
adr:Cristo Redentor;;Assis Brasil, 3257, Sala 409;Porto Alegre;RS;91010007;Brasil
email;internet:[EMAIL PROTECTED]
title:Diretor de Sistemas
tel;work:(51)3347-0446
tel;cell:(51)9259-2993
x-mozilla-html:FALSE
url:http://www.mgrinformatica.com.br
version:2.1
end:vcard

Reply via email to