Posts by Doyensys

OEM CONTROL COMMANDS

OEM CONTROL COMMANDS: ===================== Stop/start and status oms in cloud control =============================== cd $ORACLE_HOME/bin emctl stop oms emctl start oms emctl status oms stop/start agent in oem cloud control =====================================…

Read More

Generate Barcode using Python

Step 1: Download and Install Python Step 2: Open CMD prompt and run the following command to install flask and barcode module >> pip install flask >> pip install python-barcode…

Read More

Generate QRcode using Python

Generate QRcode using Python Step 1: Download and Install Python Step 2: Open CMD prompt and run the following command to install flask and pyqrcode module >> pip install flask >>…

Read More

Histograms

A histogram is a special type of column statistic that provides more detailed information about the data distribution in a table column. A histogram sorts values into “buckets,” as you might sort…

Read More

Python Flask

What is Flask? Flask is a popular Python web framework, a third-party Python library used for developing web applications. What is the purpose of Web Framework in Python? When a…

Read More

DB Hints

DB HINTS What is DB Hints? DB Hints / Optimizer Hints can be used with SQL statements to alter execution plans. What is the purpose of DB Hints? DB Hints…

Read More

Hash Joins

HASH JOINS Hash joins are used when two larger data sets are joined. Optimizer will look for the smaller one of two datasets and build the hash table based on…

Read More

Viewing an Alert Log from ADRCI

You want to view an alert log by using ADRCI commands. To view an alert log with ADRCI, follow these steps: Invoke ADRCI. $ adrci Set the ADR home with…

Read More

Finding What’s Consuming the Most Undo

Use the following query to find out which SQL statement has run for the longest time in your database. SQL> select s.sql_text from v$sql s, v$undostat u where u.maxqueryid=s.sql_id; You…

Read More

Determining the Optimal Undo Retention Period

You need to determine the optimal length of time for undo retention in your database. Use the following formula to calculate the optimal value of the UNDO_RETENTION parameter: OPTIMAL UNDO_RETENTION…

Read More