Target Schema and Runtime Instance of Oracle Database
I am new to OWB and starting to understand its architecture.
Does the Runtime Access User, Runtime Repository Schema and Target Schema (discussed a the Runtime Instance) need to be installed on every database that will be a target? For example, if I have a data warehouse and two data marts, with I have three installations?
Hi,
You need to run the OWB Runtime Assistent for every target schema, that is correct (it will add the auditing stuff that enables you to monitor what's happening deployment and execution wise).
Whether you need to create a Runtime Repository and its accompanying Runtime Access User(s) for each and every target I'm not sure.
If your target schema's are on the same instance I'd say that you can use as few or many Runtime Repositories as you wish.
When on different instances I think it's necessary to create them.
Hopefully other forum-attendees can add some more if they have definite answers.
Cheers, Patrick
Similar Messages
-
Difference between target schema and target user
hi,
Can anyone explain to me what is the difference between target schema and target user? examples will be more welcome then theoratical explanation.
thanks so muchIn Oracle database schema and user is the same things (if you use general authentication by database).
When used external authentication (for example with Windows domains/active directory) schema is a owner of database objects group and you should specify mapping between external usernames and schema to which this user has access when connects to database.
For example:
- windows domain user CORPDOMAIN\USER1 can connect to oracle database schema SCOTT;
- windows domain user CORPDOMAIN\USER2 can connect to oracle database schema SCOTT;
- windows domain user CORPDOMAIN\ADMIN can connect to oracle database schema SYSTEM;
Oleg
Message was edited by:
tsiboleg -
Column 'Blocked' of view v$instance in Oracle Database 10g
Hi All,
What is the description of column "blocked" of view "v$instance" in Oracle Database 10g?
I could not find the information in Oracle® Database Reference
10g Release 2 (10.2)
Thanks and Regards,
VaibhavSQL> describe v$instance
Name Null? Type
INSTANCE_NUMBER NUMBER
INSTANCE_NAME VARCHAR2(16)
HOST_NAME VARCHAR2(64)
VERSION VARCHAR2(17)
STARTUP_TIME DATE
STATUS VARCHAR2(12)
PARALLEL VARCHAR2(3)
THREAD# NUMBER
ARCHIVER VARCHAR2(7)
LOG_SWITCH_WAIT VARCHAR2(15)
LOGINS VARCHAR2(10)
SHUTDOWN_PENDING VARCHAR2(3)
DATABASE_STATUS VARCHAR2(17)
INSTANCE_ROLE VARCHAR2(18)
ACTIVE_STATE VARCHAR2(9)
BLOCKED VARCHAR2(3)
SQL> select version from v$instance;
VERSION
10.2.0.2.0 -
Storing PDF and Word document in oracle database
any idea, how to store PDF and word document using oracle database.
thanksThe common approach is store as BLOB in database, use DBMS_LOB package to handle the loading and reading, sample script source asktom
Also check this thread in Asktom
SQL> create table demo
2 ( id INT PRIMARY KEY,
3 theBlob blob,
4 dummy_col VARCHAR2(1)
5 )
6 /
Table created.
SQL> -- --------------------------------------------------------------
SQL> -- Load a PDF file into a BLOB field and compress the BLOB.
SQL> -- --------------------------------------------------------------
SQL> declare
2 l_blob blob;
3 l_bfile bfile;
4
5 begin
6 insert into demo (id, theBLOB) values ( 1, empty_blob() )
7 returning theBlob into l_blob;
8
9 l_bfile := bfilename( 'BLOB_DIR', 'Test.PDF' );
10 dbms_lob.fileopen( l_bfile );
11
12 dbms_lob.loadfromfile( l_blob,
13 l_bfile,
14 dbms_lob.getlength( l_bfile ) );
15
16 UPDATE demo
17 SET theBlob = utl_compress.lz_compress(l_blob, 6)
18 WHERE id = 1;
19 -- If you don't want compress the LOB just update directly
20 dbms_lob.fileclose( l_bfile );
21 COMMIT;
22 end;
23 /
PL/SQL procedure successfully completed -
Can you suggest a best way to store and read arabic from oracle database?
Hi ,
can you suggest a best way to store and read arabic from oracle database?
My oracle database is Oracle Database 10g Release 10.1.0.5.0 - 64bit Production on unix HP-UX ia64.
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CHARACTERSET WE8ISO8859P1
I have presently stored the data in nvarchar2 field. But i am not able to display it correctly.Using the national characterset should work but there are other factors that you have to consider when working with NCHAR/NVARCHAR2/NCLOB.
If possible, changing the characterset is usually the best solution if it's a possiblity for you.
For more info:
Dear Gurus: Can u pls explain the difference between VARCHAR2 & NVARCHAR2?? -
Any reference about Business and Technology Intelligence in Oracle Database
Kindly provide me any link, reference , document, white paper to look at the idea that what is the Business and technology intelligence in Oracle Database..
We have see this in this perspective that " How oracle is making money from his database technology!
Any advice would be wonderful
Regards.Thanks for the answer ! Here i am writing more clearly what i have asked ?
First of all many thanks for such quick answer...
I make clear my question here :
Suppose i want to see the success of e-bay online business.Business and technology intelligence means " How you can make money from Technology " ?
My question about Oracle products or database is same that " How Oracle is making money from its Database Technology " consistently. This is called in
Technology and innovation managment " Business and Intelligence ".
Is it clear now ? Now i want to have literature about that How Oracle Corporation using technology to make make money business ...
Kindly reply me and thanks in advance -
Recommended Third Party Archive and Purging Software for Oracle Database (Oracle CC&B)
Hi,
We are currently exploring third party archive and purging software for Oracle Database specifically used by an Oracle Customer Care and Billing implementation. Our current data is growing that we think archiving and purging is a now a viable option. Thanks.
Regards,
DennisAccording to the fine Oracle® Utilities Application Framework Administration Guide Chapter 17, "Archiving and Purging" is readily available to CC&B.
-
For preparing the filenames and paths for the oracle database files..
Hi,
I am preparing the filenames and paths for the oracle database files.....but I am not able to complete this one...Will you Please help for filling this one.
Controlfile ---- > select name from v$controlfile;
Redologfile -- > select member from v$logfile;
Datafile --------- > select tablespace_name,file_name from dba_data_files order by 1;
Tempfile --------> select tablespace_name,file_name from dba_temp_files;
Spfile -----------> show parameter spfile
Pfile --------------->
Passwordfile ---->
tnsnames.ora -->
listener.ora------>
sqlnet.ora ------>
oratab ------------->
Thanks
Shijuorashiju wrote:
Hi,
I am preparing the filenames and paths for the oracle database files.....but I am not able to complete this one...Will you Please help for filling this one.
Controlfile ---- > select name from v$controlfile;
Redologfile -- > select member from v$logfile;
Datafile --------- > select tablespace_name,file_name from dba_data_files order by 1;
Tempfile --------> select tablespace_name,file_name from dba_temp_files;
Spfile -----------> show parameter spfile
Pfile --------------->spfile and pfile are located under $ORACLE_HOME/dbs/
Passwordfile ----> passwordfile is located under $ORACLE_HOME/dbs
tnsnames.ora -->
listener.ora------>
sqlnet.ora ------>all above files are under $ORACLE_HOME/network/admin
oratab ------------->depends on operating system. Usualy under /etc/oratab -
We have created a stage schema and tested application which is working fine when we are moving it to another schema for further testing ( This schema is created using same scripts which were used to create objects in staging schema) the performanc of application (Developed in .NET) slows down drastically
Some of the store procedures we have checked at Databse/SQLdeveloper level are giving almost same performance but at Application level there is lot of difference
Can you please help
We are using Oracke 11g DatabaseAre you using the Database Cloud Service? You cannot create schemas in the Database Cloud Service, which makes me think you are not. This forum is only for the Database Cloud Service.
- Rick Greenwald -
Connection pooling and auditing on an oracle database
Integration of a weblogic application with an oracle backend,
Connection pooling, and auditing ,2 conflicting requirements ?
Problem statement :
We are in the process of maintaining a legacy client server application where
the client is
written in PowerBuilder and the backend is using an Oracle database.
Almost all business logic is implemented in stored procedures on the database.
When working in client/server mode ,1 PowerBuilder User has a one-to-one relation
with
a connection(session) on the oracle database.
It is a requirement that the database administrator must see the real user connected
to the database
and NOT some kind of superuser, therefore in the PowerBuilder app each user connects
to the database
with his own username.(Each user is configured on the database via a seperate
powerbuilder security app).
For the PowerBuilder app all is fine and this app can maintain conversional state(setting
and
reading of global variables in oracle packages).
The management is pushing for web-based application where we will be using bea
weblogic appserver(J2EE based).
We have build an business app which is web-based and accessing the same oracle
backend app as
the PowerBuilder app is doing.
The first version of this web-based app is using a custom build connector(based
on JCA standard and
derived from a template provided by the weblogic integration installation).
This custom build connector is essentially a combination of a custom realm in
weblogic terms
and a degraded connection pool , where each web session(browser) has a one-to-one
relation
with the back end database.
The reason that this custom connector is combining the security functionality
and the pooling
functionality , is because each user must be authenticated against the oracle
database(security requirement)
and NOT against a LDAP server, and we are using a statefull backend(oracle packages)
which would make it
difficult to reuse connections.
A problem that surfaced while doing heavy loadtesting with the custom connector,
is that sometimes connections are closed and new ones made in the midst of a transaction.
If you imagine a scenario where a session bean creates a business entity ,and
the session bean
calls 1 entity bean for the header and 1 entity bean for the detail, then the
header and detail
must be created in the same transaction AND with the same connection(there is
a parent-child relationship
between header and detail enforced on the back end database via Primary and Foreing
Keys).
We have not yet found why weblogic is closing the connection!
A second problem that we are experincing with the custom connector, is the use
of CMP(container managed persistence)
within entity beans.
The J2EE developers state that the use of CMP decreases the develoment time and
thus also maintenance costs.
We have not yet found a way to integrate a custom connector with the CMP persistence
scheme !
In order to solve our loadtesting and CMP persistence problems i was asked to
come up with a solution
which should not use a custom connector,but use standard connection pools from
weblogic.
To resolve the authentication problem on weblogic i could make a custom realm
which connects to the
backend database with the username and password, and if the connection is ok ,
i could consider this
user as authenticated in weblogic.
That still leaves me with the problem of auditing and pooling.
If i were to use a standard connection pool,then all transaction made in the oracle
database
would be done by a pool user or super user, a solution which will be rejected
by our local security officer,
because you can not see which real user made a transaction in the database.
I could still use the connection pool and in the application , advise the application
developers
to set an oracle package variable with the real user, then on arrival of the request
in the database,
the logic could use this package variable to set the transaction user.
There are still problems with this approach :
- The administrator of the database can still not see who is connected , he will
only see the superuser connection.
- This scheme can not be used when you want to use CMP persistence , since it
is weblogic who will generate the code
to access the database.
I thought i had a solution when oracle provided us with a connection pool known
as OracleOCIConnectionPool
where there is a connection made by a superuser, but where sessions are multiplexed
over this physical pipe with the real user.
I can not seem to properly integrate this OCI connectionpool into weblogic.
When using this pool , and we are coming into a bean (session or entity bean)
weblogic is wrapping
this pool with it's own internal Datasource and giving me back a connection of
the superuser, but not one for the real user,
thus setting me with my back to the wall again.
I would appreciate if anyone had experienced the same problem to share a possible
solution with us
in order to satisfy all requirements(security,auditing,CMP).
Many Thanks
Blyau Gino
[email protected]Hi Blyau,
As Joe has already provided some technical advice,
I'll try to say something on engineering process level.
While migrating an application from one technology to
other, like client-server to n-tier in you case, customers and
stakeholders want to push into the new system as many old
requirements as possible. This approach is AKA "we must
have ALL of the features of the old system". Mostly it happens
because they don't know what they want. Ad little understanding
of abilities of the new technology, and you will get a requirement
like the one you have in you hands.
I think "DBA must see real user" is one of those. For this
type of requirements it can make sense to try to drop it,
or to understand its nature and suggest alternatives. In this
particular case it can be a system that logs user names,
login and logout times.
Blind copying of old features into an incompatible new architecture
may endanger the whole project and can result in its failure.
Hope this helps.
Regards,
Slava Imeshev
"Blyau Gino" <[email protected]> wrote in message
news:[email protected]...
>
Integration of a weblogic application with an oracle backend,
Connection pooling, and auditing ,2 conflicting requirements ?
Problem statement :
We are in the process of maintaining a legacy client server applicationwhere
the client is
written in PowerBuilder and the backend is using an Oracle database.
Almost all business logic is implemented in stored procedures on thedatabase.
When working in client/server mode ,1 PowerBuilder User has a one-to-onerelation
with
a connection(session) on the oracle database.
It is a requirement that the database administrator must see the real userconnected
to the database
and NOT some kind of superuser, therefore in the PowerBuilder app eachuser connects
to the database
with his own username.(Each user is configured on the database via aseperate
powerbuilder security app).
For the PowerBuilder app all is fine and this app can maintainconversional state(setting
and
reading of global variables in oracle packages).
The management is pushing for web-based application where we will be usingbea
weblogic appserver(J2EE based).
We have build an business app which is web-based and accessing the sameoracle
backend app as
the PowerBuilder app is doing.
The first version of this web-based app is using a custom buildconnector(based
on JCA standard and
derived from a template provided by the weblogic integrationinstallation).
This custom build connector is essentially a combination of a custom realmin
weblogic terms
and a degraded connection pool , where each web session(browser) has aone-to-one
relation
with the back end database.
The reason that this custom connector is combining the securityfunctionality
and the pooling
functionality , is because each user must be authenticated against theoracle
database(security requirement)
and NOT against a LDAP server, and we are using a statefull backend(oraclepackages)
which would make it
difficult to reuse connections.
A problem that surfaced while doing heavy loadtesting with the customconnector,
>
is that sometimes connections are closed and new ones made in the midst ofa transaction.
If you imagine a scenario where a session bean creates a business entity,and
the session bean
calls 1 entity bean for the header and 1 entity bean for the detail, thenthe
header and detail
must be created in the same transaction AND with the same connection(thereis
a parent-child relationship
between header and detail enforced on the back end database via Primaryand Foreing
Keys).
We have not yet found why weblogic is closing the connection!
A second problem that we are experincing with the custom connector, is theuse
of CMP(container managed persistence)
within entity beans.
The J2EE developers state that the use of CMP decreases the develomenttime and
thus also maintenance costs.
We have not yet found a way to integrate a custom connector with the CMPpersistence
scheme !
In order to solve our loadtesting and CMP persistence problems i was askedto
come up with a solution
which should not use a custom connector,but use standard connection poolsfrom
weblogic.
To resolve the authentication problem on weblogic i could make a customrealm
which connects to the
backend database with the username and password, and if the connection isok ,
i could consider this
user as authenticated in weblogic.
That still leaves me with the problem of auditing and pooling.
If i were to use a standard connection pool,then all transaction made inthe oracle
database
would be done by a pool user or super user, a solution which will berejected
by our local security officer,
because you can not see which real user made a transaction in thedatabase.
I could still use the connection pool and in the application , advise theapplication
developers
to set an oracle package variable with the real user, then on arrival ofthe request
in the database,
the logic could use this package variable to set the transaction user.
There are still problems with this approach :
- The administrator of the database can still not see who is connected ,he will
only see the superuser connection.
- This scheme can not be used when you want to use CMP persistence , sinceit
is weblogic who will generate the code
to access the database.
I thought i had a solution when oracle provided us with a connection poolknown
as OracleOCIConnectionPool
where there is a connection made by a superuser, but where sessions aremultiplexed
over this physical pipe with the real user.
I can not seem to properly integrate this OCI connectionpool intoweblogic.
When using this pool , and we are coming into a bean (session or entitybean)
weblogic is wrapping
this pool with it's own internal Datasource and giving me back aconnection of
the superuser, but not one for the real user,
thus setting me with my back to the wall again.
I would appreciate if anyone had experienced the same problem to share apossible
solution with us
in order to satisfy all requirements(security,auditing,CMP).
Many Thanks
Blyau Gino
[email protected] -
How to store and retrive images in oracle database
hi,
i am interested in storing some students pictures ( photos) into my oracle database, and i want to know since the images are considered as binary data and since BLOB and CBLOB and supported by oracle, how to insert and to select the picture from oracle from my swing-based application?
does anyone have a complete sample or tutorial doing that well!!
thxMira este link,
hay varios articulos interesantes.
http://www.oracle-base.com/articles/9i/Articles9i.php
tambien puedes consultar este link
http://tahiti.oracle.com/pls/db92/db92.homepage
completa los coampos solicitados con la palabra "Images"
hay un manual de LOBs muy completo -
Urgent : store and retrieve image to oracle database thru applet
hi all
i want the code sample for storing the image to oracle database
development enviornment:
server : oracle 9i , apache web server
client : ie6 browser
i am connecting to oracle database thru applet using oracle jdbc thin driver
can anyone give me details about storing image to db
1) what datatype should be used in table for image?
2) my image files are on client machine... can i directly read those files from browser or first i have to copy those files to server?
3) .gif files will do or what should be the fileformat?
4) java code to store it to database (i am using jdk1.3)
5) how to retrieve it back from database and display it in awt panel ?
its very urgent ...
i am doing some r&d and trying to do using blob....
but it will take some time ...
i will really be thankful if someone sends detail code....
thankx in advance ....Hi,
The code below might answer few of your questions.
There is a restrcition on size of image, it must be less than 4KB.
//Code to insert image in database
//mytable is the table name that contains two fields in databse:name,image of type varchar and blob
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con =null ;
Statement stmt =null ;
con =DriverManager.getConnection ("jdbc:oracle:thin:@<hostname>:1521:orclsid", "system","manager");
PreparedStatement preparedStatement = con.prepareStatement("insert into mytable (name,image) values (?,?)");
preparedStatement.setString(1,"Amol");
InputStream inputStream = new BufferedInputStream(new FileInputStream("C:\\WINNT\\Temp\\netscape\\images\\menubg.jpg"));
preparedStatement.setBinaryStream(2, inputStream, inputStream.available());
preparedStatement.executeUpdate();
preparedStatement.close();
inputStream.close(); To retrieve image,here is the snippet
ResultSet resultSet = stmt.executeQuery("select image from mytable'");
if (resultSet.next())
byte[] image1 = resultSet.getBytes("image");
FileOutputStream fos=new FileOutputStream("c://splash11.jpg"); //will retrieve bytes and create a file
//by the name specified
fos.write(image1);
-Amol -
Send and recieve sms from oracle(database+application server)
HI all
I Wanted to send and recieve SMS not mails from oracle(database/application server).any possible solutions and what are the things that i required for that.i-e any service provider or any machine or somethings else.Handle: taimur
Status Level: Newbie
Registered: Aug 3, 2009
Total Posts: 42
Total Questions: 16 (16 unresolved)
so many questions without ANY answers.
http://forums.oracle.com/forums/ann.jspa?annID=718
http://www.lmgtfy.com/?q=oracle+send+sms
Edited by: sb92075 on Nov 20, 2010 7:23 PM -
SAP Server upgrade from Windows 2003 and 2008 R2 with Oracle Database
Hi,
We need to upgrade upgrade our Windows servers that are running our SAP systems from Windows Server 2003 to Windows Server 2008 R2. We are using Microsoft Clustering for HA so an inplace upgrade seems not possible.
Someone has suggested to us that we will need to export our database and reimport it to achieve this upgrade however but I cannot understand why this would be necessary (we are not changing the underlying filesystem!).
Could someone please confirm whether a database export and import is required for this OS upgrade scenario? I have done a bit of research but nothing has jumped out and now I need an answer to this quickly.
We are running
- ERP 6.0 NW 7.01 (soon to be 7.02 with ABAP stack only)
- XI(PI) Java & ABAP
- SRM (Java & ABAP)
- Portal (Java only)
- PLM (Java & ABAP)
- BW (BI 7.0) (Java and ABAP)
Thank You
FelicityHello,
You need to go for 'Homogeneous System Copy' to achieve this, but since almost all the systems in your landscape include the Java Stack as well - so the system copy with Export/Import is to be carried out.
Even if you are not going for file system change, but it is a Windows environment and you can't put SAP up on the target Windows (windows 2008 R2) just by copying the contents and file system from source to target. You need SAPinst to create the registry and all. - On top of that you have Java stacks involved, so for java stack you can't carry out just backup/restore method to put SAP up there on target - so you need Export/import because for java stack some OS level dump is to be collected during system copy from source and it needs to be imported on target OS.
Are you clear on this one ?
Read system copy guide once and Search in OSS for the Notes to check how to upgrade from Windows 2003 to Windows 2008 R2.
Thanks -
Migration Schema from IBM db2 to Oracle Database
Hi friends,
I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
I tried this in windows machine using ibm control center and its working fine.
Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
I dont the command to export a schema. Please help me to export a schema from IBM DB2.
Thanks in Advance.Hi friends,
I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
I tried this in windows machine using ibm control center and its working fine.
Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
I dont the command to export a schema. Please help me to export a schema from IBM DB2.
Thanks in Advance.
Maybe you are looking for
-
Error message in a table (not ALV)
Hi there, i know that in ALV an error-message appears and the cell is marked if an user puts a not allowed value in the cell. Now i want to achieve the same in my non-alv-table. If a user enters a value in a specific cell, i want to output a message
-
I just purchased ExportPDF and have tried to convert a PDF file to *.docx and *.rtf for the first time. In both cases I get a file that says there was an error is accessing the online service. What do I do?
-
Getting 100501:non-ORACLE EXCEPTION
Hi, I'm receving an error 100501:non-ORACLE exception, when I try to run the webutil package Webutil_File_Transfer.Client_To_DB on the application server. The same is working in my standalone machine. Regards, Madhu
-
Cloning DB to single instance ASM issue 11.2.0.3
Hi All, Having trouble cloning a DB via OEM to a new server I just built up which utilizes a single instance ASM. Creating a new DB via dbca onto ASM works no problems. When doing the clone it fails on the source server during the duplicate database
-
HT4914 What if the original file is unavailable?
My iTunes doesn't seem to recognise my music files. I clicked something and I can't find them. It says I have 120GB of music but I can't play it. Help!