SQL to get who is using the UNDO segments
Hello I need SQL to grab who is using the UNDO segments. Is there anything out there to allow me to do this. We want to track down which user is running our database UNDO segments up. We think we know who is doing this by monitoring top sql but managment wants more proof as usual. Any help would be great.
When I run the sql that you gave me it comes back with zero rows. however, when I run
SELECT rn.NAME "Rollback Segment", rs.rssize / 1024 "Size (KB)",
rs.gets "Gets", rs.waits "Waits", (rs.waits / rs.gets) * 100 "% Waits",
rs.shrinks "# Shrinks", rs.EXTENDS "# Extends"
FROM SYS.v_$rollname rn, SYS.v_$rollstat rs
WHERE rn.usn = rs.usn;
I get
Rollback Segment Size (KB) Gets Waits % Waits # Shrinks # Extends
SYSTEM 376 1525 0 0 0 0
_SYSSMU1$ 2012208 1152908 0 0 17 579
_SYSSMU2$ 1845040 1098021 1 9.10729394 16 555
_SYSSMU3$ 558840 980111 32 0.00326493 13 482
_SYSSMU4$ 2789808 1280846 152 0.01186715 17 685
_SYSSMU5$ 3875944 1385711 113 0.00815465 19 787
_SYSSMU6$ 298728 1427953 4 0.00028012 27 825
_SYSSMU7$ 990504 1505872 3 0.00019922 21 867
_SYSSMU8$ 2122480 1135552 2 0.00017612 21 805
_SYSSMU9$ 2344888 627282 4 0.00063767 16 421
_SYSSMU10$ 811888 2323871 53 0.00228067 52 823
11 rows selected
how do i see who holds those segments.
Similar Messages
-
Cannot save files or use the undo function in InDesign CC
As of this morning, I am not able to save files or use the Undo function in InDesign CC. Tried many fixes but nothing has worked. I have a ton of work to get done today -- any solutions for this???
Im viewing this thread because its just happened to me again... my solution is below.
Im currently running the latest version of indesign cc (9.2.1) on my brand new 13" macbook pro. (OSX 10.9.4)
As noted earlier in this thread, when this happens, before you give up and close in frustration, EXPORT the file as IDML, and your all good!
Ive had this issue on several occasions using Indesign CC since October. Here are my 2 'Usual Suspects' when this occurs:
1. culprit: SUITCASE FUSION 5 – deactivate 'auto activation' from within Indesign Prefs. In some cases, i didn't even restart Indesign (much less my computer) for this to work.
(menu: INDESIGN/PREFERENCES/ SUITCASE FUSION 5 AUTO ACTIVATION PREFS (bottom of submenu list) Uncheck the top box, 'Auto Activate....')
Im assuming this was rechecked to auto-activate after an update. Hasn't happened in a while—but sure enough, the auto-activate box was checked again.
Its a pain having to manually-activate fonts, but its alot easier than redoing a bunch of work!
2. culprit: CRASH PLAN (online backup)– actually, ive seen this happen with a couple of backup programs. I don't know that this is for sure an issue, but it did resolve the saving issue earlier this year. I just pause backup for a few hours, then resume. Seems to be ok.
Steps i took:
Quit Indesign CC (AFTER EXPORTING the file as IDML!)
Pause backup within CrashPlan.
Restart Indesign CC. -
Steadily Increasing UNDO but "seems" no process using the UNDO.!
Hi All,
I've been reading some materials to solve this issue on our database (Oracle 11.2.0.3.0) . The problem is that we have been increasing UNDO from 35G to almost 60G now. and it is still increasing in usage. But I cannot detect any transaction using the undo. If you have any insights, that will be great. Below are the information I have gathered.
Datafiles are not autoextensible.
FILE_NAME BYTES/1048576 AUT MAXBYTES/1048576
****/undotbs1.260.802515529 31744 NO 0
****/undotbs1.270.828813025 28672 NO 0
Some undo parameters.
SQL> show parameter undo
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 1800
undo_tablespace string UNDOTBS1
SQL> select max(maxquerylen) from v$undostat;
MAX(MAXQUERYLEN)
19628
SQL> select max(undoblks) from v$undostat;
MAX(UNDOBLKS)
9706
I cannot detect any transaction using the UNDO except for a MERGE statement that has been running for almost 3 weeks but it does not show up on the UNDO except for this Toad.exe. Could it be that there were some transactions not commited on the App side?
SID_SERIAL ORAUSER PROGRAM UNDOSEG Undo
1265,47681 ENGI Toad.exe _SYSSMU11_3724053292$ 0K
Rollback Size Undo Com- Command
Segment Kbyte Waits Extents SID Username records LOG_IO mand MODULE desciption
SYSTEM 376 0 6
_SYSSMU1_2397580260$ 1,116,152 7 202
_SYSSMU2_2704140093$ 1,179,768 9 195
_SYSSMU3_2176824562$ 1,185,912 6 115
_SYSSMU4_403671272$ 1,120,376 11 185
_SYSSMU5_3141210127$ 1,121,336 9 206
_SYSSMU6_3100186656$ 1,184,760 10 203
_SYSSMU7_3622910069$ 1,250,360 7 206
_SYSSMU8_1575691382$ 2,823,288 11 220
_SYSSMU9_2782336430$ 2,796,664 56 165
_SYSSMU10_1843652744$ 3,331,184 261 580
_SYSSMU11_3724053292$ 2,797,688 641 51 1265 TARIFFENGINE 0 13 0 TOAD 11.5.0. Unknown
56
Thanks..Hi Guys,
I found something. Below is the value of our tuned_undoretention ( too high which is 192 hrs or 8 days ).
SQL> select max(maxquerylen),max(tuned_undoretention) from v$undostat;
MAX(MAXQUERYLEN) MAX(TUNED_UNDORETENTION)
19628 691838
Here is our space for UNDO ( total of 60416 MB or 59G).
FILE_NAME BYTES/1048576 AUT MAXBYTES/1048576
***/undotbs1.260.802515529 31744 NO 0
***/undotbs1.270.828813025 28672 NO 0
Most of the space of the UNDO is consumed by the UNEXPIRED ( probably because of high tuned_undoretention? ). The ACTIVE are only 64MB.
SQL> select sum(bytes /(1024*1024)) from dba_undo_extents where status='EXPIRED';
SUM(BYTES/(1024*1024))
5914.4375
SQL> select sum(bytes /(1024*1024)) from dba_undo_extents where status='ACTIVE';
SUM(BYTES/(1024*1024))
64.0625
SQL> select sum(bytes /(1024*1024)) from dba_undo_extents where status='UNEXPIRED';
SUM(BYTES/(1024*1024))
42589.25
I came across this doc from metalink – “Master Note: High Undo Space Usage (Doc ID 1578639.1).” THANK YOU srini_Chavali
Within Master Note: High Undo Space Usage (Doc ID 1578639.1) there is a link to – “Automatic Tuning of Undo_retention Causes Space Problems (Doc ID 420525.1)” that discusses a possible workaround on this issue.
Thanks -
How much is the cloud going to cost a individual who only uses the Lightroom module?
How much is the cloud going to cost a individual who only uses the Lightroom module?
When you subscribe to the cloud you get ALL of the offered applications and services whether you choose to use them or not. There is no individual module plan.
http://www.adobe.com/products/creativecloud/faq.html# -
I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?
The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
Menu > Format > Import Styles
The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
Peter -
I just bought the new ipod touch, but when I try to sync it I get told to use the cloud and download from there. How do I sync it to my itunes so that I get all my songs without going through cloud? Otherwise if this isn't possible I am taking this back!
Thanks for no help... but for anyone else, turn off itunes match on the ipod
-
Who is using the mac mini 2.6 gig i7 to edit video?
Who is using the mac mini 2.6 gig i7 to edit video? (16 gigs ram)
I will be using Premiere Pro cs6 (Hoping I can utilize The Adobe Cuda Core acceleration...anyone know?)
also
Gonna be using Final Cut 7
1920-1080P, AVCHD Format. Probably gonna convert to pro-res or mpg2 before editing
* Is the mac mini going to suit my purposes?
* Not sure what to do about drives?? Solid state? Sata? ThunderboltI use a 2012 mac mini server 2.0 i7 (quad core) 8GB ram as a second edit station with FCP 7. It works just peachy.
I doubt the CUDA engine is going to do much for you in Premiere. You need a beefy video card designed for CUDA and the mini doesn't have one.
Cut ProResLT and you can use FW800. Anything heavier, you'll want to go thunderbolt.
x -
I just loaded Final Cut Pro onto a new computer and I cannot use the undo/redo function keys. Is there a problem with the software or do I have a setting set incorrectly.
When I go under edit, both undo and redo are grey so I cannot use. I also cannot use the short cut key.Undo/Redo is command and Z. Are you using a different keyboard layout than US English?
You can set the number of undos from the menu bar: Final Cut Pro > User Preferences > General.
This functionality is dependent on how much RAM is installed in your computer - setting a higher number of steps backwards will use more. How much do you have installed?
Undo/Redo is only available after you have done something to the media in FCP. It is not saved in your project file. Closing a FCP project will lose any saved undo steps, although you can still use one of the Auto-saves of your project file to go back. -
How do I get rid of using the passcode?
I deleted my icloud account but I can't get rid of using the passcode every time I open my ipad. How do I get rid of the passcode requirement?
Never mind - I found the answer.
-
My nephew give me the iphone and i'm not sure about the carrier. how i can get this information using the imei number?
If you have the iPhone in front of you, here's how you can learn the carrier:
Go to Settings > General > About and look at the "Network" row near the top. There's your carrier's name! -
After 6 months of iPad bliss....My iPad has the incorrect apple ID how do I get it to use the correct one?
Settings > Store > Apple ID. Sign out and sign in with the correct one. Note that all apps are forever tied to the account they are purchased under.
-
How to track, who are using the particular table in oracle using sql or pl/
we have database DB1 and it contains schema s1 and the schema s1 contains all the user defined objects including tables and others and it contains one of the table name called t1. we have users u1, u1, u2...uN.
Now, I want to track who are all using that particular table t1 under schema s1 (track user, time).
How to do this from sql OR pl/sqlhi,
Thanks for the url , it was useful but i am unable to extract anything from it , For ex i gave a command like this
Audit Select, Insert, Delete
On tk_sales_master
By Access
Whenever Successful;
then
Select * From tk_sales_master
Then
Select SESSIONID, ENTRYID, Statement, Timestamp#, USERID From SYS.AUD$
But i didnt get any rows from the SYS.AUD$
Can u pull me out
with warm regards
ssr -
Good day,
I have multiple db installation for multiple sites. I can see who is using B1 through the license manager, however I would like to know who is using which database. Or put another way, I want to know if anyone is logged into a specific database.
Does anyone know of way to get this information?
TIA - JasonHi Jason,
I'm not sure if there's a way through the license server to get this information (there is an interface available here on the SDN that allows you to retrieve data from the license server via code).
You could use the SQL stored procedure sp_who. This will tell you all the processes running on the SQL Server, including the database and the hostname (ie the workstation). Alternatively, just look at the activity monitor in SQL Studio Management (which shows the same data). If you are using Windows Authentication to connect to SBO then you will be able to see individual user names (otherwise the workstation id can be used to trace the person).
Kind Regards,
Owen -
Is there any way to get Mail to use the Inbox as the Sent folder?
This may sound like a silly question, but I have an IMAP account with over a hundred nested folders. I've tried using rules to sort email that comes in, but honestly? It's more trouble than it's worth. Generally, I leave emails in my Inbox until I've dealt with them, and then I sort them into the appropriate folder.
Unfortunately, this means that I've then got to go and do the same thing with the message that I've just sent—which I sometimes (often) forget to do. I then end up with hundreds and hundreds of messages in the Sent folder that need to be hooked up with their respective originals. Bleh.
Does anyone know if there's a way to get both the original message and the response to end up in the same folder automatically? Mail doesn't allow you to use the Inbox as anything but the Inbox—it's the root directory for the mailbox.
Anyone?
BTW, I'm posting this here because I have Tiger at work, where this is more of a problem, though I've got Leopard (and soon Snow Leopard) at home.Go easy—I've been using Macs since 1984 and have only used Microsoft's bloatware when work obliges me to. (I talked the boss who insisted that we run all of our email and calendars from an Access server into running OS X Server; Entourage went away, and life is much better. Word is still part of my everyday grind because of change tracking, but I have hopes for Pages.) I've used any number of email clients over the years, and Mail is my app of choice for many reasons.
Nonetheless, a useful feature is a useful feature, even if it comes from Redmond. It's not 1996 any more—Macs aren't the downtrodden Rebel Alliance and Microsoft isn't the Empire.
It seems to me that—especially with an IMAP account—you're not dealing with something intrinsic in the structure of the emailing system, since the folder structure doesn't even reside on the client computer (except as a mirror).
I suppose that I could use a rule to shunt all email for that account into a single folder and then use that same folder as the Sent folder. I'd need to create the same rule on my various Macs (and punt on my iPhone)... but I suppose that would work. But I'm still not sure why a more elegant solution isn't possible. -
Someone has stolen my ipod. I do not have it with me, but is there another way to find the cerial number or another piece of information i could turn into the police? is there anyway of getting it back, Becuase i hav a good idea of who stole it, and i have some prove, but its just witness prove, no real prove.
- If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
- You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
- If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
- Change the passwords for all accounts used on the iPod and report to school and police
- There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
- Apple will do nothing without a court order
Reporting a lost or stolen Apple product
- iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
Maybe you are looking for
-
How can I open a WAV file in LabVIEW 7?
I need to make a program that opens a WAV file and converts it into amplitudes values and saves the in a .txt file. But how can I make LabVIEW 7 open up a WAV file? It's probably easy, but I didn't come up with anything up to now! Thanks in advance!
-
OIM 9.1 installation WLS 10.3.0
Hi, I'm installing oim 9.1 on WLS 10.3.0 following "Installation and Configuration Guide for BEA WebLogic Server" (oficial oracle doc). Actually XlWebApp is running, I mean, I able to login to Admin console with "xelsysadm", But I'm not sure if my oi
-
I have two windows machines - one running the as and the other the db. I am trying to develop JSP. The version of Windows OS is 2000 Ad Svr, and the version of OAS is 9i 1.0.2.2.2.a. The version of db on the db serevr that I want to connect is 9.2.0.
-
To split a table as two tables with equal no of records
Hi Everyone, I have a table with size of 100000 records which is reterieved from different tables thats why idx is not in a sequential order. for example idx 1 5 100 and so on i want to create two different tables with same number of records but i do
-
Share disks over wan option missing
I have a Time Capsule (firmware 7.6.1) I am setting up with the Airport Utility (version 6.1). I am trying to share the internal drive (or even a drive connected through the USB port) externally on the internet so that I can access files remotely.