Advanced Search
Search Results
74 total results found
Chapter 3 - Creating and Configuring an Oracle Database
To configure Oracle Database Free, you can (optionally) tweak the configuration parameters located at: /etc/sysconfig/oracle-free-23ai.conf But if you’re ok with the defaults, skip right to the main event: sudo /etc/init.d/oracle-free-23ai configure Choose a P...
Chapter 4: Setting Oracle Database Free Environment Variables
export ORACLE_SID=FREE export ORAENV_ASK=NO . /opt/oracle/product/23ai/dbhomeFree/bin/oraenv
Chapter 5: Starting and Stopping Oracle Database 23ai
To Shut Down Using SQL*Plus: su - oracle sqlplus / as sysdba SHUTDOWN IMMEDIATE; To start the database Using SQL*Plus: STARTUP; ALTER PLUGGABLE DATABASE ALL OPEN; Automating Shutdown and Start-Up: run the following commands as root: systemctl daemon-reload s...
Step 6: Enabling GUI Access for DBCA – X11 Forwarding
Sometimes, clicking is better than typing, especially when you're setting up a database and prefer a mouse over a terminal. If that sounds like you, let’s get DBCA (Database Configuration Assistant) running with a full graphical interface using Xming. Download...
Chapter 7: Creating a New PDB with DBCA
Export variablesexport ORACLE_SID=FREE export ORAENV_ASK=NO . /opt/oracle/product/23ai/dbhomeFree/bin/oraenvLaunch DBCAcd $ORACLE_HOME/bin./dbcaThe step-by-step guide with images for creating new PDBs using DBCA.
Chapter 17: Publishing Through Oracle Cloud Network Load Balancer
A Network Load Balancer (NLB) helps distribute traffic across multiple backend servers, ensuring high availability, redundancy, and scalability for your application. In this chapter, you’ll learn how to create a basic NLB setup to forward traffic to a backend ...
Chapter 18: Using Nginx Proxy Manager with a Network Load Balancer
If you’re behind a Network Load Balancer (NLB) and want to manage SSL certificates and reverse proxying with ease, Nginx Proxy Manager (NPM) is a powerful web-based tool that simplifies the process. In this chapter, you’ll learn how to:Upload your SSL certific...
Chapter 8 - Interactive Oracle PDB Selector Script for SQL*Plus (CDB Environment)
This is a Bash script that lets you interactively choose a PDB (Pluggable Database) and jumps you straight into SQL*Plus, already switched to the right container.vi connect_pdb.shPaste the following inside vi#!/bin/bash export ORACLE_HOME=/opt/oracle/produc...
Post - Installing Certbot & Generating SSL Certificate
Sometimes, generating an SSL certificate can be challenging, especially on first attempts. This guide was fully tested on a Debian server, and here are a few helpful tips to avoid common issues and hours of troubleshooting: Create an A record pointing to your ...
How to use this guide
This guide is a learning path for a junior Oracle DBA. It does not replace the other books on this shelf. It tells you which script to run first, how to read what comes back, and when to stop and ask for help. How the pages are built Every task page has the sa...
Connecting to the database
When to use it At the start of every session, and every time you switch between servers or databases. Run this On the database server, as the oracle operating system user: # 1. See which databases exist on this server cat /etc/oratab # 2. Point your shell to ...
Instance, host and service
When to use it Before any other work, and whenever someone asks "which database is this?". Run this Script: 01_show_instance_info.sql. Full version in Performance › Performance monitoring › Instance info. col "Instance" format a25 col "Hostname" format a25 c...
Processes and sessions limits
When to use it As part of the daily check, and first thing when users report that they cannot connect. Run this Script: 02_show_processes_limit.sql. Full version in Performance › Performance monitoring › Instance info. SET LINESIZE 120 SET PAGESIZE 50 SET TRI...
Containers and PDBs
When to use it On any 12c or later database, to see whether you are in a container database and which pluggable databases are open. Run this Starter query written for this guide: SHOW CON_NAME SHOW PDBS SELECT con_id, name, open_mode, restricted, open_time FRO...
Morning routine
Run these checks in this order at the start of the day. Each one links to a page of this guide. The whole routine is read only. Is it up? Instance status and open mode. Page: "Connecting to the database". Is there room to connect? Processes and sessions. Page:...
Tablespace usage
When to use it Every day, and whenever an application fails with ORA-01653, ORA-01654 or ORA-01688 (unable to extend). Run this Script: 10_show_tablespace_usage_percent.sql. Full version in Administration › Storage management › Tablespaces. select trunc(USED_...
Backups from last night
When to use it Every morning. A database without a recent good backup is the highest risk you can have without noticing. Run this Starter query written for this guide: SELECT TO_CHAR(start_time, 'YYYY-MM-DD HH24:MI') AS started, TO_CHAR(end_time, 'YYY...
Invalid objects
When to use it Every day, and always after a deployment, a patch or an import. Run this Script: 01_find_invalid_objects.sql. Full version in Performance › Performance monitoring › Object status. SET LINESIZE 150 SET PAGESIZE 50 COLUMN owner FORMAT A30 COLUMN ...