Enable awr and tkprof for particular sid
Hi all,
how to enable awr and tkprof for particular sid.
it is very urgent
Thanks
mano
Trace a session.
1)Logout all sessions from the database
2)Login to application (ensure that only one session is available)
3)sqlplus trace/trace@026
4)check the sid and serial# of the session from v$session
Use the following query
SQL> select username,to_char(logon_time,'DD-MON-YYYY HH:MI:SS') from v$session where username='<db username>' order by logon_time;
SQL>exec sys.dbms_system.set_sql_trace_in_session(sid,serial#,TRUE);
5)now execute the report/transaction.
6)once the activity is over
SQL>exec sys.dbms_system.set_sql_trace_in_session(sid,serial,FALSE);
7)Now the trace file will be available in the udump folder of the database ip 10.44.0.26
Userid/password: trace/trace
The trace wil be available in /oracle/admin/orcl/udump
8)To find the name of the trace file use the below query
select spid from v$process where addr=(select paddr from v$session where sid=<enter the SID>);
This will give the name of the file
If you are not able to identify the trace file then please remove all files in udump before starting trace.
9) ftp the trace fil to ur local pc and issue the tkprof command
TKPROF <trace file (like D:\orcl_8853.trc)> D:\trace.txt explain=Oracle username/password (application user) sort=(prsela,exeela,fchela)
This will give trace file in readable format(you need to have 10g client on your pc for tkprof to work)
Similar Messages
-
Enabling Key and text for the Variable Selection screen
I need to display key and text for a characteristic when selecting the drop down menu in the variable selection screen of a web report. In the Business Explorer tab within the info-object, I changed the General Settings to display Key and text, but when I open the drop down menu for this characteristic, it is still displaying the key only. Is there some other place where this change needs to happen?
Hi,
Did you try to log out and log in again into BEx?
Best regards,
Eugene
Message was edited by: Eugene Khusainov -
Mls qos enabled globally and disabled for only one interface
Hello !
My switch is Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
I try to disabled mls qos only for one interface, but when i do it, mls qos is globally disabled. Is it possible to do it ?
XXX#show mls qos
QoS is enabled
QoS ip packet dscp rewrite is enabled
XXX#conf t
Enter configuration commands, one per line. End with CNTL/Z.
XXX(config)#interface gigabitEthernet 1/0/5
XXX(config-if)#no mls qos
XXX(config)#exit
XXX#
XXX#show mls qos
QoS is disabled
QoS ip packet dscp rewrite is enabled
Thanks in advance for your help !!
DenisHi Denis,
You cant disable the QOS on per interface on 2960 devices.
By default, QoS is disabled. When we enable QoS all ports
will be assigned to queue-set 1. We can configure up to two
different queue-sets.
Hence if you remove the qos out of the interface it would be disabled globally as well.
HTH -
Table for Material Quantity and Value for particular month and year
Hi All
My requirement is that for a particular month and year I want to know the stock quantity and stock value for a particular material for a given plant.From which SAP table can I get this data as I want to fetch data for my Y report?
Regards
Satish KumarHi,
You can use MB5B table as suggested earlier.also you can use:
MBEW-VMKUM --> stock for previous month period
MBEW-VJKUM --> stock for previous year period
PLease view these links which migh tbe helpful to you:
http://help.sap.com/saphelp_47x200/helpdata/en/39/55fee3bc6111d4b3960050dadf0791/content.htm
TableStock
Thanks
Nisha -
Data already exists for particular SID
HI,
I am executing a process chain for 0notification & is scheduled for 00:05hrs daily.
It usually fails giving the error "Data already exists for SID < >".However, when scheduled again it gets completed. This happens very often.
Can nybody help me out for this? Please let me know why this is happenning.
Thanx
PreetIn the InfoPackage select option PSA and then ignore duplicate records.
-
AQ and DBMS_JOB for server side parallelism?
I am using DBMS_JOBs to listen to a queue on 8.1.7. When something is queued one of the SNP processes that is listening dequeues the message and processes it using some stored procs. In this way messages that require a short time to process do not have to wait until messages that are longer have finished processing. This would be the case in a "single threaded" dequeueing system.
Basically I'm just looking for some validation on this approach - If anyone has any other suggestions, especially if you know of another way of spawning server side processes, I would be extremely grateful.
Thank you in advance,
MattThis approach is fine.
Oracle9i AQ allows you to register PL/SQL callbacks that will be invoked asynchronously (using DBMS_JOB) when a message is enqueued to a queue -
CJ88 and CJI3 for particular period showing different values
Hi,
We have automatic rule creation.
Now, we are running period settlement for period 5.
sender is WBSE
receiver is FXA
CJI3 is showing 1,171,580.82
CJ88(Test Run) is showing 1,381,580.82
Why there is difference in two, and this difference is coming only for 3 projects.
I have checked the currency, it is fine.
I tried CJEN but still the same thing.
Thanks,
Harsh.Hi,
Nitin, There is AUC. I made typo error.
We found what was causing the difference:
It was same old down payment problem.
Closing thread.
Thanks Everyone,
Regards,
Harsh. -
I'm running Bootcamp on my iMAC. It finds the magic trackpad but asks for pairing code. I've looked on the trackpad and in the paperwork that comes in box - no pairing code. How do I find this so that I can use the device with my iMAC. Help appreciated. Many thanks
I'm running Bootcamp on my iMAC. It finds the magic trackpad but asks for pairing code. I've looked on the trackpad and in the paperwork that comes in box - no pairing code. How do I find this so that I can use the device with my iMAC. Help appreciated. Many thanks
-
BO XI 3.1 Security - Enable drag and drop
Hi,
I am trying find out how to enable "drag and drop" for the webi reports in Infoview.
What are the main settings in access levels or profiles needs to be done ?
Also, I am wondering if we can do some settings for enabling developers to use import wizard-client tool.
Any suggestion from soem experts...?You can do "drag-n-drop" in the Java Report Panel. But you cannot "drag-n-drop" report objects from folder to folder which is a poor design in my humble opinion. ASUG (America's SAP Users' Group) is starting several Influence Councils this year. If you are interested in voicing your constructive opinion and suggestion to the Product Managers, please go to asug.com to find out more information and to sign up.
As of Import Wizard, it is an administrator tool and should be restricted to administrators only. Making it available to developers/users is asking for trouble. It will lead to total chaos. -
Unable to find trace file for a particular sid
Hi all,
I have a oracle 9.2.0.6 on solaris platform.I have to use tkrpof for PT for a particular sid.But when i checked out the trace file for that particular sid, i am not able to find out the same.....
SQL> select c.value || '\' || lower(d.value) || '_ora_' || to_char(a.spid, 'fm0
0000') || '.trc' "TRACE FILE"
2 from v$process a, v$session b, v$parameter c, v$parameter d where a.addr =
b.paddr
3 and b.audsid = userenv('sessionid') and c.name = 'user_dump_dest'
4 and d.name = 'db_name';
TRACE FILE
/arch/dump/udump\icai_ora_02464.trc-rw-r----- 1 oracle dba 2526 Nov 9 04:27 icai12_ora_1314.trc
-rw-r----- 1 oracle dba 2528 Nov 9 04:41 icai12_ora_1541.trc
-rw-r----- 1 oracle dba 689 Nov 9 14:26 icai11_ora_14071.trc
-rw-r----- 1 oracle dba 6414 Nov 9 23:56 icai12_ora_456.trc
-rw-r----- 1 oracle dba 1427 Nov 10 12:02 icai11_ora_1867.trc
-rw-r----- 1 oracle dba 613 Nov 10 12:02 icai12_ora_292.trc
-rw-r----- 1 oracle dba 678 Nov 10 12:07 icai11_ora_2356.trc
-rw-r----- 1 oracle dba 613 Nov 10 12:12 icai12_ora_490.trc
-rw-r----- 1 oracle dba 626 Nov 10 12:12 icai11_ora_2275.trc
-rw-r----- 1 oracle dba 613 Nov 10 12:12 icai12_ora_505.trc
-rw-r----- 1 oracle dba 626 Nov 10 12:15 icai11_ora_2430.trc
-rw-r----- 1 oracle dba 613 Nov 10 12:15 icai12_ora_286.trc
-rw-r----- 1 oracle dba 625 Nov 10 12:42 icai11_ora_2378.trc
-rw-r----- 1 oracle dba 625 Nov 10 12:45 icai11_ora_2549.trc
-rw-r----- 1 oracle dba 625 Nov 10 12:46 icai11_ora_2514.trc
-rw-r----- 1 oracle dba 626 Nov 10 12:48 icai11_ora_2626.trc
-rw-r----- 1 oracle dba 731 Nov 10 12:49 icai11_ora_2322.trc
-rw-r----- 1 oracle dba 1312 Nov 10 12:49 icai11_ora_2096.trc
-rw-r----- 1 oracle dba 625 Nov 10 12:50 icai11_ora_2315.trc
-rw-r----- 1 oracle dba 625 Nov 10 12:50 icai11_ora_1390.trc
-rw-r----- 1 oracle dba 729 Nov 10 12:51 icai11_ora_1990.trc
-rw-r----- 1 oracle dba 626 Nov 10 12:52 icai11_ora_2485.trc
-rw-r----- 1 oracle dba 626 Nov 10 12:52 icai11_ora_2063.trc
-rw-r----- 1 oracle dba 644 Nov 10 12:53 icai11_ora_2605.trc
-rw-r----- 1 oracle dba 626 Nov 10 12:54 icai11_ora_2299.trc
-rw-r----- 1 oracle dba 625 Nov 10 13:07 icai11_ora_2333.trc
-rw-r----- 1 oracle dba 626 Nov 10 13:07 icai11_ora_2380.trc
-rw-r----- 1 oracle dba 729 Nov 10 13:07 icai11_ora_2174.trc
-rw-r----- 1 oracle dba 625 Nov 10 13:08 icai11_ora_2851.trc
-rw-r----- 1 oracle dba 613 Nov 10 13:08 icai12_ora_627.trc
-rw-r----- 1 oracle dba 626 Nov 10 13:11 icai11_ora_2894.trc
-rw-r----- 1 oracle dba 1365 Nov 10 13:12 icai11_ora_2443.trc
-rw-r----- 1 oracle dba 1640016 Nov 10 13:42 icai12_ora_427.trc
-rw-r----- 1 oracle dba 676 Nov 10 13:48 icai11_ora_2183.trc
-rw-r----- 1 oracle dba 626 Nov 10 13:48 icai11_ora_2230.trc
-rw-r----- 1 oracle dba 645 Nov 10 13:55 icai11_ora_3220.trc
-rw-r----- 1 oracle dba 675 Nov 10 13:57 icai12_ora_276.trc
-rw-r----- 1 oracle dba 625 Nov 10 14:07 icai11_ora_3198.trc
-rw-r----- 1 oracle dba 1376 Nov 10 14:08 icai11_ora_2935.trc
-rw-r----- 1 oracle dba 625 Nov 10 14:09 icai11_ora_3273.trc
-rw-r----- 1 oracle dba 677 Nov 10 14:10 icai11_ora_2465.trc
-rw-r----- 1 oracle dba 634 Nov 10 14:17 icai12_ora_1137.trc
-rw-r----- 1 oracle dba 687 Nov 10 14:21 icai11_ora_1971.trc
-rw-r----- 1 oracle dba 688 Nov 10 14:23 icai11_ora_2973.trc
-rw-r----- 1 oracle dba 626 Nov 10 14:25 icai11_ora_2144.trc
-rw-r----- 1 oracle dba 770 Nov 10 14:32 icai12_ora_399.trc
-rw-r----- 1 oracle dba 718 Nov 10 14:37 icai12_ora_917.trc
-rw-r----- 1 oracle dba 644 Nov 10 14:48 icai11_ora_3510.trc
-rw-r----- 1 oracle dba 645 Nov 10 15:31 icai11_ora_2957.trc
-rw-r----- 1 oracle dba 730 Nov 10 15:33 icai11_ora_1973.trc
-rw-r----- 1 oracle dba 688 Nov 10 15:56 icai11_ora_3830.trc
-rw-r----- 1 oracle dba 2527 Nov 10 16:11 icai12_ora_364.trc
-rw-r----- 1 oracle dba 687 Nov 10 16:34 icai11_ora_4150.trc
-rw-r----- 1 oracle dba 1332 Nov 10 16:35 icai11_ora_3760.trc
-rw-r----- 1 oracle dba 715 Nov 10 16:38 icai11_ora_3723.trc
-rw-r----- 1 oracle dba 687 Nov 10 16:46 icai11_ora_4295.trc
-rw-r----- 1 oracle dba 714 Nov 10 16:56 icai11_ora_2598.trc
-rw-r----- 1 oracle dba 615 Nov 10 17:06 icai12_ora_2232.trc
-rw-r----- 1 oracle dba 615 Nov 10 17:09 icai12_ora_2290.trc
-rw-r----- 1 oracle dba 2527 Nov 10 17:13 icai12_ora_1875.trc
-rw-r----- 1 oracle dba 688 Nov 10 17:18 icai11_ora_4473.trc
-rw-r----- 1 oracle dba 978 Nov 10 17:25 icai12_ora_2265.trc
-rw-r----- 1 oracle dba 645 Nov 10 17:29 icai11_ora_4582.trc
-rw-r----- 1 oracle dba 730 Nov 10 17:36 icai11_ora_4084.trc
-rw-r----- 1 oracle dba 616 Nov 10 17:46 icai12_ora_2281.trc
-rw-r----- 1 oracle dba 615 Nov 10 17:46 icai12_ora_1811.trc
-rw-r----- 1 oracle dba 730 Nov 10 17:50 icai11_ora_4225.trc
-rw-r----- 1 oracle dba 2528 Nov 10 18:08 icai12_ora_2352.trc
-rw-r----- 1 oracle dba 626 Nov 10 18:10 icai11_ora_2501.trc
-rw-r----- 1 oracle dba 738 Nov 10 18:10 icai11_ora_2790.trc
-rw-r----- 1 oracle dba 688 Nov 10 18:28 icai11_ora_3768.trc
-rw-r----- 1 oracle dba 626 Nov 10 18:33 icai11_ora_4029.trc
-rw-r----- 1 oracle dba 626 Nov 10 18:33 icai11_ora_3965.trc
root@ai2 #You seem to have RAC with multiple instances.
Anyhow, lower(d.value) --> icai, doesn't occur in any filename. This is because the instance name is in the trace filename, not the database name.
You are aware you can set the tracefile_identifier?
This will be simply appended to the original filename.
Sybrand Bakker
Senior Oracle DBA -
Enable the Debug mode for Dispatcher and Server0.
Hello All,
In our EP server 7.0(stand alone java) apart from SDM we need to enable the Debug mode for Dispatcher and Server0.I tried to do it from mmc but cannot do so.When I try to right click & enable from mmc the "Enable Process" is not highlited,it is disabled.How Can I enable the the Debug mode for Dispatcher and Server0?Hi
Goto Configtool Select Instance_IDxxxxx on the right side you can see "Servers Debug" tab, select that and choose, enable debug and debuggable options.
Save the settings.
Then expand the above mentioned node and select Server_IDxxxxxxx , you will see a tab Debug select it and choose, enable debug and debuggable options.
Save the settings.
After it is done, take a restart of the instance. This should help you.
Regards
Rahul -
Hi friend,
i have issue regarding mandatory self life field (SELD/BBD and Date of manufactor)in migo for Batch Tab for particular Material start with '1' Series and material type.
i want to make mandatory above field during GR from migo..any one let me know exit or badi for that to full fill this goal..
Regard's,
shaikh Khalid.Hi Shaikh
First of all Thread is not closed seconldy as a good practice if you have resolved your issue kindly document it here so that it may help someone in future
Nabheet -
Calculation of depreciation and interest for a particular asset class
Hi,
I have a problem with the calculation of depreciation and interest for a particular asset class. The assets are financial leases. The depreciation key defined is LEAS. The following are the attributes of this key:
Dep/int phase base met dec-bal prd cont mult lvl chn ov
Ord.depreciation 1 0011 001 006 001 5
Ord.depreciation 2 0002 001 003 003
Interest 1 0028 001 003 010
An example of an asset is:
Aquisition value: 1041552.71 (as migrated on 01.04.2007)
Ordinary dep already posted: 56243.88
Net book value: 985308.83
Scrap Value:729086.90
Useful life: 50 years
Expired useful life: 9 years 1 month
Remaining useful life: 40 years 11 months.
Depreciation start date: 28.03.1998
Interest calculation start date:30.03.1997
Depreciation calculated by the system:6261.83
Interest calculated in the year:15682.68
I'm not able to undersatnd on what basis the system calculated the interest. I will be thankful if anyone can help me resolve this. An early reply will be greatly appreciated as I'm facing major problems due to this issue.Hi Mahesh,
As per my analysis of the case the interest rates are as under
Acq. Year Int.Percent
9999 4 01 10.%
9999 7 01 5.%
9999 25 01 2.5%
9999 999 12 01 2.5%
As per this the Acquisition value less the Scrap Value Rs.312,465.00 @ 2.5% p.a will be Rs. 7811.64.
Based on the above you analyse for which period interest is calculated.
Hope it will help.
Regards,
Vijay -
Can i use same Server for server side and client??
Hi,
i m developing webservices in java and using two different server for server side and client.
e.g. i m using one tomcat server on a machine to run webservice and again using one more tomcat server on client side at different machine.
and hence it need two tomcat server.
But i want only one server to run webservice and client.
So please help me out...
ThanksHi,
It is always recommended to maintain different servers
REgards,
Ravi. -
Can we able to Configure the IRM in Document Level in SharePoint Document libraries?
The document library contains multiple document sets , Can we restrict the printing according to document sets? Allow printing for some documents and restrict the printing for particular documents in same document library
Is this possible?Please suggest.Yes, that can be done. But note that all administrators will have the same right to print, so you need to make sure the users are not administrators. You can include a macro to disable printing, but if the users disable macro, they can print the documents.
Hence, there is no foolproof way to prevent printing documents. If you still need a foolproof security, PDF format provides password based security (viewing doesn't require a password) that can be implemented to prevent the document from printing,
which doesn't require any special scripts and is tough.
You can have a look at the following links:
http://msdn.microsoft.com/en-us/library/office/ms458245(v=office.14).aspx
http://msgroups.net/microsoft.public.word.docmanagement/prevent-printing-of-docum/91353
http://www.go4sharepoint.com/Forum/prevent-printing-saving-documents-10150.aspx
The following link explains about the security features in PDF. This is for information purpose only and not for promotion of any products:
http://www.pdflib.com/knowledge-base/pdf-security/
Balaji Kundalam
Maybe you are looking for
-
LiveType Credit Roll Text Blurry Shaking in DVD Studio Pro Completed SD
I first created text scrolling directly from inside FCP. The texts appear shaking/blurry in the exported MOV. After trying different font family/size but still getting the same bad result, I did more research. I then created the credit roll in LiveTy
-
Calculated Value in Infopath List Form only appears when editing.
I have a InfoPath 2010 List Form running against SharePoint 2010 Enterprise. I've created a calculated value that returns data from a secondary list. The returned value is correct but isn't being displayed in the display form. It only appears when
-
No sound from pulling out earphones improperly
now 00:00 shows up on mi ipod and tried every solution..reset, restored, nothin...sad face appears...now i put it in disk mode...ipod is extremely overheated..windows reads mi ipod and itunes..itunes keeps telling me to try the same things i been doi
-
Connect to projector, Connect to projector
After receiving an Apple TV for Christmas I want to add it to my existing setup which is as follows: Sky HD box connected to a HDMI converter to component video Component video input into Sony VPL HS20 projector Works great at either 720p or 1080i re
-
Macintosh OS X, 802.1x, EAP-TLS
Wanting to implement 802.1x authentication on my wired network. using Windows IAS as the radius and Windows 2000/XP/MAC OS X as clients. The Windows clients works perfectly, 802.1x authentication occurs before user login box. The Max OS X clients are