Database uptime and downtime

How i can calculate the database uptime and downtime? Please help

> How i can calculate the database uptime and downtime?
Why? Uptime/downtime does not tell you availability. The database can be up, but in a "suspended state" due to the archive logger unable to create new archive logs as the archive destination is full. The database can be up, but not accepting any new connections as the max number of processes have been exceeded. The database can be up, but the shared server processing pool exhausted. The database can be up, but the listener down. Etc. Etc.
If you describe the actual problem/requirement you are trying to address by calculating uptime/downtime, we would be in a much better position to provide you with really usable suggestions and advice.

Similar Messages

  • Query on Database Export and Import

    Hi Techies,
    Currently we are running our Database on Oracle 10g and SAP on4. and OS is HP UX 11.11.
    We have a plan to migrate our HW from PA-RISC to Itanium and at the time of Production migration we are planning to use Export and Import method to get free space.
    Our plan is as below:
    We will not touch the original Production, Just restore the DB into new server.
    And post restore we will create the space on new server equallent to our DB size.
    Then will perform DB export from the new system to the null space
    Then Import the DB into same system.
    Here my queries are:
    1) Is it possible to export and Import the Database from/to null space?
    2) We have 2T size of DB, And good resources like 32G Ram, 12 CPUs etc. How much time can be expected to perform Export and Import?
    3) What are the challenges we can expect?
    4) Minimum how much of free space we can expect with this option?
    Regards,
    Nick Loy

    So with test runs I can expect rapid speed in DB export and Import (1T/H)........If I have good system then Database export and Import gets complete within 2 hrs (Database size is 2T).
    Well 1tb is at the very top of expectations here, you should be careful. I did an export/import of a 1.5tb database of an ERP system lately. We did parallel export (40 processes) / import (20 processes) using distmon, source was HP IA64, target Linux x64_64. The disks were midrange SAN storage systems on both sides.  After tuning we managed to do in 6-7hrs.
    But in your case, if you only have one system, this could mean you have to drop the source db first and then recreate the target db on the same disks. The creation of the 1-2tb database files alone can take up more than 1 hour , besides that you don't have an easy fallback.
    If you have a test system that is comparable from size and hardware perspective, then i suggest you try a test export to get a feeling for it.
    What about the Online re-org of database? What would be the best way to get free space within minimum downtime?
    Theoretically you should be able to gain more or less the same amount of space doing online reorgs. The advantage is less downtime, the downside is the reorgs will be running over a longer time period and put additional load on the system.
    Cheers Michael

  • Database healthchecks and DBA horror stories

    A few questions if I may:
    1) I wondered if any of you could assist. I was looking for some sort of best practices Oracle DBA checklist around “maintenance tasks” and “monitoring tasks”, that a good DBA would do to keep there Oracle databases “healthy”. Microsoft have started putting together the reliability workbooks for some of their products which list recommended best practices when it comes to management (monitoring and maintenance) of their products:
    http://technet.microsoft.com/en-us/library/ee923724.aspx
    I could do with something similar for Oracle databases. If such exists
    2) Second part of my question is if you have ever experienced any significant issues to your Oracle databases from internal DBA’s/external DBA’s not doing these best practice maintenance/monitoring tasks. I.e. downtime, performance issues. Can you share any horror stories about lack of admin/management that had a knock on effect on the databases health, and any applications that rely on that database. The more horror stories the better if you don’t mind sharing. What didn’t they do what they should have done, and what impact did this have? What common things can DBA’s miss and what impact do they have?
    3) And finally, if you were to review your outsourced Oracle DBA’s maintenance/monitoring independently, what kind of areas would you look to for assurance they are managing your Oracle databases well. Any particular markers? Do you see any common mistakes DBA's making in their management of their database estate?

    user599292 wrote:
    A few questions if I may:
    1) I wondered if any of you could assist. I was looking for some sort of best practices Oracle DBA checklist around “maintenance tasks” and “monitoring tasks”, that a good DBA would do to keep there Oracle databases “healthy”. Microsoft have started putting together the reliability workbooks for some of their products which list recommended best practices when it comes to management (monitoring and maintenance) of their products:
    http://technet.microsoft.com/en-us/library/ee923724.aspx
    I could do with something similar for Oracle databases. If such exists How to Perform a Health Check on the Database [ID 122669.1]
    2) Second part of my question is if you have ever experienced any significant issues to your Oracle databases from internal DBA’s/external DBA’s not doing these best practice maintenance/monitoring tasks. I.e. downtime, performance issues. Can you share any horror stories about lack of admin/management that had a knock on effect on the databases health, and any applications that rely on that database. The more horror stories the better if you don’t mind sharing. What didn’t they do what they should have done, and what impact did this have? What common things can DBA’s miss and what impact do they have? database corruption (No Backup) , Media management failure , Assign Task to wrong person .............
    3) And finally, if you were to review your outsourced Oracle DBA’s maintenance/monitoring independently, what kind of areas would you look to for assurance they are managing your Oracle databases well. Any particular markers? Do you see any common mistakes DBA's making in their management of their database estate?Depend on task

  • Upgrade ERP database 11g and ATG7 with SSO integation

    Please let us know how to Perform Upgrade ERP database 11g and ATG7 with SSO integation .
    Regards .

    We have completed to upgrade ERP database from 9.2.0.6 to 11.2.0.1 and also apply ATG 7 on Test instance.
    And user finish testing , there is no issue after upgrade and application can work as normal.
    On Test instance we didn't implement Single Sign On
    But on Production we have Single Sign ON.
    Now we plan to upgrade on Production instance. But we afraid that we will found any issue on Production relate to SSO. Becase we don't have a chance to test it.
    My question is:
    Are there any spacial step we need to do if we have implemented SSO After upgrade DB 11g and ATG 7?

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

  • Trying to open old iPhoto library on osx 10.9.5 with iPhoto 9.5.1.  iPhoto says I must upgrade but upgrade eventually hangs.  Tried to rebuild/repair database but it always says you have to upgrade database first and eventually hangs

    Trying to open old iPhoto library on osx 10.9.5 with iPhoto 9.5.1.  iPhoto says I must upgrade but upgrade eventually hangs.  Tried to rebuild/repair database but it always says you have to upgrade database first and eventually hangs

    What version was the old library made with?
    What is the exact message? when it hangs does it crash or do you have to force quit?
    LN

  • Application doesn't work after build (database toolkit and report gen toolkit).

    I wrote an application using database toolkit and report gen toolkit to retrieve some data from a database,  put into a Word doc, save the Word doc and print it.  It works fine when I run the vi, but when I build and run it, it does nothing.   I have tried all of the settings in Projec Manager that I think might help but it still won't work right.  Labview 8.2.1, XP.
    Thanks,
    Charlie
    Solved!
    Go to Solution.

    Thanks for the help.  I finally abondened the Word append table and used the regular report gen append table and got it to work fine.  The error was 214682314.  That led me to the thread about column numbers must vbe between 1 and 63, but like I said, my coulumn number is 7 so don't know what is going on.  Anyway I got the vi to work and do what I want so I guess now the problem is solved (moot).
    Charlie

  • Can you merge two user accounts on macbook? my wife has created a user on her new macbook , then inadvertently created a second one when using the migration tool. 1st ac has her office 365 install, yet 2nd has her itunes database, docs and contacts.

    Can you merge two user accounts on a macbook? my wife has created a new user on her new macbook air then, inadvertently, created a second one when using the migration tool. 1st a/c has her office 365 install, while 2nd has her itunes database, docs and contacts. What is the best way forward to get everything into the one account? Not sure if the office 365 will allow another installation into the second account, otherwise would just do that and delete the first, if that is possible?

    There is no merge but you can move data from one account to another via the Shared folder. Data is copied from Shared. Watch your free space when copying. These are large files.  Do one at a time if you are on a small drive. After making copy, delete from other users before you start next copy.
    Office365 installs in the main Applications folder and is available for all users on the computer. Activation is tied to the drive not the User.

  • Trying to install MS Office 2011 for Mac SP 2 on my Macbook Air (Lion 10.7.3). I have to close Microsoft Database Daemon and SyncServicesAgent but can not see how to do so.  I have closed all applications.  Can anyone help? Many thanks

    Trying to install MS Office 2011 for Mac SP 2 (14.2.0) on my Macbook Air (Lion 10.7.3). I have to close Microsoft Database Daemon and SyncServicesAgent but can not see how to do so.  I have closed all applications.  Can anyone help? Many thanks

    Thanks Kurt!  I had tried all that and had tried closing both programmes from the application monitor, but SyncServices Agent refused to close.  I tried closing Launchd which is their mother application, but that just caused the screen go go blank.  In the end the two programmes let themselves be closed next time I tried the installation process so all was well.  Thanks for your help!

  • SQL Server 2008 R2: which version of Visual Studio do I need to keep database projects and SSIS projects in the same solution

    I need to build a solution containing a database project and an integration services project for SQL Server 2008R2.  Apparently, the subset of Visual Studio tools that comes with SQL Server 2008R2 does not include database projects and does not have
    Team Foundation Server support.  Because of those limitations, I am trying to determine which version of Visual Studio will allow me to:
    1. Build a single solution that includes both a database project and an Integration Services project
    2. For the database project, be able to import a database schema from an existing SQL Server 2008 R2 database, do schema compares and update the project from the database and vice versa
    3. For the Integration Services project, be able to deploy the packages to SQL Server Integration Services on SQL Server 2008 R2 (that is, to the msdb database).
    4. Use Team Foundation Server for source control of the whole solution, including both project types.

    Hi G Britton,
    To build a solution containing a database project and an integration services project for SQL Server 2008 R2 and use Team Foundation Server for source control.
     You can choose to install Visual Studio 2008.
    And as you want to utilize Schema compare and/or Data compare functionalities in Visual Studio, you will need to install the
    Visual Studio Team System 2008 Database Edition or Visual Studio Team System 2008 Team Suite.
    In addition, for Visual Studio issues, I would like to recommend you post the question in the
    Visual
    Studio forums to get better support.
    Reference:
    Team Foundation Version Control
    Compare and Synchronize Database Schemas
    Interoperability and Coexistence (Integration Services)
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Logical Database design and physical database implementation

    Hi
    I am an ORACLE DBA basically and we started a proactive server dashboard portal ,which basically reports all aspects of our infrastructure (Dev,QA and Prod,performance,capacity,number of servers,No of CPU,decomissioned date,OS level,Database patch level) etc..
    This has to be done entirely by our DBA team as this is not externally funded project.Now i was asked to do " Logical Database design and physical Database
    implementation"
    Even though i know roughly what's that mean(like designing whole set of tables in star schema format) ,i have never done this before.
    In my mind i have a rough set of tables that can be used but again i think there is lot of engineering involved in this area to make sure that we do it properly.
    I am wondering you guys might be having some recommendations for me in the sense where to start?are there any documents online , are there any book on this topic?Are there any documents which explain this phenomena with examples ?
    Also exactly what is the difference between logical database design vs physical database implementation
    Thanks and Regards

    Logical database design is the process of taking a business or conceptual data model (often described in the form of an Entity-Relationship Diagram) and transforming that into a logical representation of that model using the specific semantics of the database management system. In the case of an RDBMS such as Oracle, this representation would be in the form of definitions of relational tables, primary, unique and foreign key constraints and the appropriate column data types supported by the RDBMS.
    Physical database implementation is the process of taking the logical database design and translating that into the actual DDL statements supported by the target RDBMS that will create the database objects in a target RDBMS database. This will generally include specific physical implementation details such as the specification of tablespaces, use of specialised indexing (bitmap, clustered etc), partitioning, compression and anything else that relates to how data will actually be physically stored inside the database.
    It sounds like you already have a physical implementation? If so, you can reverse engineer this implementation into a design tool such as SQL Developer Data Modeller. This will create a logical design by examining the contents of the Oracle data dictionary. Even if you don't have an existing database, Data Modeller is a good tool to use as a starting point for logical and even conceptual/business models.
    If you want to read anything about logical design, "An Introduction to Database Systems" by Date is always a good starting point. "Database Systems - A Practical Approach to Design, Implementation and Management" by Connolly & Begg is also an excellent reference.

  • Backing Up Database Table and Records in Oracle 10g

    Hi All,
    I created database for my company with Oracle 10g Database Server and want to backup all my database tables and records within (i.e creating another username inside the data and transfer them) and outside (i.e transfering them in another destination outside the database server) the database. Could you please instruct me on how to achieve?
    I look forward to hearing from you all.
    Thank you.
    Jc

    Hi, use RMAN utility
    do this
    rman target sys/*** nocatalog
    run {
      allocate channel t type disk;
      backup
        format '/app/oracle/backup/%d_t%t_s%s_p%p'
          (database);
       release channel t;
    {code
    Also read backup and recovery guide at http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Java framework/toolkit for POJO, database persistence and XML

    Hi all,
    I've been wondering if there's a toolkit or framework for developing Java program (could be standalone Java program, EJBs etc.)
    I surfed around casually and found some but there isn't any detailed description of what and how each framework/toolkit does. So I hope to ask around if you've anything that you have used before and would like to point to me to look further.
    Given the huge number of open source toolkits, libraries and frameworks out there, it can be quite confusing as to which one is more suitable for me. Also with Sun's move into JDO and Java Persistence API, things become more messy and complicated - there isn't any clear leader in this area and things are starting to change with the inclusion of JDO which seems to be the future standard persistence API to use.
    So far, I've only worked with Hibernate for database persistence before. So I'm wondering if there're other options such as Hibernate with XDoclet, Castor and Spring framework etc. that can easily transform Plain Old Java Objects (POJO) -- hopefully using Java Reflection w/o using mapping XML files like in Hibernate -- into SQL for database persistence and XML text data and vice-versa. The current problem is that I've been spending tons of time writing code to transform data in Java objects into XML (using my own format) and also doing mapping files for Hibernate.
    I am hoping for something simple like:
    Object o = new Object();
    o.setProperty = "something";
    String xml = o.toXML(); // Convert object to XML text.
    o.save(); // Save to database.
    // The reverse: Parse XML into object and load from database
    Object o = new Object();
    o.fromXML(xml);
    o.load();
    // Properties should be initialized from database or XML.
    Anything similar to this out there?

    Hi,
    Just to share what I've found after surfing a bit more on this issue to promote more discussion on this area.
    For mapping of Java objects to XML, we can try looking more at Castor and JAXB.
    For database persistence to/from Java objects, look at Hibernate and JDO.
    There is this Hydrate project (hydrate.sourceforge.net) that I do not know where it fits in still. But it is supposed to do data transformation and mapping between Java objects, XML and database representation.
    Fyi.

  • EAV modelling approach on database tables and how to use it in Forms Dvl

    Hello,
    I am dealing with two tables in data modell which are structured on EAV ( Entity-Attribute-Value ) modelling approach.
    Survey( Survey# number not null,
    Start_Date_Of_Survey date not null ,
    End_Date_Of_Survey date null,
    Sts_Of_Survey varchar2( 4 ) not null ,
    Contractor_Partner# number not null, -- reference foreign key, to Partner's Table
    Survey_Report CLOB ) ;
    Survey# primary key of Survey.
    Meta_Survey_Parameter_Register( Parameter# varchar2( 40 ) not null,
    Additional_Parameter_Desc varchar2( 240 ) null,
    Type_Of_Value varchar2( 60 ) not null,
    Data_Type varchar2( 10 ) not null,
    Unit varchar2( 10 ) null,
    High_Value varchar2( 20 ) null,
    Low_Value varchar2( 20 ) null );
    Type_Of_Value Is restricted to : ATOMIC_VALUE, INTERVAL_VALUE_FROM_TO
    Data_Type is restricted to: Date, time, number( X,Y ), varchar2,
    Unit is varchar2 value not resstricted: for example: %, kg as kilo, m as meter, m/s as meter per second, null
    This table is meta table so it suppose to be used as some register - static part of the schema.
    Then I have table which attaches Parameters to the Survey as the association table
    Survey_Parameters( Survey#, Parameter#, Value, Comment );
    Primary key( Survey#, Parameter# );
    I need to implement this in Forms and Reports.
    My question is how to implement it to maximally make good use of Oracle forms 10g or 11g features and Oracle Reports 10g:
    a) when fulfilling the survey and use of parsing rules supplied in Meta_Survey_Parameter_Register
    b) at the producing as the survey report with reports
    c) in data analyisis in data warehouse impementations.

    Hello Craig,
    Thank you Craig for your answer.
    I must confess that I am also not familiar with EAV theoretical background and concept. Till recently I even did not know that this kind of problem could be placed
    in theoretical background called EAV. This put smile nad releive on my mind. Because since this moment I do not feel this kind of problem as some exception or
    some exceptional tools or data design ( object modelling and object databases ) suppose to be used. This way I can still counted on concepts in RDBMS databases
    and applications. Well I guess so.
    Let me comment and answer on your text between your lines.
    I am only conceptually familiar with EAV modeling, so I don't claim to be an expert! ;-) Given the abstract way in which data is stored with EAV, I would suggest that you first create a SQL Query that will produce the desired record set.
    Ok. But I guess you have in mind to transform vertical set of values to horizontal ( pivoting, transposing )?
    View has cast operator that transform data type of each parameter from general ( e.g. varchar2 ) to the one that is registered in the
    Meta_Parameter_Register. This way it is provided to get the survey with the list of assigned parameters in horizontal shape?
    Once you have this, you can either use the Query as the source of a Database View and then base your Forms data block on this view or you can use the query in a Procedure and base your Forms data block on the procedure or lastely, you could use the query directly and base your Forms data block on the query using the "From Clause" option.
    Ok, I think I understand it.
    So When I have horizontal list there is challenge during
    - insert
    - delete
    - update
    operations how to handle these operations to transform to vertical operation.
    This could only be done with Forms data block based on procedure and instead of triggers?
    The simplest option would be to create a DB view and base your block on the view. You will not be able to update the data however. If you need to be able to change or add new data, I would suggest you use a Procedure based block. Take a look at these links for additional information on using Procedure and From Clause based blocks.
    Ok Craig, sounds like it makes sense.
    IT seems your suggestion is caling for some simpler example with the same characteristic of the problem.
    Like two tables:
    Master( Master#, ..... )
    Detail( Master#, Detail#, value_low_or_just_value, value_high, data_type )
    Forms: How to base a block on a FROM clause Query
    Forms: How to base a data block on a Procedure
    Ok,
    Hope this helps,
    I see your point and it makes sense , it is only the challenge to see how much of flexibility I can reach and how cheap workarounds are to preserve
    the level of flexibility in the tools that are not naturally supporting EAV ( like forms and reports ).
    If someone's response is helpful or correct, please mark it accordingly.
    Sure...
    We are on the line.
    I am sure there is someone else in the community that experienced this kind of challenge.

  • New User Database schema and table name

    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

    WebCenter (and WebCenter spaces) uses an 'identity store' instead of database schema for storing user information - in an 'out of the box' installation, users are maintained through an embedded WebLogic LDAP store.
    See the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter, p. 34-2.
    At the end of section 34.4.1:
    WebCenter Spaces supports self-registration. When new WebCenter users
    self-register, they create their own login and password and a new user account is
    created in the identity store. See also, Section 34.4, "Allowing Self-Registration".
    user9097357 wrote:
    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

Maybe you are looking for

  • Best buy, please help me on this! very disappointed and frustrated!!

    Here is my complaint: 1.I have been saving for weeks trying to buy this flat screen TV: the price has been $299.99 http://www.bestbuy.com/site/westinghouse-48-class-48-diag--led-1080p-hdtv-black/6233067.p?id=1219198... Then finally this Tuesday I wen

  • Field symbols to structures

    when a run time error occurs using field symbols of structures to data objects corresponds to alignment.? please explain with an example.

  • Image Matte Keys' still images not being memorized

    I have a video of the issue. Video is 4 min. Hello, I am working on an experimental video project using a lot of image matte keys. Premiere CS5 has trouble memorizing the still images in the image matte keys. The keys fail to associate with the corre

  • Event Handler with Internal Loops

    Hi... I'm trying to update a basic program to handle control events more efficiently.  The program needs to perform the following functions on start button press: 1)  Import data file and parse instrument settings from multiple (X) rows 2)  Perform l

  • How can I transfer songs I downloaded from cds to my phone

    I downloaded songs from cds to my laptop, can't figure out how to install them on my phone