How to View Queries run by Users in Enterprise Manager 10g?
I want to view all the queries as an Administrator, being run by all the Users on Oracle Database, where can I view in Enterprise Manager 10g ?
In Microsoft Sql Server 2000, there is a utility called "Sql Profiler" which does this purpose, any idea please ?
Best Regards,
Luqman
The "Performance" tab is part of the Tuning Pack, list price USD3000 per CPU or something to that effect. So I use good ole SQLPLUS and this sql(below). This sql includes global views for RAC which can just be changed to v$ for sinlge instance:
column osuser format a10;
set linesize 500;
set pagesize 0;
select sid, serial#, to_char(logon_time, ' YYYYMMDD, HH24:MI:SS'),
osuser, sql_text
from gv$session, gv$sqltext
where gv$session.sql_address=gv$sqltext.address
order by sid, piece;
Similar Messages
-
How to view/ammend jobs in DBA_JOBS using Enterprise Manager (Database Control)
Dear Gurus,
We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
Regards,
RiazRiaz wrote:
Dear Gurus,
We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
Regards,
Riaz
In V10 which is no longer under support DBA_JOBS was superceded by DBMS_SCHEDULER.
Why are you dependent upon EM to manage the DB? -
HT4910 How to view my photos stored in icloud and manage those
HI,
How to view my photos stored in icloud and manage thoseUse the PhotoStream tab of the iOS photos app.
-
LogMiner Viewer in the Enterprise Manager 10g ??
Does somebody know if there is LogMiner Viewer in the Enterprise Manager 10g?
How could I do to work with this tool ?
ThanksThere is a 10g style. It comes with the client software. It is very much a stripped down version. I downloaded it and installed it. I could not find Logminer viewer in it. I did find some documentation. Here is what it says.
Launching LogMiner Viewer
To launch LogMiner Viewer, take the following steps:
Invoke LogMiner Viewer: On UNIX platforms, enter:oemapp lmviewer
The command string is case-sensitive and must be entered with lowercase characters.
On Windows NT, from the Programs menu,
choose Oracle_home > Database Administration > LogMiner Viewer.
After you invoke LogMiner Viewer,the Login dialog box is displayed.
Select Launch standalone.
Now, you can connect to a standalone Oracle Enterprise Manager repository.
If you do not have a standalone repository or if LogMiner Viewer is not aware
of an existing standalone repository, you cannot save queries.
When you attempt to expand a database or save a query, LogMiner Viewer displays
an informational message and leads you through a dialog to connect to or to create
a repository. See Connecting to or Creating a Standalone Repository for more information.
Click OK. -
How to start Enterprise manager 10g Linux?
To,
Can some one please tell me
How to start Enterprise manager 10g on Linux RHEL 4.7
Thanks,Hi
While runniing $ sh emctl start dbconsole getting error of Enveromment variable ORACLE_SID not Defined
Can you pls tell me Where do i fine env file to source the ENV file Enterprise manager 10g
Also do i need to run the *$ sh emctl start dbconsole* command from GUI of Linux.
Actualy follwoing is my exact stetup
I have installed Oracle EBS 11.5.10.2 on Linux EHEL 4.7
On the same Linux Box ( Where Oracle EBS 11.5.10.2 is installed ) Installed Oracle Application and Infra. server and Discoverer
Please guide me on the same.
Thanks, -
How do I create a new emkey for Enterprise Manager Database Control?
Hi,
I just installed 11gR2.
I am evaluating it.
How do I create a new emkey for Enterprise Manager Database Control?
I tried various combinations of this command:
emctl config emkey
I did find a probable bug:
$ emctl config emkey -emkey -emkeyfile emkey.ora -force -sysman_pwd he11ow0rld
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Undefined subroutine &EmKeyCmds::promptUserPasswd called at /u2/app/oracle/product/11.2.0/dbhome_1/bin/EmKeyCmds.pm line 160, <FILE> line 3.
$
Again,
How do I create a new emkey for Enterprise Manager Database Control?
I do have a copy of my old key but it is no longer good because I reinstalled the repository with these commands:
emca -repos drop ...
emca -repos create ...
Oh, and where is emctl "documented".
I poked around in some book-index links and with the search engine.
I could not find anything.
Thanks,
-Janisuser11892726 wrote:
Oh, and where is emctl "documented".
http://download.oracle.com/docs/cd/B16240_01/welcome.html -
Oracle Enterprise Manager 10g is not running.
Hi All,
I cloned e-Business suite application/db to another server.After cloned Oracle Enterprise Manager 10g is not running. I've been noticing following messages during start/stop/status.
status
Oracle Enterprise Manager 10g is not running.
start: doen't show any error.
stop:
Stopping Oracle Enterprise Manager 10g Database Control ...
... Failed.
Log info:
servername.domain_SID/sysman/log shows following errors.
emos.log : ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sys
emdb.nohup log
--- Wed Apr 16 12:37:14 2008::The agentTZRegion value in /orafissbx1/u00/app/oracle/10.2.0.3/cob-eamdbd-01.wssc.ad.root_FISSBX1/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
emoms.trc
[Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.
I opened the SR but still issues has n't fixed. I did all steps mentioned in TZ and etc according to metalink.
Please suggest.
ThanksThis is expected behavious. It is because Enterprise Manager cannot run with the new server name. You can either go through loads to change the config files or simply drop and recreate the console.
-
How to connect to oracle10g Database using oracle11g Enterprise Manager.
Hi,
please suggest me how to connect to oracle10g Database using oracle11g Enterprise Manager.
i did setting in tnsnames.ora file of oracle11g database but when i am trying to connect sys@testvsr and password
using oracle11g Enterprise manager its not connecting but from command prompt its connecting.
its not acccepting hostname its simply telling invalid username and password ,if i remove and try to connect its connecting.
so please suggest its very urgent my manager is nagging.
Regards,
Srinu.you cant attach a database 10g instance with
Enterprise manager of 11g as enterprise manager is
meant for a single database only .. your problem cant be solved
enterprise manager it can be solved by using GRID CONTROL
For more details visit oracle documentation..
Hope This helps..
BI TC -
How to view/edit/delete the user created profile in oracle 9i? Very Urgent
Friends,
I logged in as system in oracle 9i.
SQL> create profile testpro limit
2 idle_time 1;
Profile created.
SQL> alter user scott profile testpro;
User altered.
Then i logged in to sqlplusw as a scott user.
and i waited for 10 mins after that.
sql> select * from cat;
its working......
how come? i have already set a idle time to 1 minute.
Please correct me if im wrong.
Also, how can i view/edit/delete the user created profile.
Thanks & Regards
Sathyguy
Message was edited by:
sathyguyThe resource limits set for a profile are enforced only when you enable resource limitation for the database.
Enabling and Disabling Resource Limits While the Database is Open
ALTER SYSTEM SET RESOURCE_LIMIT = TRUE;
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/users.htm#15451
Manu -
All the queries running by user
Hi,
Is there a way we can get all the queries run by different users on database?You can check using V$SESSION & V$SQLAREA
as
select a.sid, a.serial#, b.sql_text from v$session a, v$sqlarea b where a.sql_address=b.address and a.username='USERNAME';for all the users you can exclude where clause for username as
select a.sid, a.serial#, b.sql_text from v$session a, v$sqlarea b where a.sql_address=b.address;here you can find for each and every user by mentioning the username.
Edited by: CKPT on Dec 7, 2010 10:15 PM -
How to find SQL database configured users without studio management .
Hello Guys,
Please how do I find the configured users on my sql database without using SQL studio management. Is there a way to find figured users through registry?
Regards, MassonTechHello,
No, you can't get it from registry.
You must be connected to the SQL Server/database to query this information from the database; you can't get it from anywhere else.
If you don't have SSMS installed on the machine, then you could use the lightweight tool "SqlCmd.exe", there is a separate installer for it available.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Creating user for Enterprise Manager
Hi,
As you know there is an admin user called ias_admin which can login to OracleAS Enterprise Manager and do all tasks.
Can we define another user with less privileges?
We want to give our developers the ability to view each instance logs by using the Enterprise Manager web tool, but want them to be able to add or remove instances nor deploy, un-deploy?
We are using Oracle 9.4.0, and have NOT configured OID,portal.... Only OracleAs core!
Regards,
Alireza FattahiBut if you want to avoid sharing ias_admin login, you can:
Run the mgmt_user procedure to make the database user into an EM administrative user:
exec mgmt_user.make_em_user_dbconsole('<USER>','<EMAIL OF THAT USER>',NULL,NULL,1);
This will create a login for the console with the same name as the database user/password.
Vlad Kaminsky -
No action when trying to login a user from Enterprise Manager!
Hi guyz,
I have created 10g database on windows server2003, I have configured Enterprise manager but unable to login from EM.
The EM service running fine, and the login page is also coming, but when I gave the username & password with the connection string and hitting the "Login" button there is no action.
The database is up and running, listener is also running, I am able to connect from the command prompt, the emctl status dbconsole says EM is running. Initially I thought the EM configuration had some problems then I dropped the EM repository and recreated it, still unable to login from EM. Any suggestions??
Thanks & Regards.No, not even as SYS user, initially the "Login" button was not working, whenever I pressed the login button there was no action, later I changed some of the Internet explorer settings, like changing the ActiveX scripts to enable, etc. Now the "Login" button is working, but even if I give the correct password, it is saying that username or/ and password is wrong.
-
How to view all running processes?
I'm running Mountain Lion. How do I view all the active/running processes? I'm trying to delete a file and it said that file is running/opened so I need to find it and close it.
Check the Apple article below.
http://support.apple.com/kb/TS1473 -
How to ensure OC4J runs after user logs out of a W2003 Server
Greetings,
I have a question. We have BI Publisher running on a W2003 server. When I log into the server, a dos window starts up, and runs the OC4J stuff. When I log out of the server, this process stops.
In order to use the scheduling part of BI Publisher (meaning, reports can be emailed out), the OC4J window must be running (meaning, I cannot log out of the W2003 server).
How do I ensure the OC4J process remains running after I log out of the W2003 server? Note - this was fresh server, with a clean OBISE (Oracle Business Intelligence Standard Edition) install.
Thanks,
Colin JensenUse the services created at installation time to startup Oracle AS components.
thant should do the trick
Maybe you are looking for
-
When I email a photo uploaded from my web gallery in Photoshop Lightroom, it disappears from the photo. What am I not doing? Thanks.
-
HP C6180 All in One Not Printing on the Network
I have 3 wireless laptops and an HP C6180 on a wireless network. This week all 3 computers had issues intermittently trying to print. The print job would go to the que, but then it would just be an error and not print. Now today, none of the laptops
-
Message Mapping UDF for lookuping of a value inside field's list of values
Hey everyone, For a FI mapping I'm working on, I was wondering if somebody has some Java UDF which lookups for a value inside the whole list of values which the mapping gathered for a specific field? Thanks, Ben
-
Why can't I sign into the iTunes store?
I've been trying to sign into the iTunes store for months now. Since v10 released, I have been unable to sign into the store, use Genius or any other feature that requires an active store use. I can sign in here (obviously) but when I try to sign in
-
What is 'net due date'and 'discount due date'
Hi Can any one expalin me What is 'net due date'and 'discount due date' Thanks in advance Devi