Checking for existing Rollback Segments
Hello you all,
Is there a possibility to check for existing rollback segments within procedures?
Thanks
Hans
Hello
If you just want to be able to find out what rollback segments there are, you can query dba_rollback_segs, which will give you all sorts of info about rollback segments.
Is that what you need or is it more involved?
David
Similar Messages
-
What is the table for active rollback segments
Hi,
Can anyone please let me know what is the table name for 'Active Rollback Segments', is it dba_rollback_segs?
Regards,
- SriYes, this is the view which will report you the rollback segment name, owner and other information about the rollback segments.
You can also query dba_undo_extents view. -
Please help me
What do you mean by ""make check for existing purchase and it happens (error message)."
Just what are yo doing when yo get that error message? -
File Handling (Check for existing file)
now my problems is that i need to have a code that upon a request checks for a file (in the home dir) and if the file exists reads the information and ouputs it. here is an example:
check if file TEST.DATA exists?
check approved TEST.DATA exists
information outputed...
if the file is missing i need to have an error message...
PS. sorry if the question falls under "lame" but i am fairly new to java and i dont know the commands that well... thank you in advance!File.exists()
Reading Text from a File
Useful places to seek for information:
- Java API documentation
- The Java Tutorial
- Code examples from Java developpers Almanac
- Google
- ... -
Is there any tools can check for existed database ?
hi all, is there any tools that can check for that existed database after inserted a database to Ms access??
Then you'll open a connection and then do a Select from table to retrieve information. (and close afterwards)
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV -
Sql to find check Percent of Rollback Segment Used?
I have the following queries to find information about rollback segments.
I want the sql to find % of rollback segment used.
--rollsegs.sql
select SEGMENT_NAME, OWNER, TABLESPACE_NAME, SEGMENT_ID, status
from dba_rollback_segs order by segment_name;
select name, extents, writes, xacts, gets,waits, shrinks, aveactive, status
from v$rollname n, v$rollstat s
where n.usn = s.usn
order by name;
--rolbstat.sql
select name, rssize, hwmsize "High", optsize "Opt", wraps, extends, shrinks,
aveshrink "Aveshr", aveactive "Aveact"
from v$rollname n, v$rollstat s
where n.usn = s.usn
order by name;
set numformat 999999990;DrBurgs, there was a time when your session was assigned a rollback segment that rollback segment held all the updates performed by your session but by Oracle version 8.1 every transaction executed by your session could be assigned to a different rollback segment.
So every 100,000 or whatever value of N use choose as your commit point could result in a different rollback segment being used. You can use v$rollstat and v$transaction to monitor rollback segment usage while the job is running.
You stated that you had one rollback segment for every tablespace. There is no relation in Oracle between the number of tablespace and the number of rollback segments you should have.
You should choose the number of rollback segments to create based on the expected user load and how large a transaction you need to be able to support. For manually defined rollback segments set the initial extent size and the next extent size equal with pctincrease = 0. Then set optimal to the size you would like each rollback segment to be. This size should be large enough that shrinks do not happen often but small enough that one segment that expands will not result in other rollback segments being able to extend. By using uniform extent size you guarentee that every free extent is usable by any other rollback segment that needs to extend.
With a true warehouse you probably have very little update compared to your select load and the updates are probably load jobs. In this case you may need very few, very large rollback segments to handle the load.
HTH -- Mark D Powell -- -
I got a popup balloon to update to Firefox 4. I clicked it and after running the install for about a minute, it quit and I got a message saying it had timed out. It gave me the website to go to to manually install it. I downloaded the manual install for FF 4, but when I tried to run it, the Firefox Setup Wizard said it was "checking existing installation" and then brought up a window saying Firefox must be closed to run the install. Firefox was not open. I tried to open it and it won't open. I then tried to delete it in my "Add/Remove Programs" (Windows XP Home Edition). I got the same messages: that it was checking the existing installation and that I had to close all firefox programs before I could delete it. I'm out of ideas.
I got a popup balloon to update to Firefox 4. I clicked it and after running the install for about a minute, it quit and I got a message saying it had timed out. It gave me the website to go to to manually install it. I downloaded the manual install for FF 4, but when I tried to run it, the Firefox Setup Wizard said it was "checking existing installation" and then brought up a window saying Firefox must be closed to run the install. Firefox was not open. I tried to open it and it won't open. I then tried to delete it in my "Add/Remove Programs" (Windows XP Home Edition). I got the same messages: that it was checking the existing installation and that I had to close all firefox programs before I could delete it. I'm out of ideas.
-
PA20/PA30 Green Check For Existing Infotypes
Can anybody tell me how the green check mark shows up on the screen for existing infotypes when you do a PA20/PA30? I have a request to try and make it show up on the TIME Infotypes, because currently it doesn't even when they are there.
Hi Richard,
The solution to your query is included in sap note no. 713327.
Please apply it and you will solve your requirement.
Kind regards,
Rodrigo -
Credit check for existing Verizon customer
Hello! I am looking for some assistance. I recently received an email from BB about a 2500 point Reward Zone bonus for buying a new phone w/ a two year plan. I am currently on my mother-in-law's family plan but due for an upgrade. After going through all the checkout steps, I was met with a request for a credit check for my mother-in-law. This makes little sense to me, as we have been Verizon customers for years and have a total of four accounts with them under this plan. If we are longstanding customers with Verizon, why does Best Buy claim Verizon needs to do a credit check? I know one wouldn't be necessary if we were to go to an authorized Verizon dealer for this purchase. So how can BB claim the check isn't for themselves when Verizon already has no issue with the account's credit?
I would love the bonus points but I'm not about to dent my mom-in-law's credit with a credit check. It sours me on ever going through Best Buy for any mobile service in the future. If Verizon is fine with the account and the current credit status, why does BB force one on us while claiming it's for a company that alreayd has no issue with the account holder's credit score?All credit checks are done through the carrier. Verizon does periodically request updated an credit report, even when performing an upgrade. This same process would take place no matter where you get your phone -- Best Buy, Verizon corporate stores, or other third-party dealers.
Dan K. | Mobile Specialty Stores
Any opinions expressed in this post are those of
the author and do not represent Best Buy Co., Inc. -
Check for existing XML element
Dear all,
I'm trying to write a simple script first checking to see whether an XML element exists, and then creating it if it doesn't. I've tried editing a piece of code that I used previously to do the same for paragraph styles, but apparently it's not that straightforward. Currently, all I get is the error "Cannot execute the script in target engine 'main'!" Without the checking, adding the XML element based on the search result works fine.
/* Find all instances of the word "Superscript" */
app.findTextPreferences.findWhat = "Superscript";
var mySuperscript = myDocument.findText(); // Save search result for future reference
/* See if an XML element named "Superscript" already exists, and create it if that's not the case; then add it to all instances of the word "Superscript" */
var myXMLElementSuper = myDocument.xmlElements.item("Superscript");
try {
var myName = myXMLElementSuper.name;
catch (myError){
var myXMLElementSuper = myDocument.xmlElements.add({markupTag:"Superscript", xmlContent:mySuperscript[i]});}
Any assistance would be greatly appreciated!
Kind regards and thanks in advance,
JulianTry this,
app.findTextPreferences=app.changeTextPreferences=null;
app.findTextPreferences.findWhat = "Superscript";
var mySuperscript = app.activeDocument.findText();
for(var i=0; i< mySuperscript.length; i++)
if(mySuperscript[i].associatedXMLElements[0].markupTag.name != "Superscript")
app.activeDocument.xmlElements[0].xmlElements.add({markupTag:"Superscript", xmlContent:mySuperscript[i]});
app.findTextPreferences=app.changeTextPreferences=null;
Vandy -
How do you check to see if the element exists for a node? I have a node singleton=true cardinality=0..1 selection=0..1
I use this to create it
IPublicManagerMassRosterCust.IManagerElement elem = wdContext.nodeManager().createManagerElement();
How do I check to see if it's there?
Initally I was wanting to overloading the method with two versions public boolean setManager() and public boolean setManager(string userId) but the wizard isn't letting me.
Diane
Edited by: Diane Fuller on Mar 6, 2008 3:20 PMHi,
you can use
// Change the nodeName(nodeOrders) to that of yours
if ( wdContext.nodeOrders().isEmpty())
// code here when the node is empty.
Regards
Ayyapparaj -
Checking for existing pageContext attributes
I have several tags that need to use the same attribute. I create it for the session using pageContext.setAttribute. The problem is that I won't always know which tag gets used first. What I want to do is check to see if I need to set the attribute or get the attribute. How do I do that? Do I need to do that?
For example
if (insertMagicCodeHereToFigureOutIfTheAttributeExists)
whatEver=generateStuff();
pageContext.setAttribute("stuff",whatEver,SESSION_SCOPE);
else
pageContext.getAttribute("stuff",whatEver);
}Object myStuff = pageContext.getAttribute("stuff", PageContext.SESSION_SCOPE);
if (myStuff == null)
myStuff = generateStuff();
pageContext.setAttribute("stuff", myStuff, PageContext.SESSION_SCOPE);
} -
What's the best/fastest way to check for existance of a userobject
We are developing an Addon in VB.NET.
I think there are two ways to check if a table exists:
1) usertableMD.GetByKey(tablename)
2) orecordset.DoQuery("SELECT * FROM sysobjects WHERE ...)
I would like to use the first way, but is the GetByKey fast and how much will the call "System.Runtime.InteropServices.Marshal.ReleaseComObject(usertableMD) " slow down ?I personnaly use GetByKey
I think that opening a recordset is not the optimized SAP solution, and anyway, you'll have to release the recordset
Private Function UserTableExists(pst_TableName) As Boolean
Dim dsa_UserTablesMD As UserTablesMD
Dim dbo_ReturnCode As Boolean
dsa_UserTablesMD = msa_Company.GetBusinessObject(BoObjectTypes.oUserTables)
dbo_ReturnCode = dsa_UserTablesMD.GetByKey(pst_TableName)
System.Runtime.InteropServices.Marshal.ReleaseComObject(dsa_UserTablesMD)
Return dbo_ReturnCode
End Function -
Can an Install package checks for existing runtime install?
I am preparing to deploy an updated version of a utility used to read data files generated by several LV driven test systems. This will be deployed to some users that already had installed a previous (first) version and some users that have never installed it. The previous installers will have the LV runtime already installed but the others won't.
Is there a way to have the install package check to see if the runtime is installed so it doesn't waste time installing it again? (Vers 2011)
Likewise, is there a way to check the version of the runtime (main version and patched versions) to know whether to update it?
Trying to make this a semi-professional install package.
Thanks
Doug
Doug
"My only wish is that I am capable of learning each and every day until my last breath."It should already do this, assuming you need the same version of the RTE.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Hi,
I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.
Regards,
ShanmugaHello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
Points are always welcome if you feel an answer has been helpful.
Maybe you are looking for
-
PO Report by PO creator's name
Hello! Is there any way (other than the Document Overview Method and the EKKO Database Table Method) wherein a PO report can be generated along with the PO creators name. Thanks in advance. Riju.
-
After 1st Gen iPod touch reset, cannot configure mail for Mobile Me or iCloud account
I recently reset my iPod touch 1st Gen, v. 3.1.3 (7E18) and have not been able to configure Mail to check the Mobile Me or iCloud mail server. I get an error msg that the user name or password must be incorrect, but they're not. I assume this is du
-
A lot of my songs, once put on the iCloud, will not download to my iPod. They are in my iTunes library, already downloaded, but will not appear in my library on my iPod. There is no common thread for the origin of the songs--many were ripped from C
-
Hello, I'm relatively new to Photoshop so if you know how to do this, please explain by telling me where I click. E.g. File>Open Does anyone know how I would achieve this exact effect in Photoshop in the image above (without the circular logo)? The 2
-
Accessing audio file directories more easily
Is there a way to access audio files like foley or music files more easily. Currently I locate files in the finder and drag into the FCP browser window, but would like to have a way to see the various folders in one place. Is this doable, or is there