Difference between v$instance and v$thread

Hallo,
What is the difference between v$instance and v$thread?
Thanks,

Well, a mere description of the views in the official documentation isn't going to actually help you very much more than you could do with a simple "desc V$instance/desc V$thread", I suspect.
The answer I think you might be looking for is that a thread is not the same thing as an instance. In fact, we usually talk about "a thread of redo", which gets much closer to the issue here. Yes, it is true that one instance can only generate one 'thread of redo', so one instance = one thread, and there's a temptation to extrapolate from that and assume they're the same thing.
But they're not. An instance is a set of memory structures and processes. It has a name. It gets started and stopped. In can be running in various states (nomount, mount, open, read-only, primary, secondary etc).
A thread of redo is a history of redo generated by an instance. It has ever-incrementing checkpoint change numbers, times of last checkpoints, sequence numbers, blocks of redo that are forever being flushed to different parts of the current redo log. And so on.
Thus, V$INSTANCE tells you the state of the instance and V$THREAD tells you all you could ever want to know about where you're up to in the writing-redo stakes.

Similar Messages

  • Difference Between central instance And application instance

    Hi every body can any one tell me that
    what is the difference between Central instance and Application instance.
    If i am using 4.7 ee with orcale data base.

    Check these links
    http://oreilly.com/catalog/sapadm/chapter/ch01.html
    Basically these terms comes when you are working on live servers where all the users log into to do their daily work.
    We says when we want to distribute the workload on servers we requires central instance and application servers.
    Normally it is not known to common users where they are logging into...but they can login directly usign the specific Instance details of servers.
    Please see this also
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a64e8505211d189550000e829fbbd/frameset.htm

  • Difference between Database, instance and schema

    Hi
    I don't know the clear difference between database, instance and schema.. In the broad sense, everything seems to be the same. If anyone can differentiate between them with some example, that will be of great help.
    Thank you.

    Hi,
    In Oracle, people often do use "database" and "instance" interchangeably, or together as one term: "database instance".
    A "schema" is quite different. A schema is a collection of objects (such as tables, indexes or procedures). Every object belongs to exactly one schema, and every schema is a part of exactly one database. (Names may not be unique, however. For example, your database may have one schema named SCOTT, and another schema named USER1. Each of those schemas may have a table named EMP. The EMP table in the SCOTT schema, or SCOTT.EMP, is not the same as the EMP table in the USER1 schema, or USER1.EMP. A different database, my database for example, may also have schemas called SCOTT and USER1, which are completely independent of the SCOTT and USER1 in your database.)

  • Difference between Central Instance and Application server?

    Can anybody let me know the exact difference betwwen a Central Instance and An Application server?

    I think it can help you to understand the concepts:
    http://help.sap.com/saphelp_40b/helpdata/en/08/5741a84ae611d1894f0000e829fbbd/content.htm
    Best regards,
    Itamar Marioto

  • The difference between class, instances and object?

    I've been reading a JAVA book and i've come accross terms such as class, instances and object. What I don't understand is why after creating a class, we have to create an object and then create instances? What's an object and instance anyway? I don't really understand the term. Can anyone pls help and explain it to me in an easier way to understand?
    Thanks a lot.

    A Class defines what attributes (properties) and methods a particular item will have.
    Ex. You have a class person
    public class Person
    public void walk()
    String name;
    int age;
    }An instance and Object are the same. When you create an instance of a class, you get an object of that class.
    Person kevonline = new Person();You can then set kev's name, age, make him walk, etc... since these are defined in the class Person.
    HTH,
    Dewang

  • Difference between sqlplus - start and srvctl start instance

    Hello,
    why we need to start RAC instances with SRVCTL command, what is the difference between sqlplus -- startup and (srvctl start instance -d dbname -i inst_name)
    Thanks
    Karthick K

    The first ever thing that comes to mind is that sql*plus is not a clusterware utility which means, any updations done from it, may not update correctly the OCR . If you would play with RAC, you may see that doing the startup/shutdown using the sql*plus at times show a conflict the status of the instance when checked through crs_stat command. That's a reason that the srvctl is preferred against sql*plus in the cluster environments.
    HTH
    Aman....

  • Difference between list.clear() and new instance

    In the below code,
    List<String> test = new ArrayList<String)();
    list.add("one");
    list.add("two");
    list.add("three");
    list.clear();
    (or)
    list = new ArrayList<String)();
    list.add("four");
    list.add("five");
    What is the difference between List.clear() and creating new instance for list?

    1. Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    2. Invoking clear() sets all the elements of the ArrayList to null and resets the size to 0.    public void clear() {
         modCount++;
         // Let gc do its work
         for (int i = 0; i < size; i++)
             elementData[i] = null;
         size = 0;
        }(modCount is used to detect concurrent modification and throw an Exception when needed)
    Constructing a new ArrayList creates a new, different, empty ArrayList.
    In many situations they might be equivalent, but not in a case where you have two or more variable references to the same ArrayList. Example (watch out for typos)ArrayList<String> stringsA = new ArrayList<String>();
    ArrayList<String> stringsB = stringsA;
    : // add elements to stringsA
    : // stringsB refers to the same populated list
    stringsA.clear(); // stringsB refers to the clear()ed list
    : // add elements to stringsA again
    stringsA = new ArrayList<String>(); // stringsB still refers to the populated listdb

  • Difference between LockSupport.parkUntil and Thread.sleep method

    Hi
    Could someone please explain the difference between LockSupport.parkUntil and Thread.sleep methods.
    Thanks in advance.

    javaLearner wrote:
    The thing that I am trying to understand is - the difference / correlation between the two methods mentioned.
    In the javadoc, there is a mention of correlation between the LockSupport methods park, unpark and the Thread methods suspend, resume - but not park and sleep.Then that suggests that there isn't any difference /correlation -- whatever you meant by that. Perhaps your question is like asking for the difference between a fish and a bicycle.
    Also, I would like to understand the statement
    These methods are designed to be used as tools for creating higher-level synchronization utilities, and are not in themselves useful for most concurrency control applications. (from the javadoc)Again, you're going to have to explain what you don't understand about it.

  • Difference between Application.CurrentCulture and Thread.CurrentCulture

    Can someone tell me the difference between Application.CurrentCulture and Thread.CurrentCulture.
    Thread has CurrentCulture and CurrentUICulture. But Application has only CurrentCulture. Why?
    (https://msdn.microsoft.com/en-us/library/system.windows.forms.application.currentculture(v=vs.110).aspx)
    (https://msdn.microsoft.com/en-us/library/system.threading.thread.currentculture(v=vs.110).aspx)

    1)
    Application.CurrentCulture delegates to Thread.CurrentThread.CurrentCulture("Gets or sets the culture information for the current thread") so it only sets it for the main thread of the
    application.
    2) They are both properties of a Thread object, which you can access via Thread.CurrentThread.
    CurrentCulture – Tells you the user’s current locale, as set in the Region
    applet.  I.e.: Where is the user located?
    CurrentUICulture – Tells you the native language of the version of Windows
    that is installed.  I.e.: What language does the user speak?
    The user can change CurrentCulture using the Region applet.  It’s used to determine formatting for numeric and date/time
    strings.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Difference between application server and central instance

    Hi everyone,
    whats the difference between application server and central instance and message server. where it will be installed. and how?
    Regards
    Basis Fresher

    Hi,
    just want to clarify that is is not correct that only one enqueue process can be configured on the CI.
    Please see the documentation within transaction RZ11 for the parameter Parameter : rdisp/wp_no_enq
    Short description : number of enqueue work processes
    Parameter description :
    You can use this parameter to define the number of enqueue work processes for the instance.
    Ensure that a value >0 is only set on the central instance that provides the enqueue server (instance rdisp/enqname ). One enqueue work process on the central instance is normally sufficient (rdisp/wp_no_enq = 1); only in very large systems can a higher value be useful.
    Kind Regards
    Thomas Alt

  • In TCA, what is the difference between Item instance owner and System's own

    Hi,
    In TCA, what is the difference between Item instance owner and System's owner ?
    thanks
    siva

    ...can i make as many iweb websites as i want? ...and as many blogs as i want? ...i have never made one before....
    ....although, i do have my own small business and i do have a website that i paid a guy to make and also host....(which is a waste of $$$$ in my opinion as i think i can do a better job making one myself through iweb) ....
    ...anyways, i know it is splitting hairs but what exactly is the diff b/w a blog and a website ....i am under the impression that a blog is just a personal newsletter sort of thing,...?

  • List of differences between PSE 40 and PSE30

    A lot of users are asking what are the differences between PSE 30 and PSE 40.
    This Thread provides information on this subject. First, you will find information copied from the section "New Features" of the useful "Adobe Photoshop Elements 4.0 User Guide". Then later on, you might find additional information on the same subject provided by users of PSE.
    --- Start of copy of information in the PSE 4.0 User Guide ----
    1 What's new in PSE 4.0
    1.1 Editing and selection
    1.1.1 Magic Selection Brush tool
    Easily and accurately select portions of your photos using this new tool in either Standard Edit and Quick Fix. Simply scribble or place dots on the object you want to select -no need to precisely outline the object- and Adobe Photoshop Elements selects the object for you. You can add to or subtract from the selection by using additional tools in the options bar. (See User Guide "To use the Magic Selection Brush tool" on page 193.)
    1.1.2 Magic Extractor.
    Easily select an object in a photo and extract it from its background. Just scribble or place dots on
    the object you want to extract; then scribble or place dots on the background, and Photoshop Elements separates the object from its background. This tool is perfect for creating composites or scrapbook images. (See User Guide "To use the Magic Extractor" on page 194.)
    1.1.3 Skin tone adjustment
    Click an area of skin and watch the tonal balance of all colors in the photo improve. If you
    want, you can also manually adjust the color by using color sliders. (See User Guide "To adjust the color of skin tone" on page 224.)
    1.1.4 Red eye removal
    Automatically remove red eye during import, or select one or more files and easily remove red eye
    in either the Organizer or the Editor. (See User Guide "To remove red eye" on page 249.)
    1.1.5 Defringe
    Automatically remove the colored specs or halo around the edges of a selection. (See User Guide "To defringe a Selection" on page 200.)
    1.1.6 Straighten tool
    Straighten and crop crooked photos by drawing a horizontal or vertical line in the image. Photoshop
    Elements aligns the photo to that line. (See User Guide "To straighten an image" on page 243.)
    1.1.7 WYSIWYG font menu
    What you see is what you get -see what each font looks like from within the font menu. (See
    User Guide "To choose a font family and style" on page 332.)
    1.2 Sharing and printing
    1.2.1 One-click printing (US, Canada, Japan only)
    Order prints and professional hardbound photo books directly from Photoshop Elements simply by dragging the items to the Order Prints palette. (See User Guide "To use the Order Prints palette (US, Canada, Japan only)" on page 401.)
    1.2.2 Slide shows on TV
    If you have Windows¨ XP Media Center 2005 installed, you can view your Photoshop Elements
    slide shows on your TV and navigate using your TV remote control. (See User Guide "To output a slide show" on page 354.)
    1.3 Tagging and organizing
    1.3.1 Face tagging
    Select a group of photos and let Photoshop Elements isolate and display all the faces so that you can
    quickly tag them. The Find Faces dialog box displays thumbnails of each face until you tag it. (See User Guide "To automatically find faces for tagging" on page 101.)
    1.3.2 Search by metadata
    Search for a variety of metadata criteria, such as file name, file type, shutter speed, camera
    model, date, and tags. You can search on multiple criteria at once. (See User Guide "To find photos by details (metadata)" on page 89.)
    1.3.3 PDF support
    Manage and tag PDF files in the Organizer. PDF files remain intact as one file that you can tag. Open
    the PDF in the Editor to extract individual pages. (See User Guide "To open a PDF file" on page 148.)
    --- Continuation in next Post of this Thread ----

    --- Continuation from previous Post -----
    2 What's changed in PSE 4.0
    2.1 Editing and selecting
    2.1.1 Crop tool
    Freely change image size boundaries while cropping an image. When you're happy with your crop marks,
    click the Commit button , which is now conveniently located at the bottom right corner of the crop border. (See User Guide "To crop an image" on page 240.)
    2.1.2 Paragraph text
    Create paragraph text by dragging a border with the Text tool. The text you enter inside the border
    wraps to remain inside the boundaries. (See User Guide "To add text" on page 329.)
    2.1.3 Quick Fix
    Use the newly enhanced automatic correction options for the most common photo flaws. (See User Guide "To correct color in Quick Fix" on page 207.)
    2.1.4 Easier color management
    Easily get the color you expect when printing. N ew options and improved embedded
    profile support streamline color management. (See User Guide "About color management" on page 236.)
    2.1.5 Advanced camera raw
    Fine tune exposure and lighting by working with the raw data from your digital camera, and
    easily export photos to the universal DNG format. (See User Guide "About camera raw image files" on page 159.)
    2.1.6 Artifact reduction
    Quickly remove noise caused by shooting in low light or with ISO camera settings by using the
    new Remove JPEG Artifacts option in the Noise filter. (See User Guide "Reduce Noise" on page 289.)
    2.2 Sharing and printing
    2.2.1 Multimedia slide shows
    Create feature-rich slide shows with all the new tools and options available in the Slide Show
    Editor:
    a) Gracefully move from one image to another by adding interesting transitions between each slide. You can choose from over 50 transitions, such as dissolves and doors. (See User Guide "To add and edit transitions" on page 352.)
    b) Add text and graphics with the click of a button. (See User Guide "To add text to a slide" on page 348 and "To add clip art graphics to a slide" on page 347.)
    c) Make your slide show feel more like a video by panning and zooming your slides. For instance, you can pan from a face on the left side of an image to a face on the right side of the image. (See User Guide "To set pan and zoom" on page 350.)
    d) Add background music, make the duration of your slides match the duration of your audio, and narrate your slides all with the click of a button. (See User Guide "To add music to a slide show" on page 347 and "To add narration to a slide" on page 350.)
    e) Quickly reorder or edit your slides without leaving the Slide Show Editor. (See User Guide "To reorder slides" on page 346.)
    f) Preview anytime by clicking the Preview button, and then output your slide show by burning a DVD (if you have Adobe ' Premiere' Elements installed), sending it in e-mail, sharing it online, or sending it to your TV. (See User Guide "To output a slide show" on page 354.)
    2.2.2 Photo mail
    Turn plain e-mail into theme-based Photo Mail with enhanced and easier to use captions. (See User Guide "To send a photo using Photo Mail" on page 407.)
    2.2.3 Desktop wallpaper
    Create original desktop wallpaper using multiple photos. (See User Guide "To use photos as desktop
    Wallpaper" on page 367.)
    2.2.4 Creations
    Create your own cards, calendars, and photo albums, and then print them on your printer, upload them
    to the web, or burn them to CD. (See User Guide "About creations" on page 343.)
    2.3 Viewing, tagging, and organizing
    2.3.1 Faster download
    Use the enhanced Photo Downloader to quickly download photos from your digital camera and
    mobile phone, even when Photoshop Elements is not running. (See User Guide "To get photos from a digital camera or card reader" on page 62.)
    2.3.2 Full Screen and Side By Side View
    View your photos in full screen without the clutter of command menus and tools.
    (See User Guide "Viewing photos at full screen or side-by-side" on page 76.)
    2.3.3 Automatic organization and view options
    View your photos as arranged automatically by date, or use the intuitive
    Date View or the enhanced Folder Location view. (See User Guide "To sort files in the Photo Browser" on page 71.)
    2.3.4 Address book
    Import your addresses from Microsoft Outlook address book or vCards. (See User Guide "Using the contact Book" on page 404.)
    2.3.5 Captions
    Add captions to multiple photos at once. Open and edit audio captions by simply clicking the Audio
    icon in thumbnail view in the Photo Browser. (See User Guide "To add captions to files" on page 123 and "To add audio to a photo" on page 124.)
    --- End of Information Copied from the Adobe PSE 4.0 User Guide

  • Whats the actual difference between Business system and Business service

    whats the actual difference between Business system and Business service

    Business System
    1) Business system is a logical system, and there is an importance on physical existence of the system.
    2) Also SLD entry is required.
    3)It is generally used for SAP applications, this is just a general prinicple followed but not mandatory.
    4)This is defined as part of the SLD and is a physical system whose parameters are well defined.
    5(Business systems refers to the physical systems, for instance the R/3 system. You define the business systems in the SLD
    Business Service
    1) You use a Business Service, when you do not have the System details of the the partner system to which you want to communicate. i.e. you have not configured the partner system in SLD.
    2) Business Service is an Absract Unit with Sender and Receiver Interfaces,In this case you need to explicitly add the message interfaces while doing configuration in ID.
    3) It is generally used for NON-SAP applications, this is just a general prinicple followed but not mandatory.
    4) This is not defined as part of SLD and whose technical parameters are not completely known.
    5)Business service is used when the message is not addressed to a business system. It is used mostly in B2B scenarios.
    Also go through these links and threads...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c7/301640033ae569e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Business service or Business system??
    Business Service vs Business System in Integration Directory.
    Best Regards

  • Difference between Planning Version and Simulation Version

    Hi friends,
    What is the difference between Planning Version and Simulation Version?
    Thanks,
    Debi

    Debi
    There are a lot of threads in this forum that give detailed info about version concept. Also you can refer to help.sap.
    Anyways , planning version is the version against which your live cache data is stored.  The data against this version is the one that the planners and buyers are going to refer to or use to make their planning and buying decisions. Data against the planning version is nothing but data relevant to the business .
    There may be instances where you would like to simulate some scenario. If you want to do trial and error analysis and at the same time if you do not want to impact the actual business data , then you create simulation versions and simulate your scenario.
    For example your actual sales orders received for the month of March may be 100 CS. This is the actual number that will be stored against your planning version. Lets say the demand planner wants to find out what will be the impact if there is a sudden bulk demand from a new customer for 500 CS - that is if he wants to do a what - if analysis then he can create a simulation version and try to check the impact .
    Thanks
    Aparna

  • Difference between abap object and function

    hi all,
    i read the book on abap object of the difference between abap object and classical abap.
    i know that there is only 1 instance of a specific function group but somehow i still not so clear why subsequent vehicle cannot use the same function. i also can use the do and loop to call the function? if cannot then why?
    hope can get the advice.
    thanks
    using function *********
    function-pool vehicle.
    data speed type i value 0.
    function accelerate.
    speed = speed + 1.
    endfunction.
    function show_speed.
    write speed.
    endfunction.
    report xx.
    start-of-selection.
    *vehicle 1
    call function 'accelerate'.
    call function 'accelerate'.
    call function 'show_speed'.
    *vehicle 2
    *vehicle 3
    *****abap object*******
    report xx.
    data: ov type ref to vehicle,
             ov_tab type table of ref to vehicle.
    start-of-selection.
    do 5 times.
    create object ov.
    append ov to ov_tab.
    enddo.
    loop at ov_tab into ov.
    do sy-tabix times.
    call method ov->accelerate.
    enddo.
    call method ov->show_speed.
    endloop.

    Hi
    Now try this:
    REPORT ZTEST_VEHICLEOO .
    PARAMETERS: P_CAR   TYPE I,
                P_READ  TYPE I.
    *       CLASS vehicle DEFINITION
    CLASS VEHICLE DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA: MAX_SPEED   TYPE I,
                    MAX_VEHICLE TYPE I,
                    NR_VEHICLES TYPE I.
        CLASS-METHODS CLASS_CONSTRUCTOR.
        METHODS CONSTRUCTOR.
        METHODS ACCELERATE.
        METHODS SHOW_SPEED.
        METHODS GET_SPEED EXPORTING E_SPEED TYPE I.
      PRIVATE SECTION.
        DATA: SPEED      TYPE I,
              NR_VEHICLE TYPE I..
    ENDCLASS.
    *       CLASS vehicle IMPLEMENTATION
    CLASS VEHICLE IMPLEMENTATION.
      METHOD CLASS_CONSTRUCTOR.
        NR_VEHICLES = 0.
      ENDMETHOD.
      METHOD CONSTRUCTOR.
        NR_VEHICLES = NR_VEHICLES + 1.
        NR_VEHICLE  = NR_VEHICLES.
      ENDMETHOD.
      METHOD ACCELERATE.
        SPEED = SPEED + 1.
        IF MAX_SPEED < SPEED.
          MAX_SPEED   = SPEED.
          MAX_VEHICLE = NR_VEHICLE.
        ENDIF.
      ENDMETHOD.
      METHOD SHOW_SPEED.
        WRITE: / 'Speed of vehicle nr.', NR_VEHICLE, ':', SPEED.
      ENDMETHOD.
      METHOD GET_SPEED.
        E_SPEED = SPEED.
      ENDMETHOD.
    ENDCLASS.
    DATA: OV     TYPE REF TO VEHICLE,
          OV_TAB TYPE TABLE OF REF TO VEHICLE.
    DATA: V_TIMES TYPE I,
          FL_ACTION.
    DATA: V_SPEED TYPE I.
    START-OF-SELECTION.
      DO P_CAR TIMES.
        CREATE OBJECT OV.
        APPEND OV TO OV_TAB.
      ENDDO.
      LOOP AT OV_TAB INTO OV.
        IF FL_ACTION = SPACE.
          FL_ACTION = 'X'.
          V_TIMES = SY-TABIX * 2.
        ELSE.
          FL_ACTION = SPACE.
          V_TIMES = SY-TABIX - 2.
        ENDIF.
        DO V_TIMES TIMES.
          CALL METHOD OV->ACCELERATE.
        ENDDO.
        CALL METHOD OV->SHOW_SPEED.
      ENDLOOP.
      SKIP.
      WRITE: / 'Higher speed', VEHICLE=>MAX_SPEED, 'for vehicle nr.',
                VEHICLE=>MAX_VEHICLE.
      SKIP.
      READ TABLE OV_TAB INTO OV INDEX P_READ.
      IF SY-SUBRC <> 0.
        WRITE: 'No vehicle', P_READ.
      ELSE.
        CALL METHOD OV->GET_SPEED IMPORTING E_SPEED = V_SPEED.
        WRITE: 'Speed of vehicle', P_READ, V_SPEED.
      ENDIF.
    Try to repeat this using a function group and I think you'll undestand because it'll be very hard to do it.
    By only one function group how can u read the data of a certain vehicle?
    Yes you can create in the function group an internal table where u store the data of every car: in this way u use the internal table like it was an instance, but you should consider here the example is very simple. Here we have only the speed as characteristic, but really we can have many complex characteristics.
    Max

Maybe you are looking for

  • How to create a hyperlink to a specific page in a pdf

    How can I create a hyperlink to a specific page in a pdf, that is saved on a local drive? If anybody knows the answer, please email me back at [removed] Your help will be greatly appreciated.

  • ABAP query - Customer master

    Hi, I would like to extract customer details like name,street,city,country,region (which is structure ADDR1_DATA)using customer number.I also would like to use structure RF02D-vkorg and table KNVK-name1 to extract the details. Any help how to extract

  • Struts plus Hibernate

    I try integrate Struts and Hibernate. I create a simple blank project... You can download it from http://rapidshare.com/files/49730760/StrutsPlusHibernate.zip.html ( 20 KB you should add lib) . When I start Tomcat 5.5 I have an exeptions : SEVERE: Er

  • Sd invoices posting with External number range

    Hi, i am a fico consultant and dont know the proceedure that how to post SD invoice thorugh Sales orders with external number  range? while posting it is giving error like use internal number range.how to over come this.help me Thanks Prathima

  • Oracle notification server error

    in the last stages of cluster installation the oracle notification server, it failed i deleted etc/oracle , the init.crs init.evmd etc files in /etc/init.d/init* on both nodes , & then tried to rerun the oracle notification server still its showing t