Facebook Twitter

Mai-20105bea.pdf (application/pdf Object) Oracle 11g Installation auf Ubuntu 10.04 LTS ohne X-Windows  «  Rootz.de. © Michael H.G.

Oracle 11g Installation auf Ubuntu 10.04 LTS ohne X-Windows  «  Rootz.de

Schmidt (michael@schmidt2.de) Wer schon mal eine Oracle Datenbank auf Linux installiert hat kennt das Problem: Es gibt eine Menge Linux Distributionen aber Oracle unterstützt im wesentlichen nur 2: RHEL (RedHat Enterprise Linux ©) und SLES (SuSE Linux Enterprise Server ©). Dies sind jedoch Server Versionen – der Support von aktueller Notebook/Desktop Hardware (WLAN, Sound etc. pp. ist unter diesen Linuxen verständlicherweise eher gering bis nicht vorhanden). Entwickler, Admins und enthusiastische Hobbyisten möchten jedoch Oracle manchmal auch auf “ihrem” OS (z.B.: Ubuntu) installieren.

Dies ist oft nicht ganz einfach (meistens wegen Problemen beim Verlinken der Oracle Binärdateien mit Betriebssystembibliotheken). Das nächste Ärgernis beim installieren von Oracle RDBMS ist, daß Oracle seit einigen Jahren (und zwar seit Version 8i) ein funktionierendes X-Windows für die Installation von Oracle erwartet. Das folgende HOWTO soll dabei helfen diese Probleme zu umschiffen. Editor. Deadlocks. If session 1 is locking row 1, session 2 locks row 2, then session 1 attempts to lock row 2 (which will block since session 2 has the lock on that row), and then session 2 attempts to lock row 1 (which will block since session 1 has the lock on that row), then session 1 is waiting for session 2, and session 2 is waiting on session 1, which of course will never be resolved.


Here's an actual Oracle example. First of all, setup the environment : Configuring Shared Server. We have recently configured shared server in some of our databases.

Configuring Shared Server

Steps to follow to enable shared server are below. The following configuration is on Enterprise Edition 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:


ASM. Rman. Installation. Licences. Sql. Tablespaces. DBMS FGA. DBMS_FGA is a PL/SQL package used to define FGA (Fine Grain Auditing) on objects.


Define a simple policy called DUP_ACCESS: Another example: Define policy named FGA_EMP to audit the DBA's (oracle user) attempts to access to salary (emp.sal column) information: SQL> exec DBMS_FGA.ADD_POLICY( - > object_schema => 'SCOTT', - > object_name => 'EMP', - > policy_name => 'FGA_EMP', - > audit_column => 'SAL', - > audit_condition => 'SYS_CONTEXT(USERENV,OS_USER) = oracle ', - > statement_types => 'SELECT', - > audit_trail => DBMS_FGA.DB); PL/SQL procedure successfully completed.

Sample select to violate the policy: SQL> SELECT sal FROM EMP WHERE rownum < 1; no rows selected Query audit trail: ORACLE HOME. ORACLE_HOME refers to either: a directory where the Oracle software is installed; or an environment variable pointing to the directory where the Oracle software is installed.


[edit] Windows Check current value: Oracle Shell Scripting. This article presents some basic techniques for creating Windows batch files and UNIX/Linux shell scripts that connect to SQL*Plus and RMAN.

Oracle Shell Scripting

Windows To run an SQL script using SQL*Plus, place the SQL along with any SQL*Plus commands in a file and save it on your operating system. For example, save the following script in a file called "C:\emp.sql". CONNECT scott/tiger SPOOL C:\emp.lst SET LINESIZE 100 SET PAGESIZE 50 SELECT * FROM emp; SPOOL OFF EXIT; Next, create a batch file called "C:\get_emp.bat" containing the following command. sqlplus /nolog @C:\emp.sql The resulting batch file can be run manually, by double-clicking on it, or scheduled using the Scheduled Tasks Wizard (Start > Programs > Accessories > System Tools > Scheduled Tasks) or the AT scheduler.

The method is very similar when using Recovery Manager (RMAN). Next create a batch file called "C:\backup.bat" containing the following command. Oracle Data Pump. Expdp uwclass/uwclass SCHEMAS=uwclass DIRECTORY=data_pump_dir DUMPFILE=demo12.dmp EXCLUDE=constraint.

Oracle Data Pump

Archive log files reaches maxloghistory. Hardware and Software, Engineered to Work Together. Database Appliance. "For our server refresh and consolidation project we were looking for a solution that would significantly reduce our footprint without affecting performance.

Database Appliance

Oracle Database Appliance not only fit our needs for this project but also addressed our storage issues. We were able to get it up and running easily and started to see the benefits right away. With Oracle, we effectively removed cost and complexity from our datacenter without compromising performance and availability for our user community, while shoring up our infrastructure for future growth.

" Piotr Motykiewicz, Vice President of Technology and Product, Interactive One Hear what more customers are saying.