How to patch database 11.2
Hi all,
we have a database 11.2.0.1 configured with strems local replication to another 11.2.0.1 database.
We need to patch the database to 11.2.0.4, what are the correct sequence of step? Do we need to stop the replication? Do we need to patch the secondary database before and then the primary? The best way is to install the 11.2.0.4 into a new ORACLE_HOME and then do the migration? In the secondary database do we need to patch only the ORACLE_HOME?
Can anyone help me, please? Thanks you,
Sergio
SR_No Tasks
1 export ORACLE_HOME=<>
2 Please take a backup of $ORACLE_HOME/OPatch into a dedicated backup location,Set Environment Variable
3 Check the Opatch version , OPatch utility version must be 11.2.0.3.6 or later to apply this patch
./opatch version
4 Please unzip the OPatch downloaded zip into $ORACLE_HOME directory.check the version of the opatch utility installed.
unzip p18522509_112040_HPUX-IA64.zip
5 Bring Down all the database and listeners
6 Perform the appropriate actions to check the environment and to detect and resolve any one-off patch conflicts
export PATH=$PATH:/usr/ccs/bin
cd <ORACLE_HOME>/OPatch
./opatch lsinventory -oh <ORACLE_HOME>
./opatch prereq CheckConflictAgainstOHWithDetail -ph /oracle11g_R4/DBPSU3/18522509
7 Check no process is using oracle home
fuser <ORACLE_HOME>/lib/libclntsh.so.11.1
fuser -cu <ORACLE_HOME>
Apply Patch
1 export ORACLE_HOME=<ORACLE_HOME>
2 cd <ORACLE_HOME>/OPatch
3 ./opatch lsinventory -oh <ORACLE_HOME>
4 ./opatch apply -oh <ORACLE_HOME>
5 ./opatch lsinventory -oh <ORACLE_HOME>
6 Run following steps for all the database for this oracle home
sqlplus / as sysdba
SQL> STARTUP
SQL> @?/rdbms/admin/catbundle.sql psu apply
SQL> exit
Rollback Plan
SR_No Tasks
1 export ORACLE_HOME=<ORACLE_HOME>
2 cd <ORACLE_HOME>/OPatch
3 ./opatch rollback -id <>
4 Run following steps for all the database for this oracle home
sqlplus / as sysdba
SQL> STARTUP
SQL> @?/rdbms/admin/catbundle_PSU_<database SID>_ROLLBACK.sql
SQL> exit
Regards,
Alok
Similar Messages
-
How to use database look up table function in xsl mapping
Can anybody tell me how to use database look up table function while mapping xsl between 2 nodes.
I have an XML file coming in and depending on one of XML elements we need to decide which further path to take. But, using this XML element, we need to query database table, get metadata and accordingly take appropriate path. I have written lookup function which returns metadata value.
Now, the issue is how do I pass the XML element valu as input to look up function? When I tried to drag it to the input node of lookup function, it throws an error like "Maximum number of parameters exceeded"
Thanks,If the lookup table is always going to remain the same (e.g. a character generator or something similar) you can place the values in a 2D array constant on your diagram, with the input value as one column, the equivalent as the other. When you need to perform the lookup you use an index array to return all the values in the "input column", search it using "search 1D array" and use the resulting index number to index the other column's data. If the values may change, then it would probably be best to load an array control with your equivalent values from a file.
P.M.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
How to create database in 10g xe
How to create database in 10g xe? could you please direct me to which documentation in 10g xe website? is it possible to create the db from the web console? if so, how? I can't seem to find a way to do it? Thanks
You cannot: there can only be one XE database per host and it's created when you install Oracle XE.
-
How to view database table in OAF run page.
Hi,
how to view database table in OAF run page,any manual setting .please help me.
thanks
saran.Hi;
1. This site side related EBS for your issue there is sqldeveloer dedicated forum side
Forum Home » Application Development in PL/SQL » SQL Developer (Not for general SQL/PLSQL questions)
2. Please see:
http://docs.oracle.com/cd/B10501_01/java.920/a96655.pdf
Regard
Helios -
How to view database table in oracle9i Jdeveloper
Hi,
how to view database table in oracle9i jdeveloper,any manual setting .please help me.
thanks
saran.In Jdeveloper go to View-->Connection Nevigator. there you will see all kind of connctions. Expand Database and check if your DB connection is present there. If not, you need to create using right clicking on Database and choose New Database Connecton. Here few screens will be there where you need to put the TNS entries of your database.
Once DB connection is created, you can expand the connection by clicking on + icon and you can see different available schema objects. Again you need to expand Tables and you can look for specific table in there.
Hope this clears your doubts.
Thanks,
Mukesh Uchaniya -
How to view database table in oracle9i developer
Hi,
how to view database table in oracle9i developer,any manual setting .please help me.
thanks
saran.Hi;
1. This site side related EBS for your issue there is sqldeveloer dedicated forum side
Forum Home » Application Development in PL/SQL » SQL Developer (Not for general SQL/PLSQL questions)
2. Please see:
http://docs.oracle.com/cd/B10501_01/java.920/a96655.pdf
Regard
Helios -
How to use Database views in XI
Hi Folks,
Any idea about how to use Database views for sending and receiving messages in XI ?
Regards,Farooq,
My doubt is do i have work in the same fashion as if i am working on a Database Table...?
For Ex :
Creating Source and Target Data structure for JDBC adapter in the same format....etc
Regards. -
How to determine database growth for new B1 instalation
Hello B1 people,
I'm working on the capacity planning of my new business one project and must know how to determine database growth. Does anyone did something like that before?
Wich tables should I consider?
Thanks in advance.Hello Gabriel,
I think it is difficult to make any predictions about database growth because this depends on the volume of your business transactions, the number of users, the continuity of your master data...
For example a small number of users can create a lot of transactions (accounting, logistics) with big documents like sales orders with more than 100 items, or a lot of users who primarily look up things but only create small transaction won't create too much data and thus influence database growth in totally different ways.
You should collect information about the volume of daily business to make any forecasts.
If you start with an empty database, the first big growth will be when you upload your master data, but if only few business transactions follow, you shouldn't use that first increase for your calculation.
Is this your very first B1 installation, or do you already have B1 systems running? If you use the EWA service on a running B1 installation on a regular basis, then you will get a good impression of database growth and transaction volume but you should only use this as a basis for your calculation if the business of the new installation is similar to already running company's.
Hope that helps,
Sandra -
When and How to close database connection in JSP?
Hi there,
I am using MySQL and JDBC 3.0, in my system, When and How to close database connection in JSP?
Thanks in advance.
Lonely Wolf
<%@ page session="true" language="java" %>
<jsp:include page="checkauthorization.jsp" />
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<%--
Execute query, with wildcard characters added to the
parameter values used in the search criteria
--%>
<sql:query var="availablecomputerList" dataSource="jdbc/Bookingcomputer" scope="request">
SELECT * FROM computer where status=0
order by s_code
</sql:query>
<html>
<head>
<title>Search Result</title>
</head>
<body bgcolor="white">
<center>
<form action="checkin.jsp" method="post">
<input type="submit" value="Back to Check-in Page">
</form>
<c:choose>
<c:when test="${availablecomputerList.rowCount == 0}">
Sorry, no available computer found.
</c:when>
<c:otherwise>
The following available computers were found:
<table border="1">
<th>Computer</th>
<th>Description</th>
<th>Status</th>
<c:forEach items="${availablecomputerList.rows}" var="row">
<tr>
<td><c:out value="${row.s_code}" /></td>
<td><c:out value="${row.description}" /></td>
<td><c:out value="${row.status}" /></td>
</tr>
</c:forEach>
</table>
</c:otherwise>
</c:choose>
</center>
</body>
</html>when should you close the connection? when you're done with it.
how should you close the connection? like this: conn.close();
that said, doing this in a JSP page is bad form and not recommended
JSP's typically don't contain ANY business or data logic -
How to create database from .sql file
how to create database from .sql file..?? i put the sintax query in a sql file.. and i want to call it in java code..
ho to do it..??why do you want to do this from java?
i just don't see the point.
find your dba and have him/her run it for you -
How to increase database size actually in my company use MSSQL
Hi Expert,
Can any body tell me how to increase database size actually in my company use MSSQL but i dont know how to increase DB size. in MY PRD system it shows-
Data Files
No. of files-4
Total size(MB)-79,840
Alocated MB-79,825(99.98%)
Free MB-15(0.02%)
LOG
no of files-1
total size(MB)-2385
alocate MB-16
free-2342
recovery model-Full
Reuse wait resion-NOTHING
Now What i do give me suggessin
Thanks In AdvanceHi,
you don't have to stop your database to increase the file size - it's an online operation. If you are more familiar with SQL code here is what you have to do:
use <SID> /*Put your database name here, e.g. PRD*/
go
select file_id, name, physical_name, size
from sys.database_files
where type_desc = 'ROWS'
In the resultset you will find a column called 'name' - that are the logical file names that we need for the increase. If you have a standard installation the names should look like <SID>DATA{1-4}. Next step ist the actual increase of the files:
/*Replace <SID> with your DB name*/
alter database <SID> modify file(name='<SID>DATA1', size=25GB) /*25GB ist just an example*/
alter database <SID> modify file(name='<SID>DATA2', size=25GB)
alter database <SID> modify file(name='<SID>DATA2', size=25GB)
alter database <SID> modify file(name='<SID>DATA4', size=25GB)
Thats it. If you run the first statement again, you will see that the filesize has been increased. You can also check on filesystem level.
Regards,
Sven -
How to create database item for fast formula?
Hi,
Is there any document for how to create database item for fast formula? I could not find in Metalink or this forum. Thanks.
AndyOracle ship many pre-delivered Database Items plus they're created automatically when you create Input Values (etc).
There's often something already there for you. If there's not, you usually create Fast Formula functions to retrieve other data. You don't create your own custom DBIs; Oracle don't deliver APIs for that. -
How create new database and table in java db and how get java db backup
hi master
sir i use stuido creator
sir please give me idea how i create new database
and how create new table and view in this new database
and how get this database backup
how i give this databae backup to isp for deployment
please give me idea with step
thank
aamirCreate your own Value Object (Data Transfer Object) in Java with a structure similar to this and map the fields returned from the database to the fields of that object (preferably using SEtT methods).
Hope this helps. -
How to put database in RESTRICTED mode ?
Hi,
in 9.2.0.6 on Windows 2003 server how to put database in RESTRICTED mode ?
Many thanks before.ERROR at line 1:
ORA-12719: operation requires database is in RESTRICTED mode
That's because 'ALTER SYSTEM QUIESCE RESTRICTED' doesn't actually put the database into restricted mode:
SQL> select logins, active_state from v$instance;
LOGINS ACTIVE_ST
ALLOWED NORMAL
SQL> alter system quiesce restricted;
System altered.
SQL> select logins, active_state from v$instance;
LOGINS ACTIVE_ST
ALLOWED QUIESCEDTry staring the database in restricted mode and then quiescing it:
SQL>
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup restrict;
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1289508 bytes
Variable Size 117441244 bytes
Database Buffers 46137344 bytes
Redo Buffers 2904064 bytes
Database mounted.
Database opened.
SQL> alter system quiesce restricted;
System altered.
SQL> select logins, active_state from v$instance;
LOGINS ACTIVE_ST
RESTRICTED QUIESCED
SQL>As you can see from V$INSTANCE, when you are running in restricted mode LOGINS will have a value of 'RESTRICTED'
However - I still think that if you are dealing with users logging in to your (RESTRICTED) database via the listener then the easiest option is to stop the listener whilst the database is down and restart it once your alter database command has completed.
PS : No any other user is connected.No, they wouldn't be this time because you had quiesced the database... but you still need to get the database into restricted mode for this alter database command. -
How to repair database using SQL server 2008 and C#
How to repair database in SQL server 2008 using C#
Musakkhir Sayyed.Unfortunately your post is off topic as it's not specific to SQL Server Samples and Community Projects.
This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it. The links I provide below will help you determine the right forum to ask your
question in.
For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
Office, IE, and other products.
For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
search for your product name.
For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
search for your product or issue.
If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/
If you think your issue is related to SQL Server Samples and Community Projects and I've flagged it as Off-topic, I apologise. Please repost your question and include as much detail as possible about your problem so that someone can assist you further.
If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/
When you see answers and helpful posts, please click Vote As Helpful,
Propose As Answer, and/or Mark As Answer
Jeff Wharton
MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCSA, MCITP, MCDBA
Blog: Mr. Wharty's Ramblings
Twitter: @Mr_Wharty
MC ID:
Microsoft Transcript
Maybe you are looking for
-
How to create a record of quiz takers details
I am new to Captivate 5 and have created a quiz. How do I record the quiz takers details and have those details sent to me via email on the complection of the quiz so I can record who has taken the test. Thanks for any help in advance.
-
Adobe Acrobat XI Pro Download HELP!
My computer was just updated to Microsoft 8. I need to know how to download my Adobe Acrobat XI Pro Subscription back on my system. I thought I was following the correct steps but it's asking for a serial number. Which I don't have
-
Pdf doc is not opening in IOS6.0.1
pdf doc is not opening in IOS6.0.1
-
I want to change my iCloud account. Buying iPad we gave a virtual (forwarding) email address. We need to change to a real address. But when we try to change the iCloud account, we can only change the password. Note: we don't have a Mac, only an iPad
-
"Tell a friend"- how to?
Hi, I'm looking for a HTML code that enables friends etc. to "Tell a friend" via e-mail from my website. I'd prefer advice of one that also allows for senders to forward a message. Also if anyone knows a code that forces text boxes to loose the edge,