Loading topic
EXPLAIN PLAN and read a basic plan, and that you know how a B-tree index is searched. You do not need to know how the optimizer's cost model is built. You only need the working model below.5 min readUPPER, and matching on a calendar month needs TO_CHAR. For these, you index the expression instead of the column.5 min readEXPLAIN PLAN and DBMS_XPLAN) and know the Oracle data types NUMBER, VARCHAR2, DATE and TIMESTAMP. It also assumes you know that a B-tree index stores column values in sorted order.5 min readDBMS_XPLAN and know how a B-tree index is searched. It also assumes you have seen why a function on an indexed column blocks the index. Here you will see which LIKE patterns can use an index, which cannot, and what to do when you need4 min readEXPLAIN PLAN and read the operation column of DBMS_XPLAN.DISPLAY, and that you know how a composite index is ordered by its leading column. It teaches you to read the Predicate Information section of a plan, which shows how much of your WHERE clause narrows the4 min readDBMS_XPLAN output and know what a composite index is, as covered in the earlier chapters on composite indexes and on a5 min readDBMS_XPLAN.DISPLAY plan. It also assumes you know that a composite index is searched from its leading column. If you have not seen that rule yet, review composite indexes and column order first.5 min readDBMS_XPLAN.DISPLAY. It also assumes you know how a composite index is searched from its leading column. Both were covered in earlier chapters.5 min readDBMS_XPLAN, and that you know how a composite index is searched from its leading column. It also assumes you know that a B-tree index stores its entries sorted. Here you will use that sort order to avoid sorting, and to stop reading early wh5 min readorders table with these indexes:5 min readDBMS_XPLAN and know how a B-tree index is searched, including the leading-column rule for composite indexes. It covers which join columns need an index, which side of the join needs it, and how to check that the optimizer uses it.5 min readDBMS_XPLAN, and you know how a B-tree index is searched and what composite and function-based indexes are. Earlier chapters showed how to make a query use an index. This chapter covers the other side: every index you add makes writes slower,5 min read