How to config EM performance page to display 30 days Average Active Session
Does EM supports displaying 30 days ASH data in the performance page without clicking the calendar tool?
Now EM only can show 7 days view.
AWR collects performance related statistics and derives performance metrics from them to track a potential problem. Unlike Statspack, snapshots are collected automatically every hour by a new background process called MMON and its slave processes. To save space, the collected data is automatically purged after 7 days. Both the snapshot frequency and retention time can be modified by the user. To see the present settings, you could use:
select snap_interval, retention
from dba_hist_wr_control;
SNAP_INTERVAL RETENTION
+00000 01:00:00.0 +00007 00:00:00.0
To change the settings--say, for snapshot intervals of 20 minutes and a retention period of two days
begin
dbms_workload_repository.modify_snapshot_settings (
interval => 20,
retention => 2*24*60
end;
Hope this helps,
Regards,
http://www.oracleracexpert.com
Overview of Transparent Application Failover in Oracle RAC
http://www.oracleracexpert.com/2010/04/overview-of-transparent-application.html
In function 'lcdprm':: Warning after patch in RAC
http://www.oracleracexpert.com/2010/04/in-function-lcdprm-warning-gets.html
Similar Messages
-
Average Active Sessions on Performance page
Hi all
how do we fetch details for average active sessions in performance page.
Specifically which tables do we use to get those details.
ThanksHi,
Did you get answer to your query ? I'm also looking for answer for this.
Basically, my requirement is get user impact due to any outage and I would like to know trend of users in the system at any given point of time. -
How can I select which page to display based upon a log-in?
I have created a page where the user will enter one of several codes. I wanted to use the login function and validate the code against a table that I have pre-loaded with these codes. The code entered would control which page was displayed to the user.
(I have identified a community of potential clients, and this group is broken down into 10 unique sub-groups. Each person receives a mail that includes one of 10 unique 'codes', which identify the sub-group. When the recipient calls up my website and enters the code (as a user ID), this will determine which of the 10 pages is displayed. If someone randomly enters (or mis-keys) a value into the promo field a default error page (page #11) would display.)
Is this possible using the log-in function. Now that I'm looking at the function, it appears that any successful log-in will be directed to the same page. If I can't use the log-in function, how can I accomplish this. In essence, I am looking for the successful codes to act as an "if . . .then . . .else . . " type of logic. Or, a successful hit on one of records in my table is akin to making a menu selection (that is not available in any other fashion).
Any help on this would be greatly appreciated.
BTW - kudos to David Powers and Charles Nadeau for the great tutorial on Setting up a PHP development environment for Dreamweaver!Thanks so much for the reply. I chose to go with the array and added the following code (my code is in red) :
if (isset($_SESSION['PrevUrl']) && false) {
$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
$redirects = array('snj830' => 'promosnj830.php', 'snj141' => 'promosnj141.php', ‘snj416’ => ‘promosnj416’);
header("Location: " . $redirects[$_SESSION[‘MM_Username]] );
else {
header("Location: ". $MM_redirectLoginFailed );
The re-direct on a failed logon is working successfully, but if I enter one of my 3 valid codes, the following screen is displayed:
Index of /boundsauctions.com/promopages
Name Last modified Size Description
Parent Directory -
_notes/ 15-Oct-2010 17:40 -
errorpage.php 13-Oct-2010 17:24 1.9K
promo _login.php 15-Oct-2010 17:40 5.6K
promosnj141.php 15-Oct-2010 16:00 6.2K
promosnj416.php 15-Oct-2010 15:54 4.6K
promosnj830.php 15-Oct-2010 15:55 4.6K
As you can see, the last three pages here are the ones that I am trying to display. Can you tell what I'm doing wrong? -
How to stop Hosts landing page being displayed
Hi, I've uploaded my 3 pages to my host and when my domain name is typed into browser bar www.riflebitz.com the hosts holding page is displayed. However if I type www.riflebitz.com/ladingpage.html my page is displayed. In dreamweaver I've assigned this page as my home page but don't know how to get it to display by just typing www.riflebitz.com all help greatfully received timmer
The default page for when typing in just the domain name is normally index.html (sometimes it can be default.html) - but you would need to contact your host, but I suggest that it would be index.html
if I browse to: http://www.riflebitz.com/landingpage.html
I don't see any page at all.
However, if I navigate to http://www.riflebitz.com/default.html then I do see some type of landing page with a contact link at the bottom of the page.
I'd say you would need to re-open your landingpage.html in dreamweaver and rename it index.html and upload it to the server and you should be fine.
Please Note: The contact page has a link to Contact Page.html
You should NOT have spaces in your files names, and it is always safer to make sure you use lower case for file names as well. Some servers are case sensitive, so be sure to use index.html not Index.html -
How to Config Special Error Page for TIME OUT ONLY
We can config our own error page for webdynpro applications by using
transaction code SICF. thus the customizing error page will show when
program meet some errors. these errors type include ABAP runtime
dump/page time out etc.
Here is my question, is there any configuration or enhancement can
effect on ONLY ONE error type.which means the customizing error page
shows only time out error occurred.for other errors show the standard
error page.
Thanks a lot for your help.I need to setup a situation, that is display a custom error page which say "under maintenance" if no back-end WebLogic Server instance reached.In the Apache HTTP Server v2.2 you can use the ErrorDocument directive: http://httpd.apache.org/docs/2.0/mod/core.html#errordocument
For example in httpd.conf,
ErrorDocument 503 /Test.html
Test.html is placed in the DocumentRoot (http://httpd.apache.org/docs/2.0/mod/core.html#documentroot)
Regards
Fabian -
How do I process a page without displaying it?
I have a page 1 that collects data and then the data is passed to page 2 which processes it and returns the results to page 1. How can I run page 2 without displaying it or having a manual trigger (ie click the submit button.)?
ThanksHi,
Or, you could put the process into an Application Process and use Ajax to run it and return whatever results are needed into Page 1.
If you did want to use a Page 2, you can get the page to "Autosubmit" by adding a new HTML region in the "Before Footer" display point on the page. The Region Source for that would be something like:
<script type="text/javascript">
doSubmit("P2_SUBMIT");
</script>This would require that you have a button (called P2_SUBMIT, or whatever you want) on Page 2 that does a submit and a branch back to Page 1 triggered by this. The doSubmit() would be called as soon as it is rendered by the browser, so the page would be submitted immediately - hence ensuring that it is at the bottom of the page so that all page items that you may need, plus the button, have been rendered. You should also consider hiding everything on the page so that the user doesn't see them - to them, all they would see would be Page 1 refreshing. I used this method in older versions of Apex and it worked quite well.
Andy -
How to get the HTML page size displayed in JEditorPane
Hi All,
I'm using a JEditorPane object in order to view/display an HTML page. The nature fo my program is that it does not know the size of the page in advance, but only on runtime. I'd like to get the size of the HTML page in order to determine the frame size according to the size of the HTML page.
Is there a way to get the size of the HTML page from the JEditorPane?
Thanks.after displaying the page in your editor pane you can get the diamension for the page by calling
JComponent class method getSize();
actually your question is not so clear
use the JScroll pane then you don't need to worry about the size of the page. -
Rather than it pdf'ing in spreads. When I use the 'Print pdf' it is fine I can get single pages! Thanks!
Which application are you talking about? I'm guessing it's InDesign, but this is the forum for Adobe Acrobat. InDesign's export system doesn't use Acrobat at all, and it will *always* export spreads when you choose Interactive PDF, as that workflow was designed for use with 1-up layouts intended for screen display.
There are some workarounds involving re-saving your file without facing pages, but until we get the dialog updated there's no hassle-free solution. -
How to ensure that refreshed page is displayed after an update?
I have a page with “Form” region. I’ve used “Table” for “Create a data entry form based on”. The form works as it should, but I have set the same page to go to after “Save” or “Apply Changes” button is pressed. Now whenever I change any field at the page via my form I get back to the same page, but the changes are NOT visible. I need to go to a different page and then back to my page with table form to see new/updated data.
Is there a way of enforcing the refresh/re-query of the data after I click on Apply Changes/Save button?
jarola has suggested the following topic: Branch to URL identify session and record ID
However, when I follow the suggestion and add "Optional URL Redirect" to the same page (76) for "Apply Changes" button, and configure "Set These Items" with "With These Values" then the values entered via the form are NOT saved at all. If I remove "Optional URL Redirect" (I set "Target is a" to "- No Target -") then the data is at least saved when I click on "Apply Changes".
Thank you for your time.
DanielI am gathering that what you want is for the user to make some changes, save the data, and be left with a refreshed page showing the new values, right?
I order to save the data, the form usually has to perform some kind of submit action. Therefore, do not use a URL redirect. The only time you can use that is if your URL redirect calls javascript which in turn does a submit. But if you just redirect, no submit is done.
Make sure whatever the user does to initiate processing is doing a submit. This usually is by clicking a button whose action is "no target" (this equates to some sort of submit action).
Then, make sure this submit action invokes whatever process it is that does the save to the database. Check the row processng that was created during the wizard creation of the form and make sure that any conditions on it are such that it fires based on your request value or the button in question being pressed.
(Actually this brings up a question...if after the save action, can you see updated data in the database via SQL*Plus or SQL*Developer (or whatever database query tool) but just not in Apex? This will at least tell you if the data is being saved and it's just an application presentation issue or not.)
Then, make sure any proper page branches are firing. Again, look at the conditions and/or button-pressed settings. I think for this sort of thing I would clear the cache for your page via the page branch settings, and then do a "set these items..." and "with these values..." such that you are setting the PK values of the record with the existing PK values of the record you are dealing with. (I guess this assumes this form does the usual automated row fetch during loading if the PK values are not null. Is this the case?) -
How to create a PDF page that displays in Email and contains links to a page in the full PDF.
Mac, CS 5
I was able to create the PDF page and activate links to pages in the full PDF document. But when I test-email both files to myself, the links do not work.You have created links between two PDFs while they were regular disk-based files (I assume using the 'open a file' link action). When they're both attachments to an email message they are no longer in any meaningful 'location'. Some mail clients will extract all the attachments in a message into a temporary cache folder, so they do end up being able to see one another; but others will open each attachment on demand and prevent them from accessing anything else. Attachments are a huge security risk and sandboxing them is always best practice - the result of which is that lots of PDF functions just don't work.
-
How do I get my page to display correctly in IE?
I am redesigning my template, and I have posted the current result here:
http://www.bikeraceinfo.com/test5.html
Most of the CSS is in the document itself (I've left in the comments until I get done, sorry it's so long; DW put most of it there), but the CSS for the menu (the main problem) is here:
http://www.bikeraceinfo.com/menu4.css
The menu works fine in Opera, Firefox, and Chrome. Then there's IE (I'm testing it in 8). The menu is all spread out vertically (items too far apart), and the while the sub-menu shows up when you hover over the main title, it doesn't stick around long enough to choose a sub-item (unless you mouse really fast).
IE behaves enough differently than the other three that I feel there must be some single line of code that IE wants in order to render correctly.
Another thing that happens in all of them: when you get the mouse near the menu, all of the type on the page gets an underline, like it's linked to something. IE goes one further and puts a red box around the graphic in the sidebar.
Help! Thanks---The DW built in scripting will do that, those specific to the DW generated scripts are not an issue.
The missing end tags are a big issue though. None of your links in your menu have an end tag </a>, you are also missing a few </li>, that causes the rest of your page to basically become a link since the browser doesn't understand what you're trying to do. That is not part of any pre-made template I've ever seen in DW.
You also have <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> at the beginning of your page, that needs to go completely. That gets added when you accidentally choose "ASP Javascript" when creating a new page rather than "HTML".
There is a meta tag outside the <head> area of your code, that needds to be moved between your head tags. You also forgot to self close the keywords and description meta by using /> instead of > (not a major issue, but due to doctype, should be fixed)
Because you're missing an ending </p> tag at about line 287 you'll get errors involving a lot of the remaining tags saying something to the effect of "canot go here, missing object..." -
How to prevent the printed page from displaying when printing to pdf
I have Acrobat 7.0 Pro running on XP Pro. Immediately after I print an Excel, Word or text file to pdf, the pdf output automatically opens on my screen. Is there a way to turn this off? Thanks!
Turn off the viewing option in printer properties.
-
Performance page not displaying
after installing oracle 11gr2 on RHEL5,i tried to explore the features but discovered that
the perfomance monitoring graphs were not showing it was asking for plugings it wasnt like that
in prior releases.I sincerely need helpl on thisDid you install the plugins? That would seem to be the obvious solution.
John -
The only URL that I ever see in the location bar is the last one I typed there. No matter which tab I activate, the last typed URL is displayed. When I need to copy the URL of an active tab to paste into an email or something I can't see it.
The location bar used to display the URL of each active tab and you could simply click in the address field and the URL would be highlighted so you could edit/copy it or jump to the end of a very long URL to see the final file name.
I can't get this feature to work and I really need this feature as I need to copy URL's quite often. When I have multiple tabs active I sometimes forget which one is for which domain and need to see the URL. It is very annoying to surf blind.
Please help me with this issue as quickly as possible so I can once again do my work easily and with the firefox browser instead of chrome. :(A couple of possible causes.
The first is the file that stores details of browsing history and bookmarks is corrupt. For details on how to fix that see http://kb.mozillazine.org/Locked_or_damaged_places.sqlite
Another possible cause is an add-on interfering with the location bar. To test this, use the procedure in this link - https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
Want to check page is displayed on browser or not ?
In my code:
in every half an hour it opens my browser and access a website(just like www.yahoo.com).
I want, in any case if page not displayed it make a file and saved it on my pc. How can i check the page is displayed or not ?No need to apologize. Yes there is... Im disgusted with myself :o)
I shall be signing myself up for a public flogging immediately.
If the OP uses your code snippet verbatim without realizing
what's going on, he'll be surprised later if he finds out
that another url makes his code barf "for no particular reason" ;-)Indeed. I've never used the HttpUrlConnection stuff before - I've normally just used commons.HttpClient - but it certainly seems pretty "clunky" (a POST method gets magically use just because an output stream is open).
AFAIK, there's nothing in rfc2616 which states that a GET request must not include an entity body - so this seems pretty odd behaviour.
Its also at odds with its own java-doc (I set the requestMethod to "GET", but by opening an output stream it automatically became a "POST". Nothing I could find in the java doc to explain this....).
Anyway, as is probably obvious, Im just trying to find excuses to cover up my mistate :o)
Maybe you are looking for
-
How do I update a combobox?
I have an JApplet that's a bankGUI and I need to update my combo box with a string array that updates when i add a new account. anyone have any idea how to do this?
-
I have call y'all & I still can't fix this
-
Unable to add SAP system to SLD
Hi all, I am trying to add a new SAP WEB AS 640 system to my SLD. But the SLD only shows latest available Product version as 620. I downloaded the latest cimsap,CR_Content,CR_Delta zip files from the marketplace. On applying note 669669, import of ci
-
Where is the Home tab in the History tool bar
where is the Home tab in the History tool bar
-
LabView drivers for Agilent 54830B scope or E4402B Spectrum Analyzer?
Where can I find LabView drivers for the Agilent 54830B scope and the E4402B spectrum analyzer, or at least a driver for another instrument in the same families that I could modify? There are none on the NI site or the Agilent site.