How to modify the database by Oracle-ridc-client
How to modify the database by Oracle-ridc-client
First of all, from your question it is not very clear what kind of modifications you intend to do - one correct answer to your question could be "call any non-read-only service", which will result as insert/update/delete to a table somewhere. My guess is that this is not the answer you are looking for.
While working with RIDC (or CIS to answer your other thread at once) you have to understand that you integrate primarily with the application layer of your solution. If you want to modify the database scheme, you might, for instance, add a new metadata field - this is OK, because there is a service that you may call to achieve that. On the other hand you might want to change the db scheme directly (e.g. add a new column to a standard table); here neither RIDC, not CIS will help you unless you create a custom (server-side) service that you will call. Note, however, that you should be doing this only if you are really sure what you are doing.
Similar Messages
-
How to modify the database name
Hi people
Im a developer and it's the first time that I use the Xe version of oracle. I need to modify the database name but I don't know how to make this. Im finding the commands but I don't meet this.
Anyone can help me?
Thanks
Best RegardsHi,
XE is XE is XE ... ;-)
If you'd like to rename it you may get a database license for at least a STANARD EDITION ONE database, upgrade your XE to SE-ONE and then rename your database.
But (as it has been noted before) for obvious reasons there's no way to rename an XE database to something else :-)
Kind regards
Mike -
How to enter the database in oracle 11g!!
Hi all,
I have installed Oracle 11g , and the SCOTT,SYS,SYSTEM account are locked ( I guess) as i am UNABLE TO ENTER THE DATABASE.
When I open SQL+ , a cmd prompt will appear requesting username ( for which I tried SYS,SYSTEM,SCOTT) upon pressing enter, it request's password ,HERE IS THE PROBLEM .What every i try to enter in the password field, doesn’t get displayed there ,I thick its not accepting anything at all.
I tried sys as sysdba as the username ,didn't work either(insufficent privilages)(windows info: OS-XP sp2, account- administrator),as I am new to SQL Kindly ,SUGGEST ME , HOW TO ENTER THE DATABASE.
Thanks & Regards
keerthi kumarSET
sqlplus
/ as sysdba
startup
exit
THE RESULT FROM THE cmd PROMPT FOR THE ABOVE LINES....
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\KEERTHI KUMAR>SET
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\KEERTHI KUMAR\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=KEERTHIKUMAR
ComSpec=C:\WINDOWS\system32\cmd.exe
DEFAULT_CA_NR=CA18
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\KEERTHI KUMAR
LOGONSERVER=\\KEERTHIKUMAR
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=E:\app\KEERTHIKUMAR\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WIND
OWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\Prog
ram Files\Smart Projects\IsoBuster;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 44 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=2c02
ProgramFiles=C:\Program Files
PROMPT=$P$G
P_SCHEMA=D:\Solid Edge V18\etc\UGSchemas
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\KEERTH~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\KEERTH~1\LOCALS~1\Temp
USERDOMAIN=KEERTHIKUMAR
USERNAME=KEERTHI KUMAR
USERPROFILE=C:\Documents and Settings\KEERTHI KUMAR
windir=C:\WINDOWS
C:\Documents and Settings\KEERTHI KUMAR>sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 1 07:26:30 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name: startup
Enter password: -
How to reduce the database size based on MS SQL/Oracle?
Hi,
I had deleted severy clients via SCC5, but the database size is more and more bigger. Do you know how to reduce the database size.
my platform is: NT, MS SQL 2005
NT, Oracle 10.2
Best Regards,
Simon ShenHi Simon,
In the case of SQL you need to check how many space free you have in your datafiles and the based on that you need to Shrink them using DBCC SHRINKFILE command.
Find a couple of reference docs here,
http://www.intermedia.net/support/kb/default.asp?id=996
http://doc.ddart.net/mssql/sql70/dbcc_21.htm
Also i'm pretty sure that if your check the properties of the datafiles in MSSQL Enterprise Manager you get a "Shrink" option.
Regards
Juan
Please reward with points if helpful -
How to change the db_name of the database in oracle 9i
Please Tell me
How to change the db_name of the database in oracle 9i
regardsALTER DATABASE RENAME oldname TO newnameThis is not a valid command.
@OP, you may want to check into the NID Utility. -
How to modify the window name and field name in standard oracle forms
Hi All,
I am new to the forms. I would like to ask how to modify the standard form window name "Subinventories" to "INV Subinventories" in EBS.
Please help.
Thank you.
Regards,
Dianehi
plz move your thread to EBS forum.
sarah -
How to modify a database?
Hi forum members, I recently installed oracle10g on solaris 10 , and I could create a test database called solaris, but I could'nt create a new table for that database, Indeed I don't know how to open the database, thanks for your help I'm new in oracle and solaris as well.
I tried this but I couldn't modify the database
$ ./sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 29 16:07:22 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> CONNECT / AS SYSDBA
Connected.
SQL> STARTUP MOUNT
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> SHUTDOWN IMMEDIATE
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> STARTUP MOUNT
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
Database mounted.
SQL> CREATE TABLE "usuario" ("id" NUMERIC,"nombre" VARCHAR(30));
CREATE TABLE "usuario" ("id" NUMERIC,"nombre" VARCHAR(30))
ERROR at line 1:
ORA-01109: database not open
thanks in advanceYou really need to get caught up on some basics. I encourage you to pick up the O'Reilly book titled 'Oracle Essentials' (see http://oracle.oreilly.com) to get up to speed. And then plan on spending some time either in the 2-day DBA or Oracle Concepts documentation.
To give you a bit of a start -
An Oracle database is a bunch of files. The database is controlled by an Oracle Instance. The instance is started (attached to the database) and stopped. In Windows the instance is a [Control Panel] service.
A listener can be started [and stopped] to monitor the network for requests. It is also a service. If it is not started, the instance will not respond to any network requests but WILL respond to SQLPlus requests by the same userid that installed the database and software.
You use the internal userid called SYS to do basic things like start and stop the instance. The SYS userid should never be used for anything else (there are exceptions to every rule, but...). Most newbies ignore this advice until they blow up their first database.
You can use DBA userid such as SYSTEM to manage the database to do things like add/manage users, add/manage schemas and add/manage tablespaces. A DBA userid should only be used for managing the database, not for owning tables and not for application work. Most newbies ignore this advice until they cripple up their first database.
User:
A userid should be created for each user - and each schema (see next section). You create it using sqlplus commands, usually run by the SYSTEM user
CREATE USER username IDENTIFIED BY password ACCOUNT UNLOCK
DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
and give it privileges such as accessing the database and storing data by
ALTER USER username QUOTA UNLIMITED ON USERS;
GRANT CONNECT TO username;
Schema:
A schema is a special user that also has resource capability and ability to create and manage objects such as tables. There are many kinds of objects and ideally you should give permission to create/manage only those objects that are needed, such as
GRANT CREATE TABLE TO username; -- this makes is a schema.
Cheating - you can grant the resource role to the user which provides all the GRANTS for most objects.
GRANT RESOURCE TO username;
I call it cheating, because few actually look at the role and fewer realize how much capability is given by the resource role. It's pretty darned close to opening up security holes. Oh well ...
People who have had time with other RDBMSs such as SQL Server may view an Oracle Schema as roughly the same as a SQL Server (or other) Database.
Tablespace:
A tablespace is like a disk to Oracle - you can store things such as [many] tables and indexes in a tablespace. A tablespace is made of [one or more] operating system files. A number of files can be used in a tablespace to get around things like the 2GB limit that many operating systems have for typical files.
There are a bunch of tablespaces:
SYSTEM is for keeping the internal data dictionary and you should avoid using it for anything as filling it up will cause the database to stop.
SYSAUX is for Oracle's options and features and you should avoid using it as filling it up causes major pain. SYSAUX was introduced in 10g.
TEMP is used for sorting and other internal stuff. Do not let it autoextend otherwise it will grow forever. If you limit the size the area will be reused even though it appears to be busy.
UNDO/ROLLBACK is used for internal stuff such as recovering the original data if you cancel a transaction. Keep away from it other than to make it bigger. It's you friend - feed it properly and you can recover from data mistakes you made a few days ago.
Regular tablespaces are what's left - that's where your tables and indexes go (remember the DEFAULT TABLESPACE clause in create user???)
CREATING TABLES ...
Simplest form: as a new userid,
CREATE TABLE name_of_table (
column_name datatype_and_size,
another_column datatype_and_size ...
example:
CREATE TABLE test ( test1 date, test2 number, test3 varchar2(25));
then use it
INSERT INTO test VALUES (
to_date('Feb 13, 1987 09:14:56', 'Mon DD, YYYY HH:MI:SS'),
42,
'A test string');
SELECT test3 from test;
Oracle provides a few demo userids such as OE, HR, SH, IX & PM. Go to the documentation for your version of the database at http://docs.oracle.com and pull up the document titled 'Sample Schemas'. They are to help you learn about Oracle complete with data, and are usually loaded by default into new databases. A number of the examples and tutorials at Oracle By Exmaple (from http://otn.oracle.com >> Training menu >> Oracle By Example) use these schemas. -
How to Modify the Seeded REQAPPRV Workflow?
Hi All,
Iam new to workflow.I have a minor change in workflow( REQAPPRV ).In " Messages" PO_REQ_APPROVED_JRAD .I need to edit the subject.Could you please give me the steps how to modify the standard workflow? After changes done how do we migrate to another instances WFT files?
Thanks,
SandeepPl post details of OS, database and EBS versions.
Workflows are modified by using the developer tool Workflow Builder. You can migrate workflows from one instance to another using the server-side WFLOAD executable or using WF Builder itself.
How To Obtain Oracle Workflow Builder (Doc ID 401288.1)
How To Update and Move Workflow From One Instance to Another? (Doc ID 398460.1)
HTH
Srini -
How to recover the database when some of the archive log file get deleted.
I am facing a problem with Oracle database, which is related to archivelogs.
Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
When the database was in running condition, disk got full, so some archivelogs were deleted manually.
After this they restarted the DB, and now DB is not coming up. Errors are as follows:
SQL> startup
ORACLE instance started.
Total System Global Area 1444383504 bytes
Fixed Size 731920 bytes
Variable Size 486539264 bytes
Database Buffers 956301312 bytes
Redo Buffers 811008 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database using backup controlfile;
ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
1
ORA-00289: suggestion :
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00280: change 215548705 for thread 1 is in sequence #1107
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00308: cannot open archived log
'/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL>
1. How to recover the database and bring it online
Any help will be highly appreciated.
With Regards
Hemant Joshi
Edited by: hem_Kec on Sep 7, 2008 9:07 AMHi,
Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss. -
How to store the images in Oracle?
Hi,
I am a new developer, trying to find out how to store the images in Oracle. Is there anyway that I can store the images in Oracle and insert them into my html file?
Thanks!
SarahThere is a simple image example available from OTN.
From the OTN main page, go to Products --> interMedia --> Sample Code. The name of the example is "Load rich media content with a browser."
This example loads and retrieves an image from an Oracle8i database through a web page using the Oracle interMedia Web Agent.
Hope this helps.
null -
How to modify the blob size, or how to set the size?
i want to know how to modify the blob size, or how to set the size?
what's the default size of blob?
Thanks in advance.Blob datatype can contain binary data with a maximum size of 4 GB.
when you enter 10kb file, the database will only use 10kb to store the file (depending on block size etc)
if you want to modify the blob size, you may do like this:
SQL> create materialized view t_mv refresh fast on commit
2 as select id, dbms_lob.getlength(x) len from t;
Materialized view created.
SQL> alter table t_mv add constraint t_mv_chk check (len < 100);
Table altered. -
How to increase the database size
Hi All ,
Our Client is going to increase their customers from 3.5 million to 5 millions
(12 millions in future ) and there is no increase in the existing licenses..
At present we have very less space in Data base server. We are Going Live at the End of the Month.
How to increase the database size to meet the Client requirements.
we have to increase the No of Processerors etc...
Below are the details of Servers:
System Model: IBM,7040-681
Machine Serial Number: 830D5BF
Processor Type: PowerPC_POWER4
Number Of Processors: 2
Processor Clock Speed: 1904 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 4 bgl-svr-biap
Memory Size: 4096 MB
Good Memory Size: 4096 MB
Note : Server is IBM P690.
1) System Lansdcape --> Two System Landsacpe ( Dev to Prod )
2) BW Version --> 3.5
3) SAP Basis --- > 6.4
4) No of Application servers currently having --> Only One Server
Can any body suggest me how to solve this.....
Thanks in Advance..
Kasi ChukkaHi Kasi,
Your question is not very clear, from the looks of it, the load on your client's system will be doubling soon.
You need to look at the system stats on how the system is handling the current load, use transactions ST06, ST04 and ST02 to check if the DB hit ratios are as expected, the cpu idle time, the busy periods. Identify if there is large amounts of paging on the server(candidate for increase in real memory).
On AIX level, you will need to look at CPU / Memory usage.
On SAP Application server, you need to look at SAP Buffers.
On Oracle end, look at SGA stats, if it need to increase, the data growth that is current and estimated growth (DB02).
You will not get an exact answer to it, you will need to analyze the existing load and then estimate (guess). The hardware upgrade will also depend on what the client is willing to spend, its always a good practise to add 20% to what you have estimated as these figures are never accurate.
All the best.
Cheers,
Nisch -
How to modify Java options in Oracle 10g Application Server
I am trying to modify the Java Options to specify the following field:
-Djavax.xml.transform.TransformerFactory=
org.apache.xalan.processor.TransformerFactoryImpl
But I am unable to locate the Server Properties section on the Administration section. I had expanded the Prperties section fully also. I had logged in as oc4jadmin.
Can anyone help me out in understanding how to modify the Server Properties. I have consulted the Oracle Documentation but still I cant locate the Server Properties section.Michel,
I have logged in using the following URL: http://<machinename>:<port>/em. The URL eventually changes to http://<machinename>:<port>/em/console/ias/oc4j/administration upon successful login.
I clicked on the Application Server and then clicked on administration link but I dont see Server Properties. I only see the following under Properties section:
EJB Compiler Settings
J2EE Websites
JSP Properties
Logger Configuration
Thread Pool Configuration
Shared Libraries
I am sure I am missing something here.Can you please help me figure that out please.? -
How to create new database on Oracle 10g
Hi All,
Can any one tell me how to create new database on oracle 10g.
Thanks in Advance for your help.again some confusion here.....
u said u need a new database in your first post and now you saying u need a new schema..
one database has many schemas(users)..... ex: scott,sys,system are few of them...
now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
OR
You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
so you login to the same machine or access it from your machine using remote login.
I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
Message was edited by:
coolguy -
Hi,
i have installed oracle database 11gr1 in oel5(32 bit).How to start the database?
Solution neededDear user8818950 Muvendran!
Have you created a database yet? If yes then you could do the following steps to start it:
1.) Execute the oraenv script. It should be located in the /usr/local/bin directory
. oranev
ORACLE_SID = [ORCL] ? Please fill in your Oracle SID after the questionmark.
2.) Start your listener
lsnrctl start3.) Start SQL*Plus and connect as sysdba
sqlplus sys/password as sysdba4.) Type in startup to start your database
startupAfter that everything should be fine.
Yours sincerely
Florian W.
Edited by: Florian W. on 05.11.2009 13:54
P.S. If you don't know the name of your database (ORACLE_SID) than you may look into the file /etc/oratab. E. g,
ORCL:/u01/app/oracle/product/10.2.0:NThe first column shows your ORACLE_SID. If you want to start your database everytime your sever starts than you may change the N in the last column to Y.
Best Regards
Maybe you are looking for
-
Event Handler is not being triggered- 11G Release2
Hi all, I developed a postprocess event handler which I am expecting to be triggered when my custom task for trusted reconciliation run. I have deployed my event handler using plugin registration utility. I put a static block in my class to see if my
-
Installing Adobe Acrobat X Pro
Machine crashed and need to install adobe acrobat x pro on new computer. Entered serial number of xpro anand was prompted for qualifying product. went to list of products in my account and entered that information but was not accepted. Need help p
-
I have bought an used copy of this book: Macromedia® Dreamweaver® 8 with ASP, Coldfusion® and PHP: Training from the Source By Jeffrey Bardzell and the CD-ROM with the example files is broken. Does anybody where can I download the files to follow the
-
Western Digital Thunderbolt Duo 8 TB !!!
I'm not sure if this is the right communities to ask but there go... Just bought a Western Digital ThunderBolt Duo 8TB , the problem is...i cant seems to connect it to 2 mac book pro at the same time. Contacted WD support, they told me it's not possi
-
Publish to YouTube often crashes Captivate 5.5
I'm publishing a number of projects to YouTube. Often this crashes Captivate 5.5 before it gets to the YouTube login prompt. Sometimes trying again (without changing anything) works, but often it takes several tries. I don't know why it works when