Need to write trigger to caputre all the sql fired by a terminal or osuser
Hi everyone
Can anyone please let me know the trigger through which i can capture all sql fired by particular Terminal or OSUSER
thanks
There are lot of threads in the same forum for these kind of questions. Please search in the forum. Following link is one of them.
Trigger to capture the DML sql text
G.
Similar Messages
-
Hi guys..!!
I would like to know if someone could help on this:
I just have a HP printer (HP Designjet 100) and for some reason I need to install a file for all the HP printers drivers in total 590MB to be able to use my printer in my mountain lion???
If normally the size of my files in the for previous software was more or less 5MB why now i need to install 590?
Some one could help me how to avoid installation of 590MB for my new mountain lion software???
ThanksIf you go to http://support.apple.com/downloads and locate the HP Printer Drivers installer, you will find that it is 473.4 MB (for version 2.11). If you install this, it will install the full set of drivers for every model of HP printer that is supported by the drivers distributed through Apple. The disk space occupied once installed will probably be larger than the download, since the downloaded file is compressed.
On the other hand, if you have an HP printer connected and you use Software Update (or the Update tab in App Store), that should offer you a much smaller set of HP drivers, which are only applicable to your printer (and possibly a few similar ones). These updates are typically only tens of megabytes rather than hundreds of megabytes.
If Software Update doesn't offer you any HP drivers then it either thinks you have the latest drivers installed already, or the printer model is not supported by the drivers available from Apple.
This article lists all of the printer models for which Apple distributes the driver:
http://support.apple.com/kb/HT3669 -
i have got an iphone 3g and when i got it it was jailbroken so i went to restore it but it failed now it says i need to plug it into itunes all the time. what do i do?
Kidcomeleon wrote:
i have got an iphone 3g and when i got it it was jailbroken so i went to restore it but it failed now it says i need to plug it into itunes all the time. what do i do?
Plug it into iTunes. -
hi! I've just installed mountain lion and I find one of the programs I need for my work is crashing all the time. any ideas what i can do?
Ah!
Factuur Bright x
part of errors:
Process: Factuur Bright X [1476]
Path: /Applications/Factuur Bright X/Factuur Bright X.app/Contents/MacOS/Factuur Bright X
Identifier: ???
Version: ??? (2.0.0b20)
Code Type: X86 (Native)
Parent Process: launchd [184]
User ID: 501
Date/Time: 2013-07-10 22:35:39.180 +0200
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 10
Interval Since Last Report: 2118 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 24 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 47D641A2-4625-7590-369C-8BAFE1439551
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010 -
Do I need to leave location services on all the time to use the "Find my iPhone" app?
Do I need to leave location services on all the time to use the "Find my iPhone" app?
The Find My IPhone app is used to find OTHER lost devices, it does nothing to make your device "findable". To make it findable, you must turn on "Find My IPhone" in settings. And than you need location services on. This however does not guarantee that you'll always find it if lost. A thief can set it to factory settings, even remove the sim card. Then it'll be unfindable.
-
since i updated my iphone 4 to ios 6, i ve noticed that the wifi connection turns off each time when the screen is locked. I need to be connected with wifi all the time so as to stay updated with all my emails. is there anyway for this problem.
(PS: i know we could use 3G but i want to use wifi instead)I am having a really wierd issue as well that is probally related. I dont see 95% of the album artwork associated with my music. Also, it seems as if this has gotten worse since I started using that match feature
-
Log for all the sql statement executed
Hi,
I would like to know how to see the log for all the sql statement executed starting from connection to all the database related actions.
Is it something that i need to set it up in the driver?
I'm using Tomcat and JDBC driver.
Please reply.
Thanks,
AnjanaMake your own.
Calendar cal = new GregorianCalendar();
int year = cal.get(Calendar.YEAR);
int month = cal.get(Calendar.MONTH) + 1;
int day = cal.get(Calendar.DAY_OF_MONTH);
//use calendar object to get other infos such as time of query
//append your query string
File f =new File ("c:\\jakarta-tomcat-3.2.4\\webapps\\ASD\\LOGS\\log" + df.format(day) + df.format(month) + year + ".txt");
if (! f.exists())
f.createNewFile();
FileWriter fw = new FileWriter (f, true);
// append new log to end of file
fw.write(buf.toString());
fw.write("\n");
fw.flush();
fw.close();
catch (IOException ioe)
System.out.println(ioe.toString()); -
Find all the sql statements that are executed in a database
Hi
I would like to get all the sql statements that have been executed till now on the database. Also, i need the session and user details who has executed the statement.
I know this can be done after enabling auditing.
I would like to get the details without enabling the auditing option.
I am using oracle 9i and oracle 10g.
Regards,
VamsiYou can use {noformat}{noformat} tags to preserve the SQL format. Below is an example of how to use it.
<place your code here>\When your do that your code may look like this.select
substr(sid || ',' || serial#,0,15) sid,
USERNAME,
PROGRAM,
MACHINE,
OSUSER,
TERMINAL,
sql_text Query
from
v$sqltext,
v$session
where
address=sql_address
and hash_value=sql_hash_value
and status='ACTIVE'
order by LOGON_TIME,sid,piece
This one is more readable to everyone. -
How to find all the sql executed in the database
Hi
We want to be able to collect all the sql statements executed in the database and be able to dump them in a file or a table. Can anyone tell me how we can get that done?
Regards,if you are using oracle 10g, you can use one of the
option of datapump tool to do thisthat's new to me, can you show us how ?
For OP, you can check v$sqlarea view to find out all the sql statement still in shared_pool, however, there's no guarantee you will have all sql executed since database started.
Like other poster mentioned, enable auditing if you want to collect that information. -
All the SQL functions - to use in Discoverer-desktop reporting?
Hi ,
Can anyone tell me where i can find all the SQL functions, <conditional stmts> etc - to use in Discoverer-desktop reporting?.
Thx, SreeHi,
I am not quite sure what you mean. You can see all the functions available when you edit a workbook. Create a calculation and select the functions, your custom functions will be under database functions. Conditions are on the condition tab.
Rod West -
I would like to capture all the SQL and PL/SQL with full syntax that is
Hi
I would like to capture all the SQL and PL/SQL with full syntax in a sequence that is being executed in the last 30 or 40 min for a particular session in sqlplus.
Enabling SQL trace is not an option.
Will appreciate your input.
thanks
KS
Edited by: user12710695 on May 22, 2010 11:08 PMWelcome to the Forum.
Most important information (especially for such queries) is Oracle Version.
Is AUDITING an option?
Flashback can provide UNDO SQL.
For SQL there are many options...
1. LOGminer
sudhakar@ORCL>desc dba_hist_sqltext;
Name Null? Type
DBID NOT NULL NUMBER
SQL_ID NOT NULL VARCHAR2(13)
SQL_TEXT CLOB
COMMAND_TYPE NUMBER2. SELECT SQL_TEXT FROM DBA_HIST_SQLTEXT WHERE SQL_ID IN (SELECT SQL_ID FROM V$ACTIVE_SESSION_HISTORY WHERE USER_ID = ???)
vr,
Sudhakar B.
Edited by: Sudhakar_B on May 23, 2010 8:35 AM -
Finding the SQL fired by Oracle Sales Analyzer
Hi,
Is there a way to find out the SQL fired against the database by Sales Analyzer?.
TIA,
Vijay.It is a very long time since I used OSA, but there is a way to get at the SQL. Try one of the following:
1) try describing the program SQ.WRITESQL as I think this may contain the required code
OR:
2) on OSA client (Windows) enable tracing by going to Help-Express Monitor and type:
ifcopy=y
badline=y
echoprompt=y
prgtrace=y
dbgoutfile '/path/trace.txt' nocache
OR
3) Use the RECAP command in the Express Monitor window, this will show you the last series of commands issued and you should find the SQL code buried somewhere.
Sorry I cannot be more specific, alas I don't have OSA installed anymore but it is great to hear from someone still using it.
Keith Laker
Data Warehouse Solution Architect
Oracle EMEA Consulting
BI Blog : http://oraclebi.blogspot.com
DM Blog : http://oracledmt.blogspot.com -
Need JAVA API to list down all the Proxy Services in OSB Console 11g
Hi,
I need a java API to List down all the Proxy Services present in OSB Console for SOA 11g (11.1.1.5). I am in a situation where I cant use python script for the same.
any help will be much appreciated.
Thanks in Advance,
Ravi
Edited by: 899443 on Oct 1, 2012 4:13 AMAFAIK it is proprietary.
What I do in a similar situation is to form XML for the services, package them into JAR the same way as an import JAR is packaged (creating ExportInfo resource, ...) and deploy with standard WSLT script. Works for simplest services only (direct proxies mostly) but I can also form security, alerts, throttling etc etc etc -- all in one shot.
Out of sheer interest, may I ask you a question? Why do you need to create OSB services from Java?
Vlad
http://vladimirdyuzhev.com -
why i need my iphone 4s now if its gets overheating for example after 5 minutes of using the gps where my tempreture is 41c
many of you said turn off all the iphone services like location services etc
but then if i turn off these thinks why do i need the iphone to make call only?It is over 100 here most every day. I have no issues.
The iphone is not outside in those temperatures all day. The iphone itself is likey not that hot most of the time. -
Once airport is setup, does it need to be connected via ethernet all the time?
Once airport is setup, does it need to be connected to the router with an ethernet cable all the time?
AirPort Setup....the configuration utility in Mountain Lion...will look at the connection and configure the Express accordingly.
If you have an Ethernet cable connected during the setup, then you will need to leave the Ethernet cable connected after the setup.
If you want the Express to connect using wireless only....then you must configure it using wireless only.
Maybe you are looking for
-
Is there a way to execute PL/SQL statements in DAC? Is this advisable? This is to better tune some parts of the application that are so slow in Informatica.
-
Dear Experts, In delivery header "Bill of Lading" field i want to update some external number. Can any one suggest the BAPI for the bill of lading field. If this is not possible pls suggest some function module. Regards, Aju
-
Adobe AIR Apps for Viewing EPMA Job Library
Hi, I have been developing a AIR (Adobe Integrated Runtime) APP for viewing EPMA Jobs for our Planning Admins . It is a desktop widget .If anybody is interested to download and use it Please let me Know . To use this you have to first Install Adobe A
-
Send velocity as a crescendo like breath?
I have some "light-master" power-strip-like things that allow you to control voltage sent to lights with midi. Basically you send it a note-on event 1-127 and the light is as dim or as bright as you hit the note. What I would really like to do is fin
-
2007A: Exception handling for new ProjectService methods
Normally for other objects the Add() method returns error code and calling the GetLastError you get the description. AddProject(Project) method of ProjectService returns ProjectParams object. So the question is where to get the error code or what is