How to find a session with high archive logs
Any query, to see which active session is generating high archive logs in oracle 8i &9i and high rbs usage
Though, there is no direct option or view where you can get this information.
However, you may can find out the session which are generating lot of redo and undo. I guess, when the session has lot of redo & undo, definately, it contribution towards archive would be more.
You can query v$sess_io and v$session to findout the the session which is generating lot of redo. i.e. lot of block changes occuring.
SELECT s.sid, s.serial#, s.username, s.program, i.block_changes
FROM v$session s, v$sess_io i
WHERE s.sid = i.sid
ORDER BY 5 desc
Also query v$transaction and v$session to find out the session that is generating lot of undo information.
Jaffar
Message was edited by:
Syed Jaffar
Similar Messages
-
How to find out who deleted the archive logs
Hi All,
Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
OS Version :-
SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
Database Version:-
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012888132 wrote:
Hi All,
Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
OS Version :-
SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
Database Version:-
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012As explained by others, from oracle database there is no record if they are deleted from OS.
But you can probably find the history of OS command been run with history command :). You can get the date and time.
Following link can help
http://stackoverflow.com/questions/99755/how-do-i-get-the-command-buffer-in-solaris-10
http://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
http://www.linuxquestions.org/questions/solaris-opensolaris-20/in-solaris-command-line-how-to-get-the-previous-commands-573814/
But i suggest you to post in Sun OS forum to get more details as its nothing to do with Database(in this scenario) -
How to find the sessions which generated maximum redo amount at instance?
I use below query or Sql*Plus's set autotrace traceonly statistics > redo size statistic to calculate how much redo I generated in my session;
CREATE OR REPLACE VIEW redo_size AS
SELECT value
FROM v$mystat, v$statname
WHERE v$mystat.statistic# = v$statname.statistic#
AND v$statname.name = ‘redo size’;
But how to find the sessions which generated maximum(top 5 for example) redo from the last database startup on 9iR2 or also with new 10gR2 historic views?
We need this information because from the produced archived log files we observe something new producing almost 2 times more redo for a week. I looked at statspack report but couldnt find as I suspected for a massive update or delete.
Best regards,
TongucI tried v$sysstat but I didnt think about v$sesstat Mr.Gasparotto, thank you very much :)
SELECT ss.sid,
sq.sql_text,
se.status,
se.username,
se.osuser,
se.program,
se.machine,
ss.VALUE
FROM v$sesstat ss, v$statname sn, v$session se, v$sqlarea sq
WHERE ss.statistic# = sn.statistic#
AND se.sql_hash_value = sq.hash_value(+)
AND se.sql_address = sq.address(+)
AND ss.sid = se.sid
AND sn.NAME = 'redo size'
ORDER BY ss.VALUE DESC
Best regards. -
How to find sql statement with Unix process pid
Hi
how to find sql statement with Unix process pid
is there any view to find that.
please if so let me know
Thanks in advancethis is how I am doing this:
oracle 7352340 7459066 0 07:47:10 - 0:00 oracleJDERED (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 7459066 5386396 2 07:47:10 pts/1 0:01 sqlplus
select sid,serial# from v$session where process='7459066';
SID SERIAL#
2178 6067
select sql_text
from
v$sqlarea a,
v$session b
where a.hash_value = b.sql_hash_value
and b.sid = 2178
; -
How to find active sessions count on a server in weblogic server console
Hi All,
I would like to know how to find active sessions count on a server in weblogic console. I am using weblogic 11g.
Regards,
Sunil.On the deployment, monitoring tab, you can select web applications. Here the number of current sessions are listed per web application deployed on the domain.
The deployment itself (deployments, application, monitoring, sessions) shows a list of sessions and where it is located. Unfortunately, there is no aggregation (but that is something you can so yourself as well).
When you are using a load balancer in front, the count of sessions on per web application on the domain gives you some clue how many sessions there are present on each server.
That is to say, when load balancer is using round-robin (and does that correct), you can take the total number of sessions divide it by the number of servers. -
How to find report created with Report Painter?
Hi!
how to find report created with Report Painter?
Here is the information that I have:
Object filename, let's say <b>Y_P01_90000001</b>
Report painter object <b>INV-102</b>
The thing is that Library is unknown, thats why I can not find it via GR22...
Any ideas?
Will reward,
MindaugasCheck in GRR3 under <b>INV</b> node...
-
How to build a array with high sampling rates 1K
Hi All:
Now I am trying to develop a project with CRio.
But I am not sure how to build a array with high sampling rates signal, like >1K. (Sigle-point data)
Before, I would like to use "Build Arrary" and "Shift Register" to build a arrary, but I found it is not working for high sampling rates.
Is there anyother good way to build a data arrary for high sampling rates??
Thanks
Attachments:
Building_Array_high_rates.JPG 120 KBCan't give a sample of the FPGA right now but here is a sample bit of RT code I recently used. I am acquiring data at 51,200 samples every second. I put the data in a FIFO on the FPGA side, then I read from that FIFO on the RT side and insert the data into a pre-initialized array using "Replace Array subset" NOT "Insert into array". I keep a count of the data I have read/inserted, and once I am at 51,200 samples, I know I have 1 full second of data. At this point, I add it to a queue which sends it to another loop to be processed. Also, I don't use the new index terminal in my subVI because I know I am always adding 6400 elements so I can just multiply my counter by 6400, but if you use the method described further down below , you will want to use the "new index" to return a value because you may not always read the same number of elements using that method.
The reason I use a timeout of 0 and a wait until next ms multiple is because if you use a timeout wired to the FIFO read node, it spins a loop in the background that polls for data, which rails your processor. Depending on what type of acquisition you are doing, you can also use the method of reading 0 elements, then using the "elements remaining" variable, to wire up another node as is shown below. This was not an option for me because of my programs architecture and needing chunks of 1 second data. Had I used this method it would have overcomplicated things if I read more elements then I had available in my 51,200 buffer.
Let me knwo if you have more qeustions
CLA, LabVIEW Versions 2010-2013
Attachments:
RT.PNG 36 KB
FIFO read.PNG 4 KB -
How to find material recieved with excise duty or without excise duty
HI
how to find material recieved with or without excise duty , and which table these data store . Because we need to develope one new report.
Regards
GaneshHI,
Check the report J1I5 , For the Material received with the Excise Details,
Table "J_1IEXCHDR" will store the Excise invoice header data.
Regards
Mascot. -
How to find index name with primarykey and column on a table?
Hi,
how to find index name with primarykey and column on a table?
please help me.
Thankyou.1 select ac.table_name, ac.index_name, aic.column_name
2 from user_constraints ac, user_ind_columns aic
3 where ac.constraint_type = 'P'
4 and ac.index_name = aic.index_name
5* order by 1,2,3
SQL> /
TABLE_NAME INDEX_NAME COLUMN_NAME
ACTION_TABLE SYS_C0011033 NESTED_TABLE_ID
ACTION_TABLE SYS_C0011033 SYS_NC_ARRAY_INDEX$
CATEGORIES_TAB SYS_C0011038 CATEGORY_ID
CUSTOMERS CUSTOMERS_PK CUSTOMER_ID
INVENTORIES INVENTORY_IX PRODUCT_ID
INVENTORIES INVENTORY_IX WAREHOUSE_ID
LINEITEM_TABLE SYS_C0011034 NESTED_TABLE_ID
LINEITEM_TABLE SYS_C0011034 SYS_NC_ARRAY_INDEX$
ORDERS ORDER_PK ORDER_ID
ORDER_ITEMS ORDER_ITEMS_PK LINE_ITEM_ID
ORDER_ITEMS ORDER_ITEMS_PK ORDER_ID
PRODUCT_DESCRIPTIONS PRD_DESC_PK LANGUAGE_ID
PRODUCT_DESCRIPTIONS PRD_DESC_PK PRODUCT_ID
PRODUCT_INFORMATION PRODUCT_INFORMATION_PK PRODUCT_ID
PROMOTIONS PROMO_ID_PK PROMO_ID
WAREHOUSES WAREHOUSES_PK WAREHOUSE_ID
16 rows selected. -
How to find by email with JPA?
How to find by email with JPA? My this but not worked
public WnUser findUser(WnUser email) {
return (WnUser) em.createQuery
("SELECT object(u.email) FROM entities.WnUser u WHERE u.email =:email").setParameter("email", email.getEmail()).getSingleResult();
javax.ejb.EJBException: javax.persistence.NoResultException: No entity found for query
12:23:44,843 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
12:23:44,843 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
12:23:44,843 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
12:23:44,843 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)First off, you are not really doing:
GWAccount->GWAddressBook->GWAddressBookEntrie->
get_EmailAddress,get_DisplayName()
are you?
If you enter the full line, it will read in all
of the entries each time it is called.
You should break each part into an object:
gwAccount
gwBook
gwEntries
I'm not sure what you are doing.
Are you trying to compose an email?
If so, why are you not using Recipients.Resolve()?
Are you trying to get the recipients from an email?
Preston
>>> On Friday, April 16, 2010 at 1:26 AM,
hillp<[email protected]>
wrote:
> as title,
> i can get the display name from the to, cc, bc edit box,
> then i need to get the email address,
> current i use object API to query:
>
GWAccount‑>GWAddressBook‑>GWAddressBookEntrie >get_EmailAddress,get_Di
splayName
> but i find it is really slow when there are many contacts, example
> 10000.
>
> so is there any other effective method to get the email address? -
How to find a routine with it's technical name
Hello!
I am wondering how to find a routine with it's technical name (e.g. "ROUT 7QAXE7SDXIVW4BJ2S2UL3HLAS" as shown in the error message in a transport log).
So I would like to find out, where this routine is located (w.g. which characteristic/key figure in which transfer/update rule).
Any ideas welcome. Thanks, ThomasHi Thomas,
You can try the following:
Look up table <b>RSUPDROUT</b>with the GUID of your routine (like 7QAXE7SDXIVW4BJ2S2UL3HLAS)in the ABAP Code ID field selection. This will show you the InfoObject it is created on, and the GUID of the update rules. If you click on the Check Table button, you can find out the data target and InfoSource of the Update Rule.
In table <b>RSAROUTT</b>you can again use the GUID of your routine to check the description assigned to the routine during its creation.
I am not sure if this works for the routines of transfer rules....still checking it and will update if anything turns up.
Hope this helps... -
HT1529 how to find my iphone with the serial number
hi
could you please tell how to find my iphone with the serial number ?Sorry, there is no way to do that.
What To Do If Your iDevice or Computer Is Lost Or Stolen
iPhone, iPod Touch, and iPad
If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T. Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. What to do if your iOS device is lost or stolen
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
8. Report Stolen iPad | Stolen Lost Found Online
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on iCloud
3. OS X Lion/Mountain Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Mac Computer
Find My Mac can be used from Find My Phone at iCloud.com and via Find
My Phone on your iDevice.
The following is third-party anti-theft software:
1. STEM 2.1
2. MacPhoneHome 3.5
3. MacTrack 7.5.0
4. VUWER 1.7
5. Sneaky Bastar* 0.2.0
6. Undercover 5.1.1
7. LoJack for Laptops
8. Hidden 2.0 -
How to find IDOC no with reference to one billing document no
Dear all,
Can you please tell :
How to find IDOC no with reference to one billing document no
ThanksHi Pavan,
You are absolutely correct. But what i need to know is sometime , even in the sales order there will be no output type (basically inbound) which can be found as suggested by Sunil - I think that is the most relevant way to find the IDOC no. Hope you will agree with me. Again how to activate by IAN is also guides the idea. Only thing we need to know the exact parameter to be maintained in own data.
Thanks for your one of the valid suggestion.
Regards,
Ranjan -
How to find the maximum no of users logged in Database
Hi All,
How to find the maximum number of users logged in database at particular time? I can find currently logged users or umber of sessions running on Database but I wanted to find at what time maximum number of users or sessions connected to the DB? is that possible? if yes please help me. thanks.Vijay wrote:
Hi All,
How to find the maximum number of users logged in database at particular time? I can find currently logged users or umber of sessions running on Database but I wanted to find at what time maximum number of users or sessions connected to the DB? is that possible? if yes please help me. thanks.
select * from v$resource_limit;Lists about 20 different resources with current, maximum and limit on usage. Session count is one of them. I don't think there's any (simple, efficient) way to determine the maximum number of different users of sessions, though.
Regards
Jonathan Lewis -
How to find the IDOC for the archived message in integration engine
Hello experts
In my outbound scenario (Idoc to file), I have a message id got processed from integration engine (SXMB_MONI) but failed in adapter engine (RWB) on 1week back, The same message archive in SXMB_MONI but i found same message in adapter engine.
My question is how to find the archive message IDOC num
We can't find in adapter engine it will show only (sender service, receiver service and interface date and time as well and receiver structure in message content tab) but not idoc no,
Kindly provide the solution for the issue, Is there any alternative to find the idoc?
I can search with partner in sap side but i can get lot of idoc's
Thanks & Regards
Rajashekar> We can't find in adapter engine it will show only (sender service, receiver service and interface date and time as well and receiver structure in message content tab) but not idoc no,
>
> I can search with partner in sap side but i can get lot of idoc's
Hi,
If solution given by experts in above replies doesn't work then you can try below method.
What you can do is, take some unique values from message content tab (which came in some specific segment from IDOC)
Now in R3 use tcode WE09 and set the dates when this was processed. Set other filter criteria as much as possible e.g. direction, idoc basic type, port, partner etc and at the bottom you can "Fast search mode" their you give the segment name and it's value.
This will help you get you IDOC.
Regards,
Sarvesh
Maybe you are looking for
-
Impostos não calculados após MP135
Olá pessoal, Estou com a seguinte situação: apliquei as Notas SAP 747607 e 916003 para configuração da MP135 e retenção de impostos. Depois de feita a configuração detalhada nestas notas os impostos sobre vendas pararam de ser calculados (PIS, COFIN
-
CLIENT_CREATE_FAILED in XI 7.0
Hi , This is the error that the abaper is getting, <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!-- Call Adapter --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP
-
Can I delete the "last import" in iphoto after I have transferrd photos from pictures on my imac to the iphoto library? If I delete the pics, will it undo them? Wll it remove the pics from the iphoto library?
-
SALRT_CREATE_API vs SALERT_CREATE_API
Can anyone save me a bunch of time and explain the difference between these two? (Which one I should use when?) SALRT_CREATE_API has more options as well as exceptions Thanks in advance, Brian
-
Blank screen, Intel Mac mini, Samsung P23700 LCD monitor; HELP!?!
I just got a new 23" Samsung LCD monitor and hooked it up to an Intel Mac mini. Turning on the system results in a blank screen with the monitor simply displaying a dialog box that seems to show that it is trying to figure out if the incoming signal