Sorting issue after upgrade from 9i to 10g
Dear all,
It is found that the sorting behavior is different after upgrade from 9i to 10g.
In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
Thanks for your help,
M.T.
903714 wrote:
Dear all,
It is found that the sorting behavior is different after upgrade from 9i to 10g.
In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
Thanks for your help,
M.T. This is expected behavior in 10g. Oracle will not order the dataset for you unless and until you explicitly specify it.
So without using order by clause in 10g, oracle doesn't guarantee that rows will be ordered.
To go back to old behavior like 9i, you can set a workaround by
alter session set "_newsort_enabled"=false;
Also see MOS - Order Of Data Retrieval Differs after upgrading 9i To 10g [ID 456707.1]
Similar Messages
-
Performance issue after Upgrade from 4.7 to ECC 6.0 with a select query
Hi All,
There is a Performance issue after Upgrade from 4.7 to ECC 6.0 with a select query in a report painter.
This query is working fine when executed in 4.7 system where as it is running for more time in ECC6.0.
Select query is on the table COSP.
SELECT (FIELD_LIST)
INTO CORRESPONDING FIELDS OF TABLE I_COSP PACKAGE SIZE 1000
FROM COSP CLIENT SPECIFIED
WHERE GJAHR IN SELR_GJAHR
AND KSTAR IN SELR_KSTAR
AND LEDNR EQ '00'
AND OBJNR IN SELR_OBJNR
AND PERBL IN SELR_PERBL
AND VERSN IN SELR_VERSN
AND WRTTP IN SELR_WRTTP
AND MANDT IN MANDTTAB
GROUP BY (GROUP_LIST).
LOOP AT I_COSP .
COSP = I_COSP .
PERFORM PCOSP USING I_COSP-_COUNTER.
CLEAR: $RWTAB, COSP .
CLEAR CCR1S .
ENDLOOP.
ENDSELECT.
I have checked with the table indexes, they were same as in 4.7 system.
What can be the reson for the difference in execution time. How can this be reduced without adjusting the select query.
Thanks in advance for the responses.
Regards,
Dedeepya.Hi,
ohhhhh....... lots of problems in select query......this is not the way you should write it.
Some generic comments:
1. never use SELECT
endselect.
SELECT
into table
for all entries in table
where.
use perform statment after this selection.
2. Do not use into corresponding fields. use exact structure type.
3. use proper sequence of fields in the where condition so that it helps table go according to indexes.
e.g in your case
sequence should be
LEDNR
OBJNR
GJAHR
WRTTP
VERSN
KSTAR
HRKFT
VRGNG
VBUND
PARGB
BEKNZ
TWAER
PERBL
sequence should be same as defined in table.
Always keep select query as simple as possible and perform all other calculations etc. afterwords.
I hope it helps.
Regards,
Pranaya -
Stability issues after upgrade from 5 to 6.1?
Dear all,
my client plans to upgrade from WLS 5 to 6.1 soon. The application is
an intranet portal with Epicentric and Vignette used as additional
products.
However, some voices say that 6.1 has stability issues. Well, these
statements are rumours and lack any proof or even anecdotal evidence I
have heard of, and therefore it is very difficult to respond
appropriately.
Having said this, my questions are:
- Did any of you have stability issues after upgrading from 5 to 6.1
on Solaris?
- If yes, what were they and how did you solve them (e.g. upgrade to
SP 5)?
- In 1-2 sentences, what is the context of the application?
My goal is to present a evidence that the romoured stability issues
don't exist or/and a list of meastures to avoid/solve them, if any.
Many thanks in advance
Andreas"Andreas Raab" <[email protected]> wrote in message news:[email protected]..
my client plans to upgrade from WLS 5 to 6.1 soon. The application is
an intranet portal with Epicentric and Vignette used as additional
products.
However, some voices say that 6.1 has stability issues. Well, these
statements are rumours and lack any proof or even anecdotal evidence I
have heard of, and therefore it is very difficult to respond
appropriately.
Having said this, my questions are:
- Did any of you have stability issues after upgrading from 5 to 6.1
on Solaris?
- If yes, what were they and how did you solve them (e.g. upgrade to
SP 5)?
- In 1-2 sentences, what is the context of the application?
My goal is to present a evidence that the romoured stability issues
don't exist or/and a list of meastures to avoid/solve them, if any.Hi Andreas,
Normally proving that rumors are true is a responcibility of
rumors suppliers. Reverse does sound to me like a joke.
Regards,
Slava Imeshev
P.S. Current weblogic 6.1 is a stable product. -
The optimizer changed after upgrade from 8i to 10g
I have upgraded my Oracle database from 8i (8.1.7.3) to 10g (10.2.0.3). After upgraded, there's some SQLs are with performance issue that the response time is very slow. The SQL can run very fast (around 1 seconde) in the pre-upgrade environment. Also, after generating the execution plan, there's different from the original enivronment (8i) which the query using some full table scan instead of index scan originally used in 8i.
The optimizer_mode of 8i is RULE and it's CHOOSE when upgraded.
My questions are:
1. Do I have any init.ora parameters setting in 10g environment which differ from 8i?
2. What method of analyzing tables is appropriate to use in 10g? Will this affect the performance like my case?
Thanks,
WaiPlease have a look to following threads:
Re: Optimizer Statistics collection after upgrade from 8i to 10R2
Re: DB upgrade from oracle 8.1.7 to oracle 10.2.0.2 -
Good Morning Good People,
I have run in to some issues after upgrading my 10.1.0.5 database to 10.2.0.5. Initially after the firtst upgrade from 10.1.0.5 to 10.2.0.0 one has to run Critical Patch set 4 to get to 10.2.0.5. Well after initial up grade everything worked fine. I could connect to the database from within the server as well as remotely through SQL*PLUS client. However, after completeing the patch I'm still able to connect to the database from within the server, but remotely i get the following error:
ORA-12514 : TNS Listener does not currently know of service requested in connect descriptor.
I also get Error ORA-12505: TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: (description=(address=(host=mcquery2)(protocol=tcp)(port=1521))(connect_data=(sid=mcquery)(server=dedicated)))
I've tried serval different things to trouble shoot the issue but nothing seems to work.
If anyone has run into s similar issue please help. This is ruining my weekend! LOL!
Edited by: user10835577 on Aug 29, 2010 9:15 AMFrom the client or the server?
SERVER:
tnsnames.ora:
MCQUERY=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.36.27.184)
(PORT=1521)
(CONNECT_DATA=
(SERVICE_NAME=MCQUERY)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.1.0\Db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.36.27.184)(PORT = 1521))
FROM REMOTE SQLPLUS Client:
tnsnames.ora
MCQUERY=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.36.27.184)
(PORT=1521)
(CONNECT_DATA=
(SERVICE_NAME=MCQUERY)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.1.0\Client_3)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cotsdot370.cotsdot.dom)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.36.27.184)(PORT = 1521))
Thanks,
Malcolm
Edited by: user10835577 on Aug 29, 2010 12:01 PM -
Tag not being created after upgrade from 9i to 10g
We're upgrading from 9i to 10g - about time - and we've hit some "unexpected behaviour".
If I run
SELECT xmlelement("TestMsg",
XMLFOREST(m.tx_id "MsgNum",
m.tx_type "MsgTyp"
) MESSAGE -- this is the alias for the XMLFOREST item
) ut_xml
FROM (select 1 tx_id, 'test' tx_type from dual) mon my 9.2.0.4 database I get
<TestMsg>
<MESSAGE>
<MsgNum>1</MsgNum>
<MsgTyp>test</MsgTyp>
</MESSAGE>
</TestMsg>- an extra tag is created based on the alias of the XMLFOREST item.
on my 10.2.0.4 database I get
<TestMsg>
<MsgNum>1</MsgNum>
<MsgTyp>test</MsgTyp>
</TestMsg>no MESSAGE tag.
Some of the XML parsing we have is taking account of this MESSAGE tag and hence is now breaking.
I guess my question is whether we've messed up the install of XMLDB or whether the 9i behaviour was incorrect and we should amend the parsing to the 10g behaviour.Behavior change...?
SELECT xmlelement("TestMsg",
xmlelement("MESSAGE",
XMLFOREST(m.tx_id "MsgNum",
m.tx_type "MsgTyp"
)) ut_xml
FROM (select 1 tx_id, 'test' tx_type from dual) m
will give output in 10.2.0.4.0 EE
UT_XML
<TestMsg>
<MESSAGE>
<MsgNum>1</MsgNum>
<MsgTyp>test</MsgTyp>
</MESSAGE>
</TestMsg>Edited by: Marco Gralike on Mar 29, 2011 1:07 PM -
SQLException:Connection timed out- after upgrading from oracle9i to 10g
Hi,
Recently we upgraded from oracle 9i to 10g.
We are using Oracle JDBC Driver version - 10.1.0.5.0 .
In the application, when RMI server starts, the connectionpool (developed using stack) will be filled with 10 instances of fresh connections.
After keeping the RMI server idle for some time ( >24 hours ) , the first transaction sent to the Database (using the connection instance popped out from stack(connectionpool) ) terminates with following exception and from the second transaction onwards everything works normally.
Exception------
java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
at util.DatabaseManager.fetchData(DatabaseManager.java:255)
at util.TextRequestImpl.presentText(TextRequestImpl.java:105)
at util.TextRequestServer.presentText(TextRequestServer.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
at util.DatabaseManager.fetchData(DatabaseManager.java:255)
... 13 more
If am connecting to oracle9i(with Oracle JDBC Driver version - 9.0.2.0.0) ,everything works fine.
Can anyone help me out to solve this issue?I attempted several upgrades and we decided it was better to implement the content under 10g fresh rather than attempt an upgrade.
After 3-5 attempts through patching non of them provided us with re-produceable steps and we had different errors each time - mind you this was a few months back after initial release of upgrade patches. -
Stability issues after upgrading from OS 10.2.6 to OS 10.2.8
Hey to all the Mac experts,
I'm new to the Macs. I recently purchased a 2nd hand Power Mac G3 Beige Desktop for really cheap to learn and get a better understanding of Macs. It currently has 256 mb ram, G3 300 mhz cpu, 10 gig WD HD, 4.7 gig Mac DVD drive, 10 mb NIC, floppy, original mouse and keyboard, an USB add-on card, and video port adapter to use with SVGA monitors. It came with Mac OS 10.2 Jaguar loaded on and cd's. From the info, this older unit can't support or run 10.3 or 10.4. So, I'm fine with 10.2.
My main concern is issues when I use the Software update feature and upgraded from 10.2.6 to 10.2.8. This MAC should run 10.2.8 according to the specs. After the update and restart, I sometimes get a blank screen, or can't move the mouse, lockups and random keyboard issues. I ended up reinstalling from scratch with just cds. I didn't load any 3rd party software. I reran the software update feature again. Same thing as before. After erasing and reloading a 2nd time. I only did the updates for everything but up to 10.2.8. I searched the apple site and downloaded the updates from 10.2.0 to 10.2.6. So, no problem with that. The only 3rd party software currently installed is Firefox 1.5 and adobe reader 6.01 plus all software updates for Quicktime, Safari, etc.
Now my question is, what is the reason why it can't properly run version 10.2.8? Is there a workaround or solution to this problem? I know I could get by with 10.2.6, but what's the point when it should load and run 10.2.8 according to the specs here?
http://docs.info.apple.com/article.html?artnum=43124
Thanks in advance for any info.
PS> I read about sometimes Macs need a firmware update to properly run Mac OS 10. So, this is the only firmware I found for this MAC and it turns out I don't need it.
http://docs.info.apple.com/article.html?artnum=25176
Mac G3 Beige Desktop Mac OS X (10.2.x) 256 mb ram, 10 gig hd, 300 mhzHi macsoprano,
Hello
First of all, welcome to the Apple discussions.
I don't think that this is a Firmware issue.
Download the combo updater via this link: Combo Updater
Don't forget repair permissions before and after the update
Disk Repair Permissions
* Good luck ...
Dimaxum -
Frequent Rebuild Requires After Upgrade from 9i to 10g
Hi Friends,
Recently we have upgraded our production database from 9i to 10g and after that the performance of certain queries degraded drastically. when we did a workaround of rebuilding the table and associated indexes for these queries, it performs as fast as 9i.
Can anybody clarify why the same query which was working very fine without rebuild in 9i requires a rebuild in 10g?
Please note that the tables involved in this query are very huge and a frequent rebuild is not a permanent solution for us :-)
Regards,
SavadPl identify which "10g" - there are two flavors. Pl also see these MOS Docs
10g Upgrade Companion (Doc ID 466181.1)
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=466181.1&h=Y
TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER (Doc ID 562899.1)
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=562899.1&h=Y
PERFORMANCE TUNING USING 10g ADVISORS AND MANAGEABILITY FEATURES (Doc ID 276103.1)
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=276103.1&h=Y
HTH
Srini -
What next after upgrade from 9i to 10g
Hi I have successfuly upgraded my test db from 9i to 10g. what next now.
how do i go about uninstalling 9i binaries???
khuranaKhurana wrote:
Hi Satish
OS ie OEL 4 and i manually upgraded my db on 9i to 10g.Just get rid of the 9i home (assuming you don't have anything running from that home) and clean up the entries in oratab that refer to the 9i home.
On a side note, you might want to make a backup before you delete old 9i home.
Refer this link for more information.
http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php#UNIX -
Printing issue after upgrade from 11.5.10.2 to 12.1.3
Hi
I am trying to print the seed reports after upgrade. Text format reports are printing well, the problem is with the XML and RTF format reports, not yet tested the PDF format.
Thanks
ReddyHi Hussein,
Application release : 12.1.3
Database Version : 11.2.0.2
OS Version : RHEL 5.5
The problem with the seeded reports only, not yet started testing the custom reports, for the XML/RTF its printing, but the output has lot of junk. If I view the output in the Concurrent request, it looks nice. When I view the file from $APPLCSF/$APPLOUT it has lots of junk, the same way it is printing.
Thanks
Reddy -
User Exit issue after upgrade from 4.6c to ECC 6.0
Hi Experts,
After upgrade we are facing some issues regarding user exit. In 4.6c we have implemented several user exit to do customization in several module like SD,FI and HR. But after upgrade it has been identified that SAP has already provided this functionality in ECC 6.0. Now our problem is when this transactions are called or executed control is going to both custom and standard code. Which took long time to execute and causing performance issue.
Is there any ways to identify which are the functionality SAP has provided in ECC 6.0 so that we can delete our custom user exits.Hi
List all the user exits which you have modified and check in OSS notes you will get the OSS note with all the details what functionality has been changed. Based on this you can delete or retain the user exits which ever you want.
Regards,
JB -
POE Issues After Upgrade from 7.0.240 to 7.6.100
We have a 5508 that has just been upgraded from 7.0.240 to 7.6.100 with many 1142's, 3502's, etc. Our wired network is HP 5406zl's POE on every port and plenty of power available for POE.
As soon as we upgraded our 1142's to 7.6.100 we started getting poe faults on several switchports. The trap indicates an over-current error and the AP will not power up. I can move that same AP to another switch port and some times that will work. If I reboot the switch the faults may clear on those ports, but will reappear on other ports. It is not always the same APs, and not always the same switch ports.
I have tried downgrading back to 7.0 and the errors clear. Obviously I want to be running the newer code for the bug fixes and features. TAC has not given this case any time yet.
The switches report more than enough power being available still on the ports. I can see the ports try to come up, and most of the times the AP will start to power up and come up at 8 watts as it boots, and as soon as the AP is ready to go and starts powering the radios it enters the fault state.
The APs all run in local mode, and I have tried enabling "Pre-standard 802.3af switches. "
Does anyone have any ideas? Something must have changed in the way power is drawn or negotiated.HI Glenn,
Go for 7.4.121.0 (7.4MR2) version & see if this issue is there ? If not then it may be a bug/issue specific to this latest code. Here is the release notes for this code
http://www.cisco.com/en/US/docs/wireless/controller/release/notes/crn74mr02.html
Also makesure your WLC FUS also upgraded to 1.7.0.0. See below & keep note this will take 30-40min downtime to your wireless.
http://www.cisco.com/en/US/docs/wireless/controller/release/notes/fus_rn_1_7_0_0.html
The version I have given is the one most people including TAC would recommend
HTH
Rasika
**** Pls rate all useful responses **** -
Major issues after upgrading from XP to Vista on Qosmio F20
I have recently upgraded from XP to Vista on my Qosmio F20 and have issues. It appears I have lost the ability to change screen resolutions, adjust the volume , brightness etc. Basically I have lost the functions of the laptop. I have also tried updating the BIOS but get the following error message "BiOS updated is not supported OS - Unsupported OS or service pack installed.
This is also making the machine very slow.Do you have some questions now, or you wrote just a report about your Vista experience on Qosmio F20?
The fact is that Toshiba does not support Vista on this notebook model and because of that you will never have full operating Vista (including Toshiba tools and utilities). For supported notebooks Toshiba has offered special Vista supporting BIOS but for your notebook such BIOS update does not exist.
Sorry! :( -
Bluetooth issue after upgrading from windows 8.1 to windows 10
i upgraded from windows 8.1 to windows 10 , The experience was really nice and windows 10 work beautifully of my system. But the only thing is i am not able to find Bluetooth in my system. May be some driver issue. I have troubleshooted many times but the problem as not been solved . So any one can please help me on this.
On Sun, 1 Feb 2015 10:34:40 +0000, Field Commander A9 wrote:
In-place upgrading from Windows 8.1 to Windows 10 will cause all desktop internet browsers to be unable to open any non-local web pages. You'll have to use netsh to reset the winsock stack to fix this.
Not necessarily. I've upgraded several systems here, ranging from tablets
to laptops to virtual machines with a combination of IE, Chrome, and
FireFox and I've not experienced this on a single system. Also, your post
is the first time I've seen this issue reported in the forums.
Paul Adare - FIM CM MVP
The problem with the gene pool is that there is no lifeguard. -- BSD
fortune
Nah, the problem is that it doesn't have enough chlorine. -- Lionel in ASR
It also lacks an undertow for the weak ones. -- Joe Creighton in ASR
Maybe you are looking for
-
Using both MDP adapter with DVI to HDMI adapter supplied by Apple
I may be missing something here but I want to be able to use both the above adapters in order to run two DVI screens on my late 2012 Mini. Because of the shape of the HDMI-DVI adapter supplier by Apple being too wide, the MDP adapter will not physica
-
My ipod was acting up, it wouldnt sync any new songs purchased after i updated my itunes. So i thought okay i will restore it, and sync everything back, so i restored it and now it tries until a message saying 'The ipod 'IPOD' could not be restored.
-
How do I open a new tab to a blank page, instead of home page?
Currently when I open a new tab, it opens to my home page. I would like a new tab to open to a blank page instead, is there any way to have this happen? I am currently running beta version of Firefox 18.0 on Windows 7
-
Photo Booth and a few Browsers wont open
A few days ago i changed my home screen,I moved everything from the Old Home to the new, Then Logged out of the Old and Into the New and deleted the Old. Then I had to repair permissions and then go to Get Info and Unlock permissions on almost every
-
Phone locks automatically - how can I stop that?
I just gave my blackberry a password. Now it locks automatically if I don't use it for a certain amount of time. How can I change the settings so it doesn't lock automatically? I've gone through the manual a few times and I don't see anything in the