Sorting in oracle
hi!
how do we do sorting in oracle?
can you please explain me with an example.
thanks in edvance.
regards
prasad
sorting in sql is done by the ORDER BY clause
eg. select * from emp order by ename asc;
--it arranges in ascending order
Similar Messages
-
Which sorting algorithm Oracle use?
Hi ,
May i know which sorting algorithm oracle use ?
Because when i am using order by with an sorted or unsorted data it is taking same time.
Thanks in advancePradeep Dewani wrote:
Hi ,
But i want to know that whether oracle consider sorted and unsorted data in same way or not ?
Please help if any body know because i cant decrease number of rows but i can sorted them in a temp table .Pradeep,
a SORT is usually an additional operation that can be quite costly depending on the amount of data to sort and the available memory for sorting. It would show up in the execution plan as SORT operation.
Note that the optimizer can take various shortcuts to minimize the impact of a sort operation. If you e.g. use a "top-N" query properly, it can take advantage of a "SORT ORDER BY STOPKEY" operation that only keeps the top N rows sorted in memory.
If you have suitable indexes, the optimizer might also come to the conclusion that a SORT operation can be eliminated by traversing an index in the requested order, so you could have a query that uses an ORDER BY but the execution plan doesn't show any explicit SORT operations.
So to answer your question: Oracle doesn't consider sorted and unsorted data in the same way. Sorting is an additional operation that needs to be handled somehow.
If you have a query that takes the same time whether sorted or not the execution time is probably driven by other factors and the SORT operation is negligible in terms of performance.
But there are other scenarios possible where a SORT operation takes significant time and influences the execution time. SORTs can also lead to overall changes in the execution plan that are not directly related to the SORT operation.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
Sorting in Oracle (Urgent)
Hi Experts
I need to sort multilingual values Like
COMP_NAME
Manishã
Manishñ
ManishÃ
ManishÑ
Manishâ
ManishÓ
Manishó
Manishú
ManishÚ
ManishU~
Manishu~
in below format
Manishâ
Manishã
ManishÃ
Manishñ
ManishÑ
ManishÓ
Manishó
Manishú
ManishÚ
ManishU~
Manishu~
please suggest me the solution ASAP.
Thanks in Advance
ManiSince your post was so urgent, it appears that it was posted without specifying the version of Oracle you're using. It also appears that it is missing a description in words of the logic you're trying to implement. If you really want prompt resolutions, I'd suggest posting (at least) both of those bits of information.
If I guess at your Oracle version and at the requirements you're trying to implement, I would guess that it was related somehow to the section on [Case-Insensitive and Accent-Insensitive Linguistic Sorts|http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch5lingsort.htm#sthref619] in the Globalization Guide.
Justin -
My customers want to get caseInsensytive sorting in
GridControl.
Is it possible and what should I do for it?
Thank you.
[email protected]Thank you very much for you help. But it was a litle late.
Because yesterday I had found this way and did it myself.
But nevertheless thank you indeed.
And I met a litle problem wneh I tried change this method.
I need define type of column. Because I wont make
Caseinsensitive sort only for string fields.
It looks like simle but I have only ScrollableRowsetAccess and
ResultSetInfo. And they give me type only by index of field.
I try to find index by ColumnName parameter. But its name very
different with name of ScrollableRowsetAccess and ResultSetInfo.
Could you give me advice for solve this problem.
Thank you again.
Yuri -
Oracle 11g - Memory used for sorting
Hi everyone,
I would like to know how I could analyze memory used for sorting in Oracle 11g. When I run the below query, it returns 1531381.
select value from v$sysstat where name like 'sorts (memory)';But when I check sort_area_size parameter from v$parameter, it returns 65536. Does it mean my database is using more memory for sorting than sort_area_size. Or is the way I interpret v$sysstat view and sort_area_size wrong? What is the best way to monitor the memory usage for sorting? Thanks in advance.
Regards,
K.H
Edited by: K Hein on Apr 5, 2012 8:16 PMcheck the valuse of pga_aggregate_target
http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams157.htm
Note:
Oracle does not recommend using the SORT_AREA_SIZE parameter unless the instance is configured with the shared server option. Oracle recommends that you enable automatic sizing of SQL working areas by setting PGA_AGGREGATE_TARGET instead. SORT_AREA_SIZE is retained for backward compatibility.
What is the best way to monitor the memory usage for sorting? try v$sort_usage
or v$tempseg_usage
col sid_serial for a44
col size for a22
col SID_SERIAL for a22
SELECT b.tablespace,
ROUND(((b.blocks*p.value)/1024/1024),2)||' MB' "SIZE",
a.sid||','||a.serial# SID_SERIAL,
a.username,a.osuser,
a.program
FROM sys.v_$session a,
sys.v_$sort_usage b,
sys.v_$parameter p
WHERE p.name = 'db_block_size'
AND a.saddr = b.session_addr
ORDER BY b.blocks; -
Oracle BI EE. Alternative Sorts.
Hello!
I have such problem.
I have table with fild, which called "Term".
Values:
1 day
1-3 years
1-3 months
2-7 days
3-5 years
3-6 months
6-12 months
8-30 days
I want select this values like
1 day
2-7 days
8-30 days
1-3 months
3-6 months
6-12 months
1-3 years
3-5 years
How can I do this?
Does exist in Oracle BI EE such thing like "Alternative Sorts" in Oracle Discoverer?Could you explain the context of this field please, if your values are fixed as you describe it seems unlikely you would be able to select alternative values, in OBI it is more usual to have two date dimensions, such as start date and end date, if you want to be able to select a range.
How is your fact table related to this date range?
Rgds
Ed -
Problem in applying the 6078836 OS Library Patch for Oracle HTTP Server
Hi ,
While installing Oracle ebusiness suite R12on a RHEL5 linux box (2.6.32-300.10.1.el5uek)
After running the installation, the post-installation System checks revealed that the HTTP, Virtual Directory, Login Page, Help Page & JSP services were failing. All the errors have the same error code RW-50015. ! Require Installing an OS Library patch for HTTP server according to Note ID
Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux (32-bit) [ID 402310.1]
I am unable to stop the Database after stopping the Apps tier services. while trying to login into sqlplus hitting up this Error ! Please Advise
sqlplus: error while loading shared libraries: /oracle/VIS/db/tech_st/11.1.0/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
[Oracle@OracleLinuxServer 11.1.0]$ cd
sqlplus / as sysdba
sqlplus: error while loading shared libraries: /oracle/VIS/db/tech_st/11.1.0/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
Following is the Output of some commands which may help in understanding the Issue !
*[Oracle@OracleLinuxServer ~]$ cd /oracle/VIS/db/tech_st/11.1.0*
*[Oracle@OracleLinuxServer 11.1.0]$ find / -name libclntsh\* -ls 2>/dev/null*
*142017047 13416 -rwxr-xr-x 1 applmgr oinstall 13712482 Dec 19 01:27 /oracle/VIS/apps/tech_st/10.1.3/lib/libclntsh.so.10.1*
*142016603 0 lrwxrwxrwx 1 applmgr oinstall 17 Dec 19 01:27 /oracle/VIS/apps/tech_st/10.1.3/lib/libclntsh.so -> libclntsh.so.10.1*
*142443526 13400 -rwxr-xr-x 1 applmgr oinstall 13696149 Dec 19 01:28 /oracle/VIS/apps/tech_st/10.1.2/lib/libclntsh.so.10.1*
*142443190 0 lrwxrwxrwx 1 applmgr oinstall 17 Dec 19 01:28 /oracle/VIS/apps/tech_st/10.1.2/lib/libclntsh.so -> libclntsh.so.10.1*
*89850399 36348 -rwxrwx--- 1 Oracle oinstall 37174788 Sep 12 2008 /oracle/VIS/db/tech_st/11.1.0/inventory/prereqs/bin/linux/libclntsh.so.11.1*
*89719502 0 lrwxrwxrwx 1 Oracle oinstall 17 Dec 18 23:33 /oracle/VIS/db/tech_st/11.1.0/lib/libclntsh.so -> libclntsh.so.11.1*
*89719501 36276 -rwxr-xr-x 1 Oracle oinstall 37100033 Dec 18 23:33 /oracle/VIS/db/tech_st/11.1.0/lib/libclntsh.so.11.1*
id
uid=2000(Oracle) gid=2000(oinstall) groups=2000(oinstall) context=root:system_r:unconfined_t:SystemLow-SystemHigh
*[Oracle@OracleLinuxServer 11.1.0]$ env|egrep 'ORA|PATH' | sort*
LD_LIBRARY_PATH=/oracle/VIS/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/VIS/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/VIS/db/tech_st/11.1.0/ctx/lib
LIBPATH=/oracle/VIS/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/VIS/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/VIS/db/tech_st/11.1.0/ctx/lib
ORACLE_HOME=/oracle/VIS/db/tech_st/11.1.0
ORACLE_SID=VIS
ORA_NLS10=/oracle/VIS/db/tech_st/11.1.0/nls/data/9idata
ORA_TZFILE=/oracle/VIS/db/tech_st/11.1.0/oracore/zoneinfo/timezlrg.dat
PATH=/oracle/VIS/db/tech_st/11.1.0/perl/bin:/oracle/VIS/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/oracle/VIS/db/tech_st/11.1.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/Oracle/bin:.
SHLIB_PATH=/oracle/VIS/db/tech_st/11.1.0/lib:/usr/lib:/oracle/VIS/db/tech_st/11.1.0/ctx/libAlso I 've checked the /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/ opatch_history.txt
Find that the Patch version is same for every Patch: Please suggest..... Thanks!
Following is the all contents of the file:
*[Oracle@OracleLinuxServer opatch]$ vi opatch_history.txt*
Command : apply -verbose -silent /nfs/bld/d26/PRDXBLD9/apps/apps_st/comn/autobuild/patch/patch/7639602/7639602
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-25_23-17-01PM.log
Date & Time : Wed Mar 25 23:18:41 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d22/AB/autobuild/passwd
Command : apply -verbose -silent /nfs/bld/d26/PRDXBLD9/apps/apps_st/comn/autobuild/patch/patch/7627743/7627743
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-25_23-18-41PM.log
Date & Time : Thu Mar 26 01:23:19 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
Command : lsinventory
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-26_01-23-19AM.log
Date & Time : Tue Mar 31 03:13:12 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d22/AB/autobuild/passwd
Command : lsinventory -invPtrLoc /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/oraInst.loc
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-31_03-13-12AM.log
Date & Time : Tue Mar 31 03:13:18 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d22/AB/autobuild/passwd
Command : lsinventory -invPtrLoc /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/oraInst.loc
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-31_03-13-18AM.log
Date & Time : Wed Dec 19 19:59:52 GMT+05:30 2012
Oracle Home : /oracle/VIS/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /oracle/VIS/db/tech_st/11.1.0/OPatch
Command : lsinventory
Log File : /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2012-12-19_19-59-52PM.log
Date & Time : Thu Dec 20 00:03:59 GMT+05:30 2012
Oracle Home : /oracle/VIS/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /home/Oracle/6078836
Command : apply
Log File : /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2012-12-20_00-03-59AM.log
Date & Time : Thu Dec 20 01:28:42 GMT+05:30 2012
Oracle Home : /oracle/VIS/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /home/Oracle
Command : lsinventory -detail
Log File : /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2012-12-20_01-28-42AM.log -
[oracle 10g on SDK 1.6SE] Err Msg: Exhausted Resultset
I am having problem obtaining proper Resultset from a excuteQuery() method.
i can successfully create a JDBC connection to local oracle database (on my computer) and excute a query on a table named "emp" which contains two records; however when i print out my Resultset using getInt(String coloumName), compiler error says "Exhausted Resultset".
my source code:
import java.sql.*;
import oracle.jdbc.pool.OracleDataSource;
class GetEmpDetails
public static void main(String args[])
try
// instantiate and initialize OracleDataSource
OracleDataSource ods = new OracleDataSource();
ods.setURL("jdbc:oracle:thin:usr/secret@Laptop:1521:oracle"); Connection x = ods.getConnection();
Statement stmt = x.createStatement();
ResultSet rset = stmt.executeQuery("select empno, ename, job from emp");
rset.next();
System.out.println("My ID is "+ rset.getInt("empno") );
// System.out.println("My ID is" + rset.getInt(1); returns "invalid coloum index" error
catch (SQLException e)
System.err.println ("error message: " + e.getMessage() );
e.printStackTrace();
Runtime.getRuntime().exit(1);
i am able to query my emp table under SQLPlus with the following output:
EMPNO ENAME JOB
1 Tim Student
2 Tom Student
JAVA compiler compiles upto excuteQuery("select ...") statement and at that point returns an empty Resultset objet (i think)
i copied this code from an example giving in a programming book using oracle 10g on JDK1.5SE.
can anyone make some suggestion about how to fix this error?
tingOkay a few points here to clear some things up and move you forward.
1) What you are getting are not compilation errors. They are runtime errors. You made this mistake at least twice (once in your original post and once in your follow up) and it's worth clarifying because runtime errors and compile time errors are not the same thing. And that's worth knowing if for no other reason then in future if you ask for help with "compilation" errors that are actually runtime errors you may well find that you confuse the heck out of people and can't be helped.
2) What the good doctor was pointing out is that you should not be throwing away the value of rs.next no matter if you feel the table should have records or not. Your code should look like this
if(rs.next()){
// do something
}else{
// do something else
}Because that will handle either way and your program won't come to a screeching halt because you tried to read a value that doesn't exist in the ResultSet.
So no matter how you get this resolved your code should still end up looking like the above (or similar). At any rate make use of the boolean returned from the next method.
3) On to your actual problem. Well first you need to cross off any silly mistakes that do happen from time to time. Like are you sure you are talking to the "right" database. Again this may seem silly but it does happen.
If that checks out then almost certainly yes this is some sort of Oracle permissions related issue. This seems to happen with Oracle more than other databases, I suspect because Oracle more than others associates table statistics with user permissions, but this could be totally unwarranted and simply based on my experience here which is many people having similar types of problems. The best way to resolve this is to make sure that you are logging in with the same credentials as you use in SQLPlus.
If all else fails talk to your DBA. This is an Oracle related issue of some sort but it's very difficult to diagnose specifically over the internet. -
Issue with "Select Distinct" query in Oracle 10g against Oracle 9i
Hi,
I would appreciate if some one help me here because it is really urgent.
We are upgrading our database from 9i to 10g.
There are the "Select distinct" queries in the code which populated the grid on the applications screens. We found a difference in 9i and 10g the way the result is populated for these queries. If "Select Distinct" query wihtout a order by clause is executed in 9i then the result is automatically sorted. But Oracle 10g does not do this.
We can change the queries adding order by clause but we are almost at the end of the testing and want to know if there is any way that we can do this from database settings. Would there be any impact of these settings change on overall operation of Oracle 10g?
I would appreciate if some one can help me here.
Thanks,
Dineshthen the result is automatically sorted.No. Oracle may have done a sort operation to perform the distinct, but it still did not guarantee the order of your results.
In 10g and in 9i, if you want your results in a certain order you must use order by. -
Report Problem. Sort by Date?
Hello all.
I simply need to column sort by date, the problem is that the date needs a format mask.
So I obviously do the following:
SELECT to_char(SYSDATE, 'DD/MM/YYYY') FROM dual
The problem is, it uses it as a CHAR.
If I do
SELECT to_date(to_char(SYSDATE, 'DD/MM/YYYY'),'DD/MM/YYYY') FROM dual
It removes the format mask, any ideas?
SamHi Sam,
as Mike suggested, go to the "Column Attributes" of your report column and set the property "Number / Date Format" to DD/MM/YYYY
In your SQL statement you just select the date column without any type conversion.
What does it do?
For the sorting, the Oracle database can do the sorting with the original date type. So you will get the correct ordering and after APEX has read the value it will apply the defined format mask and display it the way you like it. So APEX will do the TO_CHAR for you.
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/ -
Facing issue in Connecting to Oracle 10g database in OBIEE+
Hi All
I have done the BASIC installation of OBIEE+ on Windows [local system].
I have tested for all the services running and they are running fine.
As Oracle 10g is our databse i need to connect to the databse.
Please guide me with step by step process on how to establish the connection.
I went through the tutorail but still failed to establish the connection.
Thanks in advance,
Regards,
Veena A
Edited by: user10511722 on Dec 14, 2008 11:40 PMAs John says you need some sort of Oracle client to connect to the database.
I use instant client, with ODBC options, and SQLPlus (to test connectivity)
Available here
http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html
You will also need to copy your tnsnames.ora into the directory you install in, and set the TNS_ADMIN environment variable to point to it. -
Oracle Content DB Confiuration Assistant spawns java error
Starting CredentialManagerAction_CreateApplicationEntity_Oid
oracle.ifs.common.IfsException: IFS-21028: The current session operation was cancelled
at oracle.ifs.admin.actions.IterateSCsCredentialManagerAction.execute(IterateSCsCredentialManagerAction.java:127)
at oracle.ifs.admin.actions.BaseAppAction.perform(BaseAppAction.java:180)
at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java:303)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:229)
at java.lang.Thread.run(Thread.java:534)
recording that configuration failed
Exception traces ---->
oracle.ifs.utils.action.ActionFailedException: oracle.ifs.utils.action.ActionFailedException: oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
oracle.ifs.common.IfsException: IFS-22001: Unable to resolve sort specification
oracle.ifs.common.IfsException: IFS-10417: Unable to derive DatabaseObject name for Attribute NAME of ClassObject CLASSOBJECT
oracle.ifs.common.IfsException: IFS-12214: Unable to get item in collection by name (CLASSOBJECT)
oracle.ifs.common.IfsException: IFS-12201: Unable to resolve collection
oracle.ifs.common.IfsException: IFS-21028: The current session operation was cancelled
at oracle.ifs.admin.tools.schema.SchemaCreator.perform(SchemaCreator.java:309)
at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java:303)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:229)
at java.lang.Thread.run(Thread.java:534)
oracle.ifs.utils.action.ActionFailedException: oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
oracle.ifs.common.IfsException: IFS-22001: Unable to resolve sort specification
oracle.ifs.common.IfsException: IFS-10417: Unable to derive DatabaseObject name for Attribute NAME of ClassObject CLASSOBJECT
oracle.ifs.common.IfsException: IFS-12214: Unable to get item in collection by name (CLASSOBJECT)
oracle.ifs.common.IfsException: IFS-12201: Unable to resolve collection
oracle.ifs.common.IfsException: IFS-21028: The current session operation was cancelled
at oracle.ifs.admin.actions.IterateSCsCredentialManagerAction.execute(IterateSCsCredentialManagerAction.java:127)
at oracle.ifs.admin.actions.BaseAppAction.perform(BaseAppAction.java:180)
at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java:303)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:229)
at java.lang.Thread.run(Thread.java:534)
oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
oracle.ifs.common.IfsException: IFS-22001: Unable to resolve sort specification
oracle.ifs.common.IfsException: IFS-10417: Unable to derive DatabaseObject name for Attribute NAME of ClassObject CLASSOBJECT
oracle.ifs.common.IfsException: IFS-12214: Unable to get item in collection by name (CLASSOBJECT)
oracle.ifs.common.IfsException: IFS-12201: Unable to resolve collection
oracle.ifs.common.IfsException: IFS-21028: The current session operation was cancelled
at oracle.ifs.server.S_LibrarySession.verifyNotInterrupted(S_LibrarySession.java:18627)
at oracle.ifs.server.S_LibraryObjectSelector.selectObjects(S_LibraryObjectSelector.java:463)
at oracle.ifs.server.S_Selector.getItems(S_Selector.java:384)
at oracle.ifs.common.CachedSelectorCollection.resolveNow(CachedSelectorCollection.java:219)
at oracle.ifs.common.CachedCollection.resolve(CachedCollection.java:321)
at oracle.ifs.common.CachedCollection.getItems(CachedCollection.java:195)
at oracle.ifs.server.S_LibrarySession.getAttributeSortName(S_LibrarySession.java:11315)
at oracle.ifs.common.SortQualifier.resolve(SortQualifier.java:257)
at oracle.ifs.common.SortSpecification.resolveNow(SortSpecification.java:308)
at oracle.ifs.common.SortSpecification.resolve(SortSpecification.java:282)
at oracle.ifs.server.S_LibrarySession.<init>(S_LibrarySession.java:2731)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at oracle.ifs.server.S_LibraryService.constructSession(S_LibraryService.java:3547)
at oracle.ifs.server.S_LibraryService.connect(S_LibraryService.java:3284)
at oracle.ifs.beans.LibraryService.connect(LibraryService.java:1227)
at oracle.ifs.admin.tools.credential.CredentialManagerConfiguration.run(CredentialManagerConfiguration.java:258)
at oracle.ifs.admin.actions.IterateSCsCredentialManagerAction.execute(IterateSCsCredentialManagerAction.java:122)
at oracle.ifs.admin.actions.BaseAppAction.perform(BaseAppAction.java:180)
at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java:303)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:229)
at java.lang.Thread.run(Thread.java:534)
configuration failed on Mon Nov 13 12:58:52 MST 2006
Exiting with error code 1Hi,
Can you drop the three CONTENT schemas from the database (CONTENT, CONTENT$CM, CONTENT$ID) and re-run the installation/configuration assistant and see if the problem reappears.
By the way, what operating system / database combination are you running (for DB server)?
What operating system are you utilizing for Content DB middle tier?
Any reason spring to mind why the exception log would be showing the operation was cancelled? Was the cancel button was pressed?
thanks
Matt. -
Data Guard sort feature possibility
Dear all,
Please let me know that is it possible to have the configuration of Data Guard (not exactly) sort in Oracle 9i Rel. 2 or Oracle 10g Standard Editions?
Something like archivelog logs mode to alternate destination location and that destination has some read only or standby database where these archivelog files entertained and update the database automatically.
To my knowledge, this type of feature is called Data Gaurd and is only available in enterprise editions.
Waiting for your kind response.
Thank you.Data Guard aka Standby Database is only available to Enterprise Edition.
However, a lot of people being doing manual standby using self developed scripts.
For example
Manual Standby Database under Oracle Standard Edition -
Hi all,
This is my 1st thread in this community. Hope to get more help on learning oracle and earning cert. Please feel free to let me know if I am posting/replying inappropriatly.
I am planning to obtain OCA in the near future. I have a couple of cert. in programming and web dev. already, and that's why I chose OCA as my next "cert. to be". I have looked around in the oracle education site, and have written down the following questions:
1) Oracle cert. do not expire right?
2) I have noticed a new exam called SQL certified Expert which can act as the first exam for OCA 11g. Is that true that I will end up getting 2 cert. because I take the SQL Certified Expert Exam instead of the other Fundamental I exam?
3) I can probably practice well on my own for the first exam since most is concerned with SQL. But how do I practice hands-on with the 2nd exam? I have experience with Oracle but it is the Oracle I use at work, and of course I better not use it as a lab rat. How can someone practice on installing and config Oracle hands-on? Do books come back some sort of Oracle simulator :P or I am basically forced to take some expensive college courses?
Thanks in advance!1) Oracle cert. do not expire right?Correct.
2) I have noticed a new exam called SQL certified Expert which can act as the first exam for OCA 11g. Is that true that I will end up getting 2 cert. because I take the SQL Certified Expert Exam instead of the other Fundamental I exam?Correct, provided you write (1Z0-047, Oracle Database SQL Expert) exam.
Oracle PL/SQL and Oracle Forms Developer
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=155
Oracle Database: SQL Certified Expert
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=189
3) I can probably practice well on my own for the first exam since most is concerned with SQL. But how do I practice hands-on with the 2nd exam? I have experience with Oracle but it is the Oracle I use at work, and of course I better not use it as a lab rat. How can someone practice on installing and config Oracle hands-on? Do books come back some sort of Oracle simulator :P or I am basically forced to take some expensive college courses?Please refer to [Answers to Frequently Asked Questions on this Forum |http://forums.oracle.com/forums/ann.jspa?annID=794], 7) Where do I get information, tests, books, brain dumps, and so on. -
Setting order of sorting through JDBC
Hi there, could somebody please advice - we need to change order of sorting in Oracle 10g. We are using JDBC to connect to a database, and it is possible to have different language in the database rather than on the client computer. We found setting environment variable for language (for Unix - 'LANG') solves the problem, but we can't set this variable within our Java application, so we need some way to sspecify order of sorting through JDBC driver or soemthing like that.
We tried to create proxy JDBC driver and invoke "ALTER SESSION" after connection established, but that doesn't work for us.
Thanks in advance.set NLS_LANG and NLS_SORT on the clientSorry, you mean do something from outside Java application? The thing we are not allowed to set some environment variables or do something else, we can only do something with JDBC driver I guess, or probably something from our Java application.
Maybe you are looking for
-
XML tags in an "export : XML" Report Template
Hi All, I'm using the export XML report template to produce XML from a query. One of the column contains XML tags and the template is translating eg: if the column is "Groups" then I get: <Groups>& lt ;Group& gt ;Sales & lt ;/Group & gt ; & lt ;Group
-
Program can't start because CoreFoundation.dllis missing fromyour computer.
I downloaded "Alice in Wonderland from I Tunes and paid for it. I could not see it because the movie and sound were erratic and out of sync. The message on my Windows 7 PC says that "AppleSyncNotifier.exe. System Error" "the program can't start becau
-
How can I add a description to a photo so it will be emailed with the photo?
How can I add a description to a photo that I am going to email so it will be emailed with the photo? For that matter how can I add a description to a photo that will stay with (or on?) the photo?
-
Account Determination in CASH SALES.
Hi All, A) I have configured cash sales scenario, but I am not able to post the cash received to FI. Are their any different settings for cash sales account determination compared to regular sale sceanrio. B) Do we need different pricing procedure
-
HI, experts !! I have imported XML ("c:\xml_source.xml") as the data source. however, I found some data are wrong in the xml_source.xml file. then I edited the xml directly. But I found that the data keeps previous values on the dashboard. then I cre