Setting Resource limits for Oracle user in 11gR2
HI Friends,
I am using Oracle Database 11g R2 on windows.
My Application connects to the database using a schema (user1). Some times the application user sessions makes the Database usage / CPU/ IO high and affecting the performance of the Database.
I would like to set some Limits on the Resource usage (Database and System resources) for those Application user schema (user1) to avoid the bottleneck on the Database and Server without affecting the usage of the Application on Transactions.
How can i achieve it?
Regards,
DB
839396 wrote:
HI Friends,
I am using Oracle Database 11g R2 on windows.
My Application connects to the database using a schema (user1). Some times the application user sessions makes the Database usage / CPU/ IO high and affecting the performance of the Database.
I would like to set some Limits on the Resource usage (Database and System resources) for those Application user schema (user1) to avoid the bottleneck on the Database and Server without affecting the usage of the Application on Transactions.
How can i achieve it?
Regards,
DBis application 3-tier like below?
EndUser<=>browser<=>WebServer<=>ApplicationServer<=>DatabaseServer
Similar Messages
-
HT201304 How can you set usage limits for a user of an iPod touch?
Would like to allow x minutes of usage per day.
See:
time of day restriction for ipod touch: Apple Support Communities
Parental Control/Game time limiter: Apple Support Communities -
Env settings for oracle user , when installing Oracle on linux
Good Morning Oracle Experts ;
Basicallly my major subject is Electrical and Electronics
I am very new to ORACLE/LINUX [ LEARNING ORACLE DBA ] Technology.
I have THREE questions .. Please help me to understand oracle concepts.
QUES 1 :
i am getting confused about “setting bash_profile” and it’s contents
I googled , it said to set env variables for oracle user. Ok .
Can anyone explain clearly what exactly happens when “ setting bash_profile ” ?
MY BASH_PROFILE SETTINGS
My bash_profile having following contents :
+# Oracle Settings+
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
+#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL+
+if [ $USER = "oracle" ]; then+
+if [ $SHELL = "/bin/ksh" ]; then+
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
QUES 2 :
Please note : This url says lot of env variables
http://www.idevelopment.info/data/Oracle/DBA_tips/Unix/UNIX_4.shtml
2 . In my case , Why following env variables *[LD_ LIBRARY_PATH , CLASS_PATH , PATH]* are missing ?
My pc showing only four env variables $ env | grep -e ORA -e TNS
ORACLE_SID=TSH1
ORACLE_BASE=/u01/app/oracle
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
QUES 3 :
*[ LD_ LIBRARY_PATH , CLASS_PATH , PATH ]*
*Are they [ above mentioned env variables] necessary (or) not necessary for oracle DB ?*
When listing env variables , why they are not displayed ? (anything wrong ) ?
As a beginner , I expect some clean technical information to improve my knowledge ..
Thanks in advance ;Required Output
*$ id*
uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)
*$ env | sort*
CLASSPATH=/u01/app/oracle/product/10.2.0/db_1/JRE:/u01/app/oracle/product/10.2.0/db_1/jlib:/u01/app/oracle/product/10.2.0/db_1/rdbms/jlib
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s2yfterD04
DESKTOP_SESSION=default
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-oJUn3E/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=linuxserver
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_SID=TSH1
ORACLE_TERM=xterm
PATH=/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
PWD=/home/oracle
SESSION_MANAGER=local/linuxserver:/tmp/.ICE-unix/4394
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=4450
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-cbAqMq4394/agent.4394
TERM=xterm
TMP=/tmp
USER=oracle
_=/usr/bin/env
WINDOWID=42039592
XAUTHORITY=/home/oracle/.Xauthority -
Shell Limits for Oracle DB 10g under SLES 9
Hi.
We installed SLES 9 and want to install now Oracle DB 10g R2.
We are at configuring Linux for the installation process using this guide: http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html#shell
At the linked part (shell limits) is explained how to set the shell limits for the user oracle. And there are two parts, one for SLES9 and one for RHEL4.
But the files profile.local and csh.login.local are not existing! But the files from the RHEL4 section (profile and csh.login) exists.
Is this a failure in the guide? Are the two parts from RHEL4 and SLES9 switched?
Or it is right that we have to create these files by setting these shell limits??
Thanks for answering.Hi.
I usually create these files on the Suse box. These files are never there on either x86, ia64 og x86(64).
rgds
Kjell -
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 -
How to set Internet limits to particular user by gpo ?
How to set Internet limits to particular user by gpo ?
Thanks & Regards, Amol . Amol DhaygudeHi,
>>How to set Internet limits to particular user by gpo ?
What Internet limits do you want to set for specific users? Group Policy user settings can be configured to apply to specific users, like via security filtering or GPP item-level targeting. The path for Internet Explorer policy settings under User Configuration
is: User Configuration\Policies\Administrative Templates\Windows Components\Internet Explorer.
You can also use GPP Internet Settings extension to manage IE settings and use GPP ILT to apply the settings to specific users. However, GPP settings can be edited by standard users after getting applied.
Regarding GPP Internet Settings extension, the following article can be referred to for more information.
Internet Settings Extension
http://technet.microsoft.com/en-us/library/cc754649.aspxBest regards,
Best regards,
Frank Shen -
Set Tolerance Limits for Price Variance when PO-based Purch.Requisition
We must garanty that Price from Purch.Requisition will be the same at PO.
IF some variance occur a error messag must be sent to user and PO could not be saved.
I found at customzing under SPRO > Materials Management > Purchasing > Purch.requisition > Set Tolerance Limits for Price Variance .
Reading the help of customizing it mean the system consists what we need..
I have created tolerance limit NB, and set limits for all checks as 0,01.
When I will activate messages as recommended on help no messages 601 and 602 have the text that guide us to correctly setting.
The help mention that after create tolerance limit we must set this tolerance by document type..but I didnt find this field at customzing
Does anyone can help me ?
See the help on customizing below
Set Tolerance Limits for Price Variance
In this step, you can define percentage-based and value-based (absolute) tolerance limits for price variances between purchase orders and purchase requisitions. Variance types are mapped out in the SAP system by tolerance keys.
You define the tolerance limits for each tolerance key and assign your tolerance key to the document types for purchase requisitions. The tolerance limit then applies for all documents of this document type.
When processing a purchase order, the system checks whether the unit price of a purchase order item differs from the unit price of a purchase requisition item. If you have configured, activated and defined tolerance limits in document types, variances are permitted in the tolerance limits. If the variance exceeds the tolerance limit, the system issues a warning. If you have defined a percentage-based and a value-based absolute tolerance limit, the strictest of the two variances will apply for this check.
Note
You can determine whether the system messages (601 and 602) appear as warnings or error messages in step "Define Attributes of System Messages".
To do this, go to the Materials Management IMG and choose Purchasing -> Environment Data -> Define Attributes of System Messages.
Requirements
The tolerance key must be defined in step Define Tolerance Key.
Activities
1. Define tolerance limits for each tolerance key.
2. Define the tolerance key in step Define Document Types.
Thx and best regards,
AleHI
SET TOLERANCE LIMITS FOR PURCHASE REQUISITION UNDER THE DEFINE DOCUMENTS FOR PR
AFTER SETTING TOLERANCE LIMITS WHILE CREATING PURCHASE U WILL GET BASED ON TOLERANCE LIMITS THERE FOUR WAYS TO SET TOLERANCE LITS
1
ABSOLUTE VALUE
2
PERCANTAGE
3
TOTAL PO VALUE
4
QUANITY BASED PRICE PER UNIT
OK BYE -
HT4759 what are the limitations for PC users using iCloud?
I am considering iCloud for storing music, photos etc. Are there any significant limitations for PC users? Our family employs a mix of Apple and PC devices.
Of course, iCloud does a better job on Apple devices like iPhone, iPad and Mac, because it seamlessly works with the pre-installed apps like Mail, Contacts, Calendars, Reminders, Notes etc., but you could also use some of the features on a PC. This guide shows you, how you could set up iCloud on a PC: http://www.apple.com/icloud/setup/pc.html
On a PC you sync iCloud Mail, Contacts, Calendars, and Tasks via Outlook, snyc Bookmarks and Photos.
Some other Services like iWork apps (Numbers, Pages and Keynote) or Find My iPhone are missing, but accessible through the website www.icloud.com (new Chrome or Firefox needed)
By the way, iTunes is still needed for managing your music library. -
What is the password for 'oracle' user created during XE installation?
Hi,
What is the password for 'oracle' user automatically created when XE is installed?
I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
Please let me know or point me to the document.
Thanks,
NHi Jari,
I tried your suggestion, but it didn't work unfortunately.
When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
Thanks,
N -
Change of UID for Oracle user - Impact
If change of UID for Oracle user in solaris will affect the database which is already running. Wil it have any impact for the databases?
Guys please advise.
Thnx,
SatheeshMany thanks for the response. We are not changing the UID but there are some errors in the script related to file permissions. So just wanted to know will it have any impact on the database if we change the UID.
-
Set Tolerance Limits for Price Variance for PR missing from SPRO
I'm looking into setting up tolerance limits for price variance at the PR level. But when i navigate here:
SPRO > Materials Management > Purchasing > Purch.requisition > Set Tolerance Limits for Price Variance
I'm not seeing that available in SPRO. It's available for PO's but not PR's. We want to be able to set tolerances on the PR to be applied to the PO for non stock items (material master). Please adviseHi,
There is no standard configuration option to set the tolerance limit at PR level. You may set the tolerance limit for PO and control the price change. If you want the same functionality at PR level, then you have to go for development. Please check whether the BAdI: ME_PROCESS_REQ_CUST can fulfill your requirement. You may set the tolerance limit in OLME - PO - Set Tolerance Limits for Price Variance itself and write the logic in the BAdI to check the price variance in PR based on the same configuration (table T169G and similar).
You may check the similar thread: PR VS PO Price Tolerance
Regards,
AKPT -
Setting Default Preferences for All Users in Crystal Reports Server 2008 v1
We are currently looking to set the default preferences in the CMC for all of our users.
I did locate this page Link: [How to set default preferences for all users in Infoview 3.1/CRS 2008]
The first part of the thread did seem promising but I am unable to find the sample .jsp code that people recommended.
I would assume that this scenario is common enough that someone knows a way to set universal preference defaults.
Thank youI thought I could just run it too but when I attempt to I get a Windows Script Host error:
Script: C:\User Prefs.vbs
Line: 1
Char: 1
Error: Expected statement
Code: 800A0400
Source: Microsoft VBScript compilation error.
I noticed the first most line seems to be markup for a web interface though I am not familiar with vbs so I may be wrong. I used the publishing wizard to put the script on the CMC to attempt to run it through the CMC but it still does not work. -
HT1495 Can I set my iPad for different users? ie user - 1 login & user - 2 login
Can I set my iPad for different users? ie user - 1 login & user - 2 login
Afraid not. The iPad is not intended for multiple users.
-
Set business closure for a users
i created a business closure in crm 2015 on a particular date,business closure is associating successfully with facility and equipment's but not associating with users.
So how can be set business closure for a users ????Hello,
The TechNet Wiki Discussion Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
Please note that this forum exists to discuss TechNet Wiki as a technology/application.
As it's off-topic here, I am moving the question to the
Where is the forum for... forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Always getting Invalid Pasword for Oracle User SYS
Hello,
I am installing IFS on Win XP.
My database is on a remote machine.
When I start with the configuration assistent of Oracle SMDK, he ask me to define the database to use.
When I click on next I allways get the message Invallid pasword for Oracle user SYS
I tested the connection via Oracle 9i client an that works properly.
Can anyone help me please
Thx in advantage.
Database version: Oracle 9I Release 9.2.0.1.0
Internet File system version: Oracle CM SDKI found the answer: getting the username with Get User Info on the User object gave me the username in a String. Using that, it worked like a charm.
Maybe you are looking for
-
CS6 64-bit HDR Pro producing corrupted merge
Running CS6 Basic on W7-64bit. I'm not a frequent user of CS6, mostly Photoshop Elements does all I need, but I've been reworking the CS5 Classroom in a Book exercises to refresh my CS6 knowledge. I've reached the exercise (page 139) where multiple i
-
Is there a way to audit user accounts by last login date/time?
Hello all, Is there a way to see or report on a user's last login. I don't see a last login date parameter in the UM record. I see that all security events are logged in the security log including logon and logoff, but what I need is to be able to
-
My HP 6310 will print a test page fine, but will not print from Publisher, Notepad, etc. It goes thru the motions, but the image printed is almost not there. I have new ink cartridges in it. I have adjusted the print settings. STILL won't print prope
-
Generating sequence for group by condition
I have a table with the Name Table_Depts. SQL> DESC Table_depts Name varchar2(10) Deptno number(5) Loc varchar2(10) SQL> Select * from Table_depts; NAME ---- Sale DEPTNO ---- null LOC --- boston NAME ---- Sale DEPTNO ---- null LOC --- boston NAME ---
-
First PKGBUILD, please review
I've just created my first PKGBUILD, would you mind reviewing it before I post it to AUR? # Contributor: Joel Schaerer <[email protected]> pkgname=textext pkgver=0.4.2 pkgrel=1 pkgdesc="Great extension to the inkscape drawing program which lets you a