Oracle Enterprise Real-Time Scheduling (Sidewinder)

Hi Friends,
Any idea where can i find some documentation on Oracle Enterprise Real-Time Scheduling (Sidewinder)?
Regards,
Anirban Roy

Start here:
http://www.oracle.com/corporate/press/2007_mar/030507_Oracle%20Utilities%20MWM.htm
Those contacts might lead you to the documentation

Similar Messages

  • Oracle JRockit Real Time 3.1.2 and weblogic?

    http://www.oracle.com/technology/software/products/jrockit/index.html". I go to the website, and find a software called: Oracle JRockit Real Time 3.1.2 for windows 64 bit. My question is: In order to let weblogic 9.2 works in windows 2003 R2 64 bit machine, SHOULD I MUST DOWNLOAD "Oracle JRockit Real Time 3.1.2 for windows 64 bit"? Or I don't need to download anything? Actually, I just download a file called jdk-6u18-windows-x64.exe. Please clear my question, thanks! One more thing, what is the functionality for Oracle JRockit Real Time 3.1.2? Is it a kind of JRE ?

    Hi,
    For more information on JRocket Real Time have a read of :- http://www.oracle.com/technology/products/jrockit/jrrt/index.html
    As far as I am aware you don't have to install the real time product you can installl the JRockit JVM and use that with Weblogic, I think newer version of JRocket come bundled with Real Time which is the JVM and monitoring and analysis tools. There are still standalone JRocket JVM installs available, you can get them from oracle edelivery.
    JRocket is a JVM but optimized for use with Weblogic, so you should get better overall performance.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Real-Time Scheduling

    I've heard of some stuff going on in the kernel development, referred to as "real-time scheduling."  Could someone tell me what it is, and what it's benefits are?  I've been having a hard time finding information on it.

    brebs wrote:
    See wiki.
    That took me about 0.05 seconds of googling
    Note to self: drink coffee prior to doing anything on the computer.  Or caffeinated cereal.

  • ORACLE 11G  "real time apply" not work?????

    we have a database original on ORACLE 10.2.0.4 and we upgrade it to 11.1.0.7.
    after that we create standby database and tried to use "real time apply" feature.
    Primary database can transfer log files to standby database and standby database also can apply logs. The problem is it can NOT work on "real time apply".
    Ant ideal what wrong?
    === procedures ====== (standby database)
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 2087780352 bytes
    Fixed Size 2161272 bytes
    Variable Size 1795163528 bytes
    Database Buffers 251658240 bytes
    Redo Buffers 38797312 bytes
    Database mounted.
    SQL> alter database open read only;
    Database altered.
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> select PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE, SWITCHOVER_STATUS, OPEN_MODE, GUARD_STATUS from v$database;
    PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE SWITCHOVER_STATUS
    OPEN_MODE GUARD_S
    MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE PHYSICAL STANDBY NOT ALLOWED
    MOUNTED NONE
    SQL> select process, status from v$managed_standby;
    PROCESS STATUS
    ARCH CONNECTED
    ARCH CONNECTED
    ARCH CONNECTED
    ARCH CONNECTED
    RFS IDLE
    MRP0 APPLYING_LOG
    6 rows selected.
    ========== Primary database init.ora file setup =====
    ### for DG use
    db_unique_name = DBPMY
    log_archive_config='dg_config=(DBPMY,DBSBY)'
    log_archive_dest_1='LOCATION=/Archive/DBPMY/arch/arch MANDATORY'
    log_archive_dest_2='service=DBSBY valid_for=(online_logfiles,primary_role) db_unique_name=DBSBY LGWR ASYNC=20480 OPTIONAL REOPEN=15 NET_TIMEOUT=30'
    *.log_archive_format='DBPMY_%r_%t_%s.arc'
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable

    There are a couple of things to look at.
    1. Real time apply requires standby redo logs on the standby database. On the standby database run this query:
    SELECT * FROM v$logfile where type = 'STANDBY';
    if you get 0 rows back you'll need to create standby logfiles
    The general guideline is to size them exactly like your redo logs but add one additional standby log to ensure it doesn't cause a bottleneck.
    2. Get the size of your logfiles:
    SELECT GROUP#, BYTES FROM V$LOG;
    3. For example if you have 3 redo logs that are 50 MB in size, create 4 standby redo logs 50 MB each and don't multiplex them.
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog1.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog2.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog3.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog4.rdo') SIZE 50M;
    4. Cancel recovery on standby
    recover managed standby database cancel;
    5. Restart recovery using real time apply
    recover managed standby database using current logfile disconnect;
    6. To validate that real time is working you can check a few places.
    -It will say in the database alert log on standby that it's using real time apply
    OR
    -Check primary
    SELECT status, recovery_mode FROM v$archive_dest_status where dest_name = 'LOG_ARCHIVE_DEST_2';
    If the recovery_mode is "MANAGED REAL TIME APPLY" then real time apply is working, if it's anything else then we'll need to check more things.
    NOTE that if you are going to allow your current primary to switch roles and become a standby then you'll want to create standby redo logs on primary as well
    Sometimes recovery gets "stuck" and simply resetting the destination parameters can resolve it:
    alter system set log_archive_dest_2='service=DBSBY valid_for=(online_logfiles,primary_role) db_unique_name=DBSBY LGWR ASYNC=20480 OPTIONAL REOPEN=15 NET_TIMEOUT=30';
    There are some other things we can check next but let's start with the easiest fixes first.

  • Welcome to the Oracle JRockit Real Time forum

    The JRockit forum over at forums.bea.com is since the first of July in read only mode - this is now the official forum for the JRockit Real Time product.
    Best regards,
    Stefan

    Bonjour "Etudiant from Tunisia",
    I'm not sure what you mean with "please give me the user/password".
    As far as I know there is no online OWB available where you could try out the product (if that is what you mean).
    If you would like to learn more about OWB, read online documentation or for instance the link that is provided in an earlier post in this thread.
    Otherwise simply install OWB and try it yourself. The Installation and Configuration Guide is clear enough even without much experience installing Oracle software, and the OWB User Guide provides some basic insight on working with OWB itself.
    Good luck, Patrick
    ps If people are still expecting what Igor mentioned when he started this forum ("Oracle Warehouse Builder (OWB) product management and development will monitor the discussion forum on regular basis"), don't count on it; fortunately the product itself has been around long enough now, there are quite some users that can share usable insights and/or drop some useful lines on the new threads... ;-)

  • Need urgent help in Real Time scheduling algorithm implementation

    I am new to Java Real Time programming. I have faced a problem which is stated below:
    Declare tasks
    for
    if it is schedulable then run the task
    otherwise it is not schedulable
    for
    check priority with respect to deadline.
    select highest priority task
    for
    start higest priority task
    if the task is preemtable
    then switch lowest priority task to highest priority task and stop the lowest priority task
    after completion higest priority task, lowest priority task complete the rest of the work.
    this is actually a pseudocode for real time dynamic scheduling ( rate monotonic scheduling). can anyone please help me develop the code?

    PrinceOfLight wrote:
    I am new to Java Real Time programming.
    this is actually a pseudocode for real time dynamic scheduling Define "real-time" in your context. Most people who use the term don't use it correctly. If you truly mean "real-time," then you'll need real-time Java running on a real-time OS.
    can anyone please help me develop the code?What specific problems are you having? If you have no clue where to start, this site is not a good resource.

  • Oracle 10g Real Time Backup

    Hi
    My company need to set database real time backup for Oracle 10g release 2 (Standard Edition).
    I see in Oracle Database 10g Product Family [Oracle Database 10g Product Family|http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family.pdf] not support the Data Guard.
    Can I do it in Oracle 10g SE ?
    Thanks in advance

    hi,
    trouble is the cost of EE can be quite expensive
    another way of creating a psuedo (hope I spelt that correctly) dataguard would be to script a method of shipping archive files to a DR server.
    Live System
    =========
                 BEGIN
              IF ORACLE ONLINE THEN
                            SWITCH LOG;
                       END IF;
                       IF ANOTHER INSTANCE OF SCRIPT RUNNING (LOCAL OR REMOTE) THEN
                                 ERROR;
                                 EXIT;
                       END IF;
              IF (STANDBY NOT ONLINE) THEN
                              ERROR;
                              SEND EMAIL;
                              EXIT;
                       END IF;
                       GET LAST SHIPPED LOG FILE TIMESTAMP FROM THE REMOTE SITE OR FROM LOCAL SERVER;
                        WHILE LOG > SHIPPED LOG FILE TIMESTAMP DO
                                  TRANSFER LOG FILE TO REMOTE SITE;
                                  DO CHECKSUM ON LOG FILES;
                                  IF NOT MATCH THEN
                                         RETRY TRANSFER;
                                         IF FAILURE 3 TIME THEN
                                               ERROR;
                                               SEND EMAIL;
                                         END IF;
                          END IF;
                                  ' GOT THIS FAR SO ALL IS OK
                                  MARK THE LOG FILE AS TRANSFERRED;
                        WEND;        
    DR System
    ========
              BEGIN
                   CREATE A LOCK SEMAPHORE;        - Only one instance allowed
                                 CHECK LAST APPLIED LOG FILE;
                   IF CONNECTION TO LIVE SERVER OK THEN
                                         CHECKSUM  NEXT LOG FILE WITH LIVE SYSTEM;
                                         IF CHECKSUM NOT SAME THEN
                                                  IF LOG FILE ON ITS WAY FROM LIVE THEN
                                                           EXIT;
                                                  END IF;
                                                  WHILE  LOGFILE EXISTS DO
                                                            GET NEXT LOG FILE FROM LIVE;
                                                  WEND;
                                         END IF;
                                 ELSE
                                         ' Extra work
                                         APPLY NEXT LOG FILE
                                 END IF;
                   APPLY LOG FILES;
                                 WORKOUT NO OF LOG FILE APPLIED;
                                 KEEP SPECIFIED PERCENTAGE LOG FILES;
                                 DELETE EXTRA LOG FILES;
                                 TRANSFER LAST APPLIED LOG FILE ATTRIBUTES TO LIVE SERVER;
                                 EXIT;
                         END;       I cannot give you the actual code that I have as there are some more bits that I have added for our client but what it does is give you an over view of the process involved for creating a pseudo DG environment.
    regards
    Alan

  • Oracle SGA Real Time Consumption Information(9i,10g and 11g)

    Hello,
    I need to prepare a comparative analysis report of SGA for an Oracle Production Instance
    The analysis would show the pre-allocated memory to SGA components v/s real time consumption of memory by these SGA components. I need to do this for each of following components.
    SGA itself
    Fixed Size
    Variable Size
    Database Buffers
    Redo Buffers
    The pre-allocated memory to above SGA components can be obtained by querying v$sga. But from where do I get its real time(current) memory conusmption in Oracle Production environment.
    In addition to above, i need the same information (pre-allocated and real time consumption) for following.
    Keep buffer cache
    Recycle buffer cache
    Specific block size caches
    Shared pool
    Large pool
    Java pool
    streams pool
    Which tables do I need to consider in order to derive 1)pre-allocated memory and 2)real time consumption for above mentioned SGA components
    Please advice.
    Thank you for your time in reading this post.
    Thanks,
    Ruchir

    Hi,
    Have a look at v$sgastat. Also, use statspack in 9i and AWR reports on 10g. Also, the size of the caches won't grow unless they are used. The parameters you have specified within the parameter file, like sga_target (10g onwards) and possibly the other pools if you have specified them, will show you what the caches can grow to.
    For example, you could just log onto the DB and do show parameter sga_ or shared_pool and you will seee values for these. Also, it depends whether you are running in automatic memory management mode - where the sga_target parameter is set - or manual. 9i will be manual, but 10g could be auto. In manual case, 9i, check out the parameters individually.
    Also, read the docs about the parameters shown and you will see what it says abotu them. There will be lots in the docs about performance tuning and monitoring of the instance. You might even learn some other interesting facts while reading through the docs...
    Hope this helps,
    Rob
    http://www.ora00600.com

  • Oracle Real Time Scheduler(ORS) Integration

    Hi,
    Currently I am working on ORS integration with the help of web- services. I created a web-service client in java but I am not able to receive a response from the ORS. When I use the soapUI to send the request the response that I receive is an XSD.
    Can you please help me out as to how to get a response from ORS.
    Thanks in advance
    Vikram

    Hi,
    Hi,
    I am also looking for the same..
    Did you get any link or documents?
    Thanks,
    Dev

  • Oracle EDQ Real time Integration

    Hi,
    Will it be possible to create 1:m relationship WSDL file in EDQ. I have a requirement where Customer is the Parent entity and other child entities such as Address, References, Privacy preferences etc. would have a multiple entries for one customer record.
    The default process to create a Web services, creates a 1:1 WSDL only. Is there any other approach to create a WSDL with 1:M relationship in EDQ?
    Thanks and Regards,
    Rajesh.

    Hi Rajesh,
    Your question is very unclear - perhaps you could be more clear on what you are trying to achieve?
    There is no 'default process to create a web service' that assumes 1:1. The wizard for creating web services allows you to tick a box on either the input or output interfaces of the web service to enable multiple records. Typical examples are:
    1. Record cleaning services 1:1
    2. Record clustering services 1:M (driving record in, many cluster keys out)
    3. Reference matching services: 1:M (working record in, matching reference records returned)
    4. Matching services M:M (driving and candidate records in, matching records returned)
    Where you are dealing with hierarchical data, you may need to use the capabilities in EDQ to consolidate or split records. EDQ works with a flat record structure but can easily consolidate or split records at several phases of a process.
    Regards,
    Mike

  • Real-time database or non real-time database

    I know the scheduling mechanism in Oracle database is somewhat like the Linux OS which is not real-time. Does Oracle provide real-time database which has some real-time scheduling guaranteeing each user transaction to meet with a deadline ? Thx a lot.

    The Berkley DB that Oracle owns has been ported to QNX which is a real-time operating system.
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/qnx.html
    Why, out of curiosity, are you looking into Oracle for a real-time system? That implies that you're running a real-time operating system on your servers, which is certainly unusual. I've heard of some ports of 9i to real-time operating systems, but that would certainly be unusual.
    Justin

  • What is the difference between Real-Time (RR) and Time-Sharing (TT)?

    Hi Guys,
    I am trying to distinguish between LMS process priorities of Real-Time Vs Time sharing and was not able to find any good document explaining me the difference between them. May be one of you Gurus can explain the difference between TT and RR? Any metalink doc id or any url on this issue will be appreciated.
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi, Time Sharing scheduling is based on credits that are allocated to the process while creation and as long as process keep consuming the OS resources (CPU etc), its priority keeps on changing dynamically (Because process has lost credits) where as processes with Real Time Scheduling are given priority over other processes configured with Time Sharing (even kernel resources).
    In simple terms, if LMS is configured with Time Sharing scheduling on a very busy Oracle RAC system, LMS process may contend for the CPU resources, which may cause performance bottleneck in cluster environment.
    In Oracle Real Applicaiton Cluster, various organizations has gained performance benefits of setting few Oracle processes such as LMS with Real Time scheduling.
    Thanks & Regards
    -Harish Kalra

  • Program object schedule success but is not executed in real time

    Hi all,
    I have a batch file ad following is the content
    set path=C:\WINDOWS\system32
    echo Copying started at %date% %time%>>_date_.txt
    XCOPY "
    Boxis\c$\Program Files\Business Objects\Tomcat55\webapps\dswsbobje\WEB-INF\classes\qaawsWsdl.zip" "
    Sxi31\d$\Program Files\Business Objects\Tomcat55\webapps\dswsbobje\WEB-INF\classes" /s /a /d
    echo Copying finished at %date% %time%>>_date_.txt
    echo Completed Successfully at %date% %time%>>_date_.txt
    echo -
    >>_date_.txt
    pause
    I have uploaded this batch file in enterprise. When I schedule it the status is shown as Success however the file qaawsWsdl.zip is not copied to the destination.
    Note: When executing the batch file real time the file is getting copied
    I have added the user in Replace a process level token policy
    I have set program object rights to run script/binaries
    SIA is running on domain account that has access to source as well as destination folders.
    Am I missing something?
    Environment
    Business Objects XI 3.1 SP3 clustered (Also tried above in standalone, same issue)
    Windows Server 2003

    The program object will run with the credentials of the user you provided in the schedule panel unless you did not provide any and you have set a default user account in the CMC under Application->CmC->Program object settings. THis user has to have access on the source and target directories.
    What you can do is try to login manually on the BOBJ server using the credentials of the windows user that runs the program object and try to run the script from the command line.
    The domain account under which the SIA is running is not really relevant
    Regards,
    Stratos

  • Oracle Enterprise Scheduler

    Hello, I've just started developing in ADF(Jdeveloper Release 11.1.2.3.0) a couple of months ago, after 10 years of PeopleSoft development.
    Now I'm trying to implement a solution for batch processing, in Peoplesoft it was Process Scheduler. I found a lot of documentation on Oracle Enterprise Scheduler, but I can't for the life of me find a way to download it install it. Is it bundled with other products? Do I have it already and not know it? If someone could point me in the right direction so I can get it installed it would be much appreciated.
    Thanks,
    Adam

    I guess the Enterprise Scheduler Service is part of Fusion Applications and can't be used outside fusion applications.
    you might take a look at WebLogic server Timer Service or the job scheduler the DB offers.
    Timo

  • Scheduling in Real-Time Java

    Hello,
    I have some questions concerning how scheduling in fact is intended to be performed in a RTSJ based Real-Time Java System.
    As far as I understood, RTSJ requires pre-emptive priority-based dispatching of Schedulable objects.
    This means that the execution eligibility of a schedulable entity is mainly its priority.
    That causality is reflected within the specification with the (one-and-only specified) PriorityScheduler, which is the base scheduler for actual Real-Time Java applications.
    Furthermore, there is a notion of extensibility of that PriorityScheduler described by RTSJ,
    in order to provide further scheduling mechanims and feasibility analysis algorithms (please correct me if there are any wrong assumptions).
    This is the point, where everything becomes really weird to me ...
    As far as I could investigate, in most RTSJ implementations based on a POSIX compliant system underneath (like Java RTS does on RTLinux or Solaris)
    each (Realtime)JavaThread is mapped 1-to-1 to a light-weight process on the operating system level (e.g. a pthread).
    So far, we have no "green threads" within the JVM, but real LWPs scheduled by the OS.
    The difference between "normal" and "real-time" threads lies in the scheduling policy used for that mapping.
    While normal Java threads probably map to SCHED_RR or SCHED_OTHER, real-time threads are scheduled by the OS via the SCHED_FIFO policy in order to achieve a better real-time predictability.
    However, the OS's scheduling mechanisms automatically make decisions about the right positioning of a LWP within an appropriate run-queue, due to thread's preemption, blocking or release (even dynamic priority changes) activities and its scheduling policy.
    That's exactly why I ask myself, what is the need of a Scheduler representation within a JVM?
    Furthermore, how a Scheduler extension is able to incorporate with the threading model and the underlying scheduling mechanisms of the OS?
    One point could be a situation where a real-time JVM runs directly on top of the bare hardware and has to perform scheduling decisions on its own.
    The Scheduler API could then be understood as an extension mechanism of a kind of JVM-intern scheduler (e.g. the PriorityScheduler), thereby allowing scheduling decisions to be made even in user defined Scheduler implementations.
    A similar use case for an OS-based scenario could be if a JVM is intended to pass scheduling/threading routines of the underlying OS (eg. a part of the POSIX API)
    up to the Java application level in order to provide the opportunity for a kind of application defined scheduling (like e.g. in the MaRTE OS).
    Unfortunatelly, after introspecting the RTSJ API, both conclusions seem to me to be wrong.
    So far, Java RTS seems not to provide any mechanism for reaction on scheduling events/decisions, neither intra-JVM nor from an underlying OS outside of the JVM.
    Furthermore, there is no notion for incorporation with the base PriorityScheduler for making extended scheduling decisions.
    I hope this post could bring me more light into the scheduling idea behind Real-Time Java systems as intnded by the RTSJ.
    Sincerely,
    Vladimir

    Vladimir.Nikolov wrote:
    That means, that a scheduling policy different to PriorityScheduler can only be assigned to a Schedulable object if it is supported by the OS and the JVM?Well it has to be supported by that implementation of the RTSJ. Howe that is done - ie whether it requires OS support - depends on that VM, the OS and the actual scheduling policy.
    It also seems that at the current state of the art the PriorityScheduler representative within the JVM is intended only for manipulating a feasibility set of Schedulable objects (supporting online feasibility analysis)?
    However, since user-defined scheduling is not intended by the specification, applications have to rely on the feasibility analysis based on the underlying/supported scheduling mechanisms.
    Thus, in the current Java RTS implementation this would be the "default" feasibility mechanism based on the PriorityScheduler.
    Unfortunatelly I can not figure out the need of maintaining a feasibility set, since feasibility, as specified for the PriorityScheduler, is a simple asumption that we have "an adequatly fast machine to handle the periodic and sporadic load"?
    I actually assumed that feasibility analysis performs real cost budgeting taking into account deadlines and so on, but it seems to be specified simply to make a negative statement always when aperiodic tasks are involved ?The RTSJ scheduling framework provides support for feasibility analysis by defining the admission control methods eg setXXXIfFeasible. However the RTSJ does not, and can not, mandate any non-trivial feasibility algorithm because in simple terms no such general algorithms exist. There are some static feasibility tests in the literature and you could apply those offline to your application (assuming you can find the values of all the "magic" numbers in such formulae - which is generally not the case). At present the RTSJ doesn't support even these simple feasibility tests because blocking-time is not recorded in the release parameters - something being addressed in RTSJ 1.1. In any case unless there is a pluggable framework for feasibility tests it would be a waste of time for VMs to implement them given they can (more) easily be done offline using other tools.
    Only dynamic admission control is really of interest and as far as I am aware no such general dynamic admission control policies exist (anything you find in the literature is very context specific). So it is left up to an implementation as to whether they try and define dynamic admission control algorithms - and so far none have because they don't have one.
    In "Getting More Flexible Scheduling in the RTSJ" Wellings and Zerzelidis propose some (more or less) "minor" extensions to the RTSJ API in order to enable hierarchical scheduling within the fixed priority framework.
    Since Andy Wellings is a member of the RTSJ Technical Interpretation Committee, is there any attempt to evolve the specification in a similar direction as described above, in order to support more flexible scheduling mechanisms and feasibility analysis?If there is ever a RTSJ 2.0 then more sophisticated scheduling support is one of the items on the wishlist. But there's no guarantee there ever will be a RTSJ 2.0
    David Holmes

Maybe you are looking for

  • Questions on running an Arch Mirror

    Questions on running an Arch Mirror Does anyone here run a public arch mirror that can give me any idea of bandwith they use ? Is there any issues with running the Current and Extra mirrors in the US ? Is there any issues with running the Community m

  • SQL*LOADER/SQL usage in Migration

    I have very limited migration requirements. I DO NOT need to migrate a database. I DO need to change some SQL and BCP load scripts from SQL-SERVER 6.5 to their equivalents in ORACLE 8.0.5. For this limited purpose, should I proceed to handcode these,

  • Issue with Line Graph in SSRS

    I am pulling my hair our trying to format a line graph. Below is my current report -  The Line Graph I have created has a Category Group of "YearLogged" and "MonthLogged". The series I have added is an expression - =Count(IIF(Fields!InvoicePaid_.Valu

  • How is BootCamp with the new MBP 15"?

    I had the previous version and there were sound and touchpad issues. Has that been cleared up at all? Any other issues? I'm thinking about getting one, but I've got to have flawless Windows 7 in BootCamp. Any other issues coming up? Thanks.

  • FLASHBACK Database : rman vs sql command differnces

    I am new to Oracle and want understand the difference and which is the correct way of flashing back the database? RMAN command vs SQL Command on using FLASHBACK DATABASE SQL> FLASHBACK DATABASE TO RESTORE POINT BEFORE_ONLINE_TEST;  {CODE} Vs rman> ru