0

I was implemented a JDBC test plan with my database on a web-server (I built a web server by myself). When I start a simple request from JMeter Client (Ex: SELECT * From link d WHERE d.linkLIKE '%com%'), then the CPU of JMeter would high usage (90-100%) for a long time (~5 mins, but I set my test plan in 6s :(. And on server side, CPU high very short time - 5-7seconds (I think this time for the query to database). I tried to change the HEAP in jmeter.bat to more than 1024m, but is wasn't successful.

Can you help me to solve this problem?

4

1 回答 1

0

我会在那个 SQL 查询上运行 EXPLAIN PLAN。由于您编写 WHERE 子句的方式,您可能会看到 TABLE SCAN。这需要很多时间,随着表的增长,需要更多时间,因为它需要您检查每条记录。

于 2012-07-26T10:04:13.297 回答