background preloader

INSTALL AND CONFIG

Facebook Twitter

Instalar Oracle Database 12c en Linux CentOS 7 Proyecto AjpdSoft. Cómo instalar Oracle Database 12c en un equipo con el sistema operativo Linux CentOS 7.

Instalar Oracle Database 12c en Linux CentOS 7 Proyecto AjpdSoft

Mostramos en este tutorial cómo preparar un equipo con Linux CentOS 7 (válido para Red Hat y RHEL Red Hat Enterprise Linux) paso a paso para instalar Oracle 12c. A continuación mostraremos paso a paso cómo configurar nuestro sistema Linux CentOS 7 para poder instalar Oracle 12c. Todos estos pasos los realizaremos con el superusuario root o bien con un usuario con permisos para ejecutar comandos en modo sudo (ha de estar en sudoers).

Requisitos físicos mínimos, memoria RAM, espacio en disco Oracle recomienda, para su versión Oracle 12c, los siguientes requisitos mínimos. 2GB de RAM mínima para Oracle. A partir de estos requisitos mínimos, en cada instalación y en función de su uso, carga y disponibilidad deberemos dimensionarlos apropiadamente, sobre todo el uso de RAM y el espacio en disco para los tablespaces. Configuración de red, IP, nombre de red, Linux CentOS 7 free -m -h. Services start automatically in AIX - IBM: AIX. /etc/rc.d/init.d/dbora startup rc file for Oracle Database. This rc script is for Red Hat/CentOS/Oracle Linux systems, to start Oracle Database automatically on system startup.

/etc/rc.d/init.d/dbora startup rc file for Oracle Database

$Id: rc_dbora.html,v 1.1 2010-05-28 14:43:53+09 kabe Exp $ Usage Install the script as /etc/rc.d/init.d/dborachkconfig dbora onEdit, or set in /etc/sysconfig/dbora (new file you will create) , the following values: ORACLE_USER=oracle# the account which you installed the Oracle Database. ORATAB=/etc/oratab# the oratab file. Showthread. My initial goal was to auto start/stop the oracle database and listener on AIX.

showthread

Oracle suggested the following for starting and stopping the database (not the listener): 1. Create a file called dbora in the /etc directory. 2. chgrp dba /etc/dbora (change the group for the file permissions) 3. chmod 750 /etc/dbora (change the permissions of the file.) 4. add the following lines in the dbora file: #! /bin/sh -x # # Change the value of ORACLE_HOME to specify the correct Oracle home # directory for your installation.

AIX RC Scripts - UnixMantra. We need some applications should be stopped and started gracefully without manual intervention during the reboots .

AIX RC Scripts - UnixMantra

Order to serve this purpose , we use rc scripts in all unix flavors including AIX . So, how do rc.scripts work: Write a single script, put it into /etc/rc.d/init.d, make sure the script accepts a single parameter of start or stop and does the right thing.In /etc/rc.d/rc2.d create a link (ln -s) to the script in init.d called Sxxname where xx is a number that dictates where in comparison to other scripts in the directory your script will execute (lower number first).In /etc/rc.d/rc2.d create a link to the script in init.d called Kxxname where xx is a number which dictates when the script is run to stop your app in comparison to other scripts in the directory (lower number first).

Automatically Starting Oracle on AIX. Oracle provides two UNIX / Linux scripts that assist DBAs with starting and stopping the database: dbstart and dbshut.

Automatically Starting Oracle on AIX

For Windows platforms, the oradim utility is provided for starting and stopping the Oracle instance. For automatically starting your database on AIX, more information is available in the following section. The dbstart utility reads the oratab file, shown in the example below. Configuring a Catalog for Oracle Full Text Searching. If your product catalog is stored in an Oracle database, you must configure the catalog to properly handle full text searching.

Configuring a Catalog for Oracle Full Text Searching

There are two main steps involved in this configuration: These steps are described in more detail in the sections that follow. Setting Up the ConText Indexes. Using Oracle Full-Text Search in Entity Framework. Introduction Oracle database supports an advanced functionality of full-text search (FTS) called Oracle Text, which is described comprehensively in the documentation: We decided to meet the needs of our users willing to take advantage of the full-text search in Entity Framework and implemented the basic Oracle Text functionality in our Devart dotConnect for Oracle ADO.NET Entity Framework provider.

Using Oracle Full-Text Search in Entity Framework

For working with Oracle Text specific functions in LINQ to Entities queries, the new OracleTextFunctions class is used, which is located in the Devart.Data.Oracle.Entity.dll assembly. Configuring a Catalog for Oracle Full Text Searching. Minimalistic Oracle: How to set the db_file_name_convert and log_file_name_convert parameters.

In this example, I want to redirect the files to a slightly different path during a clone from prod to test.

Minimalistic Oracle: How to set the db_file_name_convert and log_file_name_convert parameters

In prod, files are to be found under: * /u02/oradata/proddb01/datafile. Oracle Today: August 2005. We have recently configured shared server in some of our databases.

Oracle Today: August 2005

Steps to follow to enable shared server are below. The following configuration is on Enterprise Edition 9.2.0.5. The numbers used in the settings shown are only examples. We are running an OLTP system with about 2000 concurrent users with these parameters without any problem. The parameters you need to set for the shared server and their default values are: NAME VALUE------------------------------ ----------circuits 0dispatchersmax_dispatchers 5max_shared_servers 20mts_circuits 0mts_dispatchersmts_max_dispatchers 5shared_server_sessions 0shared_servers 0The ones starting with mts are for backward compatibility, setting circuits, dispatchers and max_dispatchers or mts_circuits, mts_dispatchers and mts_max_dispatchers is the same and is up to you.

If we go over these parameters one by one: Circuits: This is a static parameter and it defaults to the sessions parameter when the shared server is used. Memory Architecture. This chapter discusses the memory architecture of an Oracle instance.

Memory Architecture

It includes: Introduction to Oracle Memory Structures Oracle uses memory to store information such as the following: Program code Information about a connected session, even if it is not currently active Information needed during program execution (for example, the current state of a query from which rows are being fetched) Information that is shared and communicated among Oracle processes (for example, locking information) Cached data that is also permanently stored on peripheral memory (for example, data blocks and redo log entries) The basic memory structures associated with Oracle include: System Global Area (SGA), which is shared by all server and background processes and holds the following: Database buffer cache Redo log buffer Shared pool Large pool (if configured) Program Global Areas (PGA), which is private to each server and background process; there is one PGA for each process.

Oracle 10g: OPEN_CURSORS y SHARED_OPEN_CURSORS. PracticasArranqueParada_Tema2.pdf. Mover tablas de un Tablespace a otro en Oracle 10g - Tu Informática Fácil. ORACLE-BASE - Recompiling Invalid Schema Objects. Home » Articles » Misc » Here Operations such as upgrades, patches and DDL changes can invalidate schema objects. Provided these changes don't cause compilation failures the objects will be revalidated by on-demand automatic recompilation, but this can take an unacceptable time to complete, especially where complex dependencies are present. For this reason it makes sense to recompile invalid objects in advance of user calls. It also allows you to identify if any changes have broken your code base. This article presents several methods for recompiling invalid schema objects.

Oracle Freelists vs. Freelist_groups tips. Many people who experience segment header contention (buffer busy waits) are confused about the proper use of multiple freelists versus multiple freelist_groups for a table or index. As we may know, multiple freelists add additional process freelists within a single segment header, while multiple freelist groups add multiple segment headers. Of course, if you are using Oracle, the best solution is to redefine your tablespace with automatic segment space management (ASSM) and use the wonderful Oraclebitmap freelists. As an old Oracle Parallel Server (OPS) DBA, we were taught that freelist_groups were only for OPS and RAC, and that there should be one freelist group per RAC node. However, there is growing evidence that some segment header contention can be relieved in non-RAC systems by adding multiple freelist_groups to tables and indexes.

This is especially useful for partitioned tables, and system with extremely high DML activity. According to MOSC Note:1060377.6. Using Free Lists and Free List Groups in Real Application Clusters (Optional) If you cannot use automatic segment-space management as Oracle Corporation recommends, then refer to the procedures in this appendix that describe how to use free lists and free list groups in Oracle Real Application Clusters environments. The sections in this appendix include: Using Free List Groups For Concurrent Inserts from Multiple Nodes If you cannot use locally managed tablespaces and automatic segment-space management, then consider managing free space manually by using free lists and free list groups. Oracle « El Rincon del BI. En una entrada anterior del blog vimos los conceptos básicos del particionado de tablas y como se podian llevar a la práctica utilizando MySql.

Week 17: Oracle Database 10g Top 20 DBA Features. Week 17 Automatic Shared Memory Management Frustrated by trying to allocate the precise amount of memory required for different pools? Automatic Shared Memory Management makes it possible to allocate memory where it's needed most, automatically. Whether you're a new or veteran DBA, you've almost certainly seen an error similar to this one at least once: ORA-04031: unable to allocate 2216 bytes of shared memory ("shared pool"... ... Cajón de sastre sobre oracle. Opciones de configuración de Oracle. [ Fin de página | Página anterior | Página siguiente | Contenido | Índice ] Fichero de Configuración init.ora en Oracle 11g - Tu Informática Fácil. El fichero init.ora contiene una lista de parámetros que Oracle lee cuando una Base de Datos es arrancada.

Los parámetros identifican a la base de datos, ficheros de control (control files), tamaño de la SGA, recursos de la Base de Datos, ubicaión de los ficheros de diagnostico y estadísticas, etc. Ficheros de arranque init.ora y spfile.ora - Instalación y configuración - Orasite.com. 1. Objetivos. ALTER SYSTEM SWITCH LOGFILE vs ALTER SYSTEM ARCHIVE LOG CURRENT.

Question: I understand that there are times that you need to force a log switch for backups, but I have noted that Oracle has two ways to force a logfile switch, ALTER SYSTEM SWITCH LOGFILE and ALTER SYSTEM ARCHIVE LOG CURRENT. What is the difference between ALTER SYSTEM SWITCH LOGFILE and ALTER SYSTEM ARCHIVE LOG CURRENT, and when do I use each? Answer: Yes, both ALTER SYSTEM SWITCH LOGFILE and ALTER SYSTEM ARCHIVE LOG CURRENT will force a log switch, but they do it in different ways! Both the SWITCH LOGFILE and ARCHIVE LOG CURRENT write a quiesce checkpoint, a firm place whereby that last redo log is a part of the hot backup, but ARCHIVE LOG CURRENT waits for the writing to complete. This can take several minutes for multi-gigabyte redo logs. Conversely, the ALTER SYSTEM SWITCH LOGFILE command is very fast and returns control to the caller in less than a second while ALTER SYSTEM ARCHIVE LOG CURRENT pauses.

Área Global del Sistema. Activar modo ARCHIVELOG en Oracle Database 11g R2 Imprimible Proyecto AjpdSoft. Donghua's Blog - DBAGlobe: ALTER SYSTEM SWITCH LOGFILE and CHECKPOINT. Question: Will "alter system switch logfile" trigger checkpoint? Answer: It will only trigger a complete checkpoint when active redo log group to be overwritten due to circular fashion.

In other words, "alter system switch logfile" may trigger complete checkpoint, but not always. SQL> alter system switch logfile; System altered. SQL> select first_time,first_change#,sequence#,status from v$log; ORACLE: DBA's day out: Oracle Basics. Purpose A database link is a schema object in one database that enables you to access objects on another database. Oracle Tips and Techniques. Compile_schema is used to compile a whole schema which means you can use the procedure to re-compile procedures, functions, packages and triggers. ORACLE-ADMIN: Welcome. ORACLE-ADMIN: Unix Commands. Memory Architecture. Descubriendo el Mundo Oracle: Manejando Datafiles en Oracle. Activar modo ARCHIVELOG en Oracle Database 11g R2 Imprimible Proyecto AjpdSoft. Oracle Articles Blog. El blog de la Equipa. Ask Tom "PGA/UGA Memory" Orapwd Tips. Oracle En Español: Instancia es igual a Procesos y Estructuras de memoria.

Conectarse a la Base de datos cuando cualquier otro metodo no lo permite. Oracle y yo. Tuning the Shared Pool and the Large Pool. Init.ora SpFile Parameters. Oracle Startup Parameters Init Initialization PFILE init.ora. Tablespaces, Datafiles, and Control Files. Oracle Tutorials - Run CREATE DATABASE Statement. Module 4 - Oracle Tablespaces and Datafiles. Oracle Tablespaces. 12 Administering Oracle OLAP. Mi bitácora técnica: Creando una base de datos Oracle básica. ORACLE - DDL - CREATE DATABASE. Administración de bases de datos Oracle: ORA-01092: ORACLE instance terminated. Disconnection forced.

Tablespaces, Datafiles, and Control Files. Reducción de Segmentos en Oracle 10g: Shrink Table. Reclaiming Wasted Space. Create sqlnet.ora. Terminating Oracle connections with connect_time, idle_time, expire_time and inbound_connect_timeout. ORACLE-BASE - Automating Database Startup and Shutdown on Linux. Oracle Database HOWTO: Automatic Startup and Shutdown. How I Enable Autostarting of Oracle Database for Demonstrations and Development (Scripting and Oracle: Christopher Jones) Auto start Oracle Automatically. Recopilación scripts y consultas útiles de Oracle. Errores ORA. Configuration Files. ORACLE-BASE - Oracle 9i LOB Enhancements. Oracle Guide: Optimización Básica de SQL.

ORA-01144: File size (4224000 blocks) exceeds maximum of 4194303, Oracle Apps DBA Kaparelis. How to Disable Automatic SGA Management on 11g Release 2. Statistics_level parameter tips. Highly Available Oracle Enterprise Manager 12c Cloud Control – low cost. Oracle Database Online Documentation 11g Release 1 (11.1) Oracle Apps DBA stuff: SYSAUX Tablespace in Oracle 10g and higher [ID 243246.1] Reinicio automático de Oracle Database (Oracle Restart) Oracle Database HOWTO: Automatic Startup and Shutdown. Oracle PL/SQL: TABLESPACE: SYSAUX Tablespace - The SYSAUX tablespace is an auxiliary tablespace to the SYSTEM tablespace. Many database components.

Reclaiming Unused Space in Datafiles. Altering and Maintaining Tablespaces. Data file resizing shrinking tips. Oracle Facíl. Oracle hidden parameters. Mover Tablespace System. Reducir tablespace TEMP en ORACLE 10g. /etc/rc.d/init.d/dbora startup rc file for Oracle Database. Descubriendo el Mundo Oracle: Manejando Datafiles en Oracle. Oracle undocumented hidden parameters tips.

ORACLE-BASE - Reclaiming Unused Space in Datafiles. Reducir tamaño en el tablespace UNDO. How to view list of hidden parameters. Administering Oracle Database. Create spfile from pfile tips. How to move all objects in a schema to a different tablespace.