Understanding Oracle checkpoint in depth

Dear All,
I am trying to find some good information about Oracle checkpoints and SCNs to have a thorough and deep understanding of the same.
Could someone provide me with some good links.
Thanks.

Hi;
Hussein Sawwan already answered your question, In addition to his great post
Please see:
Difference between SCN and checkpoint.
http://sai-oracle.blogspot.com/2006/03/difference-between-scn-and-checkpoint.html
Oracle Checkpoint mechanisim
http://www.adp-gmbh.ch/ora/concepts/checkpoint.html
http://www.orafaq.com/wiki/Checkpoint
Regard
Helios

Similar Messages

  • Understanding and applying color depth options in PS CS5

    I was reviewing a very helpful tutorial about bit depth. (Here's the link, in case anyone is interested: http://www.cambridgeincolour.com/tutorials/bit-depth.htm).
    I'd like to get a better handle on how PS CS5's choices (Image>Mode>8,16 or 32) actually affect my work.  I think I may be having trouble relating how settings in the .psd file I'm working on affect a final image that might be output as, say, a .png file.  Here are some of the sources of my confusion:
    If I open a new .psd document, I find that 8-bit RGB color is the default. Given that 8-bit is VGA, and it takes 24-bit to display True Color, I was surprised, first, that PS nicely displays a piece that I started in a 3D modeling program--a piece that has some photographic texturing of animal fur and horn (a bull).  Those are fairly subtle gradations.  Moreover, it displays it on a transparent background. It seems unlikely that I'm looking at 256 colors.
    If I were to upload a .png file to some printing companies (e.g., CafePress), they want PNG24, not PNG8, and, in fact, my 8-bit RGB .psd file can be exported as PNG24.  So, I gasp in wonderment at how my 8-bit .psd file can export to PNG24.  I understand the simple math to bits per channel and bits per pixel, but it doesn't translate to an understanding of how bit depth actually imposes limitations or opens possibilities when creating and outputting images.
    Any help would be much appreciated.  Thanks.
    Doc_Pit
    http://www.cambridgeincolour.com/tutorials/bit-depth.htm

    8 bits PER CHANNEL.
    16 bits PER CHANNEL.
    32 bits PER CHANNEL.
    24 bits is meaningless, but usually intended to mean RGB (3 channels) of 8 bits per channel.
    PNG 24 is more correctly called PNG RGB 8 bits per channel.
    PNG 32 is RGB plus transparency at 8 bits per channel.
    (PNG also supports indexed color, and 16 bit per channel modes).

  • Understanding Oracle Clinical

    Hi, I am new to the Oracle Clinical.
    Please any one let me know where i will get all the information about the Oracle Clinical 4.5.1. Basically, I need to understand the Table Structure of Oracle Clinical or Understanding Oracle Clinical* material. Thanks
    Edited by: user10606991 on Nov 14, 2009 4:00 AM
    Edited by: user10606991 on Nov 14, 2009 4:01 AM

    Hi, Thanks for the link Satish Pachipulusu but it explains only the interface of the Oracle Clinical. I need to understand the Table Structure of Oracle for example what are the objects created by the Oracle Clinical automatically when DVG, Question, Questions Groups, DCMs, DCI's are created? like this.
    Please help in this regard. Thanks.

  • Understanding Oracle BI Mobile App

    In ["New Features" of BIP 11.1.1.5 |http://www.oracle.com/technetwork/middleware/bi-publisher/bip-11115-newfeatures-395605.pdf] you can read:
    Native and Web App for iPad & iPhone
    +More and more business tasks are performed on mobile devices like iPhone and iPad, so why not browse reports and interact with your data on your mobile device with BI Publisher? Simply access your BI Publisher reports with Safari or other browsers on your iPad or iPhone, or install the Oracle BI Mobile App for iPhone and iPad to enjoy the same rich, fast interactive reporting experience as on your desktop or laptop.+
    I tried to connect the BI Mobile App (Ipad) with my BIP 11.1.1.6 installation with no success:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    Am I wrong with my understanding? Why I can't connect?
    What's the minimal setup?
    Or do I need to install the (whole) BI Suite?
    The "New Features" List makes me think that BI Publisher Standalone is sufficient!?
    Thank you,
    Florian.
    Edited by: fschulze on May 7, 2012 2:37 PM

    Hi
    Importing apps into the Apperian platform is very easy. There is no SDK or other limitation that is required for the app to work once deployed with Apperian. Inboarding is a very easy and quick process that requires the binary and some metadata information from the administrator and takes a couple of minutes max.
    Apperian also provides a Publishing API (public) that enables one-button integration from a development platform into Apperian. While Oracle BI Mobile App Designer is not yet integrated that way, it is a very quick process that took very little effort with other platforms.
    Once inboarded, any process to integrate the app with company policies (via inspection of the app, applying security or adoption policies, integration with corporate identity management, etc.) is done without having to rebuild the app. All in all, it is a very easy process to follow.
    Hope this helps!

  • Help understanding Oracle Providers

    Hi,
    I'm using the Oracle Providers in a ASP.NET application and need some help to understand the way the providers works. There is some documentation including code samples and a more detailed explanation about de relationship of the providers and its uses?
    Thanks in advance,
    Simón de Lizarza

    I am also starting to learn about Oracle Providers for ASP.NET ... my starting point has been trying to do the example in "Using Oracle Providers for ASP.NET" (URL = http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/dotnet/aspprovider/aspprovider_otn.htm) ...
    I was able to do the prereq ("Building ASP.NET Web Applications with Oracle Developer Tools for Visual Studio", which was FANTASTICLY simple!!! Thank-you!!!) ... but have gotten stuck on actual example ... but I've got some pointers from a thread in another forum that I'll try before posting here ...

  • Oracle Checkpoint and task of DBW0/LGWR

    Hi All,
    I am a bit confused about the working of DBW0 and LGWR processes.
    "A checkpoint performs the following three operations:
    Every dirty block in the buffer cache is written to the data files. That is, it synchronizes the datablocks in the buffer cache with the datafiles on disk.
    It's the DBWR that writes all modified databaseblocks back to the datafiles. "
    I know this is very basic question and have read many documents about this.
    But my question is,if DBW0 itself writes the blocks to disk(datafiles) then what is the task of LGWR ( writing from redo log buffer to online redo log and then to datafiles).Online redo logs will store all modified (committed) redo records and will flush the contents to datafile at some interval.Then isnt the same task performed by DBWR???
    Thanks,
    Aashish S.

    Hi Aashish
    Redo consists of only the specific changes made to a (say) data block and the necessary overheads to clearly "date" and identify it. So this is the bare minimum required for recovery purposes and the bare minimum that needs to be written to disk to ensure committed data is "safe" and protected.
    Oracle writes this information into a special area of memory (log buffer) and the LGWR's job is focused on purely on writing this out to disk as necessary.
    The actual "full" BIG blocks themselves therefore can generally stay in the buffer cache(s) and Oracle generally doesn't have to worry about writing changes to these blocks to disk as it's a somewhat significant overhead to do so and is generally only necessary when it needs to clear out space for new blocks. Transactions are safe, the redo being written to disk ensures that.
    These blocks include the "BIG" undo blocks as again, they're generally only needed for the general running of the database (rollback/read consistency) and generally only get written to disk when space is an issue.
    Oracle wants to delay and avoid writing the full blocks/buffers to disk (task of DBR0) as much as possible.
    Oracle needs to write the redo to disk much more often to protect committed changes.
    I probably just confused you more !!
    Cheers
    Richard Foote
    http://richardfoote.wordpress.com/

  • Understand Oracle statistics gathering

    Hi experts,
    I am new in Oracle performance tuning. can anyone tell me what the mean of "Oracle statistics gathering" in simple words/way. i has read it from Oracle site http://docs.oracle.com/cd/A87860_01/doc/server.817/a76992/stats.htm.
    But i am not understand it properly. It Any role in oracle performance tuning? Does it make good performance of Oracle DB???
    Reg
    Harshit

    Hi,
    You can check this in some Easy way :ORACLE-BASE - Oracle Cost-Based Optimizer (CBO) And Statistics (DBMS_STATS)
    >> It Any role in oracle performance tuning? Does it make good performance of Oracle DB???  :Yes
    HTH

  • Need help in understanding Oracle WMS

    Hi,
    We are planning to implement Oracle WMS in our company. Currently we are using High Jump software for all our warehouses. Some of the warehouse functions as Cross Dock or some as Storage. Can some body give me some inputs for the following so that i can prepare a doc and present it to my upper management.
    1. Some articles/training material which talks about complete functionalities in Oracle WMS( I would like to know more about Warehousing, Yard management and Customer Reporting)
    2. Is there any document which talks about the advantages of Oracle WMS over HighJump WMS? (I did search in web for 2-3 days but couldn't find much info)
    It would be really help if anybody help me to find outmore info on Oracle WMS.
    Thanks everyone.

    Hi,
    If you are still looking for information and have a CSI for My Oracle Support, you might consider posting your question to the Logistics Community which is a venue for current customers to discuss WMS:
    https://communities.oracle.com/portal/server.pt/community/logistics/264
    Best regards,
    Catherine
    Logistics Community Manager

  • OID Working Normally But I Want to Understand "oracle SID " Processes

    I'm runninng OID as part of an Identity Mangagement 10.1.4.0.1 installation on Linux. When I look at the processes that oracle is running I see many "oracle<SID>" processes.
    I'm looking for where I can read about the different types of processes that comprise OID on Unix/Linux. I'm particularly interested in knowing how "oracle<SID>" processes are created and destroyed -- is each process synonymous with an active connection to the directory?
    Thank you for pointing me to the docs on this or telling me what you believe these "oracle<SID>" processes represent.

    Those Oracle<sid> processes are database instance processes - OID is implemented in a database (where else?).
    They should be there for the life time of your server - they should not be killed, destroyed or whatever - they can be stopped by logging into your server - after setting the proper environment variables, execute:
    sqlplus / as sysdba
    shutdown
    exit
    The shutdown can take a while - it allows all active, current sessions to do their thing. Another option is shutdown immediate, which will kill active sessions, as soon as the running transaction finishes. Both options result in a clean shutdown, leaving the database in a consistent state.
    A real killer is shutdown abort - it will simply abort all transactions, but leaves the database in an inconsistent state. Oracle will recover automatically in most cases.
    More on http://tahiti.oracle.com, in the database section

  • How to understand Oracle tables (as opposed to DB2)

    I am a beginner and need to ask a question.
    I determine that the number of records within dba_jobs is 1.
    Then I describe the table and find there are about
    18 columns within the table.
    Then I perform a SELECT * on the table.
    When I do the select, it looks like it is printing out about 8 different records.
    With only the MISC ENV field being populated.
    How should I interpret this
    The following are the commands I entered:
    SQL> select count(*) from dba_jobs;
    COUNT(*)
    1
    SQL> describe dba_jobs;
    Name Null? Type
    JOB NOT NULL NUMBER
    LOG_USER NOT NULL VARCHAR2(30)
    PRIV_USER NOT NULL VARCHAR2(30)
    SCHEMA_USER NOT NULL VARCHAR2(30)
    LAST_DATE DATE
    LAST_SEC VARCHAR2(8)
    THIS_DATE DATE
    THIS_SEC VARCHAR2(8)
    NEXT_DATE NOT NULL DATE
    NEXT_SEC VARCHAR2(8)
    TOTAL_TIME NUMBER
    BROKEN VARCHAR2(1)
    INTERVAL NOT NULL VARCHAR2(200)
    FAILURES NUMBER
    WHAT VARCHAR2(4000)
    NLS_ENV VARCHAR2(4000)
    MISC_ENV RAW(32)
    INSTANCE NUMBER
    SQL> select * from dba_jobs;
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    1 SYSMAN SYSMAN
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    SYSMAN 20-APR-09 22:29:55 20-APR-09
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    22:30:55 17989 N
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    sysdate + 1 / (24 * 60)
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    0
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENC
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    Y='AMERICA' NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LAN
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    GUAGE='AMERICAN' NLS_SORT='BINARY'
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    0102000000000000 0
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    ---------------------------------------------------------------- ----------

    ...and then how to post with tags: http://forums.oracle.com/forums/help.jspa                                                                                                                                                                               

  • Dont understand Oracle Tables

    I am new to Oracle and need to ask a question.
    Some oracle tables appear to act different than in DB2.
    I determine that the number of records within dba_jobs is 1.
    Then I describe the table and find there are about
    18 columns within the table.
    Then I perform a SELECT * on the table.
    When I do the select, it looks like it is printing out about 8 different records.
    With only the MISC ENV field being populated.
    How should I interpret this
    The following are the commands I entered:
    SQL> select count(*) from dba_jobs;
      COUNT(*)
             1
    SQL> describe dba_jobs;
    Name                                      Null?    Type
    JOB                                       NOT NULL NUMBER
    LOG_USER                                  NOT NULL VARCHAR2(30)
    PRIV_USER                                 NOT NULL VARCHAR2(30)
    SCHEMA_USER                               NOT NULL VARCHAR2(30)
    LAST_DATE                                          DATE
    LAST_SEC                                           VARCHAR2(8)
    THIS_DATE                                          DATE
    THIS_SEC                                           VARCHAR2(8)
    NEXT_DATE                                 NOT NULL DATE
    NEXT_SEC                                           VARCHAR2(8)
    TOTAL_TIME                                         NUMBER
    BROKEN                                             VARCHAR2(1)
    INTERVAL                                  NOT NULL VARCHAR2(200)
    FAILURES                                           NUMBER
    WHAT                                               VARCHAR2(4000)
    NLS_ENV                                            VARCHAR2(4000)
    MISC_ENV                                           RAW(32)
    INSTANCE                                           NUMBER
    SQL> select * from dba_jobs;
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
             1 SYSMAN                         SYSMAN
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    SYSMAN                         20-APR-09 22:29:55                    20-APR-09
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    22:30:55      17989 N
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    sysdate + 1 / (24 * 60)
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
             0
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENC
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    Y='AMERICA' NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LAN
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    GUAGE='AMERICAN' NLS_SORT='BINARY'
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    0102000000000000                                                          0
           JOB LOG_USER                       PRIV_USER
    SCHEMA_USER                    LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
      FAILURES
    WHAT
    NLS_ENV
    MISC_ENV                                                           INSTANCE
    ---------------------------------------------------------------- ----------Thanks,
    Edited by: user10747262 on Apr 21, 2009 11:56 AM

    Hello,
    Can you edit your post and enclose your code and output between \ tag to preseve formatting? Also list out all the questions before your output so it will be easier for any volunteer to help you out faster.
    \Your code or output goes here.
    \Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Understanding Oracle 10G - Server Generated Alerts

    Hi,
    Could you guys please tell me what is the difference Oracle 10G - Server Generated Alerts and alerts based on metric baseline and adaptive thresholds.
    Does the alerts based on metric baseline use the underlying Server Generated Alerts mechanism (MMON process etc)?
    Thanks,
    Neeraj

    I mean to say about the underlying concept.
    In oracle 9i, I used to use Oracle EM alerts that are carried out by EM daemon (EMD). Then in oracle 10g, Oracle introduced server-generated alerts, where MMON background process is responsible for generating these alerts.
    While reading oracle database 11g new features, I read about adaptive thresholds, metric baseline etc. I just checked that all these features were available in Oracle 10g itself. What is new?
    Secondly, how server-generated alerts are different from alerts based on adaptive thresholds?
    Hope this clear my doubts ...
    Regards,
    Neeraj

  • Understanding Oracle Support and License

    Hi Gurus,
    I have a few questions regarding Support for Database Product:
    1. If I have Product License for 10gR2 EE, will I be supported on 9i and 11g.
    2. Will it be legal to use 11g if Product Licence is for 10gR2
    3. What is ULA (Unlimited License Agreement)
    Can someone give me links for documents or suggest something? Any help is appreciated.
    Regards,
    Virendra

    The answer is, it's insane. I mean, it depends.
    For example, Oracle is giving a hard time to hp-ux Itanium customers, so you can have 9i and still get some patches under extended support until July 2012, but not with 10gR2 EE.
    http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf
    http://www.oracle.com/us/support/057419.pdf#page=6
    So some things to note:
    You should not trust anything anyone on the internet tells you about licensing.
    Different countries have different rules.
    Keep anything from Oracle that you find on the internet locally, as it may change at any time.
    You can try to download patches from support, it won't let you if you are not allowed. So if you are 10gR2 Itanium, you might be able to get a July CPU but not an October one.
    Some scary stories are floating about concerning license audits.
    Things you are not licensed for and have explicitly removed may come back with a patch, and then get caught in a license audit and you get charged.
    Oracle support features can upload your configuration to Oracle, as well as make world-readable files on your host.
    In general, you are licensed for a product, and pay support for patches.
    In my honest opinion, it is stupid not to pay for support.
    You should not trust anything anyone on the internet tells you about licensing.
    There are also videos and notes on MOS explaining how to deal with support. Personally, I've found going through the methods listed often answer my questions before I get ready to ask support.

  • Need help in understanding oracle plsql design phase.

    I am new user learning oracle plsql. I wanted to know following points.
    1) Is there any process we follow before developing oracle procedures.
    2) Is there any algorithm, flowchart, diagrams we use for orcale procedure development.
    3) What should I learn in order to start developing oracle procedures.
    flow charts
    data flow diagrams
    In there any standard used in industry ? any pointers/comments would be helpful

    1) It is different in every shop and even within a shop with different developers. The best thing for someone learning is to read the books and blogs of Tom Kyte and Steven Feuerstein and choose one. Though I must confess now that I have become a fan of Bryn Lewellyn's White Papers I may never go back.
    Try one out yourself:
    http://www.oracle.com/technology/tech/pl_sql/pdf/doing_sql_from_plsql.pdf
    PS: No one knows PL/SQL better than Bryn.
    2) No. Every procedure is different. What one writes to solve one business problem may bear no relationship to what one writes to solve another. My caveats would be:
    A. SQL before PL/SQL
    B. Arrays before single row processing (that means FORALL and BULK COLLECT)
    C. Don't write line 1 without reading Tom Kyte's observations about bind variables
    3) In this order:
    A. anonymous blocks
    B. how to declare constants
    C. how to declare variables
    D. how to create control structures
    E. exception handling
    F. bulk collect and forall statements
    G. DBMS_SQL built-in package
    H. Native dynamic SQL
    You will find demos of all of the above here:
    www.morganslibrary.org/library.html

  • Oracle Startup & SCN Concept in Depth

    I have few questions about Oracle SCN.
    I will taking few different scenario.
    ( Note- The following condtions true in all cases.
    (a)- No Recovery Catalog
    (b)- Backup and Recovery with RMAN) )
    Different Cases
    Case 1. Oracle Instance shutdown with command
    SQL > Shutdown immediate
    Case 2. Oracle Instance shutdown with command
    SQL > SHUTDOWN ABORT
    Case 3.Oracle Datafile (system.dbf) file deleted with operating System Command
    # rm -rf system01.dbf
    SQL > SHUTDOWN ABORT
    The following conditions true in Case3.
    (a) Database is running in ARCHIVELOG Mode.
    (b) No loss on Control File and Online Redo Log Files.
    Case 4. All the Oracle Control File deleted with Operating System Command.
    # rm -rf *.ctl
    SQL > SHUTDOWN ABORT
    The following conditions true in Case4.
    (a) Database is running in ARCHIVELOG Mode.
    (b) No loss on datafile File and Online Redo Log Files.
    Case 5. All the Oracle Control File & System dbf deleted with Operating System Command.
    # rm -rf *.ctl
    # rm -rf system01.dbf
    SQL > SHUTDOWN ABORT
    The following conditions true in Case5.
    (a) Database is running in ARCHIVELOG Mode.
    (b) No loss on Online Redo Log Files.
    Case 6. All the Oracle Control File & Online Redo Log File deleted with Operating System Command.
    # rm -rf *.ctl
    # rm -rf *.log
    SQL > SHUTDOWN ABORT
    The following conditions true in Case5.
    (a) Database is running in ARCHIVELOG Mode.
    (b) No loss on datafile Files.
    Question-
    A> Let me know How Oracle SCN concept will work in above mentioned scenario ?
    B> How SCN Synronization will happen ?
    C> How Oracle Database will understand what file Needs Restoration and Recovery ?
    D> What the meaning of SCN Synronization ? If Database synronize Control File SCN number with DBF File SCN then how it will work when we loose Control File.

    Srinivas,
    Thanks for Reply,
    Actually, What i am feeling is till the time Control file is available, There is no issue in Backup and Recovery. Its very simple to understand Oracle will take all the information from Control File and Corresponding do all backup and Recovery.
    My Main confusion start with rm -rf *.ctl (delete all existing Control File).
    Most of the Control File documents discuss about major component for ex. Datafile Info, Redo File Info etc. The information which we can get from control file Dump.
    But none discussed about Oracle Complete Control File Architecture.
    I read following good documents about Control File architecture
    a) http://esemrick.blogspot.com/2006/02/backup-control-files-are-they-special.html
    b) http://www.ixora.com.au/notes/controlfile_structure.htm
    But still not comfortable with Oracle Control File in depth architecture.
    If you can share some Control file in depth documents, It will solve my problem.
    Thanks in advance.
    Sumit
    Bangalore, India

Maybe you are looking for