stop the database

Hello

on 8.1.7
during shutdown of the database for maintenance, stop scheduled tasks?

I don't think this because when the DB stopped he wouldn't have jobs and after DB restart, it will resume jobs.

Thanks for your advice.
If we should stop before stopping the DB, what is the best way to stop and restart the jobs?


Thank you.

Salvation;

on 8.1.7
during shutdown of the database for maintenance, stop scheduled tasks?

Don't need

I don't think this because when the DB stopped he wouldn't have jobs and after DB restart, it will resume jobs.

Fix

If we should stop before stopping the DB, what is the best way to stop and restart the jobs?

Just start db and jobs will restart

Respect of
HELIOS

Tags: Database

Similar Questions

  • Log wait to stop the database

    Hi exports.


    We have a production server. It its some of its data file contains a disk in cluster on windows server 2008. Yesterday, all of a sudden one of the cluster disk offline due to a network problem. And I got the following error on my journal alerts.

    Mon Mar 18 19:59:27 2013
    KCF: writing / open error blocks = 0xd13a6 = 1 online
    file is 22-M:\LEGACY_ORADATA\LEGACY. DBF
    error = 27070 txt: ' OSD-04016: error queuing an asynchronous i/o request.
    S/O-error: (OS 19) the media is write protected. »
    Mon Mar 18 19:59:27 2013
    Automatic datafile offline due to clerical error on
    22 of the file: M:\LEGACY_ORADATA\LEGACY. DBF
    Mon Mar 18 19:59:28 2013
    KCF: writing / open error blocks = 0xd3c10 = 1 online
    file is 22-M:\LEGACY_ORADATA\LEGACY. DBF
    error = 27070 txt: ' OSD-04016: error queuing an asynchronous i/o request.
    S/O-error: (OS 19) the media is write protected. »
    Mon Mar 18 19:59:28 2013
    Automatic datafile offline due to clerical error on
    22 of the file: M:\LEGACY_ORADATA\LEGACY. DBF
    Mon Mar 18 21:49:34 2013
    Absent MMNL for dry 1204; First support plans
    Mon Mar 18 22:00:05 2013
    Errors in the d:\oracle\product\10.2.0\admin\legacy\bdump\legacy_j000_13148.trc file:
    ORA-12012: error on auto work 8950
    ORA-01115: error reading file ORA-01115 IO block: IO error reading block from file 5 (# 106)
    ORA-01110: data file 5: ' M:\LEGACY_ORADATA\OLD_TRANSACTION. DBF'
    ORA-27091: unable to queue I/O
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read the file
    S/O-error: (OS 21) the device is not ready.
    ORA-06512: at "SYS." PRVT_ADVISOR', line 1624
    ORA-06512: at "SYS." DBMS_ADVISOR', line 186
    ORA-06512: at "SYS." DBMS_SPACE", line 1500
    ORA-06512: at "SYS." DBMS_SPACE", line 1566
    (block #)


    After the available cluster disk, I get the same error. When I am trying to retrieve the data file and then I got the the
    ORA-00283: cool cancelled due to errors
    ORA-01124: cannot retrieve the data file 22 - file is in use or recovery
    ORA-01110: data file 22


    To verify the database open_mode and it shows READ WRITE.
    so I closed fire immediate command. Now it take a long time to stop. Please suggest a solution because it is a database of prodtction.



    Thanks in advance...
    ASIT K. reducing

    Hello
    Then do one then cancel the stopping and starting to the database.
    The State of the mount, then offline, the data files that are corrupt.

    alter database datafile  offline;
    

    Now, you can open the database and then run the recovery of these data files.

    Salman

  • stop the database when the HOT backup running

    Hello

    Can someone pls tell... WHT can impact on the database if the database will get stop accidentally during the hot running backup...

    Thank you

    There will be no impact on db; because its ORACLE database; very smart and easy to use.

    What happens if the instance goes down for the tablespaces into backup mode?

    When you start the database after that, Oracle will say that it requires recovery. It's because the RCS has been frozen and this is the expected behavior, because if you restore the file copied, it needs to be recovered. (and the only way that oracle has to set its value in the copy is put in the current file while it is copied)

    In this case, you can issue:

    ALTER DATABASE END BACKUP; ALTER DATABASE OPEN; to open the database.

    But your backup is not usable, it must do it again.

    Source: http://knol.google.com/k/oracle-begin-backup-end-backup#

    HTH
    Girish Sharma

  • stop the database server, is any condition for application server

    Hello

    I want to catch a cold backup to the database server.

    If I shutdown server, is any affect in Oracle application server?


    Concerning

    S.Azar

    azarmohds wrote:
    Hello

    I want to catch a cold backup to the database server.

    If I shutdown server, is any affect in Oracle application server?

    Concerning

    S.Azar

    Hi Azar

    No, there is no any effect to the Oracle application server

  • Virtual Center - stop the database server

    Hi friends,

    I have a few questions about if the virtual Center database down. Please help gettting below answers

    -What are the activities I'm *NOT* not be able to perform in virtual Center

    -What are the activities that I will be able to perform in virtual Center.

    -Up to how many days I will be able to use virtual Center, even if the back-end database is down

    -What dates are passed, what is the impact

    Concerning

    Amul

    -Up to how many days I will be able to use virtual Center, even if the back-end database is down

    It's easy... as soon as your database goes down, Virtual Centre will drop.

    -What are the activities I'm *NOT* not be able to perform in virtual Center

    Virtually everything as deploy from models, vmotion, storage vmotion, user access through virtual center, backup solutions environment through virtual center management will not work until that recover you or re-create virtual venter and reattach the hosts.

    Basically things like high availability will work, you will be capable of powering the virtual computer (by connecting directly to the esx host) and to stop (as long as your license server is online). Your VM will also continue to funcrtion normally while the VC is in offline mode.

  • How to stop all means of copying the database

    Hello

    I'm out of oracle database 11g R2 under windown server 2008 (the database name is ORCL)

    I need to prevent all means of transporting data to a different database

    I tried the encryption (TDE) portfolio with tablespace but always utility data expdp works

    and I can copy the file (oracle_home\oradata\orcl) what hv the datafile to and replace it with a different database on another pc that have installed oracle on same directory then provided works perfectly

    even if there were the portfolio on the first database, we can create another portfolio with new password and every thing will be decrypted and it is not accepted.

    I need your help to find a way of:

    1-stop exp and utility expdp

    2-stop backup and restore of database with RMAN (auxiliary or copying RMAN files is added to the different database)

    3 - stop copy replace and folder (oracle_home\oradata\orcl) is the different database in the same place (another pc)

    (Note: in addition to the operating system user account is administrator)

    Thanks in advance

    Please specify.  You can't restrict exp/imp, because it is installed on any client anywhere.  If they can query the database, they can export all they have access.  Check the roles that have EXPORT_FULL_DATABASE and limit those to yourself or to administrative positions under your control.

    expdp/impdp files similar to exp/imp of output, but put them on the database server (or a drive connected to the network).  You can't prevent their execution.  The API of PL/SQL is part of the database, so even without the expdp/impdp executable, you can do the equivalent within the database. The same basic data access control applies.

    RMAN backups can be run from remote machines, and the backup files can go to local disk, NAS network drive or tape.  On the local computer, you can use operating system permissions to protect them, but another admin on the computer can do what they want.  You can delete rman of this machine, but someone could just run rman from another machine and that it points to the database.  Limit which has the SYSDBA privilege.

    The raw database files are not useful if they are copied while the database is in place, but if there are other administrators on the computer, they may be able to stop the Oracle service, which stops the database, and then they can copy files wherever he wishes.  It's a situation TDE can protect against, because someone needs your encryption key to use database files, even if they copy them elsewhere.

    It was really far from saying these features can really turn off; you usually have to handle this with database privileges.

    If you can afford the extra option you can look into Oracle Database Vault.  It offers more restriction and auditing options, designed to prevent or detect abuse by privileged users.

  • Restrict access to the database for the upgrade of the application

    Hi all

    We're performing an upgrade of the application that requires us to perform a lot of scripts on our server Oracle EE 11.2.0.4.

    This specific database has around a website based end and a front end based client, but it is also accessible on the network through TNS SQLPLUS/Toad, ODBC, JDBC etc.

    For obvious reasons, the upgrade, I want to make sure that no one else that the DBA can access the database. Usually change us the listening port of 1521 to let say 1544. This prevents all access.

    But now we run in a physical Data Guard with two Standby configuration so I don't really want to play with the listener ports. The upgrade must propagate changes from primary to Standby. I could interrupt them temporarily, but I would like to avoid that if possible.

    Another way I thought would work was to stop the database and open it in restricted mode. But before that, I would need to grant the privilege of the Session to RESTRICT all users upgrade scripts using (around 5 users).

    This approach using the restricted mode seems reasonable?

    Other opinions would be much appreciated.

    Thank you

    This is exactly what restricted session is for. You can do online and then kill a session is currently connected. No need to stop:

    orclz > alter system enable restricted session;

    Modified system.

    orclz > change system disable restricted session;

    Modified system.

    orclz >

  • Move the database on the DSO from one server to the other in AIX

    Hello

    We have a project to move a Database (11.2.0.2) in ASM (stand-alone IM 11.2.0.4) in AIX. I followed the steps, but it failed.

    1. on the source server, I stop the database and removed the data DISKGROUP. I also took the diskgroup backup metadata before going down it.

    2 storage team has removed the mapping of the discs and they remapped to the new server. However, the names of disks have changed
    Note: There is no oracleasm and the drive string used is/dev/rhdisk *. The number of disk changed in the new server. However, we have renamed these discs.

    3 installed GI in silent mode with the "software only" option and then set up AP using roothas.pl.

    4. install Oracle database on the same level of patch from the source.

    5 ASM set up using a small new disc using ASMCA in silent mode.

    6. after the configuration of ASM, I don't see the Diskgroup database, but I see the drives as CANDIDATE disks.

    7. now, I restored the metadata from backup I took in the first step.

    8 Diskgroup appears and mounted. However, there is no data. All the data disappeared.

    Please can anyone suggest what I missed? Support for Oracle is not clear in its instructions.

    It's test database, so we could afford to lose the data. We cannot follow duplicate RMAN that our Production database is very large, and all backups are in bands. We also long downtime. Therefore, the only option we have is to physically move the LUNS.

    In my opinion, ASM has not read the header information of disk that LUNS are mapped before ASM is configured and consider them as CANDIDATE disks. Please specify.

    Thank you

    Vikas

    ASM devices that belong to a disk group contain the header special ASM data, that ASM uses to identify the disks. The path of unity or the name of the device as such is irrelevant. ASM must know the chain drive in order to locate the devices. I do not know what has been mapped or put in correspondence, but if the disks appear as candidate ASM disks, then information should have been erased in the process.

    Why not simply create a full database backup using RMAN and then restore and recover the database on the new server? Provided that the new server has the same software and ASM starts, this should be easy.

  • How to get down the database since the failure of the upgrade in case of physical standby

    Hi people,

    Can you please tell me how to get down the has no upgrade in case of physical standby database?

    Kind regards

    Taoqir

    The generic steps to upgrade db at the dg environment

    1. stop the database pending the application of recovery logs

    2. stop the recovery of his expedition logs

    3. upgrade the primary database server executable files

    4 level database server executable files shall ensure that

    5. switch to the main database using DBUA or upgrade scripts

    6 mount the backup database

    7 reactivate shipping again Eve elementary school

    8 restart the recovery process run on the standby database again progress apply

  • [CARS] Add the new disk in the database running environment

    Hi all

    I want to ask a question about oracle RAC especially to add a new disk.

    Here's the situation for existing oracle RAC

    1. There is 1 oracle clusterware (CRS), ASM and 2 node RAC

    2. There is a demand to add a new disk to existing diskgroup

    3. all CRS, ASM and RAC is in the online state

    I read document oracle (How to add a new disc to year Diskgroup existing RAC Cluster or stand-alone Configuration of ASM (Best Practices).) (Doc ID 557348.1()

    My question is,

    1. that I should stop the database, ASM and CRS when add a new disk to existing diskgroup?

    2. are there steps that has already been proven to add a new disk in an operational environment?

    Thank you

    Adrian

    My question is,

    1. that I should stop the database, ASM and CRS when add a new disk to existing diskgroup?

    No, you need not bring down the ASM or DB

    2. are there steps that has already been proven to add a new disk in an operational environment?

    Yes, you can add the disk, ASM automatically rebalance and share the workload on the new disk.

    http://docs.Oracle.com/CD/B28359_01/server.111/b31107/asmdiskgrps.htm#OSTMG10070

    There are number of blog posts about adding disks in a diskgroup

    MRMESSIN Oracle Database Administration: Add or remove disks from the ASM disk on the database group active

  • VMware Clod Migration boot cd for the database Migration SQL Server

    Hi techies,.

    I have a requirement to migrate one of our physical DB server to the virtual machine, it is very important to business so I thought to go with cold cloning with boot cd, but I could not get this cd bootable anywhere... ! can someone help me on this? and also please suggest me there at - it another way, I can do this task successfully with some fails?

    VMware Converter 5.x has the ability work synchronize to power use this run a p2v migration

    (1) perform a P2v full and when its done and you're ready to cut more

    (2) stop the database service and do a synchronizaion and put the virtual machine online

  • How to start and stop the APEX?

    Hi all! I am new to this forum and APEX too...

    We are runing (Version: Application Express 4.1.1.00.23)

    I need to reboot the server.

    How can I stop APEX graciously and start back after? Thank you!

    Kind regards

    Ghyslain salvation,

    to reinforce what Mike says. Apex is a database and, with the exception of the HTTP server application, runs entirely on the database. (Note with EPG, its all in the database) It contained in the users/schemas database and built items of data such as tables and PL/SQL packages. If the server that is running the Oracle database in which the Apex is installed needs to be restarted, the database must be stopped, which stops indeed Apex. If the HTTP server is also running on this server (ESS or earpiece of the Apex) then this should be stop as well.

    Of course, if your desire is not to stop the database, but to deny the user access to the Apex, perhaps for purposes of maintenance of database, then this can be done by stopping the HTTP server or by stopping the EPG.

    I hope it is clear now.

    André

  • Why need to bounce Apache when the database is bounced.

    Hi all

    Appreciate if you try to answer the question below.

    We have E - BS with 11.2.0.2 11i instance database. We stopped only DB, RECEIVER and concurrent managers. But it has not stopped based on the Web services (Apache Jserv) and form server. When set us up the database and listener back and attempted to access the URL of the front end, we get the error HTTP 500-AppsLocalLogin.JSP. When we bounced back the web services base back, everything works fine.

    As far as I KNOW, as the Apache and Jserv is up and running and the database is brought back, users tried them once the database grown up should have been logged successfully, like the Apache + Jserv and database are independent.

    Why Frontend services won't work after them bounce.

    Thank you

    Uday

    The JVM OAcore will be caching database connections, so if you stop the database then JVMs average level connections are not reset and become orphans.  When you try to use the virtual machine JAVA DB connection, it simply doesn't work.

    You should re - start always middle-tier services, restart the database

  • the service name and the name of the database are different.

    Hello

    I had created a database with name PROD, latter I renamed DB HAVE according to the request of management.

    But I notice the following things.

    1 OS ORACLE_SID variable level is always PROD. (.bash_profile also I have this entries)
    2. starting at sql prompt DB_NAME is HAVE.
    3 al ' service_name watch listener and instance name is PROD.

    can someone please explain me, why oracle behaves like that.
    Our applications work correctly with any questions so far.


    [oracle@qual ~] $ echo $ORACLE_SID
    PROD
    [oracle@qual ~] $ sqlplus "/ as sysdba".

    SQL * more: Release 10.2.0.1.0 - Production on Tue Mar 5 10:35:01, 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    Connect to an instance is idle.

    SQL > startup
    ORACLE instance started.

    Total System Global Area 608174080 bytes
    Bytes of size 1220868 fixed
    209719036 variable size bytes
    394264576 of database buffers bytes
    Redo buffers 2969600 bytes
    Mounted database.
    Open database.
    SQL > select name from v$ database;

    NAME
    ---------
    HAVE

    SQL >! lsnrctl status

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on March 5, 2013 10:38:30

    Copyright (c) 1991, 2005, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=qual.com) (PORT = 1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start date March 5, 2013 10:36:54
    Uptime 0 days 0 hours 1 minutes 35 seconds
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u001/app/oracle/product/10.2.0/network/admin/listener.ora file
    The listener log file /U001/app/Oracle/product/10.2.0/network/log/listener.log
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=qual.com) (PORT = 1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC0)))
    Summary of services...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service "HAVE" has 1 instance (s).
    Instance of "PROD", State LOAN, has 2 managers of this service...
    Service 'PRODT_XPT' has 1 instance (s).
    Instance of "PROD", State LOAN, has 2 managers of this service...
    The command completed successfully

    SQL > exit
    Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.1.0 - Production
    With partitioning, OLAP and Data Mining options
    [oracle@qual ~] $

    This last I changed the name of DB to HAVE

    Change the DB_NAME is not the ORACLE_SID. You must manually change the ORACLE_SID.

    Stop the database instance.
    Copy $ORACLE_HOME/dbs/initPROD.ora to $ORACLE_HOME/dbs/initPRODT.ora. (I assume that DB_NAME has already been upgraded IN the initPROD.ora)
    Change your ORACLE_SID of PROD WERE and disconnect and connect again.
    Make sure that your ORACLE_SID is now HAVE and that $ORACLE_HOME/dbs/initPRODT.ora
    Now start the database instance

    Hemant K Collette

  • change log mode archive without closing the database

    Hi all

    Is it possible to put the database in archive log mode before you shut down the database, and when the database stops and starts, the database should automatically be in log mode archive?

    because we cannot stop the database in the days of the week and we have system restart the weekend and we are not here this day here. So is there a way to set the database in the log archiving across the memory so that each restart of the database, it should start automatically in log mode archive.

    my environment is windows server 2008 R2 with oracle 11.2.0.3

    Thanks in advance.

    Published by: 931643 on 5 December 2012 10:37

    931643 wrote:
    Thanks for the reply Max Seleznev,

    First of all I thought to write the script to include in this process. But we cannot run all the commands in the sqlplus using windows task. for example:

    You can write a batchfile as below:

    CD.
    sqlplus / as sysdba
    Select name, open_mode from v$ database;

    When you run this, it will open up to sqlplus prompt but then will not run the query.

    This is the reason why I am to know if there is another way.

    Thank you

    When you do things wrong, you do not get the desired results

    Please desired SQL in a separate file (run.sql), then proceed as below

    sqlplus scott/tiger @run.sql

Maybe you are looking for

  • Update iOS 9.3.4

    The new update iOS 9.3.4 will reset my iPad? (Applications, photos, ect.) If there is anyway I can record my things and still get the update?

  • My MMC crashes when you try to add the Certificates snap-in

    My MMC crashes when you try to add the Certificates snap-in Error: Microsoft Management Console has encountered a problem and needs to close. When to see the details, it shows a mfc42u.dll error.

  • Flash triggers

    Can I use triggers flash with the A6000 off the coast of the camera flash photography?

  • Problem of taskbar... Not refreshing / display icons/White Bar in the task bar

    Hello I have a problem with my taskbar on windows 8 where I open a program on my computer, the icon does not appear in my taskbar so I can't reopen the program once it has been reduced to the minimum. I can open it again by the Task Manager but it wi

  • Is still flash cs6 being use?

    I understand that flash is now called animation, and as a student, I have to learn flash cs6. I wondering if anyone in animation, fields of web design uses flash cs6 combine animate and are the features of the anime of the same thing with flash cs6?