Skip to main content

Posts

Hugepages and concern on Linux environment

HugePages is crucial for faster Oracle database performance on Linux if you have a large RAM and SGA. If the combined database SGAs is large (like more than 8GB, can even be important for smaller), you will need HugePages configured. Note that the size of the SGA matters.  Applies to: Linux OS - Version Enterprise Linux 4.0 to Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] [Release RHEL4 to OL6] Oracle Server - Enterprise Edition - Version 9.2.0.1 and later Linux x86-64 Oracle Linux Red Hat Enterprise Linux (RHEL) SUSE Linux Enterprise Server (SLES) Hugepages is a delicate features of Oracle and one should understand certain concern before setting this. Concern before setting Huge Pages for Linux environment The performed configuration is basically based on the RAM installed and combined size of SGA of database instances you are running. Based on that when: Amount of RAM installed for the Linux OS changed New database instance(s) introduced SGA si...

Memory Parameter usage in Oracle 11gR2

MEMORY_TARGET specifies the Oracle system-wide usable memory. MEMORY_TARGET specifies the Oracle system-wide usable memory. MEMORY_MAX_TARGET (…) decide on a maximum amount of memory that you would want to allocate to the database for the foreseeable future. The database tunes memory to the MEMORY_TARGET value, reducing or enlarging the SGA and PGA as needed. In a text initialization parameter file, if you omit the line for MEMORY_MAX_TARGET and include a value for MEMORY_TARGET, the database automatically sets MEMORY_MAX_TARGET to the value of MEMORY_TARGET. If you omit the line for MEMORY_TARGET and include a value for MEMORY_MAX_TARGET, the MEMORY_TARGET parameter defaults to zero. Prior to Oracle 11g, the DBA used to set the sga_target and sga_max_size parameters, allowing Oracle to reallocate RAM within the SGA.  The PGA was independent, as governed by the pga_aggregate_target parameter. Now in Oracle 11g we see the memory_max_target parameter whi...

Decision Criteria for db_file_multiblock_readcount

DB_FILE_MULTIBLOCK_READ_COUNT is one of the parameters you can use to minimize I/O during table scans. It specifies the maximum number of blocks read in one I/O operation during a sequential scan . The total number of I/Os needed to perform a full table scan depends on such factors as the size of the table, the multiblock read count, and whether parallel execution is being utilized for the operation. The maximum value is the operating system's maximum I/O size expressed as Oracle blocks ((max I/O size)/ DB_BLOCK_SIZE ) . According to Oracle, this is the formula for setting db_file_multiblock_read_count:                                           max I/O chunk size DB_FILE_MULTIBLOCK_READ_COUNT   =   ------------------------------------      ...

Decision Criteria for Memory Parameter for OLTP and Reporting environment

In transaction environment, multiple copies of block exists in Database Buffer Cache, It is advisable to have more SGA_Target / Memory_Target size in comparison to reporting environment. Whereas in Reporting environment, multiple copies of block does not exist in Buffer Cache rather more sorting, searching operation is taking place, hence more PGA size is required.

Database Benchmarking

Benchmark actually written by a single group of programmers with essentially identical syntax for all popular RDBMS Programs and Packages. The benchmark should be run in two stages.     First Before modifications and then the benchmark can be run again after "tuning" is completed by the computer or RDBMS vendor. By comparing the both the timing i.e Before and after tuning it will be evident how much performance improvement resulted from the tuning. By comparing the original code to the modified code it will be clear how much custom programming effort is required to get the performance improvement. The benchmark should measure many different aspects of database performance for different "user levels" and database sizes. The benchmark must report the results in detail so that both the strengths and weaknesses of the DBMS are uncovered. It;s kind of SWOT analysis. The benchmark should be run in its standard form for multiple database products on a...

Limitation of Oracle XE (Express Edition) databases

Any use of the Oracle Database Express Edition is subject to the following limitations; 1. Express Edition is limited to a single instance on any server; 2. Express Edition may be installed on a multiple CPU server, but may only be executed on one processor in any server; 3. Express Edition may only be used to support up to 11GB of user data (not including Express Edition system data); 4. Express Edition may use up to 1 GB RAM of available memory.

Limitation on SQL Server Express Edition

1. SQL Server Express uses only one CPU at a time. It can be installed on a server with multiple CPUs, but it will use only one CPU at a time. 2. SQL Server Express uses a maximum of 1 GB memory for it's data buffer. So, if your server has several GB memory, SQL Server Express cannot take advantage of it. 3. Maximum database size is limited to 4 GB per database (10 GB for SQL Server Express 2008 R2 and above) 4. Profiler tool is not included with SQL Server Express editions. 5. No SQL Server Agent service 6. Job Scheduling service is not available with SQL Server Express. 7. Data import and export feature is not available with SQL Server Express.