Most Popular

Order of Query Execution in Oracle 12c

Here are the rules Oracle uses to execute each query, and the order in which execution takes place: Choose rows based on the WHERE clause. Group those rows together based on the GROUP BY clause. Calculate the results of the group functions for each group. Choose and eliminate groups based on the HAVING clause. Order […]

Read More

A Warning About Automatic Conversions in Oracle 12c

The issue of whether allowing SQL to do automatic conversion of datatypes is a good practice or not has arguments on either side. On one hand, this practice considerably simplifies and reduces the functions necessary to make a SELECT statement work. On the other hand, if your assumption about what will be in the column […]

Read More

NULLs in Group-Value Functions in Oracle 12c

Group-value functions in Oracle treat NULL values differently than single-value functions do. Group functions (other than COUNT(*)) ignore NULL values and calculate a result without considering them. Take AVG as an example. Suppose you have a list of 100 friends and their ages. If you picked 20 of them at random and averaged their ages, […]

Read More

10 Commandments for Oracle Database Application Design

It is worthwhile to sum up in a single place all the major issues in designing Oracle database applications—thus “The Commandments” (or perhaps “The Suggestions”). Their presentation does not assume that you need to be told what to do, but rather that you are capable of making rational judgments and can benefit from the experience […]

Read More

About Intelligent Keys and Column Values in Oracle Databases

In Oracle, intelligent keys are so named because they contain nontrivial combinations of information. The term is misleading in the extreme because it implies something positive or worthwhile. A more meaningful term might be overloaded keys. General ledger and product codes often fall into this category and contain all the difficulties associated with other codes, […]

Read More

About Object Name Normalization in Oracle Application Design

The basic approach to naming [objects in Oracle application design] is to choose meaningful, memorable, and descriptive readable names, avoiding abbreviations and codes, and using underscores either consistently or not at all. In a large application, table, column, and data names will often be multiword, as in the case of REVERSED_EXPENSE_ACCOUNT or LAST_GL_CLOSE_DATE. The goal […]

Read More

Toward Object Name Normalization in Oracle Application Design

The basic approach to naming is to choose meaningful, memorable, and descriptive readable names, avoiding abbreviations and codes, and using underscores either consistently or not at all. In a large application, table, column, and data names will often be multi-word, as in the case of REVERSED_EXPENSE_ACCOUNT or LAST_GL_CLOSE_DATE. The goal of thoughtful naming methods is […]

Read More

Using Oracle Exadata Flash Cache

The Exadata flash cache makes use of flash memory to speed up access to commonly used data. Flash-based solid-state storage has latency times and I/O operation rates much higher than rotating storage, improving performance particularly in transaction-processing applications. The flash cache is stored on flash-memory cards on storage servers. The storage server software manages the […]

Read More