Meaning of the term " Schema "

Folks
I just want to know the general meaning of the term " Schema " in the database development perspective and from an Oracle perspective.
It will be very helpful if you explain to me in a simple way because I am very new to the Database field
Just started learning sql , pl/sql in ORACLE XE.

Matt wrote:
I just want to know the general meaning of the term " Schema " in the database development perspective and from an Oracle perspective. A schema can be many things.
Typically a schema is what you would call a database in SQL-Server and mySQL. In other words, it is a container for a logical database. Where this logical database consists tables, indexes, stored procs, views, triggers, etc. etc.
A schema also can be used as a user account. For example, schema DB1 is used as a logical database schema. Schema JOHN is created for John Doe to logon to Oracle and use the DB1 logical database. DB1 in this case will need to grant JONH access to its objects (and this way different user schemas can have different rights and access to a logical database schema).
Or a schema can be container for common code. A lot of PL/SQL based applications will have a set of common packages and functions and procedures. This can be stored in a schema that acts as a common code library. The code will typically be defined using caller rights (meaning that if the code is called by schema FOO, the code executes with FOO's rights). Public execute rights are granted.
A schema can be an application schema for a 3 tier system. The application tier (Java system running in JBoss for example) does the user authentication. This app tier needs to talk to the database (i.e. logon using a schema). In this case a special schema is created for the app tier (a so-called "trusted" schema as the database trusts the app tier to authenticate the users in order to gain access to the database). This app schema will then (similar to the JOHN user schema) have rights on the logical database schema.
A schema can be a full blown application framework. Oracle's Apex is an example. Its schema contains the Apex runtime engine and Apex RAD GUI. You develop your application inside this framework (which is stored as data in this app framework schema). This Apex app you develop will usually in turn use a logical database schema.
A schema can also be a combination of some of the above.
The SYS schema for example is the core of the database and contains (amongst others) the data dictionary of the database.
There is a special schema that contains the XMDB (XML database) feature of Oracle.
So Oracle itself uses the concept of containers to bundle specific feature sets together in a logical and secure way.
Schemas can also be physically separated from one another. The DB1 logical database schema can for example use its very own physical storage (Oracle tablespaces).
The great thing about a schema is that it can fill a number of roles - as it provides a secure container and in turn security layers can be created between containers to allow one container (e.g. user schema JOHN) to access/use objects of another container (e.g. logical database schema DB1).
And correctly using schemas are important for flexibility, maintainability and above all, security.

Similar Messages

  • Whats the meaning of the term Serialized.

    Hi All,
    1.         I am creating Data Transfer Object class to access data in EJB project.
    Serializable is an Interface and implementing in DTO class. Whats the definite advantage of implementing this interface and Why.
    2. Whats the difference between Long n long data type.
    Cheers,
    Senthil

    Hi! Sam,
      sorry i forget to answer your second question i.e Diff b/w long and Long.
    See, in Java for ever kind of variable like int, long,string there are two kinds of DataType.one is called primitive type(int, long,string) and one is called classType(Integer,Long,String).
    you can convert one type to other.ClassType(like Long) is nothing but a wrapper in primitive dataType(like long).If you talk abt the value of both the dataType then the value of both the dataType will be same.
    The advantage of classType variable is, they will give you some added methods which is not available in primitive type and if you wanted to deal with collection API(linkList,ArrayList) then you need classType variable.
    Java is not a pure Object Oriented Language,one of the reason of this is primitive TypeData because those are not class Object.
    Example:--
       string str = "Hi";
       String strObj = New String("Hi");
    For more clarification please refer any Java Book.
    regards,
    Mithilehwar

  • What does "An error has occurred. The target schema is in an unknown state." mean?

    I guess it means there's some kind of error in the target schema that's preventing the update from happening.
    I'm comparing a local 2014 database with the database project. From the database, to the project.
    Unfortunately, it gives no indication as to the kind of problem it's encountered, nor where the problem is.
    Also when I try searching for this message both on google in general and on this forum I can't find a single page mentioning this error text.
    Can anyone help me understand this issue and ideally debug and fix it?

    For now I have deleted all the sql files, and the cache file (dbmdl) from the project and updated the project from a fresh start.
    This allows me to continue working, but it's  an unsatisfying resolution.

  • Wht does the term Conversion Factor - Banking term exactly mean???

    Wht does the term Conversion Factor - Banking term exactly mean???

    If you are referring to JAX-WS 2.x and the asynchronous client APIs, it is the latter.
    If you are not referring to the JAX-WS APIs, it probably means the former.

  • What is the meanning of the following ?

    hi , db 10g ,
    What is the meanning of the following :-
    1- Literals .
    2- Expressions in Sql .
    3- PL/SQL Expressions .
    4- Padded blanks .

    It is all documented.
    1 - Literal: https://web.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/sql_elements003.htm#sthref377
    The terms literal and constant value are synonymous and refer to a fixed data value. For example, 'JACK', 'BLUE ISLAND', and '101' are all character literals; 5001 is a numeric literal. Character literals are enclosed in single quotation marks so that Oracle can distinguish them from schema object names.
    2 -SQL Expressions: https://web.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/expressions001.htm
    About SQL Expressions
    An expression is a combination of one or more values, operators, and SQL functions that evaluates to a value. An expression generally assumes the datatype of its components.
    This simple expression evaluates to 4 and has datatype NUMBER (the same datatype as its components):
    2*2 
    SQL (simple) expression: https://web.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/expressions002.htm#sthref802
    simple_expression::=
    3 - PL/SQL expressions: https://web.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10807/02_funds.htm#sthref211
    Expressions are constructed using operands and operators. An operand is a variable, constant, literal, or function call that contributes a value to an expression. An example of a simple arithmetic expression follows:
    -X / 2 + 3 
    Unary operators such as the negation operator (-) operate on one operand; binary operators such as the division operator (/) operate on two operands. PL/SQL has no ternary operators.
    The simplest expressions consist of a single variable, which yields a value directly. PL/SQL evaluates an expression by combining the values of the operands in ways specified by the operators. An expression always returns a single value. PL/SQL determines the datatype of this value by examining the expression and the context in which it appears.

  • I can't agree to the terms after upgrading to iOS 7.0.3 because my phone is giving me a defunct Apple ID - help!

    I upgraded to iOS 7.0.3. When I switch on my phone again it asks me to sign in with my Apple ID.
    This is fine - except that it's giving me the email address I was using six months ago. I have never used that Apple ID with this phone, and it's no longer associated with my iCloud account.
    Because I can't sign in, I also can't agree to the terms and conditions. This means that I can't use my phone.
    This is beyond upsetting, I don't even have an alarm clock for tomorrow morning! How can I get it to prompt me using the current email address for my Apple ID? I've logged into my Apple ID on the site and the former address isn't associated with the account in any way, so I don't know where it's getting this old data from.
    Of course all Apple stores in my city are booked solid until Monday. I cannot wait that long.
    Any help would be really appreciated!

    The fix is to log into your current account. Go to appleid.apple.com and change the primary email and apple id back to the old email address (doesn't matter if you have it any longer). Once the change is made, then enter your password for that account on the device. Once you get in, go ahead and go back to appleid.apple.com and change it back. That fixed mine.
    need to edit this to clarify a bit

  • I Dislike the Terms "Destructive" and "Non-Destructive" Editing

    Some folks in the Photoshop realm use the terms "destructive" and "non-destructive" to describe ways of using Photoshop in which transforms are applied directly to pixel values vs. being applied via layers or smart filters or smart objects or other means.
    Do you realize that the term "destructive" is actually mildly offensive to those who know what they're doing and choose to alter their pixel values on purpose?
    I understand that teaching new people to use Photoshop in a way that doesn't "destroy" their original image data is generally a good thing, and I'm willing to overlook the use of the term as long as you don't confront me and tell me what I'm doing when I choose to alter pixel values is "wrong" (or when I choose to advise others on doing so).
    For that people who claim editing pixel values is "destructive", I offer this one response, which is generally valuable advice, in return:
    Never overwrite your original file.
    There.  The "destruction" has ceased utterly.
    It's common sense, really.  You might want to use that file for something else in the future.
    If you shoot in raw mode with a digital camera, then you actually can't overwrite your raw files.  That's a handy side effect, though some don't use raw mode or even start working with digital photographs.
    In any case, when you open your image consider getting in the habit of immediately doing File - Save As and creating a .psd or .tif elsewhere, so that you can subsequently do File - Save to save your intermediate results.
    There can actually be many advantages to altering pixel values, if you know what you're doing and choose to do so.  But sometimes even the most adept Photoshop user might find that a given step created a monster; that's okay, there's a multi-step History palette for going back.  I normally set mine to keep a deep history, to give me a safety net if I DO do something wrong, though I tend to use it rarely.
    And for those who would tout the disadvantages to editing "destructively", there can be huge disadvantages to doing it "non-destructively" as well...  Accumulating a large number of layers slows things down and can use a lot of RAM...  With downsized zooms the mixing can yield posterization that isn't really there, or gee whiz, just TRY finding a computer fast enough to use smart filters in a meaningful way.  Just the concept of layers, if one hasn't worked out how layer data is combined in one's own mind, can be daunting to a new person!
    So I ask that you please stop saying that the "only" or "best" way to use Photoshop is to edit "non-destructively".  There are folks who feel that is offensive and arrogant.  I think the one thing everyone can agree upon is that THERE IS NO ONE OR BEST WAY TO USE PHOTOSHOP!
    You go ahead and do your editing your way.  I prefer to do "constructive" editing. 
    Thanks for listening to my rant.
    -Noel
    Man who say it cannot be done should not interrupt man doing it.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    Aegis Kleais wrote:
    When you alter image data in a manner that cannot be reverted, you have destroyed it.
    Really?
    That's one of those things that one is not supposed to question.  It just sounds so right!
    Problem is, it's insufficient in and of itself, and misleading...  It's a rule of thumb that's way too general.
    What IS "data" anyway?  Arrangement of magnetic spots on a disk?  My disk is still whole, so we're not talking about physical destruction here.
    One could argue that all the data is all still there in many cases of pixel-value-change editing (e.g., where there has been no resizing).  The image file is the same size!  Same amount of data.
    Upsampling, or making a copy of an image is actually creating more data, not destroying data.  Thus there is no general "destruction", but the terms "construction" or "creation" could be used.
    But wait, perhaps you're really talking about destroying information, not data...  Well...
    As it turns out the term "destructive" is still off base.  I have altered the information, possibly even adding important information.  If I make a copy this is a no brainer.  Even if I don't, depending on a person's skill in editing, the altered result could still carry all the original information that was important plus information added by editing, and be quite possibly better for its intended purpose (human consumption) than the image before the edit.  That's the goal!
    So now we're talking about important information vs. unimportant information.  And of course we're talking about fitness for a future purpose.
    As with anything, there are multiple ways to get there and multiple ways to interpret the words.
    The term "destructive" in my opinion was invented to further someone's agenda.
    -Noel

  • Baseline date calculation from the terms of condition

    Dear,
    I need to calculate baseline date from the delivery date of the last consignment date of the GR. It means if there are 3 goods receipts for the purchase order then the due date should be = Last GR date + number of days in the terms of payment.
    Is it possible in Standard SAP? I have tried using the Base line date and document date in the terms of payment. It is not working
    Please help

    Hi,
    This requirement can't be fulfilled in standard SAP. Give logic coding in the program and can print the document for only sales order and not for cost center and Asset. You can custamize interactive report according to your requirement.Give the inputs to ABAPer and get it done. I hope this will help you. Thanking you.

  • What is meant by the term 'IDLE Instance'?

    Hi
    Sometimes i get the following message when connecting to an Oracle10g database
    'Connected to an idle instance'
    Can some expalin what the term 'idle' means? My database is running according to the MMC
    Thanks

    Hi,
    An idle instance is an instance which is not start.
    E:\oracle\ora102>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Apr 7 21:36:05 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    E:\oracle\ora102>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Apr 7 21:36:44 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    SQL>
    My database is running according to the MMCDon't understand what is MMC ?
    Nicolas.

  • What is the Laymans Explanation of the Term BT Lin...

    If someone could explain, in the simplest terms,
    A.  What is meant by "Linear Multicast Channels" (please no links !!) and what are its advantages over what we presently have with our present BT Vision service
    B. Do any other providers use this system at the moment
    C. (i) Do any BT Vision Boxes presently in use, use this system NOW. (ii ) if not, are any boxes already pre equiped NOW to be able to use this system when its rolled out, (iii) if so, which present boxes have this capability 
    I ask this basic question as this subject is often discussed on this forum and I haven't a clue what it really means.
    Thanks
    Solved!
    Go to Solution.

    A) Linear multicast channels are live broadcasts over the internet. So, for example, BBC1HD will be coming to you over the wire rather than the aerial. Multicast is a one to many transmission mechanism which means that the channel only has to be sent over the network once and anyone who wants it picks it up as it comes in. This is distinct from Unicast which means that each device which wants the broadcast has its own copy flying across the network which doesn't scale well for mass communication. Multicast needs specialised hardware on the network to make it happen.
    B) There are other providers which offer live channels over the internet, but whether they're using uni- or multi-cast, I know not. I seem to be remember reading that the other providers don't allow recording of the channels (yet), however BT are going the whole hog and allowing 2 channels to be recorded. Things may have moved on, though, so willing to be corrected on the first bit.
    C) Any of the boxes running the new software can be easily upgraded to get the multicast channels. There are people on this board who are receiving them. Any black boxes running the old software need to be upgraded to the new software first. Silver boxes can't run the necessary software. YouView boxes can't yet until the software is available later in the year.
    Any further confusion, just ask.

  • What do %W% %E% mean in the beginning Java comment?

    I was wondering if anyone knew what the purpose of %W% and %E% at the top of the file comments means. Can't seem to find it anywhere.
    From the Java Code Conventions document at:
    11.1 Java Source File Example
    The following example shows how to format a Java source file containing a single public class.
    Interfaces are formatted similarly. For more information, see ?Class and Interface
    Declarations? on page 4 and ?Documentation Comments? on page 9
    * %W% %E% Firstname Lastname
    * Copyright (c) 1993-1996 Sun Microsystems, Inc. All Rights Reserved.
    * This software is the confidential and proprietary information of Sun
    * Microsystems, Inc. ("Confidential Information"). You shall not
    * disclose such Confidential Information and shall use it only in
    * accordance with the terms of the license agreement you entered into
    * with Sun.
    * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
    * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
    * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
    * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
    * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
    * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
    */

    It doesn't mean anything in the context of Java and comments, but some version managers might substitute that with information that is retrieved at check-in time.
    Kaj

  • I can't press agree in the terms and conditions?

    I recently just got a macbook pro and at the apple store the worker set up an apple account for me.
    I opened itunes for the first time to redeem a gift card and after signing in a message popped up saying "this apple id has not yet been used with the itunes store. please review your account information."
    After clicking "review" I was brought to a page that says "to begin creating your apple id press continue".
    After the jump I was brought to the terms and conditions page.
    At the bottom I clicked the box that said i agree but the button that actually says "agree" is not highlighted, meaning it's unclickable.
    there's two other buttons that are highlighted and clickable and those are "back" and "cancel".
    I'm not sure how to get around this, can anyone help?

    I'm just guessing, but is there more than one box that needed to be checked that you might have missed.

  • Why does the terms for logic say we cant run these programs for commercial use

    question i have regarding the terms for garage band and logic terms where is says just under section 2 it says ((i) to download, install, use and run for personal, non-commercial use, one (1) copy of the Apple
    Software directly on each Apple-branded computer running OS X (“Mac Computer”) that you
    own or control; and)
    im not sure if it means i cant use garage band or logic to produce music for clients for commercial use ?
    check it out here
    http://images.apple.com/legal/sla/docs/LogicPro.pdf
    http://images.apple.com/legal/sla/docs/GarageBand.pdf

    Section C/2/A/(ii) of the Logic Pro document says:
    if you are a commercial enterprise or educational institution, to download, install, use and run
    one (1) copy of the Apple Software for use either: (a) by a single individual on each of the Mac Computer(s) that you own or control, or (b) by multiple individuals on a single shared Mac Computer that you own or control.
    and section C/2/B says:
    The Apple Software may contain sample content including but not limited to artwork, audio files, audio loops, built-in sound files, graphics, images, impulse responses, photographs, samples, sound sets, sound settings, video files, or similar assets (“Sample Content”). This Sample Content is proprietary to Apple and/or its licensors, and is protected by applicable intellectual property and other laws, including but not limited to copyright. Except as otherwise provided, all Sample Content included in the Apple Software may be used on a royalty-free basis to create your own original soundtracks for your film, video and audio projects. You may broadcast and/or distribute your own soundtracks that were created using the Sample Content, however, individual Sample Content assets may not be commercially or otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, clipart, music beds, sound effects, sound files, sound libraries, stock animation, or similar assets.
    (my emphasis).
    All this would seem to cover you for the use you propose (this is not a legal opinion). GarageBand is presumably similar.

  • Understand the term instance

    HI all,
    I want to understand the term what instance means.this is the definition what i have got
    "An Instance is an administrative unit that combines SAP system components providing one or more services.
         The services provided by an instance are started and stopped together.
         You use a common instance profile to set parameters for all components of an instance.
    So by this definition does that mean that if we have dev , qual and prod all are ecc based systems then we have 3 instances ?I want to understand what this instance means specifically with respect to SAP.

    Hi,
    As per me instance will be a Server or application server, you have to understand as per the situation.
    for eg: if any doby called dialog instance then it will be appserver of your central instance.
    here u can see 2 instances one instance belongs to appserver and another instance itself central instance.
    please have a look on the below link.. i hope u will get good idea abt your query.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c4/3a5eb7505211d189550000e829fbbd/content.htm
    As per u r another query yes u have 3 instances in u r landscape.
    hope the above informaiton will helps.
    -Srini

  • What does the t3 mean in the url t3://aether.lccc.edu:7001/

    what does the t3 mean in the url t3://aether.lccc.edu:7001/... is this a linux thing..

    Well, the "t3:" signifies a transport scheme, similar to the way that "ftp:" and
    "http:" do:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs90/client/t3.html

Maybe you are looking for

  • Anybody know about VBR and CBR?

    Hi, I'm using PPro CS3 at the moment since I can't get CS4 to work very well on my computer. On exporting. I would like to export- adobe media encoder -to Flash video and to quicktime. I'm sure I used to be able to set VBR 2 pass etc etc with differe

  • 10.5.2 doesn't fix UPS battery level display

    I was hoping this bug in Leopard would be squashed in 10.5.2. Nope! When I reboot, the battery level display in the Menu bar and Energy Saver Prefs Panel show an empty battery and 0% charge level even though my APC 1500 SmartUPS is fully (100%) charg

  • F110 file name configuration

    Hi experts, I would like to know how to find the configuration of generated file name in F110? Path is taken from DME variant, but filename in AL11 has following format: posting date_ runId_BUKRS_payment method_00. I would like to change it, thank yo

  • After transport changes are not reflecting to other users

    HI all it's urgent One user abcd who had made some changes to some screens is not reflecting to other users after transport we have 2 clients 100 and 200 changes are reflecting in own user id we transported with scc1 transaction with regards vinod

  • Use Cisco ACS to verify MAC address for VPN User

    Question: I want to have the MAC address of a machine checked when the user is logging into VPN Client. For example: User opens VPN client-->Clicks connect-->types in User/Pass which gets passed to ACS (part of what should be sent is the MAC address)