What is the recommended API for reading/analysis of XML in Java files?

Hello, everyone!

In my application, I have to read a XML file. I think that Java has several APIs to parse XML files and as I am new to this, I would like to know from you what is the recommended Java for this API.

Thank you.

Marcos

Unless you plan to edit nodes and I would recommend that you use a Sax parser, which is a lot less hunger of memory as a DOM parser. The DOM parser to read the entire document in memory for the manipulation of the user.
If you are looking only to read the document and extract specific values then a DOM parser would be an exaggeration. If you are planning leave the document unchanged then a SAX parser is the way to go - a little more complex to write but worth the extra as it will be faster and more scalable.

Tags: Java

Similar Questions

  • What are the recommended settings for the export of photos for the web?

    I am a photographer, if the images would be used for my blog... and still need of decent looks.
    They are also the images that I approach clients, again, they need for decent, but would be the right size for the web.
    I played a bit, and when we maintain quality"to 100%, but the setting at 72 dpi, the image remains the same size at 300 dpi.
    So I got the quality up to 50%, but even slight vignetting seemed absolutely horrible. (Highly visible sections of different colors.)
    So now I'm stuck.
    72 dpi and 300 dpi made no difference in size (cannot explain this one.)
    100% quality seemed fine but was too big for the web.
    50% quality was mediocre at best.
    Any suggestions? What is the standard practice?
    Thanks in advance.

    I would use a quality of 70-80 and also resize the image under 'Image size' for example, you pick a long edge of (for example) 1200 pixels.

    The ppi (dpi not) makes absolutely no difference, it's completely out of words and useless in this situation, as you found it. Just ignore it.

  • What is the recommended method for managing events mouseclick for nodes custom subclass components?

    Hello

    I created a custom node that is a StackPane containing a label on top a polygon.

    import javafx.scene.control.Label;
    import javafx.scene.layout.StackPane;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Polygon;
    
    
    public class CustomHexagon extends StackPane {
    
        private Polygon hexagon;
    
        private Label overlayText;
    
        public CustomHexagon( String text, double... points ) {
            this.hexagon = new Polygon( points );
            this.overlayText = new Label( text );
            overlayText.setStyle( "-fx-font-weight: bold;" );
         
            hexagon.setStroke( Color.GREEN );
            hexagon.setStrokeWidth( 5.0 );
            hexagon.setFill( Color.WHITE );
         
            this.getChildren().addAll( hexagon, overlayText );
    // Lays out the node where it should be according to the points provided for the Polygon.
            this.setLayoutX( points[0] - getLayoutBounds().getMinX() );
            this.setLayoutY( points[1] - getLayoutBounds().getMinY() );
    // Show the border of the StackPane.
            this.setStyle( "-fx-border-color: black; -fx-border-width: 1; -fx-border-style: dashed;");
        }
    
        public String getOverlayText() {
            return overlayText.getText();
        }
    }
    
    
    

    I want to display a tesselation of these custom hexagons. Because a CustomHexagon is a StackPane, not a polygon, mouse click events can be picked up when clicking on the mouse out of the race in France, but still in the StackPane (which takes a bigger than the hexagon rectangle). The following program illustrates this.

    public class Main extends Application {
      
        @Override
        public void start(Stage primaryStage) {      
            Group root = new Group();
          
            CustomHexagon[] hexagons = {
                new CustomHexagon( "00", 10.0, 10.0, 30.0, 10.0, 40.0, 27.3205080756, 30.0, 44.6410161512, 10.0, 44.6410161512, 0.0, 27.3205080756 ),
                new CustomHexagon( "01", 70.0, 10.0, 90.0, 10.0, 100.0, 27.3205080756, 90.0, 44.6410161512, 70.0, 44.6410161512, 60.0, 27.3205080756 ),
                new CustomHexagon( "02", 130.0, 10.0, 150.0, 10.0, 160.0, 27.3205080756, 150.0, 44.6410161512, 130.0, 44.6410161512, 120.0, 27.3205080756 ),
                new CustomHexagon( "03", 190.0, 10.0, 210.0, 10.0, 220.0, 27.3205080756, 210.0, 44.6410161512, 190.0, 44.6410161512, 180.0, 27.3205080756 ),
                new CustomHexagon( "04", 250.0, 10.0, 270.0, 10.0, 280.0, 27.3205080756, 270.0, 44.6410161512, 250.0, 44.6410161512, 240.0, 27.3205080756 ),
                new CustomHexagon( "10", 40.0, 27.3205080756, 60.0, 27.3205080756, 70.0, 44.6410161512, 60.0, 61.961524226799995, 40.0, 61.961524226799995, 30.0, 44.6410161512 ),
                new CustomHexagon( "11", 100.0, 27.3205080756, 120.0, 27.3205080756, 130.0, 44.6410161512, 120.0, 61.961524226799995, 100.0, 61.961524226799995, 90.0, 44.6410161512 ),
                new CustomHexagon( "12", 160.0, 27.3205080756, 180.0, 27.3205080756, 190.0, 44.6410161512, 180.0, 61.961524226799995, 160.0, 61.961524226799995, 150.0, 44.6410161512 ),
                new CustomHexagon( "13", 220.0, 27.3205080756, 240.0, 27.3205080756, 250.0, 44.6410161512, 240.0, 61.961524226799995, 220.0, 61.961524226799995, 210.0, 44.6410161512 ),
                new CustomHexagon( "14", 280.0, 27.3205080756, 300.0, 27.3205080756, 310.0, 44.6410161512, 300.0, 61.961524226799995, 280.0, 61.961524226799995, 270.0, 44.6410161512 ),
                new CustomHexagon( "20", 10.0, 44.6410161512, 30.0, 44.6410161512, 40.0, 61.961524226799995, 30.0, 79.2820323024, 10.0, 79.2820323024, 0.0, 61.961524226799995 ),
                new CustomHexagon( "21", 70.0, 44.6410161512, 90.0, 44.6410161512, 100.0, 61.961524226799995, 90.0, 79.2820323024, 70.0, 79.2820323024, 60.0, 61.961524226799995 ),
                new CustomHexagon( "22", 130.0, 44.6410161512, 150.0, 44.6410161512, 160.0, 61.961524226799995, 150.0, 79.2820323024, 130.0, 79.2820323024, 120.0, 61.961524226799995 ),
                new CustomHexagon( "23", 190.0, 44.6410161512, 210.0, 44.6410161512, 220.0, 61.961524226799995, 210.0, 79.2820323024, 190.0, 79.2820323024, 180.0, 61.961524226799995 ),
                new CustomHexagon( "24", 250.0, 44.6410161512, 270.0, 44.6410161512, 280.0, 61.961524226799995, 270.0, 79.2820323024, 250.0, 79.2820323024, 240.0, 61.961524226799995 ),
                new CustomHexagon( "30", 40.0, 61.961524226799995, 60.0, 61.961524226799995, 70.0, 79.2820323024, 60.0, 96.602540378, 40.0, 96.602540378, 30.0, 79.2820323024 ),
                new CustomHexagon( "31", 100.0, 61.961524226799995, 120.0, 61.961524226799995, 130.0, 79.2820323024, 120.0, 96.602540378, 100.0, 96.602540378, 90.0, 79.2820323024 ),
                new CustomHexagon( "32", 160.0, 61.961524226799995, 180.0, 61.961524226799995, 190.0, 79.2820323024, 180.0, 96.602540378, 160.0, 96.602540378, 150.0, 79.2820323024 ),
                new CustomHexagon( "33", 220.0, 61.961524226799995, 240.0, 61.961524226799995, 250.0, 79.2820323024, 240.0, 96.602540378, 220.0, 96.602540378, 210.0, 79.2820323024 ),
                new CustomHexagon( "34", 280.0, 61.961524226799995, 300.0, 61.961524226799995, 310.0, 79.2820323024, 300.0, 96.602540378, 280.0, 96.602540378, 270.0, 79.2820323024 ),
                new CustomHexagon( "40", 10.0, 79.2820323024, 30.0, 79.2820323024, 40.0, 96.602540378, 30.0, 113.9230484536, 10.0, 113.9230484536, 0.0, 96.602540378 ),
                new CustomHexagon( "41", 70.0, 79.2820323024, 90.0, 79.2820323024, 100.0, 96.602540378, 90.0, 113.9230484536, 70.0, 113.9230484536, 60.0, 96.602540378 ),
                new CustomHexagon( "42", 130.0, 79.2820323024, 150.0, 79.2820323024, 160.0, 96.602540378, 150.0, 113.9230484536, 130.0, 113.9230484536, 120.0, 96.602540378 ),
                new CustomHexagon( "43", 190.0, 79.2820323024, 210.0, 79.2820323024, 220.0, 96.602540378, 210.0, 113.9230484536, 190.0, 113.9230484536, 180.0, 96.602540378 ),
                new CustomHexagon( "44", 250.0, 79.2820323024, 270.0, 79.2820323024, 280.0, 96.602540378, 270.0, 113.9230484536, 250.0, 113.9230484536, 240.0, 96.602540378 )
            };
          
            EventHandler<MouseEvent> mouseClickedHandler = new EventHandler<MouseEvent>() {
    
    
                @Override
                public void handle(MouseEvent t) {
                    CustomHexagon h = (CustomHexagon) t.getSource();
                    System.out.println( h.getOverlayText() );
                }
              
            };
          
            for ( CustomHexagon hexagon : hexagons ) {
                hexagon.setOnMouseClicked( mouseClickedHandler );
            }
    
    
            root.getChildren().addAll( hexagons );
          
            Scene scene = new Scene(root, 400, 400);
          
            primaryStage.setTitle("Example");
            primaryStage.setScene(scene);
            primaryStage.show();
        }
    
    
    
    
        public static void main(String[] args) {
            launch(args);
        }
    }
    
    
    

    After execution of this program, when you click in the intersection of two StackPanes (borders, shown by dotted lines), the target of the mouse click event will be the StackPane on top, as determined by the order in which they were added to their parent. This is a problem because there is only a small "T" shaped region within each Hexagon that when you click on will target the hexagon with an event, rather than the adjacent nodes. I would be grateful any reccomendations for this problem. Thank you James Giller

    Hello, this is a conifer. Simply call setPickOnBounds (false) on the CustomHexagon.

    A follow-up of this problem problem is open here: https://javafx-jira.kenai.com/browse/RT-17024

  • What is the best size for the gigantic memory file pagefile.sys virtual?

    pagefile.sys is gigantic 8 GB of files in Windows 7, I want free space of HDD on my SSD for faster backup purposes, but I don't want to hinder the performance that comes first.

    I have 8 GB of DDR3 memory. What is the recommended size for the pagefile.sys for optimal performance?

    Tuesday, April 6, 2010 20:44:59 + 0000, EcoWhale.com wrote:

    > I wonder what would be the best size to choose for the performance as I have 8 GB of physical memory (assuming an SSD with a lot of space)?

    I recommend leaving it alone and let windows decide for himself,
    rather than make any custom setting. It works very well.
    Ken Blake, Microsoft MVP (Windows desktop experience) since 2003
    Ken Blake

  • What is the recommended computer configuration - PC - first pro

    I'm shopping for a new computer. What is the recommended configuration for a PC that is running the first Pro CS6

    Please see the link: http://helpx.adobe.com/x-productkb/policy-pricing/system-requirements-premiere-pro.html#Ad obe Premiere Pro CS6 system requirements

  • What is the recommended for El Capitan recovery process?

    What is the recommended for El Capitan recovery process?

    I just upgraded directly from Mountain Lion, and I see that my recovery disc has disappeared.  My recovery disk wizard is only good for Lion and Mountain Lion.  I searched Apple.com and found a complicated process by which I could use the Console and create a bootdisk with the option reinstall, but I can't believe that this is the recommended option for a common user?

    So is time machine bygones?  I noticed that it is dimmed in the Menu bar?

    Certainly, you can restore El Capitan as you would with any other version of OS X - using the HD Recovery. I have no idea why your Recovery HD disappeared. Usually this would cause by user error. However, you can create a standalone install OS X on a USB FlashDrive for emergency use. This has been an option because at least Mavericks:

    Do your own installation of El Capitan using the El Capitan tool flash drive:

    You can create an installer of flash of El Capitan via the Terminal drive. El Capitan has its own manufacturer Installer integrated that you use via the Terminal:

    You'll need a freshly partitioned and formatted at least 8GBs. USB flash drive leave the name of the flash drive on the system by default, "Untitled." Do not change this name. Wait as the full process that will take some time.

    Open the Terminal in the Utilities folder. Copy and paste the following line in its entirety in the Terminal window.

    sudo/Applications/Install\ OS\ El\ Capitan.app/Contents/Resources/createinstallmedia--volume/Volumes/Untitled--applicationpath X\ "/ Applications/install OS X El Capitan.app.

    Press RETURN, enter the admin password (will not resonate to the window) then press RETURN again.

    You must have setup in your Applications folder or change the paths in the command line above.

    You can do the same thing for Yosemite by making the appropriate substitute for the installer in the above command line:

    Make your own Yosemite flash Installer drive using the tool of Yosemite:

    You can create an installer of the Yosemite via the Terminal flash drive. Yosemite has its own manufacturer Installer integrated that you use via the Terminal:

    You'll need a freshly partitioned and formatted at least 8GBs. USB flash drive leave the name of the flash drive on the system by default, "Untitled." Do not change this name. Wait as the full process that will take some time.

    Open the Terminal in the Utilities folder. Copy and paste the following line in its entirety in the Terminal window.

    sudo/Applications/Install\ OS\ Yosemite.app/Contents/Resources/createinstallmedia--volume/Volumes/Untitled--applicationpath/Applications/Install\ OS\ Yosemite.app X\ X\

    Press RETURN, enter the admin password (will not resonate to the window) then press RETURN again.

    You must have setup in your Applications folder or change the paths in the command line above.

    In addition, to Yosemite and earlier you can try using DiskMaker X.

  • What are the best deals for an iPad?

    What are the best deals for an iPad?

    That best meets your needs. We do not know what those needs are, it is really not possible to say which cases would be best for you.  I would recommend that search you Amazon for the type of case (business keyboard, leather case, etc.) in which your interests and then read the comments for those who is very much appreciated.

  • What is the best way to read this binary file?

    I wrote a program that acquires data from a card DAQmx and he writes on a binary file (attached file and photo). The data I'm acquisition comes 2.5ms, 8-channel / s for at least 5 seconds. What is the best way to read this binary file, knowing that:

    -I'll need it also on the graphic (after acquisition)

    -J' I need also to see these values and use them later in Matlab.

    I tried the 'chain of array to worksheet', but LabView goes out of memory (even if I don't use all 8 channels, but only 1).

    LabView 8.6

    I think that access to data is just as fast, what happens to a TDMS file which is an index generated in the TDMS file that says 'the byte positions xxxx data written yyyy' which is the only overload for TDMS files as far as I know.

    We never had issues with data storage. Data acquisition, analysis and storage with > 500 kech. / s, the questions you get are normally most of the time a result of bad programming styles.

    Tone

  • I want to upgrade to a newer Windows operating system Windows Vista Home Pro 64-bit. What is the recommended procedure?

    * Original title: upgrade

    I want to upgrade to a newer Windows operating system Windows Vista Home Pro 64-bit. What is the recommended procedure? I see that Windows 7 or 8, a free update to Windows 10 is offered. Should I buy 7 or 8 then you spend 10 or just buy 10?

    Thank you

    Jim

    Hello

    Depends on hardware configuration required on later operating systems, and also find out if the manufacturer of the laptop computer is supported and provides drivers for operating systems later as to whether it is possible or feasible to upgrade or not.

    There is no free upgrade Vista to 7, 8.1, or 10.

    Follow these steps before you buy Windows 7.

    Microsoft sells more than 7; Try Amazon.com.

    Go to your computer / computer laptop manufacturer Web site and see if Windows 7 drivers are available for your make and model computer / laptop.

    If this is not available, Windows 7 will not properly work for you.

    Run the "Windows 7 Upgrade Advisor.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=20

    Check if your specifications are compatible for Windows 7:

    "Windows 7 system requirements"

    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    "Windows 7 Compatibility Center" for software and hardware:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Windows 7 upgrade paths:

    http://TechNet.Microsoft.com/en-us/library/dd772579 (v = ws.10) .aspx

    «Installation and reinstallation of Windows 7»

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@

    Follow these steps before buy you and upgrade (new installation) of Windows 8.1.

    Microsoft sells more than 8/8.1.

    Try Amazon.com, etc.

    Check if the manufacturer of your computer/laptop has Windows 8.1 drivers available for your model.

    If this is not available, Windows 8.1 not install and work properly for you.

    There is a lot of information in this first link from Microsoft:

    Download and run the Windows Upgrade Assistant 8.1 of to see if your machine is compatible Windows 8.1 and read the update for Windows 8.1: FAQ here

    "Update to Windows 8.1: FAQ".

    http://Windows.Microsoft.com/en-us/Windows-8/upgrade-to-Windows-8

    "8.1 for Windows system requirements.

    http://Windows.Microsoft.com/en-us/Windows-8/system-requirements

    @@@@@@@@@@@@@@@@@@@@@@@

    How to buy Windows 10:

    http://www.microsoftstore.com/store/msusa/en_US/cat/Windows/CategoryID.70036700

    But first make sure that you have the correct configuration and your computer manufacturer provides the right drivers for 10.

    https://www.Microsoft.com/en-us/Windows/Windows-10-specifications#sysreqs

    " System requirements Windows 10"

    https://www.Thurrott.com/Windows/Windows-10/3884/Windows-10-system-requirements

    Microsoft deploys Windows 10 available as free upgrade to Windows 7 features, Windows and Windows Phone 8.1 8.1 qualified. It will be available from July 29, 2015

    "FAQ Windows 10.

    http://www.Microsoft.com/en-us/Windows/Windows-10-FAQ

    See you soon.

  • What is the best OS for a late 2008?

    What is the best OS for a late 2008?

    El Capitan.  He will run the latest apps and have the latest safety features.

    Do not install the maximum RAM that your model will accept (best sources RAM compatible Macs are OWC and Crucial).  If the bank account is fat, install an SSD (Crucial and OWC SSD are recommended).

    Ciao.

  • What is the recommended size of repository to store saves the backups of ACS SNS-3415-K9, v5.4

    Hello guys, we need your advice :),

    do you know what is the recommended size of repository to store backups of logs of ACS SNS-3415-K9 (v5.4.0.46.0a software)?

    We intend to create an FTP server to record a monthly full backup and an incremental backup daily.

    We would like to consider the worst case in which ACS View Database is complete and a full backup is required and daily incremental backups.

    In the second period, we would appreciate really any advice on how to maintain, say, only the last 2 full backups and all the related incremental backups in the FTP server, is there a way to automate the removal of the oldest backup when a new backup is generated?

    Thanks in advance!

    Hi Rodrigo,

    Honestly, there is not a suggested size of space available to FTP/SFTP server used as the size of your backups of data base of progressive and complete view depend on 100% of the amount of newspapers ACS server receives every day, so what I would suggest to take a look at a couple of incremental for 2 consecutive days and would help you to determine what would be the amount that you need for a period of 30 days (one month).

    And associated with your concern if the ACS would supports the option to manually maintain the last 2 full backups view, unfortunately, it is not available as an option.

  • What are the best practices for a new employee to learn inside the instance of their business of Eloqua as efficiently as possible?

    We have companies everything changed at some point in our lives. And we all go through the process in the first weeks, where you feel new and are just trying to figure out how not to get lost on your way in the mornings.

    On top of that, trying to familiarize yourself with your new company Eloqua instance can be a daunting task, especially if it's a large organization.

    What are the best practices for new employees to learn as efficiently and effectively as possible?

    I am in this situation right now. Moved to a much larger organization. It is a huge task trying to understand all the ins and outs not only society, but also of the eloqua instance, especially when she is complex with many points of integration. I find that most of the learning happens when I really go do the work. I spent a ton of time going through the programs, documentation, integrations, etc., but after awhile, it's all just words on a page and not absorbed.

    The biggest thing that I recommend is to learn how and why things are made the way they are currently, ask lots of questions, don't assume not that things work the same as they did with your previous employer.

    Download some base in place level benchmarks to demonstrate additional improvement.

    Make a list of tasks in the long term. As a new pair of eyes, make a list of things you'd like to improve.

  • DPS: Judge to use the parameter Raster or vector in the States of the objects when the majority of the page is a photo. What is the best setting for the overall performance?

    I am trying to decide whether to use the parameter Raster or vector in the States of the object when the majority of the screen is a picture (with a modest but important legend for children to read). The legend certainly makes it look more net as vector. But does the photo! The raster setting seems to make the lower-res images in comparison. In my first edition of my application, I thought that raster would be the best setting when the photo was the subject dominating the page. But now, after seeing how strong he looks like vector, (but with almost a refresh of the unacceptable time. Perhaps better on the latest iPad. Most of my readers/students in class will use iPad 2 s, which has a slower processor). I wonder if I should go through the trouble of changing States of photo objects that have the type as well to the vector. It doesn't seem to be as sensitive to a re - draw on the iPad 2 (non-retine)

    Is Filesize hit if I make about 1200 on these objects range from Raster to vector? (It is a huge, highly interactive history book, so I'm curious if acutally go to vector on these photos would reduce the size of the file) What is the best setting for the overall performance?

    I see the freeks screen outside for a bit if you try to pinch and zoom in a vector object (photo) vs raster. Which is disappointing. Does slow down load time/refreshment in frame, which is a little less. I also found that the drop shadows really bad that redraws effect in vector, almost vibrating in a slide show, for example. Thus, in cases where I need shadows, I'm sticking with Raster.

    All tips go ahead?

    Brian

    Does that help? http://boblevine.us/Digital-Publishing-Suite-101-keep-text-sharp-in-raster-slideshows/

  • What are the best options for the composition of math in InDesign CS4?

    What are the best options for the composition of math in InDesign CS4?

    I tried a few versions of the composition of mathematics test. All have their advantages and disadvantages, but I can't decide on which the plugin/script will be the best in the long run (in taking account of the ePub and MathML).


    So far the two best seems to be InMath (if it becomes compatible CS4) or Math + Magic Pro.


    The biggest pro of InMath is editable on the screen, but it seems to have some risk: http://InDesignSecrets.com/InMath-update-with-new-reader-functionality.php


    Math + Magic Pro works well with CS4, but need of equations to modify in the window of their plugin, and because they are EPS format. The file size and the ability to work with a digital player disappeared.

    And MathType seems pretty useless...

    Someone at - it had positive experiences?

    Not exactly the kerning, but you can move blocks wherever you want with the arrow keys. And you can change the spacing between the elements by changing the spacer between them. There are also defects of spacing.

    Batch edit can be something again. I use 6.0, and I see that the most recent version is 6.5.

    I had problems with files EPS of Mathtype, which may include a preview, but do not include fonts. So, I opened each equation of the word with my default settings (they automatically change the default fonts, spacing, size, etc.), copy, paste in Illustrator and save as have. So when I'm finished, my equations are always vector (if that's what you mean by text).

    Microsoft has chosen to implement a version of Mathtype dumbed-down as the editor of Word equations for many years. So for me at least, long term has already been decided. There are several things wrong with Mathtype, but given the choice between the use of Mathtype to * convert * equations and using InMath or mathemagiques to * recreate * equations, I'll take Mathtype, warts and all.

    Ken Benson

  • What is the recommendation on the backup of a recovery catalog?

    While I understand "benefits of using recovery catalog as the RMAN Repository ' as described in

    http://download-UK.Oracle.com/docs/CD/B10501_01/server.920/a96566/rcmquick.htm#442214

    as well as things to note if you are using the unique control as the rman repository file,

    as described in "Monitoring the overwhelming control file Records" in http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrepos.htm#446924

    I do not understand why in Backup and Recovery Advanced User Guide
    http://download.Oracle.com/docs/CD/B14117_01/server.101/B10734/rcmrepos.htm

    "Save often Recovery Catalog"

    Even if you need to restore the recovery catalog database by using a backup control file, you can use full backups folder in your catalog database restored recovery to restore the database target without using a backup of the target database control file.

    = > implies without doubt that we can use a different catalog of recovery we'll call it backupbackup to restore the recovery catalog

    "Choose the appropriate method for physical backups.

    Follow these steps when developing a strategy for RMAN backup to the recovery catalog database:

    * Run in ARCHIVELOG mode recovery catalog database so that you can do point-in-time recovery if necessary.
    * Set the retention policy to REDUNDANCY greater than 1.
    * Save the database on two separate media (for example, disks and tapes).
    * Run the base BACKUP of DATA PLUS ARCHIVELOG at regular intervals, to a Media Manager if available, or simply to drive.
    * Do not use a different catalog recovery as a repository for backups. = > This is in contradiction with the previous declaration
    * Set up automatic backup of control file on IT.

    so can I know what is the recommendation on the backup of a recovery catalog? should I use another recovery catalog to keep deposits from rman of the main primary catalog or simply use a feature of automatic backup of control file?

    Thank you

    To Catalog backup recovery, it is recommended to enable autobackup controlfile ON and save in nocatalog mode (IE without another recovery catalog).

    The doc States that: "even if you have to restore the database catalog of recovery using a backup control file, you can then use the full record of backups in your database to catalog recovery restored to restore the target database without using a backup of the target database control file.".

    What this means, is-
    The target database backup files are stored in the recovery catalog schema tables, not in the controlfile recovery catalog. When you are using a control file backup and restores them recover from the recovery catalog database, you won't lose target database backup files.

Maybe you are looking for

  • Satellite A660 doesn't go into hibernation

    My Satellite A660 machine not going into hibernation. The action button is there and the screen turns off but it goes no further. Sleep and shut down still work OK. I tried everything that I can see on the Windows website nothing helped. If anyone ca

  • Downgrade iOS to iOS 9.1 9.2

    Is it possible to restore or downgrade from iOS9.2 to (at least) iOS9.1?  The battery life of my iPhone 5 c went from being extremely healthy with 8.4.1 and seriously deteriorated with each update.  Degradation occurs even after the battery life all

  • How can I change what is stored in iCloud photo library

    How you do not change what is stored in iCloud photo library?

  • I'm updating my punkbuster files...

    I'm currently updating my punkbuster files so I can play call of Duty (all for PC), and when I try to save them in the appropriate folder, he invites me to ask permission of the administrator or save it as a document. I tried to save in a document, b

  • Smartband with Spotify or Walkman?

    Hello! I'm trying to get my smartband to work with the walkman on my Sony Xperia Z2 application. This does not at all, tried everything. The settings under Smart Connect to the Smartband is configured to use the program "Musicplayer. The smartband wo