Upgrade from 11.2.0.1 to 11.2.0.2 issues
Hello folks, I wonder if anyone can help me, this is driving me up the wall.
I've recently upgraded my database from 11.2.0.1 to 11.2.0.2 on a test database on Linux, using the DBUA.
I then tested the rollback by running the $ORACLE_SID_restore.sh script created during the initial upgrade process.
This seemed to go ok. Then I started noticing that when I logged in as sysdba it would tell me I was connected to an idle instance:
oracle@stage-ora1b:/home/oracle> sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 21 08:23:55 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> select status from v$instance;
select status from v$instance
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0However, I could see that the oracle instance was running:
oracle@stage-ora1b:/home/oracle> ps -ef | grep smon
oracle 31890 1 0 05:00 ? 00:00:00 ora_smon_bvcloneand that when specifying the database name, everything appears to work.
oracle@stage-ora1b:/home/oracle> sqlplus ray@bvclone
SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 21 08:24:16 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - ProductionI've verified that I've got the right version of Oracle:
oracle@stage-ora1b:/home/oracle> env | grep ORA
ORACLE_SID=bvclone
ORACLE_BASE=/u01/app/database
ORACLE_HOSTNAME=stage-ora1b
ORACLE_HOME=/u01/app/database/product/11.2.0/db1
oracle@stage-ora1b:/home/oracle> which oracle
/u01/app/database/product/11.2.0/db1/bin/oracleHave I missed something obvious here? I don't see how I can't go in as sysdba, yet a named user can.
Any thoughts are much appreciated.
Thanks,
Ray
Hello Sybrand - thanks for the reply.
I think I may have solved the problem. After seeing the 'connected to an idle instance' message, I tried startup (something I should have done sooner!).
This gave me an ORA-01102 Cannot mount database in Exclusive mode error. Looking into it, I found this thread:
http://www.orafaq.com/forum/t/40030/0/
after which, I discovered that there were two lk[$ORACLE_SID] files, one in each of the ORACLE_HOME/dbs directories (pre and post upgrade folders).
So, I:
1. removed the lk[ORACLE_SID] file from the 11.2.0.2 folder (i.e. the version of Oracle I was downgrading).
2. Did a ps -ef | grep smon, and found 2 instances of the same db running.
3. Killed all db processes: kill -9 <pid>.
4. Restarted the database.
So far this seems to have worked. I'll close this thread tomorrow if the issue doesn't reappear, as this error took a little while to manifest itself.
Thanks,
Ray
Similar Messages
-
OIM Upgrade from 9.1.0.1 to 9.1.0.2 - issue
I performed upgrade from 9.1.0.1 to 9.1.0.2. All diagnostic dashboard tests are passed with exception of two tests.
The following checks failed (diagnostic dashboard):
1. Oracle Identity Manager Libraries and Extensions Version report
java.lang.NullPointerException
at com.thortech.xl.systemverification.tests.ReportAppLibrariesExtensionsVersion.addLibraries
2. Oracle Identity Manager Libraries and Extensions Manifest Report
java.lang.NullPointerException
at com.thortech.xl.systemverification.tests.ReportAppLibrariesExtensionsManifest.addLibraries
Questions:
1. Documentation states that you have to copy files from PATCH/xelerate/lib to OIM_HOME/xelerate/lib. Does this mean that I have to remove the files from OIM_HOME/xellerate/lib and then to copy them from PATCH/xellerate/lib or just copy (overwrite)? Or the effect is the same either way?
It looks like there is a problem with libraries
2. I noticed that product version is 9.1.0.1860.16
Build 1860.16
I would expect it to be 9.1.0.2. Please confirm.
3. Oracle Identity Manager with OC4J - Best Practices article on metalink suggests the following patches for OAS:
If 10.1.3.3 is used
Patch number 6685235
Patch number 5389650
Patch number 6454278
Patch number 6880142
Patch number 6808170
I have not applied 5 additional patches for OAS. Could these errors be related to missing patches?
Your feedback is very important. Thank you for your time
Edited by: user13295875 on Jun 29, 2010 8:41 AMDid you still get the same product version after resolving your issue?
-
ODI upgrade from 10.1.3.5 to 11.1.1.7 Issue
Hi guys,
My first attempt to upgrade from ODI 10.1.3.5 fails, so I drop users that I clone and recover. But my second attempt it is failing with the following error:
0000JxxDbgPDc_RMuY6EUH1HmVgL000004,0] Target Work Repository ODIWORK upgrade is started.
[2013-06-25T16:23:07.011-05:00] [ODI] [ERROR] [UPGCMP-00332] [upgrade.ODI] [tid: 13] [ecid: 0000JxxDbgPDc_RMuY6EUH1HmVgL000004,0] Work Repository has invalid state.
[2013-06-25T16:23:07.011-05:00] [ODI] [ERROR] [] [upgrade.ODI] [tid: 13] [ecid: 0000JxxDbgPDc_RMuY6EUH1HmVgL000004,0] Cause: Previous upgrade of Work Repository was unsuccessful. Action: Restore Work Repository from Backup and try to upgrade again.
[2013-06-25T16:23:07.011-05:00] [eclipse] [NOTIFICATION:16] [] [org.eclipse.persistence.default.connection] [tid: 13] [ecid: 0000JxxDbgPDc_RMuY6EUH1HmVgL000004,0] disconnect
[2013-06-25T16:23:07.011-05:00] [eclipse] [NOTIFICATION] [] [org.eclipse.persistence.default] [tid: 13] [ecid: 0000JxxDbgPDc_RMuY6EUH1HmVgL000004,0] master-session logout successful
So please, any help will be appreciated.duplicate of Issue at upgrade 10g to 11.1.1.7
-
Upgrading from OS 10.4.11 to Snow Leopard
Hello, I've heard mixed reviews from people at the Apple store to people on the street whether it's possible to upgrade directly from 10.4.11 to Snow Leopard. Below are my specs, and I'd love to hear a second opinion from someone!
Model Name: Mac Pro
Model Identifier: MacPro1,1
Processor Name: Dual-Core Intel Xeon
Processor Speed: 3 GHz
Number Of Processors: 2
Total Number Of Cores: 4
L2 Cache (per processor): 4 MB
Memory: 2 GB
Bus Speed: 1.33 GHz
Boot ROM Version: MP11.005C.B08
SMC Version: 1.7f10You should be able to upgrade the OS X to Snow Leopard with the less costly upgrade DVD
from Apple; that won't give you the newer iLife, or iWorks, but it would be a full install disc.
The computer should see an upgrade in RAM, too; 2GB probably is minimal, and this can be
a concern if you also have a jam-packed hard disk drive and no working free space for the
system or applications to use the OS X's automatic Virtual Memory, based on available space.
An upgrade from Tiger 10.4.11 to Snow Leopard will invite issues and problems from third-party
applications not written to run in the later OS X version; you may have to buy/upgrade them, too.
• Mac OS X 10.6 Snow Leopard compatibility table = +Which apps work with Mac OS X 10.6?+
http://snowleopard.wikidot.com/
similar forum inquiry/reply:
http://discussions.apple.com/message.jspa?messageID=13223595#13223595
Anyway, the upgrade by itself on a new or 'secure erased' HDD may work just fine.
The hardware upgrade suggested (RAM, larger hard disk drive) would help. Also,
if there are any pending Firmware updates available, be sure to install them, too.
Good luck & happy computing! -
Failed to upgrade from ERP 6.0 EHP4 to EHP5
Dear SAP Gurus,
we are running ERP 6.00 with EHP4 (HCM-component) based on Windows 2003
SP2 X64 and SQL Server 2005 SP4 (64-bit).
We are using SAP Kernel Unicode 7.01 PL 133 (64-bit).
We intend to upgrade from EHP4 to EHP5.
Upon running SAPehpi, we encountered issue which stopped us from
proceeding with the upgrade.
Case 1: Direct upgrade to 605
The upgrade failed on PREP_INPUT/VERSCHK_INI with error message: The
following combination is not supported (SAP_APPL 600, SAP_BASIS 701,
SAP_ABA 701).
Case 2: Upgrade SAP_APPL component from 600 to 604 (due to the above
error message)
The upgrade failed on PREP_INPUT/VERSCHK_INI with error message:
Release '701' of component SAP_BASIS is too new.
Case 3: upgrade via SAINT is not supported by SAP. When uploading the
Stack XML file, we got error saying that the stack is not supported.
Attached is the complete list of the current SP Level of Installed
components.
Please advise on how we can perform the upgrade to EHP5.
Many thanks in advance.
regards,
DennyThe thing is Solution Manager was able to produce the XML file during the previous upgrade to 604 (the one without SAP_APPL 604).
So how can it not be supported by SAP?
If it is not supported by SAP, how can I proceed from here?
Component Software C SP-Level Support Package Short description of the component
SAP_ABA 701 0007 SAPKA70107 Cross-Application Component
SAP_BASIS 701 0007 SAPKB70107 SAP Basis Component
PI_BASIS 701 0007 SAPK-70107INPIBASIS Basis Plug-In
ST-PI 2008_1_700 0003 SAPKITLRD3 SAP Solution Tools Plug-In
SAP_BS_FND 701 0008 SAPK-70108INSAPBSFND SAP Business Suite Foundation
SAP_BW 701 0007 SAPKW70107 SAP Business Warehouse
SAP_AP 700 0021 SAPKNA7021 SAP Application Platform
WEBCUIF 700 0008 SAPK-70008INWEBCUIF SAP WEBCUIF 700
SAP_APPL 600 0018 SAPKH60018 Logistics and Accounting
SAP_HR 604 0035 SAPKE60435 Human Resources
EA-IPPE 400 0018 SAPKGPID18 SAP iPPE
EA-APPL 600 0018 SAPKGPAD18 SAP Enterprise Extension PLM, SCM, Financials
EA-DFPS 600 0018 SAPKGPDD18 SAP Enterprise Extension Defense Forces & Public Security
EA-FINSERV 600 0018 SAPKGPFD18 SAP Enterprise Extension Financial Services
EA-GLTRADE 600 0018 SAPKGPGD18 SAP Enterprise Extension Global Trade
EA-HR 604 0035 SAPK-60435INEAHR SAP Enterprise Extension HR
EA-PS 600 0018 SAPKGPPD18 SAP Enterprise Extension Public Services
EA-RETAIL 600 0018 SAPKGPRD18 SAP Enterprise Extension Retail
FINBASIS 600 0018 SAPK-60018INFINBASIS Fin. Basis
ECC-DIMP 600 0018 SAPK-60018INECCDIMP DIMP
ERECRUIT 600 0018 SAPK-60018INERECRUIT E-Recruiting
FI-CA 600 0018 SAPK-60018INFICA FI-CA
FI-CAX 600 0018 SAPK-60018INFICAX FI-CA Extended
INSURANCE 600 0018 SAPK-60018ININSURANC SAP Insurance
IS-CWM 600 0018 SAPK-60018INISCWM Industry Solution Catch Weight Management
IS-H 600 0023 SAPK-60023INISH SAP Healthcare
IS-M 600 0018 SAPK-60018INISM SAP MEDIA
IS-OIL 600 0018 SAPK-60018INISOIL IS-OIL
IS-PS-CA 600 0018 SAPK-60018INISPSCA IS-PUBLIC SECTOR CONTRACT ACCOUNTING
IS-UT 600 0018 SAPK-60018INISUT SAP Utilities/Telecommunication
LSOFE 600 0018 SAPK-60018INLSOFE SAP Learning Solution Front-End
SEM-BW 600 0018 SAPKGS6018 SEM-BW: Strategic Enterprise Management
ST-A/PI 01M_ECC600 0001 SAPKITAR7F Application Servicetools for ECC 600-605
VIRSAHR 530_700 0012 SAPK-53312INVIRSAHR SAP GRC Access Controls 5.3 for 700 HR S
VIRSANH 530_700 0014 SAPK-53314INVIRSANH SAP GRC Access Controls 5.3 for 700 HR a -
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! :( -
I recently upgraded from 3Gs to Iphone4 and want to use my old 3Gs as an ipod. how can i update
the user ID on the 3gs to a new one that I have as it is still showing a previous user ID?Settings>Store...tap the ID shown...sign out...sign back in with the ID you want to use.
-
Is it really possible to upgrade from a Treo 650 to a Treo 750?
I am not a very happy customer at the moment, but any help would be greatly appreciated. I upgraded from my old Palm Tungsten to a Zire, then to a Cingular Treo 650, combining three devices into one. I have since discovered that the Treo 650 seems to have a faulty transmission mode, as I can rarely be clearly understood by whomever I call. Am on the second (or third, I have lost track) and continue to have the same problem. I get five bars of reception but can't be understood on the other end. A bit of a problem when one is trying to call 911. Am constantly told I am "breaking up". The repair shop says it "Can't duplicate the problem". OK, then I do not want to give up all the info I have stored in the fool thing, and the 750 seems to have a different system, so I thought I would try that. All the stuff I could find seemed to indicate it wouldn't be a problem to upgrade. When the 750 arrived, I tried to install the software from the CD on my Windows XP computer. No dice. Setup encounters an error and closes. Can't even look at the files, because setup tries to run any time I access the CD. From any drive. Gave it to my girlfiend to check on her computer, and the CD seemed to run fine. Other CDs work just fine on my computer. Must be some kind of conflict, but what? Tried calling the AT&T number that suggested they could help with setup, and was first connected to the business center, they routed me to the laptop center, who routed me to the network center, who said they would have to bring in the Palm customer service and connected me to a Mac guy that dumped me back to a menu that took me to someone for whom English is a second language with whom I was trying to communicate over a very poor satellite connection. They made no sense anyway. telling me first that I couldn't have two desktops running (wrong, my girlfriend has my old Zire and the CD worked fine) and then insisting that the serial number on my device had to start with a P, when it clearly does not have any alpha characters in it. Gave up on that route of assistance. Managed to get the new ActiveSync installed from my girlfriends computer over the network. Great. Now let's get my 650 synced with Outlook (which I have not used at home) and see if we can move on. Nope. First I have to update Outlook 2000 from the old Win98 to my current XP. Find the old CD, and square that away. OK, now sync to Outlook. Nope. The sync program gives an error, saying it will only sync with Outlook 98, 2000, and XP(2002). Good grief. I have Outlook 2000, and the software apparently does not recognize it. If the Palm doesn't work, there is no reason for me to keep this phone, and I am very close to returning it and abandoning the Palm entirely when I upgrade to something that works, although I dread re-entering all that information.
Post relates to: Treo 750 (AT&T)
This question was solved.
View Solution.Thanks for the feedback. Today I installed an Enterprise version of Office 2007 I purchased a while back, but had not yet installed. Microsoft presented a few challenges, but they were quickly resolved. I then downloaded the appropriate conduit from Palm, and synced the 650 with the handheld overwriting the computer. Then used Active Destop to sync the 750. Satisfied I had moved as much info as possible, I called AT&T and had them move the phone number to the new Treo.
Bonus! When the guy at AT&T called me on the new phone to verify it, he said it sounded better than my landline.
Sorry for the streaming paragraph. When it is late I tend to write like I think.
Dave
Post relates to: Treo 750 (AT&T) -
I upgraded from iPhone 3GS to iPhone 6. Everything converted fine. Yesterday I deleted an app in error. When I downloaded the software it from iTunes ( did this many times on the old 3GS), my account is no longer recognized by the app's host servers (Playtika), even though it did after the initial conversion. Can I go back and re-sync just one app from my old phone?
Try deleting what is called the iPod Photo Cache.
http://support.apple.com/kb/TS1314 -
I Have downloaded the upgrade from Mountain Lion to Yosemite. In thee process of so doing I have lost access to iTunes.
The app on desktop no longer opens the program and having downloaded and installed as per Apple instructions, can not make a connection.Hi, drjbuchanan.
Thank you for visiting Apple Support Communities.
Here are some troubleshooting steps that I would recommend going through when experiencing this issue.
iTunes: Troubleshooting issues with third-party iTunes plug-ins
http://support.apple.com/en-us/ts3430
Troubleshooting iTunes installation on Mac OS X
http://support.apple.com/en-us/ht2311
Cheers,
Jason H. -
Can't print from IE 8 after upgrading from Vista to Windows 7
My laptop (HP Elitebook 8530w) uses two HP printers: Color LaserJet CP3525x (at work) and Deskjet 6940 (at home). Both printers are accessed across a local network.
I recently upgraded from Vista Enterprise to Windows 7 Enterprise.
Everything still prints fine (from Word, Adobe Reader, Windows Photo Viewer, etc.), except for IE 8! When I try to print a web page from IE, it prints only the page header, and otherwise the sheet is empty. This symptom occurs on both printers. (And of course this worked fine before the upgrade.)
Any ideas? Thanks for any help.
Jeff
This question was solved.
View Solution.(same poster)
If anyone else is having this problem, I found the solution on another forum (http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/thread/920588e5-ccc4-4e24-83d6-606...).
Specifically, the following steps solved the problem:
1. If it doesn't already exist, create a directory named "Low" in your directory "C:\Users\<your_user_name>\AppData\Local\Temp\".
2. From a command prompt, issue this command: ICACLS C:\Users\<your_user_name>\AppData\Local\Temp\Low /setintegritylevel (OI)(CI)low
Jeff -
Fields in read-only mode for BP transaction in upgrade from 4.72 to ECC6.0
Hello,
This is regarding the query for BP transaction in upgrade from 4.72 to ECC 6.0.
While creating BP / Changing BP system is disabling the fields in compnay code & sales area option. There is a SAP not provided 907860; and specified that the proplem is because of the delta customizing.
All the customization settings are as per the note. And the Synchronization Control is also activated. But still the fields are disabled only.
I have checked the field settings also in Cross-Application-Components & Logistic-Genral.
But these are not working for compnay code & sales area data.
please let me know if anyone has faced this type of problem / found any solution on this.
Best Regards,
ShubhadaSAP IMG -> Cross Application Components -> Master Data Synchronization  Synchronization Control -> Synchronization Control -> Activate Synchronization options
This setting allows you to activate synchronization of BP with R/3. Not maintaining the values may result in certain fields being read-only in BP.
Suggested Values:
Source Object: BP | Target Object: CUSTOMER | Active Indicator : X
Source Object: BP | Target Object: VENDOR | Active Indicator : X
Source Object: CUSTOMER | Target Object: BP | Active Indicator : X
Source Object: VENDOR | Target Object: BP | Active Indicator : X
Have you set all of the above settings??
BHARATH -
Error in Access VBA Application when upgrading from Acrobat 8.0 to 9.0
Hello.
The company that I work for recently upgraded from Adobe Acrobat 8.0 to 9.0 and I`m experiencing some problems with my Access 2003 VBA Application that extracts text from PDF-files and insert it into a table. I have tried adding references to Adobe 9.0 Type Library, but still no luck. Anyone having any ideas for a workaround? See attatched image for error-message. Any help will be greatly appreciated!
Regards,
SteffanPublic Function lesPDF()
'On Error Resume Next
Dim MyDB As Database, EplanSet As DAO.Recordset, ResultSet As DAO.Recordset, SideSet As DAO.Recordset, TekstSet As DAO.Recordset
Dim AcroApp As CAcroApp
Dim AcroAVDoc As CAcroAVDoc
Dim AcroPDDoc As CAcroPDDoc
Dim AcroHiliteList As CAcroHiliteList
Dim AcroTextSelect As CAcroPDTextSelect
Dim PageNumber, PageContent, i, j
Dim Ferdig As Boolean
Dim StartPos, Length As Double
Dim PartSyntax() As String
Dim DocType() As String
Dim Content, strFileName, Temp As String
Dim k, Lengde As Integer
Plant = Form_Autoexec.cmbPlant.Value
Set AcroApp = CreateObject("AcroExch.App")
Set AcroAVDoc = CreateObject("AcroExch.AVDoc")
Set MyDB = DBEngine.Workspaces(0).Databases(0)
EplanSet.MoveLast
EplanSet.MoveFirst
Do Until EplanSet.EOF
strFileName = EplanSet!path & EplanSet!File
If AcroAVDoc.Open(strFileName, vbNull) <> True Then
Exit Function
End If
Set AcroAVDoc = AcroApp.GetActiveDoc
Set AcroPDDoc = AcroAVDoc.GetPDDoc
Here is some of the code, where the program stops is marked in red. This worked perfectly with Adobe 8.0. Thaks for any help or suggestions! -
Upgrade from R/3 4.6C to ECC 6.00 : languages
Hi,
We're trying to upgrade from SAP R/3 4.6C to ECC 6.00 under NT environment, having Oracle as database. During the preparation phase, we got the following error, and in our current SAP system R/3 we have 2 additional languages NL and FR (EN and DE are already in), can you please explain why this phase is blocking in this step, and if I continue I've to do a full language import, thanks in advance.
The following language(s) could not be updated yet:
- French for component EA-APPL
- French for component EA-DFPS
- French for component EA-FINSERV
- French for component EA-GLTRADE
- French for component EA-HR
- French for component EA-IPPE
- French for component EA-PS
- French for component EA-RETAIL
- French for component ECC-DIMP
- French for component ERECRUIT
- French for component FI-CA
- French for component FI-CAX
- French for component FINBASIS
- French for component INSURANCE
- French for component IS-CWM
- French for component IS-H
- French for component IS-M
- French for component IS-OIL
- French for component IS-PS-CA
- French for component IS-UT
- French for component LSOFE
- French for component PI_BASIS
- French for component SAP_ABA
- French for component SAP_AP
- French for component SAP_APPL
- French for component SAP_BASIS
- French for component SAP_BW
- French for component SAP_HR
- French for component SEM-BW
- French for component ST-PI
- Dutch for component EA-APPL
- Dutch for component EA-DFPS
- Dutch for component EA-FINSERV
- Dutch for component EA-GLTRADE
- Dutch for component EA-HR
- Dutch for component EA-IPPE
- Dutch for component EA-PS
- Dutch for component EA-RETAIL
- Dutch for component ECC-DIMP
- Dutch for component ERECRUIT
- Dutch for component FI-CA
- Dutch for component FI-CAX
- Dutch for component FINBASIS
- Dutch for component INSURANCE
- Dutch for component IS-CWM
- Dutch for component IS-H
- Dutch for component IS-M
- Dutch for component IS-OIL
- Dutch for component IS-PS-CA
- Dutch for component IS-UT
- Dutch for component LSOFE
- Dutch for component PI_BASIS
- Dutch for component SAP_ABA
- Dutch for component SAP_AP
- Dutch for component SAP_APPL
- Dutch for component SAP_BASIS
- Dutch for component SAP_BW
- Dutch for component SAP_HR
- Dutch for component SEM-BW
- Dutch for component ST-PI
Please mount another Language Disk for these language(s).
If you do not have further Language Disk(s), you may
continue, but the languages mentioned above will be lost
after the upgrade. A full language import has to be
performed after the upgrade to reinstall the language(s).
? continue
? cancelHi Markus,
I've introduce the following information:
> MOUNT POINT 07 = S:\export\Data\CDLAN2
> MOUNT POINT 01 = S:\export\Data\KN_WINDOWS_X86_64_AUPG
> MOUNT POINT 06 = S:\export\Data\CDLAN1
> MOUNT POINT 05 = S:\export\Data\CD3
> MOUNT POINT 03 = S:\export\Data\CD1
> MOUNT POINT 08 = S:\export\Data\UMN_WINDOWS_X86_64
> MOUNT POINT 02 = S:\export\Data\KN_WINDOWS_X86_64
> MOUNT POINT 04 = S:\export\Data\CD2
And in mount point 06/07 we have the languages.
The content of the trace file is:
here's the complete trace:
2007/07/05 16:35:01 *****************************
2007/07/05 16:35:01 Checking directories ...
2007/07/05 16:35:01 Searching for Data Carrier labeled AOXUPGR
Adding path: S:\export\Data\KN_WINDOWS_X86_64_AUPG
2007/07/05 16:35:01 Working on S:\export\Data\KN_WINDOWS_X86_64_AUPG ... no matching label
Adding path: S:\export\Data\KN_WINDOWS_X86_64
2007/07/05 16:35:01 Working on S:\export\Data\KN_WINDOWS_X86_64 ... no matching label
Adding path: S:\export\Data\CD1
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CD1
Adding path: S:\export\Data\CD1\UPG1
Adding path: S:\export\Data\CD1\UPG2
Adding path: S:\export\Data\CD1\UPG3
Adding path: S:\export\Data\CD1\UPG4
Adding path: S:\export\Data\CD1\UPG5
Adding path: S:\export\Data\CD1\UPG6
2007/07/05 16:35:01 Directory structure below S:\export\Data\CD1 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CD1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG3 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG4 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG5 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG6 ... no matching label
Adding path: S:\export\Data\CD2
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CD2
Adding path: S:\export\Data\CD2\UPG7
Adding path: S:\export\Data\CD2\UPG8
Adding path: S:\export\Data\CD2\UPG9
Adding path: S:\export\Data\CD2\UPG10
Adding path: S:\export\Data\CD2\UPG11
Adding path: S:\export\Data\CD2\UPG12
2007/07/05 16:35:01 Directory structure below S:\export\Data\CD2 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CD2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG7 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG8 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG9 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG10 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG11 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG12 ... no matching label
Adding path: S:\export\Data\CD3
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CD3
Adding path: S:\export\Data\CD3\UPG13
Adding path: S:\export\Data\CD3\UPG14
Adding path: S:\export\Data\CD3\UPG15
Adding path: S:\export\Data\CD3\UPG16
2007/07/05 16:35:01 Directory structure below S:\export\Data\CD3 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CD3 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG13 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG14 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG15 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG16 ... no matching label
Adding path: S:\export\Data\CDLAN1
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CDLAN1
Adding path: S:\export\Data\CDLAN1\LANG1
Adding path: S:\export\Data\CDLAN1\LANG2
Adding path: S:\export\Data\CDLAN1\LANG3
Adding path: S:\export\Data\CDLAN1\LANG4
2007/07/05 16:35:01 Directory structure below S:\export\Data\CDLAN1 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG3 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG4 ... no matching label
Adding path: S:\export\Data\CDLAN2
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CDLAN2
Adding path: S:\export\Data\CDLAN2\LANG5
Adding path: S:\export\Data\CDLAN2\LANG6
2007/07/05 16:35:01 Directory structure below S:\export\Data\CDLAN2 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN2\LANG5 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN2\LANG6 ... no matching label
Adding path: S:\export\Data\UMN_WINDOWS_X86_64
2007/07/05 16:35:01 Working on S:\export\Data\UMN_WINDOWS_X86_64 ... no matching label
Regards,
A.Kamel -
I've recently completed a database upgrade from 10.2.0.3 to 11.2.0.1 using the DBUA.
I've since encountered a slowdown when running a script which drops and recreates a series of ~250 tables. The script normally runs in around 19 seconds. After the upgrade, the script requires ~2 minutes to run.
By chance has anyone encountered something similar?
The problem may be related to the behavior of an "after CREATE on schema" trigger which grants select privileges to a role through the use of a dbms_job call; between 10g and the database that was upgraded from 10G to 11g. Currently researching this angle.
I will be using the following table creation DDL for this abbreviated test case:
create table ALLIANCE (
ALLIANCEID NUMBER(10) not null,
NAME VARCHAR2(40) not null,
CREATION_DATE DATE,
constraint PK_ALLIANCE primary key (ALLIANCEID)
using index
tablespace LIVE_INDEX
tablespace LIVE_DATA;When calling the above DDL, an "after CREATE on schema" trigger is fired which schedules a job to immediately run to grant select privilege to a role for the table which was just created:
create or replace
trigger select_grant
after CREATE on schema
declare
l_str varchar2(255);
l_job number;
begin
if ( ora_dict_obj_type = 'TABLE' ) then
l_str := 'execute immediate "grant select on ' ||
ora_dict_obj_name ||
' to select_role";';
dbms_job.submit( l_job, replace(l_str,'"','''') );
end if;
end;
{code}
Below I've included data on two separate test runs. The first is on the upgraded database and includes optimizer parameters and an abbreviated TKPROF. I've also, included the offending sys generate SQL which is not issued when the same test is run on a 10g environment that has been set up with a similar test case. The 10g test run's TKPROF is also included below.
The version of the database is 11.2.0.1.
These are the parameters relevant to the optimizer for the test run on the upgraded 11g SID:
{code}
SQL> show parameter optimizer
NAME TYPE VALUE
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 11.2.0.1
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
db_file_multiblock_read_count integer 8
SQL> show parameter db_block_size
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string EXACT
SQL> column sname format a20
SQL> column pname format a20
SQL> column pval2 format a20
SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 03-11-2010 16:33
SYSSTATS_INFO DSTOP 03-11-2010 17:03
SYSSTATS_INFO FLAGS 0
SYSSTATS_MAIN CPUSPEEDNW 713.978495
SYSSTATS_MAIN IOSEEKTIM 10
SYSSTATS_MAIN IOTFRSPEED 4096
SYSSTATS_MAIN SREADTIM 1565.746
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED 2310
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR
SYSSTATS_MAIN SLAVETHR
13 rows selected.
{code}
Output from TKPROF on the 11g SID:
{code}
create table ALLIANCE (
ALLIANCEID NUMBER(10) not null,
NAME VARCHAR2(40) not null,
CREATION_DATE DATE,
constraint PK_ALLIANCE primary key (ALLIANCEID)
using index
tablespace LIVE_INDEX
tablespace LIVE_DATA
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 4 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 0 4 0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 324
{code}
... large section omitted ...
Here is the performance hit portion of the TKPROF on the 11g SID:
{code}
SQL ID: fsbqktj5vw6n9
Plan Hash: 1443566277
select next_run_date, obj#, run_job, sch_job
from
(select decode(bitand(a.flags, 16384), 0, a.next_run_date,
a.last_enabled_time) next_run_date, a.obj# obj#,
decode(bitand(a.flags, 16384), 0, 0, 1) run_job, a.sch_job sch_job from
(select p.obj# obj#, p.flags flags, p.next_run_date next_run_date,
p.job_status job_status, p.class_oid class_oid, p.last_enabled_time
last_enabled_time, p.instance_id instance_id, 1 sch_job from
sys.scheduler$_job p where bitand(p.job_status, 3) = 1 and
((bitand(p.flags, 134217728 + 268435456) = 0) or
(bitand(p.job_status, 1024) <> 0)) and bitand(p.flags, 4096) = 0 and
p.instance_id is NULL and (p.class_oid is null or (p.class_oid is
not null and p.class_oid in (select b.obj# from sys.scheduler$_class b
where b.affinity is null))) UNION ALL select
q.obj#, q.flags, q.next_run_date, q.job_status, q.class_oid,
q.last_enabled_time, q.instance_id, 1 from sys.scheduler$_lightweight_job
q where bitand(q.job_status, 3) = 1 and ((bitand(q.flags, 134217728 +
268435456) = 0) or (bitand(q.job_status, 1024) <> 0)) and
bitand(q.flags, 4096) = 0 and q.instance_id is NULL and (q.class_oid
is null or (q.class_oid is not null and q.class_oid in (select
c.obj# from sys.scheduler$_class c where
c.affinity is null))) UNION ALL select j.job, 0,
from_tz(cast(j.next_date as timestamp), to_char(systimestamp,'TZH:TZM')
), 1, NULL, from_tz(cast(j.next_date as timestamp),
to_char(systimestamp,'TZH:TZM')), NULL, 0 from sys.job$ j where
(j.field1 is null or j.field1 = 0) and j.this_date is null) a order by
1) where rownum = 1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.47 0.47 0 9384 0 1
total 3 0.48 0.48 0 9384 0 1
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Rows Row Source Operation
1 COUNT STOPKEY (cr=9384 pr=0 pw=0 time=0 us)
1 VIEW (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=6615380 card=194570)
1 SORT ORDER BY STOPKEY (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=11479630 card=194570)
194790 VIEW (cr=9384 pr=0 pw=0 time=537269 us cost=2563 size=11479630 card=194570)
194790 UNION-ALL (cr=9384 pr=0 pw=0 time=439235 us)
231 FILTER (cr=68 pr=0 pw=0 time=920 us)
231 TABLE ACCESS FULL SCHEDULER$_JOB (cr=66 pr=0 pw=0 time=690 us cost=19 size=13157 card=223)
1 TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=2 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
1 INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
0 FILTER (cr=3 pr=0 pw=0 time=0 us)
0 TABLE ACCESS FULL SCHEDULER$_LIGHTWEIGHT_JOB (cr=3 pr=0 pw=0 time=0 us cost=2 size=95 card=1)
0 TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
0 INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
194559 TABLE ACCESS FULL JOB$ (cr=9313 pr=0 pw=0 time=167294 us cost=2542 size=2529254 card=194558)
{code}
and the totals at the end of the TKPROF on the 11g SID:
{code}
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 4 0
Fetch 0 0.00 0.00 0 0 0 0
total 3 0.00 0.00 0 0 4 0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 70 0.00 0.00 0 0 0 0
Execute 85 0.01 0.01 0 62 208 37
Fetch 49 0.48 0.49 0 9490 0 35
total 204 0.51 0.51 0 9552 208 72
Misses in library cache during parse: 5
Misses in library cache during execute: 3
35 user SQL statements in session.
53 internal SQL statements in session.
88 SQL statements in session.
Trace file: 11gSID_ora_17721.trc
Trace file compatibility: 11.1.0.7
Sort options: default
1 session in tracefile.
35 user SQL statements in trace file.
53 internal SQL statements in trace file.
88 SQL statements in trace file.
51 unique SQL statements in trace file.
1590 lines in trace file.
18 elapsed seconds in trace file.
{code}
The version of the database is 10.2.0.3.0.
These are the parameters relevant to the optimizer for the test run on the 10g SID:
{code}
SQL> show parameter optimizer
NAME TYPE VALUE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 10.2.0.3
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
db_file_multiblock_read_count integer 8
SQL> show parameter db_block_size
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string EXACT
SQL> column sname format a20
SQL> column pname format a20
SQL> column pval2 format a20
SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 09-24-2007 11:09
SYSSTATS_INFO DSTOP 09-24-2007 11:09
SYSSTATS_INFO FLAGS 1
SYSSTATS_MAIN CPUSPEEDNW 2110.16949
SYSSTATS_MAIN IOSEEKTIM 10
SYSSTATS_MAIN IOTFRSPEED 4096
SYSSTATS_MAIN SREADTIM
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR
SYSSTATS_MAIN SLAVETHR
13 rows selected.
{code}
Now for the TKPROF of a mirrored test environment running on a 10G SID:
{code}
create table ALLIANCE (
ALLIANCEID NUMBER(10) not null,
NAME VARCHAR2(40) not null,
CREATION_DATE DATE,
constraint PK_ALLIANCE primary key (ALLIANCEID)
using index
tablespace LIVE_INDEX
tablespace LIVE_DATA
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.01 0 2 16 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.01 0.01 0 2 16 0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 113
{code}
... large section omitted ...
Totals for the TKPROF on the 10g SID:
{code}
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 1 0.00 0.02 0 0 0 0
Execute 1 0.00 0.00 0 2 16 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.02 0 2 16 0
Misses in library cache during parse: 1
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 65 0.01 0.01 0 1 32 0
Execute 84 0.04 0.09 20 90 272 35
Fetch 88 0.00 0.10 30 281 0 64
total 237 0.07 0.21 50 372 304 99
Misses in library cache during parse: 38
Misses in library cache during execute: 32
10 user SQL statements in session.
76 internal SQL statements in session.
86 SQL statements in session.
Trace file: 10gSID_ora_32003.trc
Trace file compatibility: 10.01.00
Sort options: default
1 session in tracefile.
10 user SQL statements in trace file.
76 internal SQL statements in trace file.
86 SQL statements in trace file.
43 unique SQL statements in trace file.
949 lines in trace file.
0 elapsed seconds in trace file.
{code}
Edited by: user8598842 on Mar 11, 2010 5:08 PMSo while this certainly isn't the most elegant of solutions, and most assuredly isn't in the realm of supported by Oracle...
I've used the DBMS_IJOB.DROP_USER_JOBS('username'); package to remove the 194558 orphaned job entries from the job$ table. Don't ask, I've no clue how they all got there; but I've prepared some evil looks to unleash upon certain developers tomorrow morning.
Not being able to reorganize the JOB$ table to free the now wasted ~67MB of space I've opted to create a new index on the JOB$ table to sidestep the full table scan.
CREATE INDEX SYS.JOB_F1_THIS_NEXT ON SYS.JOB$ (FIELD1, THIS_DATE, NEXT_DATE) TABLESPACE SYSTEM;The next option would be to try to find a way to grant the select privilege to the role without using the aforementioned "after CREATE on schema" trigger and dbms_job call. This method was adopted to cover situations in which a developer manually added a table directly to the database rather than using the provided scripts to recreate their test environment.
I assume that the following quote from the 11gR2 documentation is mistaken, and there is no such beast as "create or replace table" in 11g:
http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9003.htm#i2061306
"Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters. Truncating and replacing have none of these effects. Therefore, removing rows with the TRUNCATE statement or replacing the table with a *CREATE OR REPLACE TABLE* statement can be more efficient than dropping and re-creating a table."
Maybe you are looking for
-
How can I get album data back?
A week ago when I opened iPhoto 5.0.4 I got a message to update and did so. Thereafter when I opened the application I found no album or slideshow listing or organization! At least the photos seem all there. I would get a message: "The main iPhotoLib
-
Dbms_xmlgen: write emp content to xml file
Hi. I have the following procedure to write the content of the emp table in xml to a file: CREATE OR REPLACE PROCEDURE BSP_DBMSXMLGEN IS v_ctx DBMS_XMLGen.ctxHandle; v_file Utl_File.File_Type; v_xml CLOB; v_more BOOLEAN := TRUE; l_exception varchar2(
-
Lost trash can, etc. in Mail window-how to get it back?
When reading a message, I used to see icons at the bottom of the screen, including the trash icon. (I think there was a reply and forward icon as well). As of today, all those icons are missing. It's just any empty bar. I saw the advice about turning
-
In a Labyrinth of Links!!!!
Hello, I just bought an iTunes card about 2 days ago and transferred the money to my already existing account. But I can't use any of it until i "confirm my account" and enter the answers to security questions that i have set years ago and FORGOT. I'
-
After trying to update itunes it now hangs moving items into place.
I get the error that this copy of itunes is corrupted or is not installed correctly. Please reinstall itunes (error -42037). I have attempted to reinstall but the install process hangs at moving items into place. I have left it over night, before