Oracle Profiles
dear all
i am creating a profile and using some resource parameter
my resource_limit parameter is true....
SQL> show parameter resource;
NAME TYPE VALUE
resource_limit boolean TRUE
resource_manager_plan string INTERNAL_PLAN
SQL> CREATE PROFILE poweruser LIMIT
2 SESSIONS_PER_USER UNLIMITED,
3 CPU_PER_SESSION UNLIMITED ,
4 CPU_PER_CALL 30000,
5 CONNECT_TIME 60,
6 LOGICAL_READS_PER_SESSION UNLIMITED,
7 LOGICAL_READS_PER_CALL 1000,
8 COMPOSITE_LIMIT 5000000;
SESSIONS_PER_USER UNLIMITED,
ERROR at line 2:
ORA-02376: invalid or redundant resource
help me
CHeers
dear all
we have 3 profiles A B C
users logged in will be under this profile .... OK ..
Now we have a plan of resource management in which
A Profile will be using 60% CPU
B Profile will be using 20% CPU
C Profile will be using 20% CPU
PLAN name is PROJECT_PLAN
now we want to use this plan in our database but there are other profiles also in DATABASE ,.....
if we alter resource_manager_plan which is a initialization parmeter then it would be like this plan will be used by whole DB ...
we dont want to do that....we want only these 3 profiles should come under this plan of resource management....
Needed Guidance is this
CHeers
Similar Messages
-
Unable to find ODI_SAmple_DATA.zip file to work with oracle profiling.
I am unable to find ODI_SAmple_DATA.zip file to work with oracle profiling.Any help regarding profiling???Do i need to
copy it from sw installation folder.?How profiling is different or related to odi data quality???Do we take source data twice -
1) For ODI target load
2)For profiling into entities.Try:
http://www.oracle.com/technology/products/oracle-data-quality/pdf/oracledq_sample_data.zip
and
http://download.oracle.com/otn/nt/ias/101340/oracledq_sample_directory.zip
Hope this helps.
G -
Oracle Profile Vs Oracle Resource Manager in Oracle 11g
Hi Friends,
Whats is the Avantages / Dis advantages of using Oracle Profile and Oracle Resource Manager to limit the oracle resources to oracle users in Oracle 11.2.0.1
Regards,
DBIf you have a single database servicing multiple Services / Applications / Schemas (e.g. a typical database consolidation), you could use Profiles and Resource Manager to place limits on resource usage by Service / Application / Schema. That way, for example, a 32 CPU database server running a single database can still limit the number of cores for each Service / Application / Schema using the Resource Manager.
Hemant K Chitale -
Data Warehouse security using Oracle Profiles
Has anyone used Oracle Profiles to secure their data warehouse. I have the requirement for conditional column and row viewing based on the login user. We could do this with Business Objects Enterprise security, however there are other applications that have access to the DW tables.
I was wondering if this has been successful out in the field and the overhead it could cause on the DB.
Thanks for any feedback, -rs-You need to be creating your "business groups" as a group in the RPD, init blocks to retrieve the user business group at login. Filters in the Logical table sources to restrict data to relevant business groups only.
Presentation 'Web Cat' groups with the same name as the RPD groups so a user inherits membership automatically.
I'd suggest sourcing a vanilla OBIA rpd to see how it is implemented out of the box. -
Oracle profile - IDLE_TIME DEFAULT - value ?
Friends
How can I determine the value of DEFAULT for the IDLE_TIME in Oracle profile.
CREATE PROFILE DEFAULT LIMIT
idle_time <value | UNLIMITED | DEFAULT>
Thanks
Vishal V.Ok, I found it.
"Default" profile has default values.
Thanks
Vishal -
Limiting user activity using Oracle Profiles
I am hoping to reduce the impact of a certain group of users on system performance. I can allocate a separate Oracle profile to them but when I set limits, what happens?
Composite Limits - I'll leave alone, too much math required!
Sessions/User - I can't limit that, they may feasibly and reasonably have several sessions
CPU/Session - Ok, it's not a % of the CPU available but CPU seconds/100. What happens when that number is reached - is the sessions killed or what?
CPU/Call - See above
Logical Reads/Session - What happens when this limit is reached? Does the session die?
Logical Reads/Call - See above
Idle Time - Set to 300
Connect Time - I do not wish to restrict this
Private SGA - I am not sure about this (I don't even know if we are using multi-threaded server architecture!)
So it seems to me, that none of these will meet my needs and consumer resource groups would be the correct thing... but can anyone please confirm?
ThanksI've used CPU_per_call and logical_reads_per_call for our dynamic search. If user happens to enter such criteria that he cannot get at least a row back within certain limits he gets back certain oracle error and on the screen he gets something like "your query used too much resources, enter better criteria" :)
The overall impact of such queries was limited because of totla rows limit for search typically 100. So at most users could use 100 * almost resource limit per one search.
If your users can issue whatever statements they like then this is not usable because for example for aggregate queries logical_reads_per_call will be reached quickly and user won't get back result of quite normal statement.
So probably you have to use resource groups indeed.
Gints Plivna
http://www.gplivna.eu -
Oracle profile incomplete functionality
SQL> select * from dba_profiles where profile LIKE '%RAG%' and resource_name like 'FAI%';
PROFILE RESOURCE_NAME RESOURCE LIMIT
RAGHU_CHECK1 FAILED_LOGIN_ATTEMPTS PASSWORD 2
SQL> SELECT USERNAME,PROFILE FROM DBA_USERS WHERE USERNAME='RAGHU';
USERNAME PROFILE
RAGHU RAGHU_CHECK1
SQL> SHOW PARAMETER RESOURCE_LIMIT
NAME TYPE VALUE
resource_limit boolean TRUE
SQL> SELECT NAME,LCOUNT FROM USER$ WHERE NAME='RAGHU';
NAME LCOUNT
RAGHU 0
SQL>
SQL> define
DEFINE _DATE = "12-AUG-09" (CHAR)
DEFINE CONNECTIDENTIFIER = "dev" (CHAR)
DEFINE _USER = "SYS" (CHAR)
DEFINE _PRIVILEGE = "AS SYSDBA" (CHAR)
DEFINE SQLPLUSRELEASE = "1002000300" (CHAR)
DEFINE _EDITOR = "Notepad" (CHAR)
DEFINE OVERSION = "Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options" (CHAR)
DEFINE ORELEASE = "1002000300" (CHAR)
DEFINE _RC = "0" (CHAR)
SQL>
sql connection:
OS : windows vista
c:\>sqlplus raghu@dev
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Aug 12 13:17:14 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Enter password:
ERROR:
ORA-01005: null password given; logon denied
Question: when oracle prompts for password, i just hit enter ie nothing. It gave ORA-01005 and prompted for next attempt. I expected increment in 'lcount' of user$ table. But it did not happend.
Since FAILED_LOGIN_ATTEMPTS is set 2, i expected account to get locked after 2 attempts, but it did not happend.
After 3 attempts, oracle stpped prompting for username and came back to os prompt. I called same command again and this time i gave wrong password , it incremented user$ and also account got locked after 2 attempts.
Any idea why oracle did not locked account with null password or if this is normal behaviour of oracle, is there any alternative to lock account even for null passowrd ?Maybe try to implement PASSWORD_VERIFY_FUNCTION.
This will control the passwords being entered in a better way, but probably this is the intended Oracle bahaviour. -
Grid Computing: Oracle Profile
I am a student at Lansing Community College. Recently profiled in the September/ October Edition of Oracle Magazine I subscribe to. I currently use JDeveloper for Java and Web Development. I am writing a term paper on Grid Computing and its impact on Enterprise IT. Oracle, being at the front of the Development and Implementation of Grid, I have chosen them to profile. I have found alot of information online, however I would like to set up an interview, face to face. I know that there is a regional office in Troy, Michigan. I am willing to make the trip if someone was willing to spare 30 minutes of their time that is knowledgeable in Grid technology. If anyone can help, or has advice, please let me know at [email protected] Thank you in advance.
- Martin Burris
[email protected]OTN has a whitepaper on "Workload Management with Oracle Real Application Clusters". I suggest you read that, as it's likely to be a fuller explanation than we can give you here. Find out more.
Of course, if you still have questions after you've read that paper feel free to post them.
Cheers, APC -
I have a requirement to find all oracle stored procedure name which are run by front end application.
I have one EXE and Oracle 9i database. This exe will hit database different procedure. Now I want to find out procedure names which runs during application execution.
This can be done from SQL Profiler in Microsoft SQL Server database.
How can we do the same thing with Oracle?
can anybody through a light on this.Having corrected the first response I neglected to supply the correct answer, which is DBMS_TRACE. This gives you probably more information than you need (one entry per line executed not per program unit called).
I wouldn't be wholly astonished in the above mentioned Above Software tool turned out to be a user friendly interface to this package. Anybody know if this is the case?
Cheers, APC -
Oracle Profile and Role scripts
RDBMS :Oracle 10.2
Hi,
I have several Profile and Roles on my server.
Can I extract sql to create those Profile and Roles ?
e.g. I have role datareader, I want to extract its creation script and it include all the privileges assigned to that role
thankstry
SELECT dbms_metadata.get_ddl('ROLE', 'datareader') FROM dba_roles;
SELECT dbms_metadata.get_granted_ddl('ROLE_GRANT', 'datareader) FROM dual;
SELECT dbms_metadata.get_granted_ddl('SYSTEM_GRANT','datareader') FROM dual;
SELECT dbms_metadata.get_granted_ddl('OBJECT_GRANT','datareader') FROM dual;
datareader should be in CAPS -
Dear All,
Can u suggest me .Here i am working in progress database on ERP module.But i am interseted to move my carrier in oracle database.I have already worked on pl/sql programming.can u suggest me on this topic.
Thanks & Regards,
RiteshDear All,
Can u suggest me .Here i am working in progress database on ERP module.But i am interseted to move my carrier in oracle database.I have already worked on pl/sql programming.can u suggest me on this topic.
Thanks & Regards,
Ritesh -
Oracle profile and password limits
Hi there, I don't understand what's limiting my password selection. It appears that the profile is default and doesn't have limitations.
Any help would be appreciated.
Thanks
db2> alter user system identified by "xxxxx";
alter user system identified by "xxxxx"
ERROR at line 1:
ORA-28003: password verification for the specified password failed
ORA-20003: Password should contain at least one \
digit, one character and one punctuation
db2> select profile from dba_users where username='SYSTEM';
PROFILE
DEFAULT
db2> select resource_name, resource_type, limit from dba_profiles where profile='DEFAULT';
RESOURCE_NAME RESOURCE
LIMIT
COMPOSITE_LIMIT KERNEL
UNLIMITED
SESSIONS_PER_USER KERNEL
UNLIMITED
CPU_PER_SESSION KERNEL
UNLIMITED
RESOURCE_NAME RESOURCE
LIMIT
CPU_PER_CALL KERNEL
UNLIMITED
LOGICAL_READS_PER_SESSION KERNEL
UNLIMITED
LOGICAL_READS_PER_CALL KERNEL
UNLIMITED
RESOURCE_NAME RESOURCE
LIMIT
IDLE_TIME KERNEL
UNLIMITED
CONNECT_TIME KERNEL
UNLIMITED
PRIVATE_SGA KERNEL
UNLIMITED
RESOURCE_NAME RESOURCE
LIMIT
FAILED_LOGIN_ATTEMPTS PASSWORD
UNLIMITED
PASSWORD_LIFE_TIME PASSWORD
UNLIMITED
PASSWORD_REUSE_TIME PASSWORD
UNLIMITED
RESOURCE_NAME RESOURCE
LIMIT
PASSWORD_REUSE_MAX PASSWORD
UNLIMITED
PASSWORD_VERIFY_FUNCTION PASSWORD
SFDC_VERIFY_PWD
PASSWORD_LOCK_TIME PASSWORD
UNLIMITED
RESOURCE_NAME RESOURCE
LIMIT
PASSWORD_GRACE_TIME PASSWORD
UNLIMITED
16 rows selected.I found what the issue was. Does anyone know how to
look at the Resource limits and there value?Other than the DBA_PROFILES view that you queried in the previous post? Or some other resource limits (i.e. Resource Manager limits?)
Justin -
Continuous reports of R12 Oracle Teleservices experience - is it a profile issue?
We have a call center of approximately 70 agents - all work in R12 Oracle Teleservices Module. There are 2 users that continue to report issues with Oracle experience, i.e. FRM 92100, slowness, unresponsive, freezing, etc. We have reset their Windows Profile, gave them new computers, and they continue to report. They have also logged in as a different user, and they report that their issues go away. We have matched their profiles across other agents to see differences in them, but nothing is noticeable. We currently have Employee Records tied to their Oracle Profile and cannot create a second Oracle User that would tie to the same Employee Record. My question is, is there another approach that we can test to see if their issues are in fact with their Oracle Profile or is it a Windows/Computer issue? Any information, guidance shared is appreciated.
We have a call center of approximately 70 agents - all work in R12 Oracle Teleservices Module. There are 2 users that continue to report issues with Oracle experience, i.e. FRM 92100, slowness, unresponsive, freezing, etc. We have reset their Windows Profile, gave them new computers, and they continue to report. They have also logged in as a different user, and they report that their issues go away. We have matched their profiles across other agents to see differences in them, but nothing is noticeable. We currently have Employee Records tied to their Oracle Profile and cannot create a second Oracle User that would tie to the same Employee Record. My question is, is there another approach that we can test to see if their issues are in fact with their Oracle Profile or is it a Windows/Computer issue? Any information, guidance shared is appreciated.
-
Error in Setting Auto Start for Oracle DB on Sun Solaris 10
Hi Gurus,
I am trying to set my DB to auto start when server reboots. Fllowing is my setting and the error. The issue is that the DB starts but LISTENER is not running...
Please please help me...
This is what I used for setting the auto start.
Thanks,
Jayant
SETTING:
=======
#!/sbin/sh
#Match ORACLE_HOME with whatever is in ~oracle/.profile!!!
ORACLE_HOME=<whatever is Orcale home is>
case $1 in
start)
su - oracle -c $ORACLE_HOME/bin/dbstart
su - oracle -c "$ORACLE_HOME/bin/lsnrctl start"
exit 0
stop)
su - oracle -c "$ORACLE_HOME/bin/lsnrctl stop"
su - oracle -c $ORACLE_HOME/bin/dbshut
esac
You're not done yet! You now have to dl
ln -s ../init.d/oracle /etc/rc3.d/S95oracle
ln -s ../init.d/oracle /etc/rc0.d/K15oracle
chmod 0755 /etc/init.d/oracle
ERROR:
======
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 02-DEC-2006 10:09:24
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
Solaris Error: 2: No such file or directory
root@zngds1gk #Bingo.... I got it.
Thanks for your hint about the ./.profile. I was setting env variables in .cshrc file and my default shell for "oracle" user was sh.
Then I changed the default shell for oracle user to csh and viola..... it works.
root@zngds1gk # su - oracle
$ id
uid=100(oracle) gid=101(dba)
$ setenv
HOME=/space/oracle
PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
LOGNAME=oracle
HZ=100
TERM=xterm
SHELL=/bin/sh
$ exit
root@zngds1gk # usermod -u 100 -s /bin/csh oracle
root@zngds1gk # su - oracle
zngds1gk%
zngds1gk% setenv
HOME=/space/oracle
PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
LOGNAME=oracle
HZ=100
TERM=xterm
SHELL=/bin/csh
zngds1gk% cat .cshrc
umask 022
setenv ORACLE_BASE /space/oracle/app/oracle
setenv ORACLE_SID adm
setenv DISPLAY 47.102.212.108:0.0
setenv ORACLE_HOME /space/oracle/app/oracle/product/10.2.0/Db_2
setenv PATH /space/oracle/app/oracle/product/10.2.0/Db_2/bin:$PATH
And now it works...
Thanks.
~Jayant -
Oracle (de)Install problem
Hi there,
I tried to installed Oracle 9i in my NB and find below problem under Win XP Professional, P4, 256 Mb RAM, 3 Gb Free space (after copying the installer):
1. Initially, installation didn't work at all with error message "please install Java 1.3.1 or higher" eventhough JRE 1.4.2_09 had been installed.
This problem eliminated by changing the symcjit.dll. to symcjit_ori.dll. as well as giving the correct path and adding -nojit as the first argument in "JRE_MEMORY_OPTIONS" line the oraparam.ini file.
2. Afterwards, seems installation run smothly until it generated an error saying that "Configuration tool Oracle Net Configuration Assistant failed " almost at the end of installation.
3. Tried to deinstall, the same error message pop up, again saying that "please install Java 1.3.1 or higher".
Anybody have an idea what should I do to rectify this issue ? I'm pretty new in Oracle and no idea to solve it.
Thanks a lot in advance.
Best regards,
=user454292 =The simplest way to remove Oracle is to run the Oracle installer:
Start > Programs > Oracle Installation Products > Universal Installer
On the first screen click on "Deinstall Products..."
Expand the tree view (just so that the second level is visible) and make sure you select everything that is selectable.
Click on "Remove..."
On the confirmation screen click "Yes"
When it has finished click "Close" and then "Exit" to quit the installer
Whilst the Oracle installer removes many components there are a number of things that it leaves behind. In order to completely remove all traces of Oracle the following additional steps will need to be taken:
Stop any Oracle services that have been left running. (Start > Settings > Control Panel > Services.)
Services which I have found left behind are 'OracleOraHome90TNSListener' and 'OracleServiceORACLE'. However there may be others depending on your installation. Look for any services with names starting with 'Oracle'.
Run regedit (Start > Run > Enter "regedit", click "Ok"), find and delete the following keys:
HKEY_LOCAL_MACHINE
\SOFTWARE
\ORACLE
HKEY_LOCAL_MACHINE
\SYSTEM
\CurrentControlSet
\Services
\EventLog
\Application
\Oracle.oracle
Note: I have had it reported that some people also have registry entries saved under HKEY_CURRENT_USER\SOFTWARE\ORACLE, this registry entry may be created by some Oracle utilities. If it exists then delete it.
Delete the Oracle home directory:
"C:\Oracle"
This will also remove your database files (unless you located them elsewhere, in which case you will need to delete them separately).
Delete the Oracle program Files directory:
"C:\Program Files\Oracle"
Delete the Oracle programs profile directory:
"C:\Documents and Settings\All Users\Start Menu\Programs\Oracle - OraHome90"
if you did not first run the Oracle installer to remove Oracle then there may be other Oracle profile group directories to remove.
Some of the Oracle services may be left behind by the uninstall. Open ‘services’ on the control panel, make a note of which Oracle services remain and see the notes ‘How to remove a service’ to remove them.
If you didn't first run the Oracle Installer to remove Oracle then you may have some references to Oracle left in the path. To remove these: Start > Settings > Control Panel > System > Advanced > Environment Variables, look at both the use and system variable 'PATH' and edit them to remove any references to Oracle.
Maybe you are looking for
-
How can i pass second text value to the procedure.
Hi , I have used APEX_ITEM.TEXT(1,null) Item_name,APEX_ITEM.TEXT(2,null) file_name in a sql query and i should pass these two text value as a input parameter to the Procedure. So in Process i have written code like FOR i IN 1 .. APEX_Application.g_f0
-
I've had my MPB for 2 weeks now. Last night it was acting strange...my battery was showing 78% charged for about 2 hours, then when I was using iTunes, I press pause on a file that was playing but the song was still going...also would move the slider
-
i am using two tables(walk and run - two are linked with forein key) . In my application by using one input form , sending data into these two tables. i used the PreparedStatement with sql qurey as follows: PreparedStatement ps=con.prepareStatement("
-
How to make a technical documentation of my WebDynpro development
Hi forum: I want to know if you has one template or one example to document my WebDynpro development, i need it for leave a technical documentation of my development. Please suggest me something....!! Thnks Josue
-
What level of Elements will support Olympus OMD-M-5 Raw Files (.ORF) ??
What level of Elements will support Olympus OMD-M-5 Raw Files (.ORF) ??