Tag: IBM

Community

Functions in the GROUP BY

You may encounter situations where you would like to include a function in a GROUP BY statement. For example, let’s say that you have a database with tables that have TIMESTAMP columns. A number of summary reports are produced against these tables, but at the DATE level as opposed to the TIMESTAMP l

Community

Star join optimization in DB2

(Terry Purcell) Since the introduction of the Star Join access method in Version 6 of DB2 UDB for z/OS and OS/390, there have been many additional enhancements to improve the detection of star schema queries to determine the most efficient access path, and also to minimize regression of non-star sch

Community

Seeing is Believing

(Michael H. Alcorn) Anyone who has ever surfed the Web or tried to buy something online knows how critical performance is to Internet-based companies. Fast responses and well-designed sites don’t guarantee that customers will do their research on or buy something from a particular company’s site. Bu

Community

Party of One

(Bonnie Baker) One of the questions folks ask me is, “How can I get just one row out of DB2 when I know that many rows will qualify for my SQL statement?” In this column I will discuss the different ways you can make this happen in DB2 for OS/390 and, more importantly, the performance differences an