Archive for the tag "queries"
Memo: Avoid Functions in Database Queries
October 21st, 2010 by Scott SelikoffThe most common type of questions in the JavaRanch JDBC forum tends to be about improving performance in a database (that, and “Where can I download a JDBC Driver?”). While remote trouble-shooting performance issues can be tricky, we often spot issues with the presented queries and offer alternatives to improve performance. One issue I see [...]
Posted: 21 October, 2010 in Database, JDBC.
Tags: Database, function, functions, index, javaranch, JDBC, mysql, queries, query
Comments: 2
Memo: Avoid Nested Queries in MySQL at all costs
December 10th, 2008 by Scott SelikoffSome of my readers may be aware that nested subqueries such as “SELECT * FROM widgets WHERE id IN (SELECT …)”, don’t work all that well in MYSQL. While the syntax is usually correct, the performance issues in practice can be horrendous. This article delves deeper into this issue, and why MySQL performs so poorly [...]
Posted: 10 December, 2008 in Database.
Tags: Database, JDBC, mysql, nested, queries
Comments: 11
