Most Popular Databases

Measuring Web Application Performance in Oracle Databases

Simply understanding a nine-step tuning process is not enough to be able to make a system work efficiently. You need a formal, quantitative way to measure performance. You also need some specific vocabulary to avoid any possible misunderstanding. The vocabulary list may vary somewhat, but the following terms are fundamental: Command. An atomic part of […]

Read More

Family Trees and CONNECT BY in Oracle 12c

One of Oracle’s more interesting but little used or understood facilities is its CONNECT BY clause. Put simply, this method is used to report, in order, the branches of a family tree. Such trees are encountered often—the genealogy of human families, livestock, horses; corporate management, company divisions, manufacturing; literature, ideas, evolution, scientific research, theory; and […]

Read More

Tablespaces and the Structure of the Oracle Database

People who have worked with computers for any period of time are familiar with the concept of a file; it’s a place on disk where information is stored, and it has a name. Its size is usually not fixed: If you add information to the file, it grows larger and takes up more disk space, […]

Read More

Single-value Functions in Oracle 12c

Most single-value functions in Oracle are pretty straightforward. This article gives short examples of the major functions, and it shows both the results of the functions and how they correspond to columns, rows, and lists. After the examples, you’ll learn how to combine these functions. A table named MATH was created to show the calculation effects […]

Read More

How to Monitor SQL Server – Best Practices Tutorial

MySQL® is one of the most popular relational database management systems being used today. Its popularity with SQL admins who manage data sets puts it at the back end of many tiered applications. But with great popularity comes great responsibility, especially for an IT admin who is new to monitoring and managing MySQL instances. This is a different […]

Read More

MySQL 101: Best Resources for Learning Fast

One of the best things about being a DBA is that I am always learning. As a long time DBA (+25 years), who has worked with about every database type imaginable, I find that my latest challenge is to keep up with all the new features and functionality the latest versions have to offer. This […]

Read More

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