Difference between bad file and discard  file

Hello everyone, My oracle database is 10g.
Can any one tell me the difference between badfile and discardfile.(SQL Loader Concepts)

The Bad File
The bad file contains records that were rejected, either by SQL*Loader or by the Oracle database. If you do not specify a bad file and there are rejected records, then SQL*Loader automatically creates one. It will have the same name as the data file, with a.bad extension. Some of the possible reasons for rejection are discussed in the next sections.
The Discard File
As SQL*Loader executes, it may create a file called the discard file. This file is created only when it is needed, and only if you have specified that a discard file should be enabled. The discard file contains records that were filtered out of the load because they did not match any record-selection criteria specified in the control file.
The discard file therefore contains records that were not inserted into any table in the database. You can specify the maximum number of such records that the discard file can accept. Data written to any database table is not written to the discard file.

Similar Messages

  • Difference between BADI's and User Exits.

    Hi Experts,
        I want to know the difference between BADI's and User Exits....
    What i know is BADI's are Object oriented But User exits are normal Programs.....i think in User exits also we can write Object oriented program.....
    AND one more is BADI's are multiple use but user exits are not,,,,
    IF BADI's are multiple use like all BADI's are multiple use or some....is there any performance issues,,,i need to know gurus .......and please provide to me more than this.........
    Thanks
    Venkat

    User exits are some provisional space in the standard program for you to write your own business functionality.
    BADI's are soem of the business add-in's that comes along with the standard SAP product but are disabled as most of the customers do not need it. So for those customers who need this will have to activate it and that functionality will be avilable in the transaction.
    - guru
    Reward points for helpful answers

  • Difference between BADI Notif_Event_Save and Notif_Event_Post

    Dear Experts,
    What is the difference between BADI -  Notif_Event_Save and Notif_Event_Post? Please update.
    Regards,
    Tushar

    Hi,
    I haven't done this but have you tried to set the field CT_IWQMSM-STTXT - System Status for Notification? Maybe you just need to set this field to TSRL - Task Released.
    Regards

  • What is the difference between Topic Keywords and Index File Keywords?

    What is the difference between Topic Keywords and Index File Keywords? Any advantages to using one over the other? Do they appear differently in the generated index?
    RH9.0.2.271
    I'm using Webhelp

    Hi there
    When you create a RoboHelp project you end up with many different ancillary files that are used to store different bits of information. Many of these files bear the name you assigned to the project at the time you created it. The index file has the project name and it ends with a .HHK file extension. (HHK meaning HTML Help Keywords)
    Generally, unless you change RoboHelp's settings, you add keywords to this file and associate topics to the keywords via the Index pod. At the time you compile a CHM or generate other types of output, the file is consulted and the index is built.
    As I said earlier, the default is to add keywords to the Index file until you configure RoboHelp to add the keywords to the topics themselves. Once you change this, any keyword added will become a META tag in the topic code. If your keyword is BOFFO, the META tag would look like this:
    <meta name="MS-HKWD" content="BOFFO" />
    When the help is compiled or generated, the Index (.HHK) file is consulted as normal, but any topics containing keywords added in this manner are also added to the Index you end up with. From the appearance perspective, the end user woudn't know the difference or be able to tell. Heck, if all you ever did was interact with the Index pod, you, as an author wouldn't know either. Well, other than the fact that the icons appear differently.
    Operationally, keywords added to the topics themselves may hold an advantage in that if you were to import these topics into other projects, the Index keywords would already be present.
    Hopefully this helps... Rick

  • Difference between nio-file-manager  and nio-memory-manager

    Hi,
    what's the difference between nio-file-manager and nio-memory-manager? The documentation doesn't really discuss the differences as far as I know. They both use nio to store memory-mapped files don't they? What are the advantages/disadvantages of both?
    When to choose the first one and when the second when storing a large amount of data? Can both be used to query data with the Filter API? Are there size limits on both?
    Best regards
    Jan

    Hi Jan,
    The difference is that one uses a memory mapped file and one uses direct nio memory (as part of the memory allocated by the JVM process) to store the data. Both allow storing cache data off heap making it possible to store more data with a single cache node (JVM) without long GC pauses.
    If you are using a 32 bit JVM, the JVM process will be limited to a total of ~3GB on Windows and 4GB on Linux/Solaris. This includes heap and off heap memory allocation.
    Regarding the size limitations for the nio-file manager Please see the following doc for more information.
    With the release of 3.5 there is now the idea of a Partitioned backing map which helps create larger (up to 8GB of capacity) for nio storage. Please refer to the following doc.
    Both can be used to query data but it should be noted that the indexes will be stored in heap.
    hth,
    -Dave

  • File format differences between Illustrator CS2 and CS3

    Does anyone know the difference between the file format of Adobe Illustrator CS2 and CS3? Is there a document that documents this? Can someone send a link? The reason I am asking is that I have written a plug-in which saves the current CS3 document back down to CS2 so that users who are still using Adobe Illustrator CS2 can open it. However, if the same document is opened by a CS3 user, what objects, constructs or data structures are likely to be lost because the file has be converted down to CS2? Most things seem to be retained and I have yet to find a problem but if yo save manually from CS3 to CS2, Illustrator puts up a warning stating "Saving to a legacy format may cause some changes to your text layout and disable some editing features when the document is read back in". Does anyone have any more detail on this?
    Thank you

    There are new features in CS 3 as opposed t CS 2 and the text engine has been improved some what in CS 3. If you have text on a path that is say curved you are going to see a loss in the spacing and way it is oriented. fixed in CS 4.
    I forget some of the new features in CS 3 what was not a feature in CS 2 will be flattened when saved back.
    Or the feature will simply not be available.

  • What is the difference between undo tablespace and online redo log files.

    what is the difference between undo tablespace and online redo log files. I am confused
    as per my knowledge undo tablespace is used to store the undo information when a table is being updated so that, just incase we need to rollback a transaction we know what was present in the table earlier.
    when a transaction fails the SMON performs the rollback of the data.
    This undo data is stored in the undo tablespace and read consistency if any is enforced.
    is my understanding till here correct?
    Now, can this undo data/before image not be stored in the redo log buffer and online redolog files?
    can redo-log files not store this information?
    in fact, is it that when undo tablespaces exist in a database, the undo data/before image is stored in both the undo tablespace and also the redo log files?
    kindly clarify my doubt.
    thank you.

    This question has been asked many times before. The answer is always the same.
    Yes, redo contains the before image of data (and the after-image). Therefore, it **COULD** be used to roll back a transaction.
    BUT... Redo is written sequentially. Using it to rollback your transaction would involve reading through all the redo written by maybe thousands of other people. It would be painfully slow.
    Your transaction is, however, directly linked to just the UNDO that it generates (which is JUST the before image of the data). So, your undo is your undo and doesn't share space with anyone else's undo. Therefore, using it to roll back YOUR transaction is fast.
    The fact that undo is only the before image of the data also makes it faster than wading through a sea of before and AFTER images as you'd find in redo. About twice as fast, in fact, since there's half the data. Roughly.
    Redo also gets written and flushed to disk whenever there's a commit, 3 seconds are up or too much (1MB, actually) redo gets generated between flushes caused by other factors. Your redo gets flushed when those things happen, even if you haven't actually committed your transaction. And redo logs recycle themselves, meaning that your redo -even if your transaction hasn't been committed yet- can be over-written by later transactions. Try rolling back when that's happened, if redo was the source of your rollback data!
    Undo, however, cannot be over-written if the transaction has not been committed. Ever. If you don't commit for three years, there will be three years' undo stored in your database (assuming you had the space, of course!).
    I could go on, but that will do. Redo is there fore RECOVERY, after catastrophe. Undo is there for read-consistency (and the occasional change of mind). Two different functions. Two different mechanisms. Each one highly tuned to doing what it does, why it does it, most efficiently and effectively.

  • Difference between jar file and package?

    What is difference between a package and jar?
    Is a jar a package? or is package jar?
    If I say
    package pink;
    does it mean pink is folder or jar?
    what if I say import pink.rose;
    does it import jar file with the rose class inside it?

    These two concepts are unrelated. A jar file is nothing more than a zip file of class files and other related resources, which you can use to 'bundle' your application for ease of deployment. Th use of zip files is not mandatory.
    Packages on the other hand, are a means of 'packaging' parts of an application or library in their own namespace, generally for reasons program structure, and to avoid naming collisions. A bunch of classes in a package will be compiled into a bunch of class files, on a one-to-onwe basis (one file per class).
    You may chose to 'bundle' those and other classes into a jar file.

  • Difference between .jar, .war and .ear file

    Hi,
    I am pretty new to J2EE technology.
    I would like to know what is the difference between .jar, .war and .ear files and how they are deployed on webserver.
    Thanks,

    Files with a .jar extension or JAR files, are essentially just a collection of files compressed using the ZIP/ZLIB compression format.
    JAR (short for Java Archive) files were introduced in the early days of Java as a means to conveniently package and distribute Java applications and components. Since then, a number of additions to the Java platform have followed suit. The introduction of the EAR file is one such addition.
    An EAR (Enterprise Archive) file is a JAR file that contains a J2EE application.
    A J2EE application is a group of Web modules that collectively perform as a single entity.
    A Web Module is an entity consisting of one or more resources such as HTML files, Java class files, XML files, etc. Web Modules are packaged in Web Archive (WAR) files.
    Looking at it from a top-down view, EAR files contain JAR files and WAR files. Packaging resources in WAR files, JAR files and eventually EAR files, makes it easy to reuse and reassemble components as new J2EE applications and distribute them to new environments.
    For example, Tomcat deals only with WAR files.
    So, in order to auto-deploy a Web application to a Tomcat environment, you must place an application's WAR file in the appropriate directory or use Tomcat's deployment tools to manually deploy the file.
    If you already have an EAR file that contains the WAR file, you can extract the WAR file and use it as is. If you do not have the EAR file or the WAR file, you can use any number of compliant tools to create the WAR file. Tomcat is a servlet/JSP container available from the jakarta.apache.org site.

  • What is the difference between httpd.pid and httpd.lock files?

    What is the difference between httpd.pid and httpd.lock files?

    Hi;
    Apache httpd saves the process id of the parent httpd process to the file logs/httpd.pid .
    LockFile
    Sets the path to the lockfile used when Oracle HTTP Server is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or USE_FLOCK_SERIALIZED_ACCEPT. It is recommended that default value be used. The main reason for changing it is if the logs directory is NFS mounted, since the lockfile must be stored on a local disk.
    For example: LockFile /oracle/Apache/Apache/logs/httpd.lock"
    Please see:
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14007/fileloc.htm#sthref254
    Regard
    Helios

  • Difference between importing files and adding files/folders to liabrary?

    When I want to bring in new music into my liabrary from my my music folder, I don't know the difference between importing them and adding a file. They both seem to bring up the my music folder and seem to give me the same options?

    To quote from the following link:
    "When you add something to the library, essentially you are taking existing audio or movie files and adding an entry for each to your iTunes Library index. iTunes adds entries in your iTunes library for the selected files, and copies the files to your iTunes Music folder (if you have that option selected in the Advanced pane of iTunes preferences)."
    "The Import menu item allows you to import playlists and other data files into iTunes."
    For more see this page: About the Add to Library, Import and Convert functions

  • Difference between db file sequential read and scattered read

    Hi,
    Oracle Version : 10.2.0.1
    Operating system: Linux
    Can any one please help me what is the difference between db file sequential read and scattered read or please give any best related links .
    Thanks & Regards,
    Poorna Prasad.

    >
    A sequential read is a single-block read. Single block I/Os are usually the result of using indexes.
    A db file scattered read issues a scattered read to read the data into multiple discontinuous memory locations. A scattered read is usually a multiblock read. It can occur for a fast full scan (of an index) in addition to a full table scan.
    >
    See Performance Tuning Guide:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/instance_tune.htm#i20526
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/instance_tune.htm#i15958
    Edited by: P. Forstmann on 20 oct. 2009 09:11

  • Difference between  MDM adaptor and File adaptor?

    Hello All,
    Could any one light on the difference between PI Adaptor and File adaptor?
    Thanks
    Rajeev

    Hi,
    >>>Could any one light on the difference between PI Adaptor and File adaptor?
    for MDM <= 5.5
    there was no difference as file adapter was the MDM adapter
    it changed with the latest version as Shabz mentioned
    Regards,
    Michal Krawczyk

  • Difference between page file and swap space

    Hello friends
    What is difference between swap space and page file???
    I set the page file to 0 MB(No page file) but when I use Everest Software it show 1023 MB swap Space.Is there difference between them?

    Swapping meaning data in and out from memory ie. primary to secondary. Paging is also the same thing, but its mostly used nowadays as virtual memory is based on pages. So, its like pages in and out. Swap space the memory used for swapping entire processes
    from system memory into the swapfile. Where as paging transfers the pages to page file when the memory is almost full.
    Regarding Everest, I think you should check with the supplier.
    Arnav Sharma | Facebook |
    Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members
    reading the thread.

  • Difference between .war file and .ear file

    Hi,
    what is the difference between .war file and .ear file ?
    Please let me know with appropriate explanation.

    War file means web application archive. It is archived file having a collection of JSP, servlets and static pages that together costitute a web application. It contains one WEB-INF directory which will have a file named web.xml which defines the structure of the web application.
    On the other side EAR file is Enterprise application archive. It is file having packaged content of one or more modules into a single archive so that the deployment of all the modules can be done simultaneously on the application server. It also contains XML files called deployment descriptors which gives the details of the deployment method. This deployment descriptor will be present in the folder META-INF folder.
    So the main difference betwwen the two is that Ear file is having collection of various modules to be deployed on the application server while the WAR file is used to deploy the web applications.

Maybe you are looking for

  • Install failed due to loss of power and Yosemite will now not go past login screen. Help!

    I recently tried to install OS X Yosemite.  unfortunately during the install my laptop was unplugged and the installation failed mid way through.  Each time I start my mac I get to login screen and after logging in get an error message and told to re

  • Creating events in iPhoto

    I'm working with iPhoto.  Photos are not showing up on the Events page for me to organize.  I've gone to the Photos section and organize them into events.  However, they do not appear on the Events page.  What am I doing wrong?

  • Mime-types and schemas

    Hi after my last update yesterday I have got some problems with some mime-types. Directly after the update pacman said the following: Warning in file "/usr/share/applications/nautilus-folder-handler.desktop": usage of MIME type "x-directory/gnome-def

  • Capturing Video from a VCR

    I am trying to convert some home videos on VCR. I love PS Elements 8 so I bought Premier Elements 8. I connected my VCR to a PC USB via  a Terratec Grabster 250. The Capture window in Premier Elements appears to have identified the video source (Grab

  • JClient Refresh Question (Am I trying too hard?)

    Environment: Windows 2000, JDeveloper (9.0.3.10.35) I have a JClient with a bunch of JTextFields bound to my BC4J app. I perform all of my business logic calculations/validations in the entity objects. I have some entity calculated attributes and the