Apps database
HI
Can we able to drop segment under apps_undots1 which is system generated
i had issue with database
while shutting my database with immediate option.
it showing error
ora-00607internal error occurred while making change to a datablock
-00600 internal error code agruments 4193,4997,4526
same error which mentioned in metalink document no 452662.1
when i checked the alert log file :
undo blk xid 0009
i executed select statement select seg_name status from dba_rollback_segs where segment_id=9
I am doing on test machine only
please share their experience in trouble shooting this issue.
bye
D
Duplicate thread (Please post only once):
Oracle applications
Re: Oracle applications
Similar Messages
-
Putting apps database in Read-Only mode
Hi,
I want to put the apps database in read-only mode to that user will be able to login into the applications and see data but will not be able to update it.
What is the best way to do this?
ThanksI am still looking at how to do this because if users
update the UAT/test database, when the prod upgrade
is completed, they will think that their updates will
be available and this will cause some issues.This is a training/expectation-setting issue, not a technical one. You need to make sure that your users understand the difference between a test system and production, and that changes made in testing will not be present in production. They also need to understand that this situation is actually to their benefit: it enables them to really work with the test system to uncover potential problems and learn new features, without fear of making changes that could negatively impact their day-to-day work in production.
Please note that I'm not trying to be a jerk here. I very respectfully submit that attempting to make an instance read-only for training purposes, even if possible, will involve a great deal of technical work for very little (and perhaps even negative) overall benefit to the users.
Regards,
John P. -
W_YEAR_D Script to configure Year Data in Apps Database : OBIA
Hi Friends,
We want to configure DAY, MONTH, YEAR... in my Apps database. As of now we have Scripts for W_DAY_D, W_MONTH_D and mentioned below. NOw , we need same kind of scripts for W_YEAR_D. We are planning to bypass Informatica and DAC, So we need to configure them in Apps DAtabase to get the results similar to OBIA.
W_DAY_D
CREATE TABLE W_DAY_D AS
(SELECT
ROWNUM ROW_WID,
CurrDate AS Day_ID,
to_number(to_char(CurrDate, 'YYYYMMDD')) as DAY_ID_YYYYMMDD,
--1 AS Day_Time_Span,
--CurrDate AS Day_End_Date,
TO_CHAR(CurrDate,'Day') AS Week_Day_Full,
TO_CHAR(CurrDate,'DY') AS Week_Day_Short,
TO_NUMBER(TRIM(leading '0'
FROM TO_CHAR(CurrDate,'D'))) AS Day_Num_of_Week,
TO_NUMBER(TRIM(leading '0'
FROM TO_CHAR(CurrDate,'DD'))) AS Day_Num_of_Month,
TO_NUMBER(TRIM(leading '0'
FROM TO_CHAR(CurrDate,'DDD'))) AS Day_Num_of_Year,
UPPER(TO_CHAR(CurrDate,'Mon')
|| '-'
|| TO_CHAR(CURRDATE,'YYYY')) AS MONTH_ID,
TO_CHAR(CurrDate,'Mon')
|| '-'
|| TO_CHAR(CURRDATE,'YY') AS MONTH_SHORT_ID,
TO_CHAR(CurrDate,'Mon')
|| ' '
|| TO_CHAR(CurrDate,'YYYY') AS Month_Short_Desc,
RTRIM(TO_CHAR(CurrDate,'Month'))
|| ' '
|| TO_CHAR(CurrDate,'YYYY') AS Month_Long_Desc,
TO_CHAR(CurrDate,'Mon') AS Month_Short,
TO_CHAR(CurrDate,'Month') AS Month_Long,
TO_NUMBER(TRIM(leading '0'
FROM TO_CHAR(CurrDate,'MM'))) AS Month_Num_of_Year,
'Q'
|| UPPER(TO_CHAR(CurrDate,'Q')
|| '-'
|| TO_CHAR(CurrDate,'YYYY')) AS Quarter_ID,
'Q' || UPPER(TO_CHAR(CurrDate,'Q')) AS Quarter_Short,
TO_NUMBER(TO_CHAR(CurrDate,'Q')) AS Quarter_Num_of_Year,
CASE
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 1 THEN 1
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 2 THEN 2
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 3 THEN 3
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 4 THEN 1
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 5 THEN 2
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 6 THEN 3
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 7 THEN 1
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 8 THEN 2
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 9 THEN 3
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 10 THEN 1
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 11 THEN 2
WHEN TO_NUMBER(TO_CHAR(CurrDate,'MM')) = 12 THEN 3
END AS Quarter_Num_of_Month,
CASE
WHEN TO_NUMBER(TO_CHAR(CurrDate,'Q')) <= 2
THEN 1
ELSE 2
END AS half_num_of_year,
CASE
WHEN TO_NUMBER(TO_CHAR(CurrDate,'Q')) <= 2
THEN 'H'
|| 1
|| '-'
|| TO_CHAR(CurrDate,'YYYY')
ELSE 'H'
|| 2
|| '-'
|| TO_CHAR(CurrDate,'YYYY')
END AS half_of_year_id,
TO_CHAR(CurrDate,'YYYY') AS Year_ID
FROM
(SELECT level n,
-- Calendar starts at the day after this date.
TO_DATE('31/12/2000','DD/MM/YYYY') + NUMTODSINTERVAL(level,'DAY') CurrDate
FROM dual
-- Change for the number of days to be added to the table.
CONNECT BY level <= 9131
W_MONTH_D
CREATE TABLE W_MONTH_D
AS
SELECT ROWNUM AS ROW_WID,
B.MONTH_ID AS MONTH_ID,
B.MONTH_SHORT_DESC,B.MONTH_LONG_DESC,B.MONTH_SHORT,B.MONTH_LONG,B.MONTH_NUM_OF_YEAR,B.QUARTER_ID,B.QUARTER_SHORT,B.QUARTER_NUM_OF_YEAR,
B.QUARTER_NUM_OF_MONTH,B.HALF_NUM_OF_YEAR,B.HALF_OF_YEAR_ID,B.YEAR_ID
FROM
(SELECT MONTH_ID,MONTH_SHORT_DESC,MONTH_LONG_DESC,MONTH_SHORT,MONTH_LONG,MONTH_NUM_OF_YEAR,QUARTER_ID,QUARTER_SHORT,QUARTER_NUM_OF_YEAR,
QUARTER_NUM_OF_MONTH,HALF_NUM_OF_YEAR,HALF_OF_YEAR_ID,YEAR_ID FROM W_DAY_D
GROUP BY MONTH_ID,MONTH_SHORT_DESC,MONTH_LONG_DESC,MONTH_SHORT,MONTH_LONG,MONTH_NUM_OF_YEAR,QUARTER_ID,QUARTER_SHORT,QUARTER_NUM_OF_YEAR,
QUARTER_NUM_OF_MONTH,HALF_NUM_OF_YEAR,HALF_OF_YEAR_ID,YEAR_ID
ORDER BY YEAR_ID,MONTH_NUM_OF_YEAR) B
Please help on this asap. Its really urgent requirement..
Thanks in Advance.
Raghu NagadasarimessDate.setGregorianChange(theResult..getDate(2)); //I GET ABSOLUTELY NO DATE HERE
This doesn't do what you think it does. Check the API documentation.
http://java.sun.com/j2se/1.4.1/docs/api/java/util/GregorianCalendar.html
Try this instead:
messDate.setTime(theResult.getDate(2)); -
XML Database in Apps Databases
Hi,
What is the use of XML database in Apps Databases...it has XML Schema...etc etc..what purpose is that...If you are using XMLTYPE in stored procedures,
views, functions, columns or tables you need the XDB
feature in order for the base XMLTYPE to have
complete functionality of it's member functions.
This means if you were directed to remove XDB for
some other reason you must follow the steps to put
it back in if you want to use the XMLTYPE. You will
also require it if you are using any of the standard
pl/sql apis such as DBMS_XMLDOM and DBMS_XMLQUERY
to name a couple.Yes, this is from the first note. If you check the other one, you would also find that Oracle XML Database has to be installed correctly (Oracle 10g Release 2 and above) in order to have a successful interMedia installation. For getting more details about "Oracle interMedia", check the the same note (Question 1). -
Oracle Apps Database severe Performance Issue
Hi Gurus,
This is regarding a severe performance issue running in our Production E-Business Suite Instance.
its an R12.1.3 setup installed with 11.2.0.1 Database. All the servers are Solaris Sparc 64 (Solaris 10)
Let me brief you about the instance first:
2 Node Application
- Main Application Server hosting web/forms/concurrent/admin servers
- iSupplier server hosting web services (placed in DMZ, used by external suppliers via Internet)
1 Node Database Server
Database Server Specs
Memory: 144G phys mem 20G total swap
- CPUs (8Px4cores, 2Px2cores)
- I/O - fiber channel hard disk (hitachi SAN Storage) - 7 DATA_TOPs (7 drives with RAID 5) - current DB size 1.6 TB
- at peak load, around 1000 concurrent forms session and 2000 web sessions.
We have been facing some serious performance issues and we raised an SR with Oracle Support.
The Support analyzed a bunch of AWR Reports we provided them and they asked us to increase the DB_CACHE from its current usage of 27G to 40G
So, we changed SGA_TARGET from 35G to 50G and PGA was increased from 35G to 40G as v$pgastat was also suggesting some lack of memory.
We made these changes last night.
Today morning we observed the following:
1. after start of office hours, we checked in the home page of EM DB Console that ADDM was showing reduced impact due to lack of SGA memory which seemed to be a good sign. Earlier it was around 25% which was now at 12%.
However, negative aspects were:
1. lot of swapping was reported by the System Administrators on the DB Server
2. High CPU Usage
3. EM DB Console showed a lot of "Concurrency Wait Class" events ...throughout the day lot of blocking sessions were reported which were making other sessions to wait.
in the AWR Report, following foreground reports were listed:
Top 5 Timed Foreground Events
Event
Waits
Time(s)
Avg wait (ms)
% DB time
Wait Class
DB CPU
132,577
61.46
library cache lock
3,539
40,683
11496
18.86
Concurrency
library cache: mutex X
4,014,083
21,011
5
9.74
Concurrency
db file sequential read
4,138,014
20,767
5
9.63
User I/O
latch free
381,916
5,897
15
2.73
Other
This is showing "library cache lock" events as the main culprit apart from the usual suspect, the CPU.
I am attaching the AWR Report. Please let me know if i should revert back the memory changes or is there anything else i could do.
Please help us resolving it because the performance is going worst.
Regards,
Muneer.Pl do not post duplicates - Oracle Apps Database severe Performance Issue
For all critical production issues, pl work with Support thru SRs - using the forums to troubleshoot production issues is not wise -
Developers access to apps database user(Best Practice)?
Hello all,
I'm trying to understand a developers need to have access to the "apps" database user. The arguent can be made that the need is there for all development efforts, but is that really the case? Should all updates/changes by the "apps" user be executed by the apps dba even in the development environment? I'm trying to get a better understanding of how other organizations are set up. Our shop currently allow developers free raign to the apps user, but there are known security risks in doing so with "apps" being such a powerful user of the database environment.
Thanks in advance and any recommendations(Best Practices) will be greatly appreciated.Hi,
We usually give developers access to APPS schema on the development instances. The access to this schema (and other schemas) is revoked on the UAT/PROD (and other instances where the data is not sanitized). When giving such access we are not much worried about the data as much as we are about the objects, but this is not a big issue as we can recover those objects from other instances. Some organizations do not provide their developers with access to APPS schema on the development instances and all the tasks are done by the Apps DBA team. Another approach would be creating a read only APPS schema (search the forum for details) to allow developers to view the objects/data without bugging the DBAs with such routine tasks.
Thanks,
Hussein -
Using exp imp on 11i apps database
Hi,
Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this.
I want to do a full export and do an import.
Do we get any performance benefits if we do this?
Regards,
SAHi Sa;
Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this. You want to take exp imp for which issue?
I want to do a full export and do an import.Follow:
10g Export/Import Process for Oracle Applications Release 11i [ID 331221.1]
Export/import process for R12 using 11gR1 [ID 741818.1]
Do we get any performance benefits if we do this?It depends many segment but finaly u will make one process on server and it has cost,answer you can have some performance issue while you are taking exp-imp
Regard
Helios -
CLONE ORACLE APPS DATABASE TO OTHER MACHINE
Hi,
I want to know how I can clone oracle APPS database to other machine.
Just want to know the database part.
Thanks in advanceYou really, really want to ask this in the appropriate Oracle Apps forum. Cloning the database may or may not be sufficient-- most packaged applications have their own data dictionaries that may need to be manipulated in application-specific ways in order to properly clone the application. The folks in the Oracle Apps forum should be able to tell you what scripts, if any, you'd need to run for your particular Oracle Apps version and database.
Justin -
Deeply let down by Backup restore :-(
iPhone 3GS with iOS5.1 (the latest) started to behave abnormally. Made a full restore of iOS then tried to restore from backup only to discover message that my backup is corrupt or not compatible. Contacts were restored more or less OK but all applications data including personal financials (PocketMoney records) were lost.
Tried 2 times to run restore from backup but without success :-( Is there any chance to fix so-called corrupted backup file or at least to retrieve my app databases out of there?
Any help will be greatly appreciated. Thanks.Not that I've heard of. You can extract some of your data from a backup using iPhone Backup Extractor, but I'm not sure that includes app data (you could try contacting them to find out). And even if you could, I don't know how you would sync it back to your phone.
-
Migrate Oracle apps database from AIX to Linux
Hello,
We are planning to move oracle 11i apps database from AIX to Linux. If anyone done recently please share your knowledge.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production
Thanks
Princeuser12094010 wrote:
Hello,
We are planning to move oracle 11i apps database from AIX to Linux. If anyone done recently please share your knowledge.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production Hi Prince,
To move/migrate the 11i Apps Database alone means you need to follow the export/import method.
Please refer the note: 362205.1 "10g Release 2 Export/Import Process for Oracle Applications Release 11i"
In general steps to follow the DB migration is :
1. create the complete export file in source database
2.create a new DB in the target instance
3.perform the import
4.create the new auto-config and sync with apps tier
-Rk -
Hello All,
I am Working on Oracle Apps Data base and suddenly my System was Haning and Restart it self when i log in oracle apps data base it give me a instering problem when i enter this query
Select * from Cat ;
it gives me Error
ORA-03113:End of File on Communication Channel
when i use the Table it Gives me Data
Any Body tell me how this Problem Solve .
ThanksConnect as sysdba and verify that the database is open. Also, make sure you can login with any other user (Apps) and try to run some queries, check if you get the same error or not.
-
How to create a database link between an 8i (apps) database and APEX
Want to link my Oracle APPS databse on 8i with Oracle XE and APEX. Any idea how to achieve this ?
I don't know what Apex is!!! But try to follow these instructions.
It works for Oracle 9i.
As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
1. Control Panel / Administrative Tools / Data Sources (ODBC)
Folder: System DSN /
click add
Choose : Microsoft Access Driver
Data Source Name : my_test
Description : any_description_you_want
click Database/Select... : full pathname for <your_file.mdb>
click OK
Click OK
2. Goto OH\hs\admin:
2.1) Create a copy of "inithsodbc.ora" file giving it this name:
initmy_test.ora
2.2) Edit "initmy_test.ora" and change as below.
# HS init parameters
HS_FDS_CONNECT_INFO = my_test
HS_FDS_TRACE_LEVEL = OFF
3. Add this entry to listener ( Don't forget to stop/start the listener )
(SID_DESC =
(SID_NAME = my_teste)
(ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
(PROGRAM = hsolesql)
4. Now you need to add entries to point to the HS in the tnsnames.ora :
access =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
(CONNECT_DATA=(SID=my_test))
(HS=my_test)
5. Now you need to go into the database and create the database link:
CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
6. select * from your_table@ACCESS_DB;
HTH
RK
Message was edited by:
RKravcenko -
Oracle GL/APPS Database Connection Information
Hi
I have just resfreshed our GL Test DB from our Production DB for the first time. The DB restore and recover went smoothly with no problems. Getting the GL application working is another thing!
I realised that the problem had to be related to the data I had just transferred in, ie different port numbers, hosts, etc, and so thought that running Autoconfig would fix it. I first tried the adchkcfg and it appeared that it would do what I wanted. As you experienced APPS people probably have guessed by now, when I ran Autoconfig it did not configure my test installation, it configured the production installation! Oops! I have fixed that issue but the original still remains - I have test installation with data that points to the production install.
Does anyone know where the parameters are in the DB so that I can change them manually, or does anyone know of the correct method to use to configure the installation without screwing up the production install?
Thanks in advance
Simon.Hi Sandeep
I am sorry I havent made myself clear.
I have two machines - a production and a test machine. Both have a complete install of the Oracle GL application - so the application and the oracle database, along with their own ASM instances, listeners, etc.
I have restored the test database from the production database without touching any of the other components, including tnsnames, so there must be a reference somewhere in the database itself that indicates that it came from the production server. Its that reference that I need to change either manually, if possible, or through an Oracle tool that I, as an apps newbie, dont know about.
Thanks -
HT4859 Can I restore a previous version of an APP database tables
I'm designing an app that includes a sqlite database. Can users back up the tables in the DOCUMENTS directory and recover them when a new version is released?
Just discovered that the white controller that came with earlier iMacs works fine to advance the slides, so will use that. thanks.
-
Is there anyway to tell which Apps are taking up large amounts of space with their own databases? I know they can slow your phone down but how do you find them?
I've not found an iPhone app for that.
Phil -
Problem starting Apps Database
My env file is not correct. By mistake i have deleted some content in custom_sid.env file I installed oracle apps 11i on RHEL4 AS.Please can you send the your env files which would help in starting the database.
Thanks in AdvanceBy mistake i have deleted some content in custom_sid.env file This is a custom file which contains your custom settings/configurations, so getting any other copy would not be helpful.
If you want to generate the main application env files (env files under $APPL_TOP), then run adadmin and select:
2. Maintain Applications Files menu
2. Create Applications environment file
Maybe you are looking for
-
Voice memos to Itunes manually?
I have an iPhone 3G and I can't seem to get my voice memos onto iTunes manually. Does anyone know how to do this? Thanks!
-
How can i connect remote to Timecapsule with iCloud?
Hello, i use my Timecapsule very often viar internet / remote (e.G. in Work and so on) with Mobile Me, but now i change to iCloud and i get an Error when i try to connect with my iCloud Logindata on the Timecapsule settings. Is it not possible to use
-
Need to click on desktop between cursor clicks when in firefox - can anyone help?
Most of the time I have to click on the desktop outside the firefox window in order to be able to activate any cursor commands within firefox i.e. when I finish writing this I will have to submit it. In order to click any submit button I will probabl
-
Installing camera raw 6.7 - "error loading updater workflow"
This is what happens when I try to install camera raw 6.7 in Windows 7. Anyone have this problem and have discovered how to fix it? I have tried shutting the computer down and restarting, tried re-downloading several times, no luck. I was able to
-
Error - Post an Entry Document
Hello, I have a problem concerning the posting of an entry document (categorie: Proc. with int/ext no.range). I put the quantity and the plant for my waste when I created my entry document. After saving it, I try to post it but I have the following e