
Learn shell scripting to level up your Oracle professional career, covering writing simple shell scripts, condition checks, parameters, repeated tasks, database commands, scheduling, and background jobs.
Explore basic shell commands to execute, search history, pipe outputs, create aliases, run background tasks, and access command help, essential for Linux tips and Oracle professionals.
Master how to use man pages for command help, including ls, its description, and options. Learn to combine ls options like -l and -lt to sort by time.
View and search your recent command history with the history command, show last five, ten, or twenty entries, and use up or down arrows to recall or clear the screen.
Master command chaining through piping, using the pipe to feed one command's output into another. Filter results with grep to locate Oracle processes and verify database status with ps -ef.
Create a shell alias to shorten the long Oracle database login command. Save aliases in your bash profile and source it to apply changes without logging out.
Identify running processes and logged-in users on a Linux server, diagnose availability and performance issues, and extract process and user activity for Oracle professionals.
List Oracle processes with ps -ef, identify a target pid, and kill the process with kill -9 pid.
Use the who command to see which Oracle users are on the server, check uptime with time, and view a specific user's login history with last.
Learn how to change a user's password as root using the passwd command, with an Oracle user example, and enforce strong passwords before the new credentials take effect.
Learn vi editor basics for linux file management: create, insert text, save with :wq, quit with :q!, and use search, copy-paste, replace, and delete commands.
Identify bottlenecks in the server and DBMS by monitoring I/O, memory, and network activity to determine whether the problem lies with the database or another subsystem.
Pinpoint bottlenecks quickly using vmstat to monitor time waiting for io, sleeping processes, and memory swap, then collect metrics every three seconds for five intervals to diagnose slow databases.
Learn to interpret free, used, and available disk space with human-readable percentages, identify when usage reaches a threshold (85-90 percent), and prevent database hangs from a full filesystem.
Use the free command in a human-readable format to monitor physical memory and swap on your database server, and examine /proc/meminfo for total, free, available memory to identify bottlenecks.
Identify CPU-intensive Oracle processes by using mpstat to check idle and iowait, then locate Oracle processes with top and inspect OS details via sqlplus.
Monitor i/o with iostat -x to view reads per second and writes per second, detect bottlenecks, and run top five SQL statements that generate the most read and write activity.
Monitor network traffic with a nested command that shows process ids and connections in time to identify Oracle processes causing issues, and verify listener status and dns and tnsnames entries.
Learn shell scripting to streamline tasks, check conditions, pass parameters, automate recurring jobs, and run database commands in the background, helping Oracle professionals stand out and land interviews.
Write a basic shell script with a bash shebang to check the database using the sequel command and exit 0 for success, then run ./db-check after chmod +x.
Check for a simple if-then-else condition in a shell script to monitor swap space against a 1 million threshold, echo status messages, and verify memory with a mem check script.
Learn how to pass parameters to a shell script using $1 to back up different databases, enabling dynamic selection without hard coding.
Automate repetitive tasks in a shell script using a for loop named perge log to purge multiple items from a list, with echo progress and five lines of code.
Run sql plus commands inside a shell script, log into the database, and suppress prompts with -s; execute a date script to display today’s date.
Schedule automated tasks with cron by editing crontab -e, configuring minutes and hour fields to run at set times, such as every five minutes or daily at 11:05 pm.
Install and use the screen utility to run long tasks in the background, detach with ctrl-a d, and reattach later to monitor backups or database stats.
Identify suspect data files from the alert log, run the database verify to analyze physical corruption, and use the resulting report when contacting Oracle support.
Learn to run basic commands in the shell, manage processes and users, and write shell scripts. Analyze operating system performance issues, automate jobs, and assess database corruption.
This course provides a Problem/Solutions based approach for Oracle professionals working in a Linux environment. We cover Linux topics as it pertains to Oracle Database and utilizing the operating system. This course is not meant for videos to be watched in order. Rather, each topic is a how-to guide for a particular problem.
Here's What People Are Saying About Cory and His Courses:
"Useful everyday commands. Great courses for starting dba's and system administrators." --Shaun Marquis, Udemy student
"So much great information and easy to understand!" --Renee’ Roberts, Udemy student
"Great course! A lot of important core knowledge to learn in each module." --Kendal Barlow, Udemy student