Creation of two databases in oracle 11g on linux
HI,
I need to create two databases in oracle 11g on linux.
how to set SID'S in .bash_profile and change the init.ora file.
pls anyone let me know
thanks
srinivas
If you have different databases on same node you could choose to not set ORACLE_SID in shell init file but use instead interactive oraenv Oracle script to set the right ORACLE_SID.
Please read Configuring the Operating System Environment Variables in http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/em_manage.htm#ADMQS12369
To create easily a database (ie without using your own scripts) try to use DBCA that will automatically take care of database initialization file: http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/install.htm#BABEIAID
Edited by: P. Forstmann on 5 août 2011 12:01
Similar Messages
-
Compare two schemas in oracle 11g
Hi All,
Can any one please help me how to compare two schemas in oracle 11g.
Thanks
Edited by: 793914 on Oct 22, 2010 9:33 AMYou can do it with gridcontrol. Look for dictionary comparisons and dictionary baselines.
If you don't have gridcontrol, you can also use SQLDeveloper (free download on otn).
There are two ways to do it with SQLDeveloper.
1) Use Tools->Database Diff. However, you need a change management license to use this functionality. I've never used this.
The free way is to...
2) Use Tools->Database Export. Run it once for each schema and make sure the "Show Schema" option is NOT checked before exporting the schema. Also make sure you don't export data. You can choose which types of objects to export as well.
Once you have the two export files for the two schemas then simply run a diff tool on your platform. Use the diff command line for linux or winDiff or something similar in windows. -
Migrate peoplesoft sybase HRMS database to oracle 11g
Hi All,
I want to know if I can migrate a sybase peoplesoft HRMS database to oracle 11g using sql developer 3.0. I am trying to do this following the steps given in the link below but it is taking for ever for the convert step, I could see the messae saying building converted model.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SybaseMigration/SybaseMigration.htm
The sybase database is 55GB and the version is 12. There are around 20,000 tables in Sybase Database.
Please advise, if this is possible with SQL Developer??
If yes, how long this process might take(for each step in the above link), based on any past convertions of the same size database??
If this is not feasable with SQL Developer because of the complexity of the database, are there any other tools we can look into which might be faster/better than SQL Developer.
Please advise.
Thanks..Hi Dermot, Tanks for the reply.
"Do you know the number of views and procedures captured". Below is the ouput from some of the tables in migration repositary.
count from md_derivatives table, grouped by derived_type.
MD_CATALOGS 1
MD_USERS 1
MD_CONNECTIONS 2
MD_SCHEMAS 4
MD_TRIGGERS 40
MD_VIEWS 34316
MD_TABLES 48048
MD_INDEXES 55850
MD_INDEX_DETAILS 112043
MD_COLUMNS 766244
Count from md_views table 34316
Count from md_additional_properties table 110322
"Is there a chance the convert phase has hung, or does it refresh ever so ofter with details of another object being "migrated"?"
It is not hung. I can see the message 'Translating views' right now, and the View names change often but not fast roughly every minute. When I checked for what the session is doing, I could see the below two sql statements.
SELECT PROP_KEY, VALUE, PROPERTY_ORDER, CONNECTION_ID_FK
FROM MD_ADDITIONAL_PROPERTIES
WHERE REF_ID_FK = :1
ORDER BY PROPERTY_ORDER;
SELECT ID
FROM MD_TABLES -- Some times this is MD_VIEWS
WHERE SCHEMA_ID_FK = :1 AND UPPER (TABLE_NAME) = UPPER (:2)
"What is the current "Being migrated" information?"
Translating View xxx.
"Does the tablespaces your migration repository schema is based on have sufficient space?"
Yes, Since there is no data at this point, it is all done in one table space which is set to grow UNLIMITED. At this point the size of the table space is a little over 500M.
"Is SQL Developer being run on the same machine as the Oracle database containing the migration repository? (conversion can be alot quicker for procedure,view,trigger conversion if SQL Developer is on the same machine as the repository)"
NO. SQL developer is running on my machine but the migration repositary is in the database which is on HP-UX box. Below are some of the details of the server. Also, since the database in on HP-UX, I couldn't find SQL developer for UNIX. I also read in the release note of 3.0 that it is not supported with UNIX, Is that right? else is there a way I can install SQL developer on the Unix server and that might improve the performance!, if yes, please guide me with the steps to do this installation.
Server:
Processors: 4, CPU version: PA 8700 CPU module 3.1, clock Frequency: 750MHz, Hardware Model: 900/800/L3000-7x, Kernel width Support 64.
Physical Memory 8199.3 MB
Real Memory --> Active: 2990487.0 KB, Total: 3956471.8 KB
Virtual Memory --> Active: 5787735.5 KB, Total: 6864998.0 KB
Free Memory Pages: 127049 at 4 KB/page
Swap Space --> Avail: 4096 MB, Used: 4096 MB, Free: 0 MB
OS Identification: B.11.11 U
I see the below when I do a 'glance' on the server. Looks like it is using most of the memory and the Swap. These are the numbers from the server after the migration started, they stay consistent all time with very small variation.
CPU Util S SR RU U | 34% 31% 39%
Disk Util F F | 4% 4% 13%
Mem Util S SU UB B | 93% 93% 93%
Swap Util U UR R | 86% 86% 86%
PROCESS LIST Users= 1
User CPU Util Cum Disk Thd
Process Name PID PPID Pri Name ( 400% max) CPU IO Rate RSS Cnt
oraclefap 16560 1 178 oracle 97.9/98.3 132507 0.1/ 0.6 16.0mb 1
My Machine where SQL Developer is Running
Windows XP Professional SP3. 2GB Memoery. All this, time I was using around 1 Gb of memory while this process is running, Out of which SQL developer uses only 200 to 300 MB at any given point and the CPU is less than 5%.
"What version of Oracle database have you installed the migration repository in?"
Below is the Banner.
Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for HPUX: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Also please let me know about this request I have popsted. https://apex.oracle.com/pls/apex/f?p=43135:7:2259365896228241::NO:RP,7:P7_ID:29361
I would greatly appreciate any help. Thanks again. -
I want to connect two database in Oracle
Dear All
I want to connect two database in Oracle ver-10.2.0.1.0 ,And fetch data from 2nd table.
OS - XP Pro.
Regards,
ParwezConfigure remote DB in TNS first.
Create DB link.
CREATE {PUBLIC} DATABASE LINK "DBLINKNAME" CONNECT TO "remoteuser" IDENTIFIED BY "remotepwd" USING 'REMOTEDBTNSALIAS';Query remote tables using
select * from remotetable@DBLINKNAME; -
Primavera 6.2 SQL Database to Oracle 11g migration
Hi,
I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
Best Reagrds,user11108903 wrote:
Hi,
I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
Best Reagrds,I have not seen that specifically but it appears that not all of the grants were correctly applied.
I would suggest running the schema validation tool which can be found on the knowledgebase as Solution ID: prim75459 as this will tell you what is missing/invalid.
Once you know that, you can pull the neccesary grants from the create scripts located in the cd1\install\database\scripts folder. -
How do we connect two databases in Oracle other than Database Link?
Good Morning,
How do we connect two databases in Oracle other than Database Link?
I am using Oracle 10g, I heard that we can connect two database in Oracle through ODBC. Is it possible? How?
Thanks
NiharSee if this helps.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358 -
Can we access Oracle 10g R2 database from Oracle 11g Client
Hi,
Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
Below link is for Vista only
http://www.oracle.com/technetwork/database/10203vista-087538.html832812 wrote:
Hi,
Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
Below link is for Vista only
http://www.oracle.com/technetwork/database/10203vista-087538.html
Check this note for client/server compatibility
Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1] -
Migrate peoplesoft sybase HR database to oracle 11g
Hi All,
We am looking to migrate from sybase 12 to Oracle 11g. We are not sure on which path to choose for this migration to be done. Ths sybase Database is around 55 GB. Below are few questions. Please let me know. The down time on this database can not be more than 2 days at the max.
1. What is the best and fastest way to do this, if there is one?
2. Any Documentation on steps involved in migration?
3. Do we have to use any 3rd party tools for this?
4. Can we achieve the data migration with sql loader, if yes is it the suggested way to do this and is there any documentation on this?
I tried sql developer to do the migration but it did not go well and finally found that it is not the way to migrate a Database with peoplesoft environment, below is the link to explain more about what I have done with sql developer.
If there is any other information required, below link has almost all the information.
Re: Migrate peoplesoft sybase HRMS database to oracle 11g
Thanks
Kranthi1) Build an Oracle Demo system patched to the same release level as the current production system.
2) Launch Application Designer and compare the production system to the demo system so you may capture the modifications.
3) Load a custom table with the tables listed in the MVPRDEXP.EXP in the production system. Run a script to create an export script for all PSRECDEFN where the RECTYPE is 0. This identifies all application data tables. You may want to dms export large tables in parallel.
4) DMS Import the exported data into the Oracle instance.
5) Reapply the modifications. -
Exporting database from oracle 11g and then importing it in oracle 10g
Hi! there every one...
please tell me the way to export the data and my data structures i.e the complete database from Oracle 11g to older version(oracle 10g) and how to import it there..
i'm moving the database from one machine to another without lan, preferably via storage device...EXPORT FROM 11G to 10G.
1) log on to 11G box.
2) cd /<>/product/app/oracle/product/10.2/network/admin/
3) Get the connection string from tnsnames.ora for the respective instances
4) export ORACLE_HOME=/<>/app/oracle/product/10.2.0
5) export LD_LIBRARY_PATH=$ORACLE_HOME/lib
6) cd /<>/app/oracle/product/10.2.0/bin
7) #>./exp file= test.dmp ......
Username: user1@<connection_string>
Password:*******
8) Import as usual -
Oracle 11g on Linux for Power?
Hi All,
Does Oracle today has support for Oracle 11g on Linux for Power?
I couldn't find it from the website, only has Oracle 10gR2..
Please advice..
Thank you..
Regards,
Alson Ang
First Solution Sdn BhdJust found Oracle Support document 1310584.1, last updated August 5, 2011:
Says:
Oracle will not be releasing Oracle Database 11g on IBM Linux on Power systems. Customers can continue to run the terminal patch set of Oracle Database 10g Release 2 (10.2.0.5)....
Extended Support is offered through July 21, 2013
Limited Extended Support offered until July 31, 2015
Hope this helps.
Matt -
+ASM spfile default location of Oracle 11g RAC Linux
Is anybody now the default location of +ASM spfile at Oracle 11g RAC Linux.
ITs there if you dont have the Database installed yet ! +DATA/asm/asmparameterfile/registry.253.725983597
-
Ordered processing required from Oracle 11g on Linux to BizTalk Server
Need a viable solution enabling ordered processing (OP) of messages from Oracle 11g on Linux allowing for ordered delivery to subscribers in BizTalk over MSMQ.
We are currently running BizTalk 2010 (with Adapter Pack 2010) and are using ordered delivery for inbound messages to Oracle (received from msmq) but not for outbound messages since the Wcf-adapters doesn't support Ordered Processing in a receive port/location
(except for msmq). However, we do need to implement ordered processing for outbound messages also. It's a major drawback that the Wcf-adapters does not support ordered processing not even with restricted or limited functionality.
Our current implementation is polling Oracle using the Wcf-adapter calling PLSQL-package functions that handles all logic and returns a pre-built XML in a CLOB/string to BizTalk.
Since Oracle is hosted on Linux we can't switch the PLSQL-logic to use Oracle COM-automation and post XML directly into MSMQ which otherwise would have been a quick solution. Also no WebSphere MQ (MQSeries) exists on the premises ruling out that adapter.
Preferences:
- Stable and reliable message transfer with ordered processing from Oracle to BizTalk
- Messaging only pattern (generic) preferred over custom Orchestations (such as re-sequencing pattern)
- Products preferred over custom development (within reasonable price limits).
- Follow Microsoft best practices if possible
In-house development of a custom BizTalk adapter or a nt-service bridging from Oracle to MSMQ could be considered as an option.
regards
/Henrik
/HenrikThanks for the reply but it's not that easy I'm afraid, if it had then this post would never have been written.
We're retrieving one message at the time and with pollWhileDataFound=true so that's all good.
The problem is that the inner workings of the wcf-adapters are multithreaded and can not guarantee ordered delivery (which also has proven itself).
The answer why can be found in this post
http://blogs.msdn.com/b/paolos/archive/2009/11/17/customizing-and-extending-the-biztalk-wcf-adapters.aspx
Here's the crucial part: "The WCF Adapters create a separate ServiceHost and singleton service object of this class for each receive location to handle client requests for the lifetime of the BizTalk Host instance running WCF receive locations. The service
object uses multiple threads to process messages concurrently unless the WCF-NetMsmq receive locations are used with the Ordered processing property being selected"
(this is also why I'm wondering why Microsoft doesn't provide the option to run ordered delivery with other wcf-bindings than NetMsmq...)
The search for ordered processing out of Oracle continues...
regards
/Henrik -
Uninstalltion of Oracle 11g on Linux
plz help me to uninstall Oracle 11g on Linux ......Due to some pblm doesnt get OUI,oemctl..etc....
Plz bring documents for that
Thanks advanceArun Kurungatt wrote:
Hi Edsteve,
When i installed oracle 11g R2 on linux,network Configuration was failed.It's a shame you didn't capture the error message and report that.
Lisener was not up after that..When we tried to start the listener,got 'No listener" message.Exactly *how* did you try to start the listener? I've never seen a "no listener" message from a failed attempt to start the listener. And all oracle error messages come with a message code, something like "ORA-nnnnn" or "TNS-nnnnn" that makes it easier to look up the *exact* problem.
we also tried to reinstall NETCA..What led you to try to reinstall NETCA? And what did you do to try to reinstall it? I've never seen an installation/re-installation of *just* netca ...
but it doesnt work...I don't find "doesn't work" in the Oracle error message manual, but a google search of "doesn't work" returned 300,000,000 hits.
and also doesnt get DBCA ,OUI...etc....can you help me to up the services????I have no idea what you mean by that statement.
I'd like to help. I really would. But in order to get help, you've got to provide more specific information. Actual error messages - complete with message number - is a minimum requirement. Working from a command line and using copy and paste to show *exactly* what you do and *exactly* what response you get would be *very* helpful.
Edited by: EdStevens on Oct 20, 2010 9:23 PM
Edited by: EdStevens on Oct 20, 2010 9:25 PM -
Gating error while creating standby database in oracle 11g
Dear Gurus
I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 10-MAY-12
using channel ORA_AUX_DISK_1
contents of Memory Script:
backup as copy reuse
targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
'/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
executing Memory Script
Starting backup at 10-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-17629: Cannot connect to the remote database server
RMAN>
Regards
RabiHello;
Generally for the connection to work you need to add something like this to the listener.ora file :
(SID_DESC =
(global_dbname = STANDBY.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = STANDBY)
)You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
Also you need an INIT for the Standby side :
STANDBY.__db_cache_size=343932928
STANDBY.__java_pool_size=4194304
STANDBY.__large_pool_size=4194304
STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
STANDBY.__pga_aggregate_target=281018368
STANDBY.__sga_target=834666496
STANDBY.__shared_io_pool_size=0
STANDBY.__shared_pool_size=469762048
STANDBY.__streams_pool_size=0
audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
audit_trail='db'
compatible='11.2.0.0.0'
control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
db_block_size=8192
db_domain='SOME.DOMAIN.COM'
db_flashback_retention_target=2880
db_name='PRIMARY'
db_recovery_file_dest_size=2147483648
db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
open_cursors=300
pga_aggregate_target=277872640
processes=150
remote_login_passwordfile='EXCLUSIVE'
sga_target=833617920
undo_tablespace='UNDOTBS1'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=DEFER
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=STANDBY
STANDBY_FILE_MANAGEMENT=AUTO
DB_UNIQUE_NAME=STANDBYFinally
startup nomount
Start RMAN and issue duplicate command
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
Keys to success
1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
2. Hard coded listener on new Standby server.
3. Correct tnsnames.ora files.
4. Correct duplicate command.
Please consider closing some of you old answered questions
Best Regards
mseberg
Edited by: mseberg on May 10, 2012 7:06 AM -
Procedure for creating logical standyby database for oracle 11g?
Hi all,
can anybody provide me docs /procedure for creating logical standby databse for oracle 11g standard edition.
AravindAravind,
1. The Oracle Standard Edition does not have standby mechanism, you should do it manually or go for Enterprise Edition.
2. It's rather a question for General Database Discussions instead of Peoplesoft.
Any further question regarding that point, please post out there.
Nicolas.
Maybe you are looking for
-
Why my iphone 3gs doesn't appears in windows bou not in itunes..??
why my iphone 3gs doesn't appears in windows bou not in itunes..?? That damage happen, before i upgrade my iphone.. After back up proses, the iphone can't appears in my itunes... please help meee...
-
Print in PDF only Prints the first two pages
I am have been ahving problems with my creat PDF account, only printing the first two pages, when i print something to PDF from a webpage. I.E. Pinterest. It will only print the first two pages and the rest will be blank or incomplete. I am at the
-
Messages not displayed in WebAccess
Had a user report this morning that all of his messages in his Mailbox and Cabinet are not displaying. Sent Items and Trash are displaying fine. I did a Find and he does have messages in his Mailbox but they do not display. Any suggestions?
-
My iMac wake up from a sleep mode and opened " Console". RTC (Alarm)
Hello Apple Communitie, I have a problem. My Apple Imac warned me of a RTC Alarm. It opened it self while it was in a sleep mode. It Opened Console and this it what it said: 22-11-11 00:36:07,000 kernel: Wake reason: RTC (Alarm) 22-11-11 00:36:07,000
-
HT3728 i want to use my time capsule for back-ups only and not connect it to the internet
I live in digs and with perfectly good wi-fi. Therefore, I simply want to use my Time Capsule for backing up my iMac. Airport Utility doesn't seem to want to let me do this and insists I connect the unit to the internet first.