Patching Strategy For Production Environment

Jun 25, 2013

Need patch strategy specially for production environment?? We have production environment and we are planning to patch our databases using PSU pacthes with no downtime. Our production environment has standby. We have one option that we can make standby to primary. Is there any other options that we can use?

View 2 Replies


ADVERTISEMENT

Listener In Production Environment

Feb 6, 2013

I faced a problem in our production primary DB like the listener was running but it was not connecting through the remote system, when i accessed the primary database.

But when i restarted the listener it started connecting. I want to know the reason for this crash/freeze.

Oracle version: Oracle Database 11g release 11.2.0.1.0 SE1 64 - bit production

View 3 Replies View Related

Oracle Clustered Production Environment

May 26, 2013

I have a requirement to upgrade Oracle Data Integrator(ODI) from 10.1.3.5 to 11.1.1.6.3 We have a Clustered production environment where N1 will be up when N2 be down and viceversa.

Here N1 and N2 are the ODI servers as well as DB(11g Release 2) servers. They both access the SHARED CLUSTERED database. From ODI we will generally point the Oracle clustered IP(Virtual IP) which will internally point either N1 or N2 whichever is active. ODI application wise we are clear about the procedure.

Having some issues on DB related activities.

1. Should I break the cluster definitely? Cant I do the activity without breaking the cluster?
2. Do I need to point N1, N2, Clustered IP (Virtual IP) while doing the activities?
3. Since its a clustered database, do I need to db related activities once or twice? (Twice means, manually on both the servers)
4. As they are using same file structures (RAC), If the Virtual IP points N1 by default, assume that I create two new users a

View 1 Replies View Related

Drop Some Partitions In Table On Production Environment

Jul 8, 2011

I have to drop some partitions in table on production environment (to get free space). The environment have to be continuously available. I was considering of use ALTER TABLE ... DROP PARTITION ... UPDATE INDEXES but it is slow, because of use clause UPDATE INDEXES. Is there another possibility to remove these data?

View 2 Replies View Related

Backup & Recovery :: Moving From One Windows Environment To Another Linux Environment?

Jun 19, 2012

I'm trying to move my backup sets from windows database environment, to OEL 5.7 environment on another server.

I've found a manual [URL] by which I am trying to do it.I took backup sets from last night's backup using RMAN,and the current parameter(initSID.ora) file from the running live database.Now i need to configure control files in the pfile accordingly.

1. can i take current control files from the running system, to restore and recover backup sets from last night, to the state the database was at backup time?

2. how can i find out if control files are backed up and know by RMAN? "list backup completed after '2012-JUN-19';" >> gives me Archive redo logs, datafiles, but don't see the control files(or don't reconize them).

View 15 Replies View Related

Data Archival Strategy

Jan 13, 2011

Our db is growing pretty fast and now we need to purge / archive some of the data to another schema, we'll only keep 6 months of data in the current schema/table.

Here is the scenario:

2 schema: scott (source) & scott_arc (target)

tables in scott (source):
emp (regular table - criteria is date)
emp_p (partitioned table - criteria is date)

Task:
we have to purge/move/archive old data (only 6 months will stay in source, rest will move to target/arc) from these two tables and create identical same tables in SCOTT_ARC and move data to *_arc schema, need to create indexes too, similar to source.

- for regular tables, we can do select/insert, on date basis
- for partitioned tables, we can try exchange partition, as the current partitions are some like these:

EMP_20090104 <YYYYMMDD>

and this is not consistent too, means we don't have partitions for all the days in a month, this is the current status is:

MCDH_200909 2 (for 09 have only 2 days of data, means 2 partitions)
MCDH_200910 4 (for Oct have 4 days or data or 4 partitions)
MCDH_200911 16 and so on ...
...

View 1 Replies View Related

Cloning Database Strategy

Aug 23, 2012

i have production database (1102.0.3.0) in Windows 2008 server R2 64 bit version . My database has some schemas which has partition tables and Db links and M views also .

Now my team lead asked me to setup the same environment(As cloning ) in testing environment also ... I have lots of options to create the same setup database using options like export/Import , data pump , hot backup and cold backup, Rman .

My doubt is which option will be best and optimal to achieve the same ?which approach i should proceed ?

View 8 Replies View Related

Init Parameters After Patching

Jan 16, 2013

Database version: 10.2.0.4 Patch 45 on Windows 2003

1. Documentation says to set "_first_spare_parameter" to resolve bug 6904068. What should be the value if we actually see this bug occurring after applying the patch. How can we determine that we need this parameter to be turned on?

2. How can we determine we need to set "_third_spare_parameter"? How can we check if there is a regression on log files?

View 6 Replies View Related

Server Administration :: Patching From Oracle 11.2.0.2 To 11.2.0.3

Jun 7, 2013

I am trying to upgrade and 64bits Oracle database from 11.2.0.2 to 11.2.0.3.0 (after that ill install .6) But when i try to upgrade the binaries, i get a message that does not find the instance to upgrade.If i skip that msg and try to upgrade the binaries only, i get another one message that in that ORACLE_HOME there are another binaries installed and it forces to choose another directorie.Then i try to set my enviroments variables using . oraenv but (as oracle owner) i don't have permissions over . oraenv.

That's make me think that someone does a bad installation then i tried to fix it using $ORACLE_HOME/install/changePerm.sh and i did not found it (after searching on metalling i found the note 834626.1 that says that in Oracle 11 there is not anymore changePerm.sh. Originally i moved 11.2.0.2 binaries to another directory and installed (after changing the loc on xml of the oraInventory) and installed the 11.2.0.3 binaries in my old ORACLE_ HOME and imported init, listener, tnsnames and works fine. But there are a lot of databases with the same problems and i don't wanna use the same workaround.

View 9 Replies View Related

RAC/ASM Clusterware Installation :: Patching Cluster From 11.2.0.1 To 11.2.0.3?

Aug 15, 2012

I'm a long time Oracle DBA but have only recently started with RAC and have never done any patching or upgrades in a RAC environment.

My environment consists of a 2 node RAC cluster, and 2 physical standbys at separate remote locations.

The database, GI, ASM, and clusterware are all at version 11.2.0.1.

I want to upgrade all components to the latest patchset which is 11.2.0.3. Eventually I also want to apply the latest PSU.

Can I do this without down time? It is a mission critical database where downtime could conceivably endanger lives. If it can't be done with zero downtime, then downtime must be kept to an absolute minimum (minutes, not hours).

I suspect the clusterware needs to be patched first and I do not know whether I can do it on one node at a time.

View 2 Replies View Related

Enterprise Manager :: Configure Patching Setup In OEM

Nov 11, 2011

I'm trying to configure the patching setup in OEM(11g) and when I tried testing the connection to URL...., it errord out saying "Gateway timed out. Either you need to setup proxy or there is no process listening on the remote port".

View 1 Replies View Related

Real Application Clusters :: PSU Patching And Grid Infrastructure Installation

Jun 25, 2012

GRID version: 11.2.0.3 , 11.2.0.2
Platform : AIX 6.1

We install grid using Grid Installer GUI. When doing a fresh installation of Grid Infrastructure 11.2.0.2 or 11.2.0.3 in a new server , I want to apply its latest PSU as well. When should I do this PSU patching ?

A. Should I apply the GI PSU after the entire Grid installation is successfully completed ?

or

B. Should I apply the GI PSU just before running the root.sh ?

i.e. when the installer prompts you to run root.sh (see the screenshot below)

[URL].........

At this stage(before running root.sh) the GI binaries are in place . So , I can apply the PSU on these binaries? Right?Should I follow option A or B above ?

View 1 Replies View Related

Application Express :: Creating Form Based On Table After Patching Apex

Aug 16, 2013

We use Apex 4.2 with Apex Listener. Recently we patched apex to 4.2.2 and now when we try to create a form based on a table, after selecting the schema and table we get the following error: "You do not have access to the schema that you are importing.

Import failed" I've seen some posts regarding this error but nothing that works with my current situation. The database grants are in place.

View 1 Replies View Related

Backup & Recovery :: How To Configure RMAN For Specific Backup Strategy

Jan 11, 2012

We have production database.We would like to have 15 last online full backups (sheduled once a day) and to be possible to restore database to a point in time only between last backup and current time.

If I configure retention window for 15 days, archive redo logs in last 15 days are also backed up, and this consumes lot of space, which is a problem here (database files and arhive logs are of a huge size).(There is enough space for 15 full backups and archive log for one day though)

How to configure RMAN for this?I was thinking about configuring retention policy for 15 days and adding this lines at the and of a daily RMAN cronjob:

backup archivelog all not backed up;
CROSSCHECK BACKUP DEVICE TYPE DISK;
DELETE NOPROMPT ARCHIVELOG ALL;

View 6 Replies View Related

Backup & Recovery :: RMAN Backup Strategy For Active-active Deployments Using Streams

Jul 25, 2012

We are using oracle as database in our application. For high availability we have a cluster of multiple nodes and the data is replicated using oracle streams. All the nodes in the cluster are active. We do not have any concept of stand-by.

Now we are planning to use oracle RMAN for backup and recovery. RMAN user's guide doesn't recommend any strategies for such deployments. It mainly focuses on primary/stand-by deployments.

View 1 Replies View Related

Row Locking In Production

Jan 10, 2013

I am facing the row lock issue in production. I have been trying to resolve the issue but i coud'nt. I traced out by using different queries which sql query is locking which but everything looks good.

And i also checked for connections open and close everything is in good place but unable to resolve the issue. we are running a batch file which runs in every night some of the records are processing and if any one record is failed it is blocking another records.My oracle version is oracle 10.2.0

View 1 Replies View Related

SQL & PL/SQL :: Create Table From Production DB?

Mar 22, 2012

i want to create table from other database table by using dblink.but while creating the new table i am getting a error of temp space.

the data is the source table have around 2 millions of records.

i am using below syntax to craete table:

CREATE TABLE UDT_Fcst_arch_72 PARALLEL (DEGREE 4)
AS SELECT * FROM UDT_Fcst_arch@PRD

View 9 Replies View Related

Partitioning A Table In Production?

Nov 2, 2012

Oracle 10.2.0.4

I partitioned a source table of around 100 million rows (62GB) in DEV server. The target database was created new. It was range partioned on a date column as follows:

PARTITION BY RANGE (ENTRY_DATE_TIME)
(
PARTITION ppre2012 values less than (TO_DATE('01/01/2012','DD/MM/YYYY')) TABLESPACE WST_LRG_D,
PARTITION p2012 values less than (TO_DATE('01/01/2013','DD/MM/YYYY')) TABLESPACE WST_LRG_D,
PARTITION p2013 values less than (TO_DATE('01/01/2014','DD/MM/YYYY')) TABLESPACE WST_LRG_D,
PARTITION p2014 values less than (MAXVALUE) TABLESPACE WST_LRG_D
)

That is yearly basis. Anything before 2012 went to ppre2012, then p2012, p2013 and so forth. There is 20 million rows in p2012. and around 75 million rows in ppre2012. We needed both the source (un-partitioned) and target (partitioned) tables in DEv for comparision. The queries are normally on the current year partition. Just to state taht I am a developer and don't have full visibility to the production instance.

Now that our tests are complete, we would like to promote this in production. Obviously in production we would not not need both source and target tables. In all probability this will be performed over a weekend window. Therefore I would like to suggest the following .

1) use expdp to export source table
2) drop the source table
3) create a new source table "partitioned" with no indexes
4) use impdp to get data back into table
5) create global index (it is a unique index to enforce uniquness) and the rest of indexes as local
6) perform dbms_stats.gather_table_stats(user,'SOURCE', cascade=>true). This takes around 2 hours in dev

My point is that whether importing 100 million rows will not cause issues with undo segments. Can we import data say first to the current partition p2012 (20 million rows) first.

View 18 Replies View Related

Copy Database From Production To Test?

Feb 22, 2011

Would like to know if I can replicate Production database (10.2.0.2) to Test (10.2.0.4).

tell me the process to do that on windows environment.

I wonder if I can do it with two different oracle versions?

View 4 Replies View Related

Replication Of Production Data To Staging

Aug 30, 2011

We have Development, Staging/UAT ( installed on XX.XX.XX.10 ) and Production ( installed on XX.XX.XX.20) Environment respectively. I have queries regarding getting the data from Production environment into Staging environment. The overall PROD database size is around 250 GB.

STAGING DATABASE DETAILS

SID : STG_DB
Staging Schema Name :schema_UAT
Replication Schema Name :schema_PrdReplica ( This is the schema where the production data gets loaded daily)

PROD DATABASE DETAILS

SID : PROD_DB
Prod Schema Name : schema_PROD

What is happening now:
----------------------------
There is a script (Stored Proc) written on staging ( STG_DB.schema_PrdReplica ) environment which executes daily in NIGHT and does replication. Currently we use DBMS_DATAPUMP to get the ENTIRE data/Meta Data (Everything) from Production to Staging. It is ta king significantly more time. It takes approx 8 Hours to replicate the everything from PROD_DB.schema_PROD to STG_DB.schema_PrdReplica

What I am expecting :
-----------------------------
I want to reduce the replication time.

I have heard about Level 0 (Full BackUp ) and Level 1 ( Incremental Cumulative ) Backups in RMAN. I am planning to take PROD_DB.schema_PROD Full Backup (Level 0) on Sunday and will restore that on STG_DB.schema_PrdReplica immediately. And on weekdays ( Mon - Fri ) I will take Level 1 ( Incremental Cumulative ) and will restore that on STG_DB.schema_PrdReplica

I am assuming by doing so, the overall replication time will be reduced. How can I implement this with script assuming that two different servers are on different machines.

View 1 Replies View Related

Replication :: Golden Gate For Production Cut Over

Feb 4, 2012

I was planning to a production cut over from Aix to linux .I thought GG as an option so that i can have two DBs run parallel and replicate and do a cutover to linux during the change window.

Now the problem i see is that only half the tables have primary key.. so I THINK golden gate cannot be used an an option.

View 2 Replies View Related

Windows :: Changing JDK From Production Client?

Oct 20, 2011

I have been asked to create a new instance of an application server. As part of this, my management has asked me to replace any old JREs or JDKs.

We run 10g, so I installed the 10203_vista_w2k8_x86_production_client on my new server. I would like to replace the 1.4.2 JDK that is bundled with the Oracle Production Client with 1.6.0.

View 1 Replies View Related

SQL & PL/SQL :: Mask A Column Value Present In Production

Nov 27, 2012

How we can mask a column value present in the production which is very sesitive like bank a/c no,Credit card nos etc while replicating to the test/development envirnoments in PL/SQL.Things that need to be considered is referential integrity,data types,length of the column and performace while execuing the code.

View 2 Replies View Related

Application Express :: Oracle XE In Production

Jan 1, 2013

I am trying to use the APEX (as a substitute for my PHP forms base application) for a new client. Can I use the APEX and Oracle XE in production, without spending any money for a license from Oracle - i.e. for listener, Web server, etc,?

I already have setup the APEX that works fine on my laptop, able to see and work with the form on the browser, so can I take the same to a server as a production?

View 4 Replies View Related

Production Database Server Process

Apr 27, 2013

Oracle 11g default server process is dedicated select distinct server from v$session; dedicated

Which server process is used in the oracle 11g Production? if the database is connect to an online application?

View 19 Replies View Related

Production Oracle DB 11g On Virtual Server

Apr 25, 2013

We just got a new Dell R720 server that will host our Oracle DB. The server hasn't even been turned on yet but we know that the load on the server will be very low for a long time.

One of our problems is that we need to run a VERY important application. Since it is not very resource consuming compared to it's importance we chose to run it on a not so new Xeon 5110 1.60 GHz - 4GB RAM server. He said it's not a good idea and that we should buy a new server. (money is very low)

The software vendor suggested to virtualize our R720 server, host a vm running our database, and along with it other smaller machines like the one I described above. I suggested the use of Oracle VM, Oracle Linux for the database host and transforming the physical servers servers in VM with P2V.

Our IT Manager didn't like that, he said that it's not recommended to run a database on a virtual machine. But our software vendor said that many of their clients run their solution this way.

View 7 Replies View Related

Standby Data Files - Production Database?

Jul 24, 2012

: I noticed three data files on my standby show's they are corrupted. What will be the easy and fast way to sync them up from my production database?

View 1 Replies View Related

Why Production Server Slower Than Development Workstation

Jun 24, 2008

I have a JSP that works with an Oracle 9i database.

On my local windows workstation where I developed the JSP the application processes very quickly working with the Oracle database. The JSP application on the Production Intranet web server connecting to the same Schema processes very slow sometimes during the day. During off hours the Production Intranet JSP with Oracle processes quicker.

There is only one user for the application and I dont understand why the same application using the same database runs so much slower sometimes on the production server compared to my local workstation.

View 1 Replies View Related

RMAN Production To Validation Database Refresh Until SCN

Nov 13, 2011

I am trying to refresh the validation database with the old production backup i.e. our requirement. I have given the rman script i have executed and the output error message amd the rman configuration setting. Plus in the next post ill post the current sucessfully running RMAN script for your reference.

rman TARGET sys/passwd@Production CATALOG rman_pmxp/rman@catlog AUXILIARY sys/passwd @validation
RMAN> show all
2> ;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 90 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'H:\backups\DB_Sunday_Backup\Prod_%d_%F.rman.ctl';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';
[code]...

View 1 Replies View Related

Where To Download ORACLE Software Version For Production

Nov 1, 2010

Where to download the oracle software for building a production server? What are steps ?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved