Posts

Showing posts with the label Database

How to Secure SQL Databases Against Common Attacks

  How to Secure SQL Databases Against Common Attacks As a Database Administrator, one lesson has remained constant: a database is only as secure as its weakest access point. Organizations spend heavily on firewalls, cloud infrastructure, and application security, yet many still leave their SQL databases exposed to preventable attacks. A single vulnerability in a database environment can lead to data theft, ransomware infections, financial loss, compliance violations, and severe reputational damage. Modern businesses rely heavily on relational database systems such as Oracle Database , Microsoft SQL Server , MySQL , and PostgreSQL . These databases store highly sensitive information including customer records, banking transactions, healthcare data, and confidential business intelligence. Unfortunately, databases are one of the primary targets for cybercriminals. Attackers continuously search for weak passwords, unpatched vulnerabilities, SQL injection flaws, excessive privileges,...

Oracle Exadata- Calibrate I/O Overview

The Calibrate I/O feature is based on a PL/SQL function called DBMS_RESOURCE_MANAGER.CALIBRATE_IO(). When Calibrate I/O is invoked it will generate I/O intensive read-only random I/O (db_block_size) and large-block (1MByte) sequential I/O workloads. Unlike various external I/O calibration tools, this tool uses the Oracle code stack and runs in the database, issuing I/O against blocks stored in the database. The results, therefore, much more closely match the actual database performance. Once the workload execution is completed, a summary of the results is provided. The results from Calibrate I/O should be gauged against the expected throughput rate (the maximum overall throughput of the I/O subsystem). I/O calibration can be used to evaluate the performance of the storage subsystem and determine whether I/O performance problems stem from the database host or the storage subsystem. The Oracle PL/SQL package DBMS_RESOURCE_MANAGER.CALIBRATE_IO is used to execute the calibration. The...

Migration to Exadata Consideration-Instance Caging

Image
 For DBA a lot of things need to be consideration when migrating database. In this blog, we will discuss one of the concepts "Instance Caging" for migration and consolidation to Exadata Machine.   Oracle offers a simple and effective approach to server consolidation called “Instance Caging”. Instance Caging focuses on managing CPUs by limiting the CPU usage of an Oracle database instance. Where multiple databases are hosted in an Exadata environment, the relative assignment of resources between the two DBRM controllers can be balanced by using Instance Caging. Instance Caging limits the amount of CPU an Oracle database instance consumes by using the Oracle Database Resource Manager and the cpu_count parameter. The cpu_count parameter specifies the CPU usage limit. When multiple performance-critical database instances share a server, as in the case of Cummins Engine, the approach the DBA should take would be to partition the CPUs among the database instances, thus shield...

Oracle Database Resource Manager (DBRM)-Exadata

Image
 The Oracle Database Resource Manager allows The database more control over how hardware resources are allocated. In an environment with multiple concurrent user sessions that run jobs with differing priorities, all sessions should not be treated equally. The Resource Manager enables you to classify sessions into groups based on session attributes, and to then allocate resources to those groups in a way that optimizes hardware utilization for your application environment. With the Resource Manager, you can: Guarantee certain sessions a minimum amount of processing resources regardless of the load on the system and the number of users. Dstribute available processing resources by allocating percentages of CPU time to different users and applications. In a data warehouse, a higher percentage can be given to ROLAP (relational online analytical processing) applications than to batch jobs. Limit the degree of parallelism of any operation performed by members of a group of users. Create a...