Factors for increase in memory occupied by Oracle 11g database
I wanted to know all the possible factors which can account for the increase in the memory required for an Oracle 11g database. Let’s take an example,
1) Say if the memory allocated for an Oracle 11g instance is 8GB which is 50% of the memory of 16GB allocated to the machine on which Oracle 11g is installed.
2) The max sessions are 300.
With this example in mind, I had the following queries:
1) Is the memory taken by 100 sessions or 300 sessions going to be within the limit of 8GB allocated to the Oracle?
2) Say if the max sessions is increased to 400, would the memory taken the 100 extra sessions would be within 8GB or would that be extra?
I hope my query is clear.
Please revert with the reply to my query.
Regards
Memory is allocated for the session only when that session is created by the listener, and the memory used by that session will fluctuate depending on the workload it's doing.
300 or 400 it won't pre-allocate all the memory for the fixed maximum number of sessions, it's dynamic. What oracle does is allocated all the memory you gave it in the PGA and the SGA and will do it's best to work with it for the current workload, it won't suddenly eat more memory without you telling it's okay to.
The only scenario I could see this happening is if you have a lot of sessions and a small PGA. In that case, oracle does go ahead and eat more memory than you gave it because it can't make due with the current PGA. So it eats more memory so sessions can be created and maintened. See PGA over- allocation.
To quote the good ol' docs:
Over allocating PGA memory can happen if the value ofPGA_AGGREGATE_TARGET is too small. When this happens, the Oracle Database cannot honor the value ofPGA_AGGREGATE_TARGET and extra PGA memory needs to be allocated.
Similar Messages
-
The danger of memory target in Oracle 11g - request for discussion.
Hello, everyone.
This is not a question, but kind of request for discussion.
I believe that many of you heard something about automatic memory management in Oracle 11g.
The concept is that Oracle manages the target size of SGA and PGA. Yes, believe it or not, all we have to do is just to tell Oracle how much memory it can use.
But I have a big concern on this. The optimizer takes the PGA size into consideration when calculating the cost of sort-related operations.
So what would happen when Oracle dynamically changes the target size of PGA? Following is a simple demonstration of my concern.
UKJA@ukja116> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
-- Configuration
*.memory_target=350m
*.memory_max_target=350m
create table t1(c1 int, c2 char(100));
create table t2(c1 int, c2 char(100));
insert into t1 select level, level from dual connect by level <= 10000;
insert into t2 select level, level from dual connect by level <= 10000;
-- First 10053 trace
alter session set events '10053 trace name context forever, level 1';
select /*+ use_hash(t1 t2) */ count(*)
from t1, t2
where t1.c1 = t2.c1 and t1.c2 = t2.c2
alter session set events '10053 trace name context off';
-- Do aggressive hard parse to make Oracle dynamically change the size of memory segments.
declare
pat1 varchar2(1000);
pat2 varchar2(1000);
va number;
vc sys_refcursor;
vs varchar2(1000);
begin
select ksppstvl into pat1
from sys.xm$ksppi i, sys.xm$ksppcv v -- views for x$ table
where i.indx = v.indx
and i.ksppinm = '__pga_aggregate_target';
for idx in 1 .. 10000000 loop
execute immediate 'select count(*) from t1 where rownum = ' || (idx+1)
into va;
if mod(idx, 1000) = 0 then
sys.dbms_system.ksdwrt(2, idx || 'th execution');
select ksppstvl into pat2
from sys.xm$ksppi i, sys.xm$ksppcv v -- views for x$ table
where i.indx = v.indx
and i.ksppinm = '__pga_aggregate_target';
if pat1 <> pat2 then
sys.dbms_system.ksdwrt(2, 'yep, I got it!');
exit;
end if;
end if;
end loop;
end;
-- As to alert log file,
25000th execution
26000th execution
27000th execution
28000th execution
29000th execution
30000th execution
yep, I got it! <-- the pga target changed with 30000th hard parse
-- Second 10053 trace for same query
alter session set events '10053 trace name context forever, level 1';
select /*+ use_hash(t1 t2) */ count(*)
from t1, t2
where t1.c1 = t2.c1 and t1.c2 = t2.c2
alter session set events '10053 trace name context off';With above test case, I found that
1. Oracle invalidates the query when internal pga aggregate size changes, which is quite natural.
2. With changed pga aggregate size, Oracle recalculates the cost. These are excerpts from the both of the 10053 trace files.
-- First 10053 trace file
PARAMETERS USED BY THE OPTIMIZER
PARAMETERS WITH ALTERED VALUES
Compilation Environment Dump
_smm_max_size = 11468 KB
_smm_px_max_size = 28672 KB
optimizer_use_sql_plan_baselines = false
optimizer_use_invisible_indexes = true
-- Second 10053 trace file
PARAMETERS USED BY THE OPTIMIZER
PARAMETERS WITH ALTERED VALUES
Compilation Environment Dump
_smm_max_size = 13107 KB
_smm_px_max_size = 32768 KB
optimizer_use_sql_plan_baselines = false
optimizer_use_invisible_indexes = true
Bug Fix Control Environment10053 trace file clearly says that Oracle recalculates the cost of the query with the change of internal pga aggregate target size. So, there is a great danger of unexpected plan change while Oracle dynamically controls the memory segments.
I believe that this is a desinged behavior, but the negative side effect is not negligible.
I just like to hear your opinions on this behavior.
Do you think that this is acceptable? Or is this another great feature that nobody wants to use like automatic tuning advisor?
================================
Dion Cho - Oracle Performance Storyteller
http://dioncho.wordpress.com (english)
http://ukja.tistory.com (korean)
================================I made a slight modification with my test case to have mixed workloads of hard parse and logical reads.
*.memory_target=200m
*.memory_max_target=200m
create table t3(c1 int, c2 char(1000));
insert into t3 select level, level from dual connect by level <= 50000;
declare
pat1 varchar2(1000);
pat2 varchar2(1000);
va number;
begin
select ksppstvl into pat1
from sys.xm$ksppi i, sys.xm$ksppcv v
where i.indx = v.indx
and i.ksppinm = '__pga_aggregate_target';
for idx in 1 .. 1000000 loop
-- try many patterns here!
execute immediate 'select count(*) from t3 where 10 = mod('||idx||',10)+1' into va;
if mod(idx, 100) = 0 then
sys.dbms_system.ksdwrt(2, idx || 'th execution');
for p in (select ksppinm, ksppstvl
from sys.xm$ksppi i, sys.xm$ksppcv v
where i.indx = v.indx
and i.ksppinm in ('__shared_pool_size', '__db_cache_size', '__pga_aggregate_target')) loop
sys.dbms_system.ksdwrt(2, p.ksppinm || ' = ' || p.ksppstvl);
end loop;
select ksppstvl into pat2
from sys.xm$ksppi i, sys.xm$ksppcv v
where i.indx = v.indx
and i.ksppinm = '__pga_aggregate_target';
if pat1 <> pat2 then
sys.dbms_system.ksdwrt(2, 'yep, I got it! pat1=' || pat1 ||', pat2='||pat2);
exit;
end if;
end if;
end loop;
end;
/This test case showed expected and reasonable result, like following:
100th execution
__shared_pool_size = 92274688
__db_cache_size = 16777216
__pga_aggregate_target = 83886080
200th execution
__shared_pool_size = 92274688
__db_cache_size = 16777216
__pga_aggregate_target = 83886080
300th execution
__shared_pool_size = 88080384
__db_cache_size = 20971520
__pga_aggregate_target = 83886080
400th execution
__shared_pool_size = 92274688
__db_cache_size = 16777216
__pga_aggregate_target = 83886080
500th execution
__shared_pool_size = 88080384
__db_cache_size = 20971520
__pga_aggregate_target = 83886080
1100th execution
__shared_pool_size = 92274688
__db_cache_size = 20971520
__pga_aggregate_target = 83886080
1200th execution
__shared_pool_size = 92274688
__db_cache_size = 37748736
__pga_aggregate_target = 58720256
yep, I got it! pat1=83886080, pat2=58720256Oracle continued being bounced between shared pool and buffer cache size, and about 1200th execution Oracle suddenly stole some memory from PGA target area to increase db cache size.
(I'm still in dark age on this automatic memory target management of 11g. More research in need!)
I think that this is very clear and natural behavior. I just want to point out that this would result in unwanted catastrophe under special cases, especially with some logic holes and bugs.
================================
Dion Cho - Oracle Performance Storyteller
http://dioncho.wordpress.com (english)
http://ukja.tistory.com (korean)
================================ -
What are the privileges required for explain plan in Oracle 11g database
I am facing the problem in doing a explain plan for a view in Oracle 11g database. When I select from the view like this:
select * from zonewisearpu
It does a select on the view but when I give explain plan like
explain plan for
select * from zonewisearpu
I get the error like insufficient privileges.
Please let me know if things are getting missed out as I guess system level privileges are required to execute this.
I hope, my question is clear.
It’s a humble request to revert urgently if possible as I need to complete a task and do not know the way out.
Regards975148 wrote:
Thanks for your reply. I have found out that an explain plan is possible on the user's own objects and is not possible on the granted objects from a different schema. For eg, if I do a explain plan on a view querying on tables from a different view, it would not allow the explain plan to proceed. This could mean that explain plan needs different privileges than just a select.
Requesting for a revert to this.
Here is a simple test case that I have perfomed
SQL> create user test1 identified by test1;
User created.
SQL> create user test2 identified by test1;
User created.
SQL> grant connect, resource to test1,test2;
Grant succeeded.
SQL> create table test1.tab1 as select * from v$session;
Table created.
SQL> connect test2/test1
Conencted.
SQL> show user
USER is "TEST2"
SQL>
SQL> explain plan for
2 select sid,serial#,status,username from test1.tab1 where username<> '';
Explained.
SQL>
So, as can be seen I am able to do a explain plan from user test2 for tables belong to user test1.
As far as privileges are concerned, following is the list
SQL> select * from dba_role_privs where grantee in ('TEST1','TEST2') order by 1;
GRANTEE GRANTED_ROLE ADM DEF
TEST1 CONNECT NO YES
TEST1 RESOURCE NO YES
TEST2 CONNECT NO YES
TEST2 RESOURCE NO YES
SQL>
SQL> select grantee,owner,table_name,privilege from dba_tab_privs where grantee in ('TEST1','TEST2') order by 1;
GRANTEE OWNER TABLE_NAME PRIVILEGE
TEST2 TEST1 TAB1 SELECT
SQL>
SQL> select * from dba_sys_privs where grantee in ('TEST1','TEST2') order by 1;
GRANTEE PRIVILEGE ADM
TEST1 UNLIMITED TABLESPACE NO
TEST2 UNLIMITED TABLESPACE NO
SQL> -
Oracle 11G database for 64 bit windows installation error
Hi,
I downloaded the 11G 64bit for windows and unzipped the files into one folder and ran the setup.exe as an administrator. It opened up the java screen and I chose, create and configure a database. Next screen I chose, Desktop Class, when I click next it dies. It does not show me teh next screen. I went to the appdata folder and saw this error but not sure what to do EXCEPTION_ACCESS_VIOLATION (0xc0000005). Please help. Thanks for your time and help.Adipur wrote:
Hello, have you tried to create new administrator user, and install using that newly created user...?You found this to be a band-aid solution in your specific instance. (Strange case of installation on windows 7 - unable to complete installation But you have drawn the wrong conclusions and never found the real issue in the cited thread. Under the circumstances, I would not be offering this up as a generalized solution, as you are doing in this thread and in others:
Re: Oracle 11G database for 64 bit windows installation error
Re: Trouble installing Oracle Personal in Windows 7 64-bit environment
I have been doing Oracle DBA work since v 7.3, and have never seen advice like this to be anything more than a work-around the real issue.
Edited by: EdStevens on May 15, 2013 7:03 AM -
What should i do with an Oracle 11g Database, MySQL database and a dump file.
I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
I have another Sever test that already set up MySQL database, and a dump file from the system.
So I want to ask these 2 questions :
1. How to create an new Oracle Database from that dump file ?
2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
Thanks alot.I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision -
Oracle 11g Database Configuration Assistant Hangs At 45% During 1st Install
Platform: Windows Vista 64 Bit Version
Downloaded: Oracle 11g Database 64 Bit
Service Pack 1
Greetings to all my Oracle Seniors. I have been attempting in vain to install the Oracle 11g database software package fully. I was able to complete the initial installation and made it to the second recommended action which was the Database Configuration Assistant operation. After 3 attempts, the progress bar stalled at 45%. I tried to look at the log file cfgtoologs (cloneDBCreation, and CloneRmanRestore), but it said that I didn't have permission. My pre-check cleared OK on everything. So, please direct me as to how to correct this issue.
Thanks
Preston
System IntegratorWell, that is not much of an option right now. I discovered that I have to reinstall the XP Pro OS after attempting the 11g installation 4 times and the install always stalled at 69% during the initial installation. I did have Windows Service Pack 3 installed on the system. I down graded and added 1 G of additional memory and checked the pre-check with no problem. But, the install continued to stall at 69%. So, and, yet, here we are.
Now in regards to the metalink notes, I am new to the forum, so I don't know my way around quite yet. Isn't the metalink the paid suppport option? If so, I don't have that access. -
How to mask data in oracle 11g database release 1
how to mask data in oracle 11g database release 1
my environment is
Database: 11g release 1
os: AIX 6 (64 bit)
GC:10g release 1DBA-009 wrote:
thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
Justin -
Apex 3.2 install in oracle 11g database
hi,
how to install oracle apex 3.2 in oracle 11g database and any other tool have like oracle query browusr (need to build a query drag and drop).
regards
denDen
Oracle 11g comes with apex. You should refer to the documentation at...
[http://www.oracle.com/technology/products/database/application_express/index.html]
to install it.
Please don't keep reposting the same question regarding the replacement for query browser, just update your original thread if you need further information.
Regards
Ben -
Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.Hi, Srini Chavali-Oracle
As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks. -
Importing XML into oracle 11g database
I am having some difficulty parsing an XML file into oracle 11g database.
Currently using Oracle 11g Express Edition (XE)
Here is how my XML file looks like:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <Accounts>
- <AccountMapping>
<AccountID>0000000000000-000</AccountID>
<AccountName>XLS</AccountName>
<AccountType>Excel</AccountType>
<AccountOwner>System</AccountOwner>
</AccountMapping>
- <AccountMapping>
<AccountID>0000000000000-001</AccountID>
<AccountName>XLSS</AccountName>
<AccountType>Excel2</AccountType>
<AccountOwner>System2</AccountOwner>
</AccountMapping>
- <AccountMapping>
and so on the file continues.. I have the xml file saved on my local hard disk
I have created a package in SQL Developer
create or replace
PACKAGE XML_FILEHANDLER AS
type TRecord is record (
Account_ID varchar2(100)
, AccountName varchar2(100)
, AccountType varchar2(30)
, AccountOwner varchar2(100)
type TRecordTable is table of TRecord;
function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined;
END XML_FILEHANDLER;
-- BODY
create or replace
PACKAGE BODY XML_FILEHANDLER AS
function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined AS
nb_rec NUMBER := 1;
tmp_xml CLOB;
tmp_file CLOB;
rec TRecord;
BEGIN
dbms_lob.createtemporary(tmp_file, true);
tmp_file := dbms_xslprocessor.read2clob(p_directory, p_filename);
rec.Account_ID := regexp_replace(tmp_file, '.*<Account_ID>(.*)</Account_ID>.*', '\1', 1, 1, 'n');
rec.AccountName := regexp_replace(tmp_file, '.*<AccountName>(.*)</AccountName>.*', '\1', 1, 1, 'n');
rec.AccountType := regexp_replace(tmp_file, '.*<AccountType >(.*)</AccountType >.*', '\1', 1, 1, 'n');
rec.AccountOwner := regexp_replace(tmp_file, '.*<AccountOwner>(.*)</AccountOwner>.*', '\1', 1, 1, 'n');
loop
-- this regexp finds occurrence(s) of this pattern : "<?xml ... ?><root_tag> ... </root_tag>"
tmp_xml := regexp_substr(tmp_file, '<\?xml[^?]+\?>\s+<([^>]+)>.*?</\1>', 1, nb_rec, 'n');
exit when length(tmp_xml) = 0;
--dbms_output.put_line(tmp_rec);
nb_rec := nb_rec + 1;
SELECT Account_ID, AccountName, AccountType, AccountOwner
into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
from xmltable(
'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
Account_ID varchar2(100) path 'Account_ID'
, AccountName varchar2(100) path 'AccountName'
, AccountType varchar2(30) path 'AccountType'
, AccountOwner varchar2(100) path 'AccountOwner'
pipe row ( rec );
end loop;
dbms_lob.freetemporary(tmp_file);
END getRows;
END XML_FILEHANDLER;
-- I am calling my function using the following sql query
select * from table(XML_FileHandler.getRows('XML', 'test.xml'));
Here is the error I am receiving
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 265
ORA-06512: at "user.XML_FILEHANDLER", line 13
29283. 00000 - "invalid file operation"
*Cause: An attempt was made to read from a file or directory that does
not exist, or file or directory access was denied by the
operating system.
*Action: Verify file and directory access privileges on the file system,
and if reading, verify that the file exists.
I have done the following
- Provided appropriate access to user (read, write) including directory access rights
- ensured that directory exists
- ensured that file exists
I have searched all over google and metalink but am unable to get this to run.. please help!>
SELECT Account_ID, AccountName, AccountType, AccountOwner
into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
from xmltable(
'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
Account_ID varchar2(100) path 'Account_ID'
, AccountName varchar2(100) path 'AccountName'
, AccountType varchar2(30) path 'AccountType'
, AccountOwner varchar2(100) path 'AccountOwner'
>
change to
SELECT Account_ID, AccountName, AccountType, AccountOwner
into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
from xmltable(
'AccountMap/Accounts/AccountMapping' passing xmltype(tmp_xml) columns
Account_ID varchar2(100) path 'Account_ID'
, AccountName varchar2(100) path 'AccountName'
, AccountType varchar2(30) path 'AccountType'
, AccountOwner varchar2(100) path 'AccountOwner'
SQL> SELECT Account_ID, AccountName, AccountType, AccountOwner
2 --into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
3 from xmltable(
4 'AccountMap/Accounts/AccountMapping' passing
5 xmltype('<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
6 <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
7 <Accounts>
8 <AccountMapping>
9 <AccountID>0000000000000-000</AccountID>
10 <AccountName>XLS</AccountName>
11 <AccountType>Excel</AccountType>
12 <AccountOwner>System</AccountOwner>
13 </AccountMapping>
14 <AccountMapping>
15 <AccountID>0000000000000-001</AccountID>
16 <AccountName>XLSS</AccountName>
17 <AccountType>Excel2</AccountType>
18 <AccountOwner>System2</AccountOwner>
19 </AccountMapping>
20 </Accounts>
21 </AccountMap>')
22 columns
23 Account_ID varchar2(100) path 'Account_ID'
24 , AccountName varchar2(100) path 'AccountName'
25 , AccountType varchar2(30) path 'AccountType'
26 , AccountOwner varchar2(100) path 'AccountOwner'
27 );
ACCOUNT_ID ACCOUNTNAME ACCOUNTTYPE ACCOUNTOWNER
XLS Excel System
XLSS Excel2 System2
SQL> for AccountID use AccountID not Account_ID
Account_ID varchar2(100) path 'AccountID'Edited by: AlexAnd on Aug 9, 2012 12:35 AM -
Upgrade JRE version of Oracle 11g database
Hi all.
I need to upgrade the version of the JRE installed on a Oracle 11g database, migrating from 1.5 to 1.6.
Any suggestions or practical guides that i can follow ?
Thanks
A.Pl post exact OS and database versions. Are you wanting to upgrade the Java version in the database ? If so, that is not possible.
Is It Supported to Update /Upgrade the Default JDK/JRE in Oracle Home? [ID 1449674.1]
OracleJVM Install and Upgrade FAQ [ID 825306.1]
Java update of the JDK and JRE Installed In Oracle Database Home [ID 418399.1]
Master Note for Oracle JVM [ID 1098505.1]
Re: update jdk from Oracle 11g? (version is > EOL)
HTH
Srini -
Not able to connect to oracle 11g database source through OBI Server
Hi,
I am having an issue regarding the database connectivity.
Iam unable to connect to the oracle 11g database through OBI server. However its connecting through SQL Plus with same username/password@hoststring. Its giving the error as :
[nQSError: 17001]Oracle Error code:1017,message:ORA-01017: invalid username/password; logon denied at OCI call OCILogon
[nQSError: 17014]Could not connect to Oracle database.
Please help me out in resolving the issue.If it's working in one place and not the other then it's obviously not an OBIEE problem.
Are you typing it in right??
Do you have multiple tnsnames.ora files pointing to different databases, maybe sqlplus is picking up one and toad & OBIEE the other and so the username/pw is wrong for that database?
There's a limited amount that can be said to help, as the error is 100% clear what the problem is :) it's just working out whether you're connecting to the database that you think you are connecting to, and then whether the username & PW you're entering is correct for that DB.
BTW OBIEE 10.1.3.4 is supported with 11g, and we're using it without problem here. -
Oracle Tuxedo 8.1 With Oracle 11g Database
Hi,
I have an old application that must be compiled with oracle 8.1 and Oracle9i Database.
We are migrating to Oracle 11g Database, and now we have some inssues to compile with Oracle 11g Database. For example some Libraries that the Tuxedo XA Resource Manager needs from the Oracle Database, that just u can found on older versions like Oracle9i (kpudfo.o file).
what can be the solution for that problem?
An Oracle 11g database config or a Tuxedo config ?Hi,
When you say "Tuxedo XA Resource Manager" I'm not sure what you are referring to. Do you mean the Tuxedo transaction management servers (TMS) servers that are built with the buildtms command? If so, if there are linking errors, it has to do with either your library paths or the RM definition for Oracle Database in the $TUXDIR/udataobj/RM file. Tuxedo itself only uses the XA switch from the resource manager such as Oracle database. Now the resource manager may require a bunch of libraries, which is why I suggested you check your library path. If the above doesn't help, can you post the error you are getting and what is generating/creating the error?
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
Locating user tables in an Oracle 11g database
Excuse my ignorance on this subject
But our company has an Oracle 11g database that drives one of our business applications. I am not an oracle admin and there is very little documentation on the application itself, however the application seems to have its own set of explicit login (username and password) credentials so I am guessing they are hashed somewhere in the database tables.
My question would be – are there any default oracle tables where user credentials would typically be? or tips on tracking down where the password hashes may be? Or can this differ from application to application? Any tips welcome. Apologies for the naivity of the question. My goal is to identify which database accounts can query the table the hashes are in, as we have some users who can access the database for data analysis purposes - but I dont want them to have access to the table.user599292 wrote:
EdStevens wrote:
user599292 wrote:
Excuse my ignorance on this subject
But our company has an Oracle 11g database that drives one of our business applications. I am not an oracle admin and there is very little documentation on the application itself, however the application seems to have its own set of explicit login (username and password) credentials so I am guessing they are hashed somewhere in the database tables.
My question would be – are there any default oracle tables where user credentials would typically be? or tips on tracking down where the password hashes may be? Or can this differ from application to application? Any tips welcome. Apologies for the naivity of the question. My goal is to identify which database accounts can query the table the hashes are in, as we have some users who can access the database for data analysis purposes - but I dont want them to have access to the table.The information relative to the user accounts is revealed in the view DBA_USERS, which normal users should not have a need to see. However, the passwords are stored in a true hash. It cannot be used directly, and cannot be reversed. So being able to see the hashed password does not in itself constitute a security risk.
When a user is being authenticated, the procedure that oracle uses is NOT to 'decrypt' the stored password to see if it matches the password presented by the user. Rather, the password presented by the user is hashed, and that hash value is compared against the stored value.My concern was if they could extract those password hash values, there are many free password crackers where if they run dictionary values against those hash values and if any match they then have some passwords to gain perhaps elevated access in the application.Such a method would have to assume a password, know how oracle 'salts' the password, hash the result, then compare to the hashed values from the table. If you employ even a modicum of password complexity enforcement, I doubt that your developers are going to have access to the kind of computing capacity that would be required to get a positive result within your lifetime.
You need to do three things
First and foremost, adhere to the principle of 'least privilege'. Do not grant a user account any privileges that are not required for that account to complete it's business task. That includes access to any tables or views. Be wary of any "--ANY---" privileges.
Second, use the password complexity function to enforce a reasonable level of password complexity.
Third, Set the user's profile to expire the pasword after 'x' number of days and prevent the reuse of a password until after 'y' iterations. -
"post installation requesties of oracle 11g database in windows"
Plz can any one tell me what are the post installation requesties of oracle 11g database installation in windows?
thanks & Regards
Vikash
"All Izz Well"Hi,
before installing check c:\> setup.exe -debug
after installation
You need to create service using oradim utility. with proper account
http://download.oracle.com/docs/cd/B28359_01/install.111/b32006/postcfg.htm
as per database
1)check for invalid objects in the database. select count(*) from dba_objects where status='INVALID'
if persists run @?/rdbms/admin/utlrp.sql
2)check the invalid from registry select comp_name,status from dba_registry;
3)compare the objects before & after activity.
THanks
Edited by: CKPT on Nov 10, 2010 3:56 PM
Maybe you are looking for
-
Can I get Education Discount On A Mac Mini?
I am going to uni soon, from which I want a mac for, but i am looking for a mac mini for the obvious lack of space, I have already looked at what discounts Apple offer on their over macs but i couldn't find any discounts for the Mac Mini, I was wonde
-
Cancel (reverse) Return Order, PGR not possible due to storage bin in 904
Hi gurus hope someone can explain in detail with transaction what am I missing since I'm MM guy and dont know very well SD transactions but here's my scenario, There is a return order with a delivery (1110500002), then PGI (651), this drive me to pro
-
Photoshop CS2 won't install!
Hello! I have installed Photoshop CS a long time ago and have been using it ever since, but I would like to install Photoshop CS2 and use that instead. However, whenever I try to install it, the installer always gets stuck on "Running Installer Scrip
-
Im going crazy..."iTunes has encountered a problem and needs to close"
iTunes has encountered a problem and needs to close. We are sorry for the inconvenience... Yes that is my problem. I open Itunes, receive the following message. I have searched all of these forums, following MSconfig, malware removal, quicktime stand
-
iphoto 5.0.4 which i installed as part of i-life 05 wont detect my digital camera, but the same camera is detected by my friends ibook running iphoto 5.0.4 (she has OSX 10.4) and also by my wifes ibook running iphoto 4.0.3 (hers is OSX 10.3.9). I hav