Help me for consolidation of multiple databases
Hi all Oracle Gurus,
I need some help, could anyone please help me in my problem?
Here is my problem,
I have three seperate Oarcle Databases installed on three different machine. I am in search of any tool or the way to get access all databases from one new machine where I can access all my three database simultaneously, consolidate as per my requirement.
Is there any tool available or is there any other mathod with the help of which I can do these.
Regards,
Paras
Edited by: user10761296 on May 7, 2009 12:36 PM
Hello,
I appreciate your reply.
Actually I am having three databases for three different modules which are interrelated. Now I have to generate report which requires data from all these data bases. All these reports are for the purpose of consolidation.
So what I have to do is to get data from these databases consolidate and sometimes modify the respective databases if required. I don’t know where we have any tools or method available which can help me to achieve this.
Thanks again for replying.
Regards,
Paras.
Similar Messages
-
Pros and cons for using single/multiple database
hi
could anyone tell me in which senario we can use multiple databases and advantages and disadvantages using multiple databases over single database (with different tablespace)
thaks in advance
haridepending on your situation you can probably think of different answers. You ask for a 'general' rule of thumb... well, some things that pop into my mind:
- different usage by applications. e.g. you have a transactional application storing and modifying data and you also want to do analytics. You might want to build a seperate database/datawarehouse that you can use for analytics. by splitting it up you can tune both databases to work best with the application using it.
- sensitive data and many different users. e.g. the marketing department does not need to have access to the finance department's data (salaries, etc). give each department a separate database and only load the data needed/give access to the data needed.
Just some thoughts, you can think of more when confronted with a certain situation.
Lennert -
Can you have multiple databases on the same LUN in Exchange 2010?
I'm sure you can but is it possible with exchange 2010 to have multiple databases on the same LUN. We currently have 8 DB's all writing to their own DB drive and separate log drive so 16 drives in total. I need to spin a new DB up this week and
wanted to double check this is possible. I've looked online and cant find anything that I've seen before that says this is possible.
Thanks.Hi,
Yes, multiple databases could be placed on the same LUN, but it's not recommended.
If you have 2 drives fail at the same time (it happens more than you think), then losing 100% of your DBs is a lot worse than losing one of them or some of them depending on where the failures are.
Here is a similar thread for your reference:
Multiple databases on the same LUN in Exchange 2010
Hope this helps!
Thanks.
Niko Cheng
TechNet Community Support -
RMAN backup multiple database on multiple hosts using recovery catalog
I would like to know if I create one schema called "rman" is enough for repository for backing up multiple database on multiple machines using recovery catalog.
Or is there any better way to handle for reporting peposes.
Quick response is appreciated.
OS Solairs9.
Oracle 9i.
Thanks.
SriniThis worked perfectly fine except for putting sbt in single quotes.
See the reults below.
You are just great Daljith.
Thanks and I do appreciate your help.
Still you did not answe my question.
How come I see backups from June and May even though they are from
diffierent catalog database?
RMAN> allocate channel for maintenance device type 'sbt';
allocated channel: ORA_MAINT_SBT_TAPE_1
channel ORA_MAINT_SBT_TAPE_1: sid=9 devtype=SBT_TAPE
channel ORA_MAINT_SBT_TAPE_1: VERITAS NetBackup for Oracle - Release 5.0GA (200)
RMAN> crosscheck backup;
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_2_1_624018818 recid=1 stamp=624018818
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_1_1_624018817 recid=2 stamp=624018818
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_3_1_624019733 recid=3 stamp=624019733
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=al_5_1_624020641 recid=4 stamp=624020642
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=al_4_1_624020641 recid=5 stamp=624020642
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=al_6_1_624020677 recid=6 stamp=624020677
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_8_1_624115253 recid=7 stamp=624115253
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_7_1_624115252 recid=8 stamp=624115253
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_9_1_624116161 recid=9 stamp=624116161
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=al_11_1_624117067 recid=10 stamp=624117068
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=al_10_1_624117067 recid=11 stamp=624117068
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_13_1_624365687 recid=12 stamp=624365687
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_12_1_624365686 recid=13 stamp=624365687
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=bk_14_1_624366605 recid=14 stamp=624366605
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=al_16_1_624367501 recid=15 stamp=624367502
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=al_15_1_624367501 recid=16 stamp=624367502
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=bk_22_1_628264333 recid=17 stamp=628264333
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=bk_21_1_628264333 recid=18 stamp=628264333
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=bk_23_1_628265249 recid=19 stamp=628265249
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-2926506834-20070718-00 recid=20 stamp=628266151
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=al_26_1_628266195 recid=21 stamp=628266196
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=al_25_1_628266195 recid=22 stamp=628266196
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-2926506834-20070718-01 recid=23 stamp=628266233
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=bk_29_1_628267004 recid=24 stamp=628267004
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=bk_28_1_628267004 recid=25 stamp=628267004
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=bk_30_1_628267919 recid=26 stamp=628267920
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-2926506834-20070718-02 recid=27 stamp=628268832
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=al_32_1_628268875 recid=28 stamp=628268876
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=al_33_1_628268875 recid=29 stamp=628268876
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-2926506834-20070718-03 recid=30 stamp=628268913
Crosschecked 30 objects
RMAN> delete expired backup;
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
11820 11804 1 1 EXPIRED SBT_TAPE bk_2_1_624018818
11821 11805 1 1 EXPIRED SBT_TAPE bk_1_1_624018817
11822 11806 1 1 EXPIRED SBT_TAPE bk_3_1_624019733
11823 11807 1 1 EXPIRED SBT_TAPE al_5_1_624020641
11824 11808 1 1 EXPIRED SBT_TAPE al_4_1_624020641
11825 11809 1 1 EXPIRED SBT_TAPE al_6_1_624020677
11826 11810 1 1 EXPIRED SBT_TAPE bk_8_1_624115253
11827 11811 1 1 EXPIRED SBT_TAPE bk_7_1_624115252
11828 11812 1 1 EXPIRED SBT_TAPE bk_9_1_624116161
11829 11813 1 1 EXPIRED SBT_TAPE al_11_1_624117067
11830 11814 1 1 EXPIRED SBT_TAPE al_10_1_624117067
11831 11815 1 1 EXPIRED SBT_TAPE bk_13_1_624365687
11832 11816 1 1 EXPIRED SBT_TAPE bk_12_1_624365686
11833 11817 1 1 EXPIRED SBT_TAPE bk_14_1_624366605
11834 11818 1 1 EXPIRED SBT_TAPE al_16_1_624367501
11835 11819 1 1 EXPIRED SBT_TAPE al_15_1_624367501
Do you really want to delete the above objects (enter YES or NO)? y
deleted backup piece
backup piece handle=bk_2_1_624018818 recid=1 stamp=624018818
deleted backup piece
backup piece handle=bk_1_1_624018817 recid=2 stamp=624018818
deleted backup piece
backup piece handle=bk_3_1_624019733 recid=3 stamp=624019733
deleted backup piece
backup piece handle=al_5_1_624020641 recid=4 stamp=624020642
deleted backup piece
backup piece handle=al_4_1_624020641 recid=5 stamp=624020642
deleted backup piece
backup piece handle=al_6_1_624020677 recid=6 stamp=624020677
deleted backup piece
backup piece handle=bk_8_1_624115253 recid=7 stamp=624115253
deleted backup piece
backup piece handle=bk_7_1_624115252 recid=8 stamp=624115253
deleted backup piece
backup piece handle=bk_9_1_624116161 recid=9 stamp=624116161
deleted backup piece
backup piece handle=al_11_1_624117067 recid=10 stamp=624117068
deleted backup piece
backup piece handle=al_10_1_624117067 recid=11 stamp=624117068
deleted backup piece
backup piece handle=bk_13_1_624365687 recid=12 stamp=624365687
deleted backup piece
backup piece handle=bk_12_1_624365686 recid=13 stamp=624365687
deleted backup piece
backup piece handle=bk_14_1_624366605 recid=14 stamp=624366605
deleted backup piece
backup piece handle=al_16_1_624367501 recid=15 stamp=624367502
deleted backup piece
backup piece handle=al_15_1_624367501 recid=16 stamp=624367502
Deleted 16 EXPIRED objects
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Tag
11895 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
11896 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
11897 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
11916 B F A SBT_TAPE 18-JUL-07 1 1
11926 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T142315
11927 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T142315
11935 B F A SBT_TAPE 18-JUL-07 1 1
11939 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
11940 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
11941 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
11960 B F A SBT_TAPE 18-JUL-07 1 1
11970 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T150755
11971 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T150755
11977 B F A SBT_TAPE 18-JUL-07 1 1
RMAN>
Message was edited by:
user539835 -
How to add multiple databases for a single frontend
We have a project based on distributed databases and we have to workout on .Net framework.I want to know some information of connecting multiple databases for a single frontend and how can we access them.
If so we have connected 2 databases for a single frontend in future if I want add one more database to it how it will be possible to do it without disturbing the current connectivity.
Please help me in resolving this problem.
Thanks......hi,
what do you mean by connecting 2 databases? can you explain further?
using entityframework you can connect to different databases
public class CustomerContext : DbContext
public ReportContext()
: base("DefaultConnection")
public DbSet<Customers> Customers { get; set; }
and your connectionstring (config file)
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=D:\\Database\Project.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
you can add more connection strings on it.
https://msdn.microsoft.com/en-us/library/vstudio/cc716756(v=vs.100).aspx
https://msdn.microsoft.com/en-us/library/ms254978(v=vs.110).aspx
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Use 1 listener for multiple database in a server
hi guys,
just want to check whether this is the right way to configure my Listener.ORA . I am using 1 listener.ora to listen for incoming request connection from remote client. There are multiple databases installed in a server.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O11R2)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = O11R2)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O10G)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = O10G)
)sorry i am reading about it so did not install another database to test out. Just thinking in the line that it mention that the list of SID is refering to the multiple database that is installed in a server and i am using 1 listener.
Please further advice.Shivananda Rao wrote:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O11R2)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = O11R2)
(SID_DESC =
(GLOBAL_DBNAME = O10G)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = O10G)
)Please use as above. You can have one listener for multiple databases.right right so it the pattern goes like this:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = AAAA)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = AAAA)
(SID_DESC =
(GLOBAL_DBNAME = BBBB)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = BBBB)
)thanks ! -
Can I use Bridge CS6 as a central image database for linking to multiple documents?
Can I use Bridge CS6 as a central image database for linking to multiple documents?
It's only really good for Adobe document formats, if you want to be able to view and/or tag documents.
-
Hello everyone :
I can't switchover to primary. following is error and information.
RHEL 6.3 x86-64
Oracle database 11.2.0.3.0 Enterprise edition
Primary database = orclprmy
Standby database = orclstby1
##### /etc/hosts on orclstby1
[root@orclstby1 admin]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.50.211 ttprmy
192.168.50.212 orclstby1
### DG broker error
DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected.
DGMGRL> show configuration;
Configuration - TTDGConfig1
Protection Mode: MaxPerformance
Databases:
orclstby1 - Primary database
Error: ORA-16778: redo transport error for one or more databases
orclprmy - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
ERROR
DGMGRL>
########### listener.ora on orclstby1
[root@orclstby1 admin]# cat listener.ora
# listener.ora Network Configuration File: /u2/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclstby1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=orcl)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
(SID_DESC =
(GLOBAL_DBNAME=orclstby1)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
(SID_DESC =
(GLOBAL_DBNAME=orclstby1_DGMGRL)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
ADR_BASE_LISTENER = /u2/oracle
############## tnsnames.ora on orclstby1
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl))
orclprmy =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy))
orclprmy_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy_DGMGRL))
orclstby1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1))
orclstby1_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1_DGMGRL))
##### alert log on orclstby1.
Fatal NI connect error 12504, connecting to:
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=oracle)(HOST=orclstby1)(USER=oracle)))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.50.211)(PORT=1521)))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 06-SEP-2013 13:19:55
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
There is problem in alert log.
In the /etc/hosts file. The standby server (orclstby1) ip is 192.168.50.212. but alert log is 192.168.50.211.
Is any idea?
Thanks for help.
消息编辑者为:user4914135#### on primary database
SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
DEST_NAME STATUS TARGET ARCHIVER SCHEDULE VALID_TYPE VALID_ROLE DB_UNIQUE_NAME
ERROR
LOG_ARCHIVE_DEST_1 VALID LOCAL ARCH ACTIVE ALL_LOGFILES ALL_ROLES orclprmy
LOG_ARCHIVE_DEST_2 VALID REMOTE LGWR PENDING ALL_LOGFILES PRIMARY_ROLE orclstby1
LOG_ARCHIVE_DEST_3 INACTIVE LOCAL ARCH INACTIVE ALL_LOGFILES ALL_ROLES NONE
#### on standby database
SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
DEST_NAME STATUS TARGET ARCHIVER SCHEDULE VALID_TYPE VALID_ROLE DB_UNIQUE_NAME
ERROR
LOG_ARCHIVE_DEST_1 VALID PRIMARY ARCH ACTIVE ALL_LOGFILES ALL_ROLES orclstby1
LOG_ARCHIVE_DEST_2 ERROR STANDBY LGWR PENDING ONLINE_LOGFILE PRIMARY_ROLE orclprmy
ORA-12504: TNS:listener was not given the SERVICE_NAME in
CONNECT_DATA
LOG_ARCHIVE_DEST_3 INACTIVE PRIMARY ARCH INACTIVE ALL_LOGFILES ALL_ROLES NONE
#### log_archive_dest on primary database
SQL> show parameter log_archive_dest
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string location=/u3/arch/orcl vali
d_for=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=orclprmy
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
log_archive_dest_19 string
log_archive_dest_2 string service="orclstby1", LGWR ASYNC
NOAFFIRM delay=0 optional comp
ression=disable max_failure=0
max_connections=1 reopen=300 d
b_unique_name="orclstby1" net_ti
meout=30, valid_for=(all_logfi
les,primary_role)
log_archive_dest_20 string
log_archive_dest_21 string
log_archive_dest_22 string
#### log_archive_dest on standby database
SQL> show parameter log_archive_dest
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string location=/u3/arch/orclstby1 vali
d_for=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=orclstby1
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
log_archive_dest_19 string
log_archive_dest_2 string service=orclprmy ASYNC valid_for
=(ONLINE_LOGFILE,PRIMARY_ROLE)
db_unique_name=orclprmy
log_archive_dest_20 string
log_archive_dest_21 string
log_archive_dest_22 string
log_archive_dest_23 string
log_archive_dest_24 string
log_archive_dest_25 string
#### spfile on standby database
</u2/oracle/product/11.2.0/dbhome_1/dbs> strings spfileorclstby1.ora
orcl.__db_cache_size=1040187392
orclstby1.__db_cache_size=1090519040
orcl.__java_pool_size=16777216
orclstby1.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orclstby1.__large_pool_size=16777216
orcl.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
orclstby1.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=536870912
orclstby1.__pga_aggregate_target=536870912
orcl.__sga_target=1610612736
orclstby1.__sga_target=161061273
orcl.__shared_io_pool_size=0
orclstby1.__shared_io_pool_size=0
orcl.__shared_pool_size=503316480
orclstby1.__shared_pool_size=469762048
orcl.__streams_pool_size=16777216
orclstby1.__streams_pool_size=0
*.archive_lag_target=0
*.audit_file_dest='/u2/oracle/admin/orclstby1/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u2/oracle/oradata/orclstby1/control01.ctl','/u2/oracle/fast_recovery_area/orclstby1/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_file_nam
e_convert='orcl','orclstby1'
*.db_name='orcl'
*.db_recovery_file_dest='/u2/oracle/fast_recovery_area'
*.db_recovery_file_dest_size=5218762752
*.db_unique_name='orclstby1'
*.deferred_segment_creation=FALSE
*.dg_broker_start=TRUE
*.diagnostic_dest='/u2/oracle'
*.fal_client='orclstby1'
*.fal_server='orclprmy'
*.log_archive_config='dg_config=(orclprmy,orclstby1)'
*.log_archive_dest_1='location=/u3/arch/orclstby1 valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstby1'
*.log_archive_dest_2='ser
vice=orclprmy ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orclprmy'
*.log_archive_dest_state_2='ENABLE'
orcl.log_archive_format='orcl_%t_%s_%r.arc'
*.log_archive_format='orclstby1_%t_%s_%r.arc'
orclstby1.log_archive_format='orclstby1_%t_%s_%r.arc'
*.log_archive_max_processes=4
*.log_archive_min_succeed_dest=1
orcl.log_archive_trace=0
orclstby1.log_archive_trace=0
*.log_file_name_convert='orcl','orclstby1'
*.open_cursors=300
*.pga_aggregate_target=536870912
*.processes=
1500
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=1655
*.sga_target=1610612736
*.standby_file_management='AUTO'
*.undo_tablespace='UNDOTBS1'
</u2/oracle/product/11.2.0/dbhome_1/dbs>
Thank you for your help. -
Multiple Keyword Sets (For Multiple Databases)
I work with several different Lightroom databases and it would be nice to be able to have separate sets of keywords that go with each database.
In my specific case, I use one database for my personal photographic endeavors and another for an image library for our church. The keywords tags used for my Nature photography images and the tags used for the event photography shots for church are very different. Hence, there are lots of keywords in both libraries that have zero images attached to them.
It would be very useful in you could allow multiple keyword sets to track with multiple databases.
Dave MayfieldThere issues'Purge unused Keywords' option under Menu/Metadata.
Don't ya know.
Don
Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
http://donricklin.blogspot.com/ -
Discoverer Reporting Solution for Multiple Databases
I have to build oracle discoverer reports (single point of access) for four different applications. Each application is having separate databases. So whether i should create separate EULs for each applications (in respective databases) or Should i create a single EUL in any one of the databases and then use db links to connect rermaining databases (for reports from the other applications).
Can u suggest me which method will work good if you see the performace?. I need a dingle point of access for all the discoverer reports.
The worksheets need to be deployed with oracle portal for access of reports in a single click. Is there any way to pre configure the db credentila for each worksheet...?Hi
My replies below make the assumption that you are not allowed to do any ETL and therefore the data from each database has to be pulled as is. If you do have ETL capability the situation changes dramatically.
In addition to what Sharon has said the cost based optimiizer will have a difficult job rewriting your query efficiently if you use database links, and if you attempt to have queries with some tables from one database and some from another the optimizer will not work at all. I mean. How could it? How could the optimzier in database A know anything about the statistics in databases B, C or D? Wherever the EUL is, that is where the driving optimizer will be so choose wisely obi-wan :-)
For me it's more about user needs than IT needs. If the business has a need to combine data from multiple databases then having a single EUL with database links would be a necessity. However, if they really are disparate systems with nothing in common such as say having Peoplesoft HR in one and E-Busines Suite Inventory in another with perhaps an in-house tracking system in another then I would look at having separate EULs, one in each.
Having one EUL across non-related systems means you have to mix users and roles and can be hard to manage. It actually becomes messy when just two databases are involved never mind four. So even though you might think it is more difficult to maintain 4 EULs, if the objects really are different and you have differing roles and usernames it actually will probably be simpler. They will be simpler to backup, simpler for exporting and importing and it will be faster for Discoverer to maintain workbooks as there will be fewer of them. Plus your system will have access to its local optimzier thereby ensuring the SQL is efficient.
If you are going to use one EUL you need to start out on a sound foundation. This means using libraries to control access too business areas and workbooks. You'll need to adopt some simple naming standards to keep things separate and manageable. I wrote a paper about libraries a few years ago and it is available free of change here on my website: http://ascbi.com/downloads.htm. The paper is called Discoverer Libraries - a Concept.
Best wiishes
Michael -
[ask] Multiple database for a user
Hi,
pardon for my very basic question since i'm new in database world. Currently I've been playing with XE and I cannot find a complete documentation on the subject, therefore I venture myself to ask some basic tasks of XE, such as:
1. Can a user have multiple database (or schema) or only 1?
2. If it can have multiple database, how can them be viewed?
3. How can I delete one of them if no 1 is true?
4. How can I delete a table?
5. Where can I find a thorough documentation on XE besides tutorial?
Best Regards,
Joeuser11357901 wrote:
Hi,
pardon for my very basic question since i'm new in database world. Currently I've been playing with XE and I cannot find a complete documentation on the subject, therefore I venture myself to ask some basic tasks of XE, such as:
1. Can a user have multiple database (or schema) or only 1?User infact IS a schema , and so schema IS user. They don't own the database;they belong to only one database,although they could
perform some actions on other databases
2. If it can have multiple database, how can them be viewed?You can access objects on remote database B with the user from database A by using database links
3. How can I delete one of them if no 1 is true?N/A
4. How can I delete a table?If using SQL, then DROP command is the one you want. DELETE command is used to delete row/s from a table, not to delete table
5. Where can I find a thorough documentation on XE besides tutorial?oracle.tahiti.com would be the best choice
>
Best Regards,cheers -
Hi all,
Just having recently upgraded to 11.1.2.2, I'm just trying to update our batch files to automate the running of some business rulesets using CalcMgrCmdLineLauncher.cmd. I can get business rules working ok, and rulesets that only run rules within the same database working, but I can't seem to get the rulesets running where the rules are running against multiple databases.
I know the syntax is CalcMgrCmdLineLauncher.cmd -f:%PWD% /A:%PlanAPP% /U:%RUNUSR% /D:%EssbCapexDB% /S:%BR%
but for the /D: argument, putting one of the databases in there doesnt work.
The batch runs, it even says its successful in the log but its too quick and looking at the job console it didnt run.
I can run the ruleset manually no problems.
Anyone know how to fix this?
ThanksOne stated to "search cmd, right click, and run as admininstrator" but where is this?
In the search field in your Vista start menu, type cmd
Next, right-click on the cmd that comes up and select "Run as administrator". -
Basically, the latest release of iPlanet Web Server forces the user/group information source to be an LDAP database. Currently, the user accounts are in Active Directory, NT, Oracle and NetWare Directory Service in this heterogeneous environment.
What I am looking for is a meta-directory product which can do two things:
1-Single authentiation point for users in mulitple databases from iPlanet Web Server.
2-Single administration point for all of the databases listed above.
For example, can I add/modify/delete a user account at the meta-directory level and have this propagate to all of the databases listed above reducing the administration to one meta-directory product?With an Virtual Directory solution, you can authenticate Iplanet Web Server against nearly anything including any LDAPv3 Directory Server, Microsoft Active Directory, Windows NT Domains, Oracle RDBMS, IBM DB2 RDBMS, Microsoft SQL, and others.
All of this is done dynamically and doesn't require any heavyweight synchronization process. The Virtual Directory acts as a dynamic schema / DIT / data translation engine for different types of repositories.
OctetString's Virtual Directory Engine is one such example. You can download a 30 day evaluation copy at:
http://www.octetstring.com
It will take you all of 30 minutes to get iPlanet Web Server authenticated against and using groups from things like Oracle RDBMS, Windows NT Domains, or Active Directory. -
RMAN 11gR2 DUPLICATE TARGET FOR STANDBY FROM ACTIVE DATABASE - Issue -HELP
First question.
Can primary and standby database have the same SID name?
As I recall it is yes.
I believe they must have different GLOBAL or DB_UNIQUE_NAME?
Anyway, RMAN I believe is telling me it is having problems copying control file on first and dies.
Permissions Issue on STANDBY machine?
RMAN> connect target backup_admin/backup_admin
connected to target database: LABDG (DBID=1973403623)
RMAN> connect auxiliary sys/oracle@STANDBY;
connected to auxiliary database: LABDG (not mounted)
RMAN> DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE;
Starting Duplicate Db at 18-JUL-11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=10 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwLABDG' auxiliar
'/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwLABDG' ;
executing Memory Script
Starting backup at 18-JUL-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=151 device type=DISK
Finished backup at 18-JUL-11
contents of Memory Script:
backup as copy current controlfile for standby auxiliary format '/u01/oradat
restore clone controlfile to '/u01/app/oracle/flash_recovery_area/LABDG/cont
'/u01/oradata/LABDG/control01.ctl';
executing Memory Script
Starting backup at 18-JUL-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying standby control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/18/2011 11:20:54
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/18/2011 11:20:
ORA-17628: Oracle error 19505 returned by remote Oracle serverHi,
Permissions Issue on STANDBY machine?First problem I see is the sysdba password must be the same on both sides (target and auxiliary dbs).
From the documentation.
The source database and auxiliary instances must use the same SYSDBA password, which means that both instances must have password files. You can
create the password file with a single password so you can start the auxiliary instance and enable the source database to connect to it.Check all prereqs for the standby db duplicate here.
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/rcmsynta020.htm#i81724
Rgds,
Tycho -
Multiple databases in one file: a small snafu
Hello everyone,
Opening multiple databases in a single file is an administrative convenience. It is well explained in the manual (see db/docs/ref/am/opensub.html). Normally, there is little difference between databases in their own physical files or grouped together in a single physical file. There is one small sentence in the manual that says the following:
(begin fragment)
However, since multiple databases in a file exist in a single physical file, opening two databases in the same file simultaneously requires locking be enabled unless all of the handles are read-only. As the locks for the two databases can only conflict during page allocation, this additional locking is unlikely to affect performance.
(end fragment).
I didn't pay attention to it, except the "unlikely to affect performance" part which told me that I wasn't to worry about it. The sun was shining. Life was good.
And I was wrong. It was one of those "epic bug quests" I had to embark on, only to realise that it may not be a BDB bug, but my carelessnes. Nevertheless, I'm left with an uneasy feeling which I would like to explain here.
Consider BDB configured as a concurrent data store.
There are 2 threads. The first thread has the following pseudocode:
cursor1 = db1->cursor(...)
while(cursor1->c_get(... DB_NEXT...))
// 1
cursor2 = db2->cursor(...)
while(cursor2->c_get(... DB_NEXT...))
The second thread does only the following:
db3->put(...)
db1, db2 and db3 are all distinct databases. All cursors are read-only (the cursor implicitly used in db3->put is of course a write cursor).
While the first thread is running, the second thread executes db3->put(...) at "//1".
Question: what happens?
Answer 1: if db1, db2 and db3 reside in different physical files, nothing special happens. Everything proceeds as it should.
Answer 2: if db1, db2 and db3 reside in the same physical file, both threads block "sometimes".
The "sometimes" used here means "when the put operation in thread 2 needs to allocate a new page".
Reading the BDB source code is extraordinarily difficult (which says more about my limitations than about the clarity of the code) but here is what happens, as far as I could determine:
(thread 1) cursor1 needs and acquires a read lock on db1
(thread 2) db3->put needs a write lock on db2 to allocate a new page. Since db2 is in the same physical file as db1 and thread 1 already has a read lock, thread 2 waits until the read lock is released. Thread 2 blocks.
(thread 1) cursor 2 needs a read lock on db3. For some reason, BDB detects that the another thread is waiting for a write lock on the physical file, and thread 1 blocks.
Both threads block waiting on each other to complete.
I suppose the system is the way it is to avoid starvation, but there you have it: be careful when you're lumping together multiple databases in one file!
Anyone who can clarify or confirm this is welcome.
VincentI had experienced a similar problem. I run multiple process. Each one of them starts a transaction that does db->put and db->pget to its own database (which also has a secondary index). When each database is in a separate physical file there is no problem but when I put all databases in a single file the processes start to dead-lock.
The following combination of options solved the deadlocking problem:
- use serializable isolation level instead of snapshot, i.e. do not pass DB_TXN_SNAPSHOT to txn_begin
- do not pass the DB_NO_WAIT option to txn_begin
- use Btree instead of a Hash
Hope that helps.
Maybe you are looking for
-
IPhone 3g 16gb recovery/restore loop
2 recent iPhone 4s working ok since day 1. I (Dad) inherit 2yr old (out of warranty) iPhone 3g 16gb. Recently the phone went into the WSOD, Apple Logo, Recovery, Restore loop (was connected to car audio). Phone has not had any other problems since da
-
Cant read archived iPhoto library
Hi I copied off my iPhoto library to another partition while reinstalling OSX tiger. I have now replaced the iphoto library on the freshly installed OSX but iphoto does not see it. The library was created by iPhoto 1.1.1 and it is 1.1.1 that I am usi
-
Interface inventory and training
Hi all About the interface inventory and training: I'm working in a SAP solution implementation, just at the preparation phase. We have already identified the external systems that have to be integrated with our SAP solution and my client would like
-
Revision: 7830 Author: [email protected] Date: 2009-06-14 15:57:29 -0700 (Sun, 14 Jun 2009) Log Message: Update ASDoc on the new backgroundFrameRate property to WindowedApplication, to by default reduce the CPU usage in cases where an app is no
-
I need to download Adobe X [was: X]
I need to download adobe X