Advantages: 1. Improved Query Performance • Optimized SQL execution plans lead to faster query response times. • Reduces unnecessary full table scans and improves indexing strategies. • Parallel execution tuning speeds up large data processing tasks. 2. Better Resource Utilization • Efficient use of CPU, memory, disk I/O, and network resources. • Reduces contention on Redo Logs, Undo Tablespaces, and Buffer Cache. • Helps in load balancing across multiple instances in RAC (Real Application Clusters). 3. Increased System Scalability • Ensures that the database can handle a growing number of users and transactions. • Proper tuning allows scaling without degrading performance. • Optimized parallel processing ensures better performance on multi-core servers. 4. Lower Infrastructure Costs • Reduces the need for add...
Opatch: It is a utility for patching Oracle software, specifically Oracle databases and related products. It is used to apply, roll back, and check Oracle patches, including interim patches, one-off patches, and bundle patches. Types of Patches: Patch Type Purpose Release Frequency Includes Security Fixes? Includes Bug Fixes? Includes New Features? One-off Patch Fix a specific issue As needed No Yes No PSU (Patch Set Update) Security + Bug fixes Quarterly Yes Yes Minimal CPU (Critical Patch Update) Security fixes only Quarterly Yes No No RU (Release Update) Security + Bug + Functional changes Quarterly Yes Yes Yes BP (Bundle Patch) Exadata/Windows patch...
RMAN: (Oracle 8) RMAN (Recovery Manager) is a utility provided by Oracle Database to perform backup, restore, and recovery operations. It is a command line tool. Features of RMAN in Oracle 19c Comprehensive Backup Capabilities: Full and incremental backups. Block-level backups for efficient data storage. Archived redo log backups. Fast Recovery Area (FRA) integration for centralized backup storage. Efficient Recovery Options: Point-in-time recovery (PITR). Complete and incomplete recovery. Flashback database capabilities for quick undo of changes. Multitenant Database Support: RMAN fully supports container databases (CDBs) and pluggable databases (PDBs). Provides flexibility to back up and recover individual PDBs or entire CDBs. Automatic Space Management: Manages disk space in the FRA. Automatically deletes obsolete backups and archived logs. Data Deduplication and Compression: Backup optimization through block-level deduplication. Built-in compression algorithms to reduce storage req...
Types OF Installation Binary(Packages) Source RPM (Red hat Package Management) Notes: Once Installed the PostgreSQL set Password for postgres (OS Level) User. Login the root user and set password like passwd postgres Binary Installation: (Online Installation – Internet Must) Step 1: goto https://www.postgresql.org/ and click Download Choose Packages on Top Left Cornor Step 2: Select Your Operating System. Choose Linux and select your Linux distribution( Redhat/centos ). and scroll down Step 3: Select PostgreSQL Version. Example Choose 17 Step 4: Select Linux Platform. Example select Red Hat enterprise, CentOS, Scientific or Oracle version 8 Step 5: Select OS architecture Type. Example Select x86_64 Step 6: Copy the Script and paste your terminal Example: # Install the repository RPM: sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm # Disab...
Pgpool-II is a proxy software that sits between PostgreSQL servers and a PostgreSQL database client. It provides the following features: 1.Connection Pooling: Pgpool-II maintains established connections to the PostgreSQL servers, and reuses them whenever a new connection with the same properties (i.e. user name, database, protocol version, and other connection parameters if any) comes in. It reduces the connection overhead, and improves system's overall throughput. 2.Load Balancing: If a database is replicated (because running in either replication mode or master/slave mode), performing a SELECT query on any server will return the same result. Pgpool-II takes advantage of the replication feature in order to reduce the load on each PostgreSQL server. It does that by distributing SELECT queries among available servers, improving the system's overall throughput. In an ideal scenario, read performance could improve pr...
Comments
Post a Comment