concept between MS SQL and Oracle

Hi, everyone, I'm very new to Oracle. Read a few books and confused about some basic concepts:
in the world of MS SQL, you can install several INSTANCE on a physical server, in each INSTANCE, you can create multiple databases, each DATABASE has it is the log data\transaction the disk file.

In the Oracle world, my understanding is, INSTANCE = structure memory + the physical database file (which is about identifying MS SQL). similar to MS SQL, you can have multiple INSTANCEs on each physical server. but who is the "DATABASE" in the oracle world? The closest I think is TABLESPACE. I can assign one or more physical data for each TABLESPACE files. but all the TABLESPACE set the log to roll forward inside the same undo TABLESPACE? In addition, for each application, I need to create one or more table SPACE inside an INSTANCE (it's what I usually do in MS SQL)?

Thank you for your help. Please forgive me if my question is stupid.

Published by: user3614365 on June 14, 2012 14:57

Please forgive me if my question is stupid.

Firs of all, your questions are not stupid at all. You can get better understand by defining analogies and comparisons with a product, with that you're familiar with one product. I used the same method when I learned about MS SQL comparing it with Oracle.

So, welcome aboard the Oracle!

in the world of MS SQL, you can install several INSTANCE on a physical server,

You can have multiple instances of Oracle, belonging to the same or a House of Oracle on the same physical machine.

within each INSTANCE, you can create multiple databases

In the Oracle instance, you can have only one database. That's how it is.

each DATABASE has it is the log data\transaction the disk file.

Even in MS SQL there may be several files of data per database.

>
In the Oracle world, my understanding is, INSTANCE = structure memory + the physical database file (which is about identifying MS SQL). similar to MS SQL, you can have multiple INSTANCEs on each physical server.
>
Yes

>
but who is the "DATABASE" in the oracle world? The closest I think is TABLESPACE. I can assign one or more physical data for each TABLESPACE files. but all the TABLESPACE set the log to roll forward inside the same undo TABLESPACE?
>
Here is little similarity between the Oracle TABLESPACE and the MS SQL database.
In MS SQL Database has not only the files associated with it, it has its own security and piece of data dictionary. It can have its own rating, you can detach an instance and attach to the other, you can save some separately, etc...
I'd say MS DB's unit "autonomous and self-containing", comparing to Oracle TS.
Oracle TS is a way to organize the data files and definition some default of the common properties of storage for tables and other segments contained in TS.
TS of Oracle have no separate security and data dictionary. Normally TS can be spare an instance and attached to the other. However, there is a special type of TS - transportable tablespace, which can be seen as a little more closely what is DB Ms.
In any case Oracle TS is not even close to MS DB.
And he does not need to be. It has a completely different purpose.

In addition, for each application, I need to create one or more table SPACE inside an INSTANCE (it's what I usually do in MS SQL)?

You don't have to. But you better to do this way, a point of view organization data. To make things look well organized.
Sometimes a single application can use multiple TS, for example when he needs different block size for some tables.
Also, you can share Costs between multiple applications, as you can do with MS DB.

What else is different?
There is no separation between the connections and users in Oracle db. It is an entity - USER. He has his security settings and can have its database objects.

In Oracle, can only be a single scheme by the user, even named as a user. Basically it's the same thing - user and schema is the same thing and created and managed by the same CREATE/ALTER USER command.
However, when we talk about storage and a place where objects belong to we say SCHEMA.
When we talk about security and the owner where the objects belong to-we say USER. :)
Schema is like Home in OS users. What the user creates belongs to his 'home' - the schema. And the user is the owner of it.
If a user creates something of the other schema this thing belongs to the than the other schema and that another user will be owner, not the user who calls the CREATE statement.

However, a user can change the current schema for the current session, for do not implicitly by specifying another schema as a prefix for the objects in this schema to another.
CONNECT scott
SELECT * FROM joe.emp;
ALTER SESSION SET CURRENT_SCHEMA = joe;
SELECT * FROM emp;

In MS SQL schemas are more like directories, there may be objects of different users in the same pattern and the same user in different schemas.

In Oracle, there are DB that is similar to the linked server connection.
When it is called, DB Link is specified after the name of the object, separated by @.
SELECT * FROM emp@anotherDB;

That's the main differences.

Oh yes, Oracle is a release management engine, and MS SQL's engine block, but it can be anything from the latter.

Tags: Database

Similar Questions

  • How to use the concepts Advanced PL/SQL in oracle reports and forms

    Hi all

    Can anyone suggest me how to use the Concepts(nested tables,PAA,Varrays,Objects...) Advanced PL/SQL in Oracle forms.

    In fact, I created a Table whose column of type Varray. now, I want to create an element in oracle forms on this field. can anyone suggest me how to proceed.

    Thank you
    Kumar

    Hello

    Take a look at this one:
    http://SheikYerbouti.developpez.com/tutoforms10g/tutoforms10g.htm
    especially the chapter on the block that contains a collection of (2.3.3). The sample is built around a nested table, but you get the idea to adapt to work with a varray.

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • Call PL/SQL and Oracle ADF Application reports Open functions

    Hi all

    My company will convert some projects of Oracle forms to Oracle ADF, so we must call the PL/SQL functions and open the Oracle reports (which are already exist) the ADF application.

    Thank you..

    Jack.N

    Hi Jack.N,

    call the functions PL / SQL---> http://sameh-nassar.blogspot.com/2010/01/create-plsql-function-and-call-it-from.html

    Open Oracle reports---> http://radio-weblogs.com/0137094/2008/06/15.html

    There is integration between the ADF and other systems in---> http://wiki.oracle.com/page/ADF+Integration

    Sameh Nassar

  • snapshot on SQL and Oracle servers

    All,

    I'm a big fan of snapshots to servers to applications, file servers, etc.. I wanted to comment on the behavior to take snapshots of Oracle and SQL Server. Is it supported?

    I'm not a DBA, but it seems to me that it cannot be recommended.

    Your comments would be greatly appreciated

    I advise to use the snapshot level features builtin database engine database instead...

  • Relationship between physical memory and oracle initialization parameter

    Hi all

    I had been confused with the oracle initialization parameter setting.

    When set us the oracle initialization parameter. For example: Shared pool size, db_cache_size, target memory.

    What to consider about the physical memory to the operating system. If so, how to address the issue?

    Please notify. Thank you.

    SagiGal wrote:

    Review you mean that if the physical memory is 2gig, and you are ready to set the SGA greater than this, it will work or not, the answer would be that it would be a very bad thing to do. These parameters represent the SGA, which must be restricted in respect of the maximum physical memory available on the server.

    See the link given by Rp. From 10 g, it rarely need this kind of tuning.

    Aman...

    Understand. Thank you. Can answer me another question?

    SQL > show sga parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    lock_sga boolean FALSE
    PRE_PAGE_SGA boolean FALSE
    very large integer SGA_MAX_SIZE 1152 M
    SGA_TARGET large integer 0
    SQL > show the spfile parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    chain of SPFile

    in the above scenario, the database do not use EAMA and spfile
    If I wan to increase db_cache_size parameter, do I rebounce instance?

    Could be very easily answer this question for yourself by searching for the parameter in the docs. See here,
    http://docs.Oracle.com/CD/E11882_01/server.112/e25513/initparams052.htm#REFRN10033

    Its a dynamic parameter and does not need a db bouncing to change.

    Aman...

  • PL/SQL and Oracle SQL Developer

    I just downloaded the latest version of Oracle SQL Developer, because I heard that it of free and comes with a debugger.

    So I have it all set up, I am connected to my database, but I wanted to run a simple example:

    I chose to create a new procedure and a new tab open, I have pasted this code and under DBMS output, I clicked on the + to: set serveroutput on
    CREATE OR REPLACE PROCEDURE TEST1 As
    DECLARE
       mytext varchar2(100) := 'Hello world!' ;  
    BEGIN
       dbms_output.put_line(mytext) ;
       dbms_output.put_line(mytext) ;
    END TEST1;
    Yet, I get an error:

    Source does not have a target executable.

    So is - what's it to work only with database objects? Tables? I can't run a simple Hello World?

    Please help, thanks!

    Published by: Kodiak_Seattle on March 7, 2011 12:06

    SQL Developer forum is @ Developer SQL

  • Autocommit DDL: difference between SQL and SQL Developer * more?

    I asked this in the SQL forum (commit auto DDL: difference between developer SQL and command-line client?), but it has suggested it might be a problem in SQL Developer, so I thought I would ask here.

    I'm trying to understand what exactly happens when an error occurs when a transaction is committed because of a DDL statement. I noticed that with SQL Developer, if the DDL statement CREATE TABLE, the statement is executed, even if the DML statements which I entered before CREATE TABLE violates a deferred constraint, so that the transaction fails. In SQL * Plus, it's not the case: the table is not created. I have no automatic validation. I'm using Oracle 10 g XE.

    That's what happens in SQL * more:
    SQL> create table table1(a number);
    
    Table created.
    
    SQL> alter table table1 add constraint table1_a_uq unique(a) deferrable initially deferred;
    
    Table altered.
    
    SQL> insert into table1 values(1);
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> insert into table1 values(1);
    
    1 row created.
    
    SQL> create table table2(b number);
    create table table2(b number)
    *
    ERROR at line 1:
    ORA-02091: transaction rolled back
    ORA-00001: unique constraint (BOEK.TABLE1_A_UQ) violated
    
    
    SQL> select * from table2;
    select * from table2
                  *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    If I put the same code in SQL Developer (versions 1.5.5 and 2.1.0.63), the table is created.
    This is my script:
    create table table1(a number);
    alter table table1 add constraint table1_a_uq unique(a) deferrable initially deferred;
    insert into table1 values(1);
    commit;
    insert into table1 values(1);
    create table table2(b number);
    select * from table2;
    And this is the output of SQL Developer:
    create table succeeded.
     alter table table1 succeeded.
    1 rows inserted
    commited
    1 rows inserted
    
    Error starting at line 9 in command:
    create table table2(b number)
    Error report:
    SQL Error: ORA-02091: transaction rolled back
    ORA-00001: unique constraint (BOEK.TABLE1_A_UQ) violated
    02091. 00000 -  "transaction rolled back"
    *Cause:    Also see error 2092. If the transaction is aborted at a remote
               site then you will only see 2091; if aborted at host then you will
               see 2092 and 2091.
    *Action:   Add rollback segment and retry the transaction.
    B                      
    ---------------------- 
    
    0 rows selected
    As you can see, the table is created in SQL Developer, but not in SQL * more.

    I wonder why it's different.

    Well Yes, it is a slightly different situation, because you issue 1 statement that executes internally 2 statements.
    But the problem is the same: the error handling. Where sqlplus rejects again (implicit) statements, sqldev goes ahead and runs them anyway. Personally, I'd say sqldev is more consistent and sqlplus is not, because run the following instructions (explicit).

    Kind regards
    K.

  • Master-detail functionality between the regions of PL/SQL and IR possible?

    4.2.1

    THM 2

    Hi all

    We have two regions in a page. The upper region is a region of PL/SQL that lists the 5 best wages by Dept. This was not done using traditional reports because management wanted a "dashboard" as the look and feel that is already existing and what is happening in that it is a pl/sql block that has the sliders and the necessary HTML, CSS in there.

    Below that is an IR when the user clicks on the dept of region of PL/SQL, it will refresh the IR below to display all employees in this Department

    Top of the page shows region of PL/SQL

    EMP name Dept wage

    Emp1 10 10000

    EMP2 10 950

    Emp3 20 800

    The Dept field is a hyperlink.

    When we click on Dept on this region of PL/SQL

    The lower IR should be updated (without submit page)

    Output

    Emp1 10 10000

    EMP2 10 950

    It is a kind of master-detail relationship between PL/SQL and Report (Detail) (Master) area Interactive

    We can hyperlink in the SQL in pl/sql area, but you wonder how trap line and pass the dept id to the IR and get this region to refresh account?

    All suggestions from the experts?

    Thank you

    Ryan

    It is a way to pass the info in connection

    Perform the dynamic Action of the link column report

    The dynamic action can submit the session state value, and then refresh the IR.

    On either by the way, you must create dynamic PL/SQL region to solve this problem, see this

    APEX reports: layout custom with a column named (model line)

  • Sending messages of MAE between Hermes 2.0 and Oracle B2B

    Hello world

    I'm an Italian student and my thesis, I need to create a communication between 2 Hermes and Oracle B2B. I just put the sales and partnership agreement with a customized document ebxml Protocol. To create the soa for communication application, I followed these instructions: http://tomhofte.blogspot.it/2009/11/how-to-configure-ebxml-communication-in.html but when I deploy my application it is this message: "the web service call was successful. However, there was no response to the call from the server. "and there are no errors. Does anyone know another way to develop this application or have information about this application?

    Any kind of help is welcome, thanks.

    Hello
    I solved the problem! :) the message: "the web service call was successful. However, there was no response to the call of the server. "remaiins again, however, I send a message to hermes B. My mistake is that I'm the second procedure, proposed by the blog I posted in the first post, to create the Ombudsman in jdeveloper. The first procedure is pretty much correct.

    Thanks Anuj Dwivedi, your post was helpful!

  • Interface between MS Access to Oracle

    Guys,

    I need to have an interface between a MS Access DB for Oracle. On some events on MS Access. you will need to send information to oracle db and at the same time some events on oracle to send info to MS Access

    There will be communication in both directions between ms access and oracle.

    According to your experience guys do you have suggestions?

    Number of things I've designed:
    1 can visit his profile generate the XML file and dump it to oracle and periodically predefined folder can access this file for the registration process and insertion.
    2. direct connection between MS access and Oracle

    You guys have any suggestions?

    R

    Hello

    Click on the link below
    [http://www.orafaq.com/node/60]

    Kind regards
    Delphine K

  • data replication with ODI between SQL SERVER and ORACLE

    Hello world
    First of all, I want to migrate database SQL SERVER and ORACLE DB tables.
    And then make online (synchronous) replication from SQL SERVER to ORACLE using ODI.

    I have not used before ODI.
    How to use the ODI for this?

    1. create a master repository and connect to the "topology Manager.
    2. in the topology Manager, you must configure the following
    2.1 create a data server for the Oracle under Oracle database in the physical connection
    2.2. create a database for the SQL Server database server in SQL Server in the physical connection. To do this, the jdbc for sql server driver.
    2.3 implement the logical connection and frame
    2.4 create a workrepository in the topology manager repositories tab
    3. connect to the designer and follow these steps
    3.1 create a template for the SQL Server source and reverse (import) the datastores (tables) to the model.
    3.2 the value of the model for the target of the Oracle
    3.3 create a (mapping) interface, under the table in schema define the source and then add it to the target and bind
    3.3 on the flow tab, you must set the Modules (KMs) of knowledge to perform the load. You must have imported the KMs before creating the interface.
    3.4 in IKM put 'create table traget' to 'yes '.
    4 run the interface to load data from SQL to Oracle Server

    Thank you
    Fati

  • architecture of the relationship between R and Oracl

    If I know, this will be the great success for Oracle. architecture of connection between oracle and R.
    R customer send it is SQL for Oracle server and Oracle perform the function of ore itself and send the results to R on the client. as ore.lm
    for other R packages as SNA, IGraph, Data mining in R code sending R Oracle to on server R and R on server run and send to Oracle. Oracle, send them to r. He connect through a single port and is secure. IS TRUE MY WRITING?

    I have another question. If we R 2 or more on the server, how oracle identifies correct R? for example, I install R2.13 and R2.15 on the server.
    tanks for your attention

    Published by: Nasiri Mahdi on 24 February 2013 22:42

    Nguyen,

    Architecture of ore, take a look at [url http://www.oracle.com/technetwork/database/options/advanced-analytics/r-enterprise/ore-trng1-gettingstarted-1501628.pdf] the first presentation in our learning of the R series.

    For your second question. ORE will use R who we found during installation. The installer will display the value of R_HOME before it proceeds with the installation. In general 1.3 ore we recommend R 2.15.1 and ORE 1.1 - R 2.13.1.

    Denis

  • Difference between external tables and sql * loader

    Hello

    Could you please tell me the difference between
    tables external and sql * loader

    I have serached on the net but did ' get correct idea

    Please help me

    1 SQL LOADER can be run on the network (from any client computer), external tables can't

    2. return to the Oracle 9, external Tables could not load CLOB/BLOB (Oracle10 changed it)

    3 oracle 11 external tables have preprocessor, which is pretty dam characteristic cool - running essentially any OS command e.g. decompress before external table run. What's even better is the fact that the result of the operating system command is the source of the outer table, which means that there are no required temporary file (unzip the tracks and the output is the source of the external table). There are several ways to great use this - look at my blog for samples rare http://jiri.wordpress.com/2010/01/19/no-more-unix-scripts-in-11-2/

    4. as long as the 009 stressed, filed external load anything, they show just. Think of it more as load on request - it's great if you have old files archived and one or two users what to see content once a while

    5. external tables require no user access to the operating system, it is oracle environment pure - this may seem minor but for me it's huge. The fact that the ETL needs no special unix, no control file command and uses the simple SQL and DDL is nice and important

    6. external tables can load more text files, Oracle export dump files can be loaded, perhaps in the future more formats will be supported (hopefully all right excel format?)

    now the same thing to kill the myth - the TWO are EXACTLY the same when it comes to speed, I would actually drive of the external tables before will be faster because sql loader is old technology oracle doesn't really develops more

  • What is different between the and oracle tutorial and taken that auto study of oracle - in addition to the cost?

    What is different between the socket and ware course oracle and making that auto study of oracle - not to mention that the cost

    I would take oracle 12 c performance and tuning.

    I noticed its a lot cheaper as self-training which is web access for a year.

    However, self study does not prepare you as well as the oracle himself.

    Thank you Roger

    UO has four types of training: classroom, virtual Live, training on demand and self study.  The first three are all variations on the same thing: a human being a conference accompanied by a Powerpoint presentation.  The only difference is the specific method of delivery.  I took a dozen or more courses in the classroom, when I worked for Oracle, but none of the other three.  I don't know that they still existed at the time.

    Self-study courses are completely different.  They are not recorded training sessions (or they would cost the same as TOD). They seem to be created by Skillsoft computer-assisted training courses. There are some demos available on the OU Web site. Go to the following URL and click on the tab "Demos'", just above the section asking you to select a product area:

    Self-study courses | Training | Oracle

    That said, it is not yet an option available for the course self-study: Oracle 12 c database: performance management and Tuning.

  • Interlink with Sql server and Oracle

    Hello

    We have some data in SQL Server.
    We need to link SQL Server and Oracle Database. To make reports in Oracle Apex.

    Please someone guide me to interconnect with Oracle database

    Kind regards
    Thérèse

    Therese,
    You can find more information on gateways in this available in My Oracle Support note-

    Note to master for the Oracle Gateway (Doc ID 1083703.1) products

    Kind regards
    Mike

Maybe you are looking for

  • When I do a new tab, it goes to my home page. Why?

    I don't remember when it started, but whenever I press the new tab button in firefox, it will open a new tab, but with my home page. This becomes incredibly annoying. It is not a question of Add on as I restarted firefox with disabled modules.

  • Tecra S3 external drive usb disconnects on all usb ports

    Hello I have a Tecra S3 with the following problem: When you work with external storage devices, my devices disconnect by them - same (somethimes) after somethimes 5 minutes after 1/2 hour and when working with multiple devices all devices disconnect

  • Equium L20 battery does not load

    I have an Equium L20 what battery does not charge. The Windows Powermanagment says he is in charge, but the percentage increases ever, I tried different batteries with the same symptom as a result.Battery LED is orange glowing as if his load but no m

  • Smart playlist files: overlap of the songs.

    It is not a problem in itself, but it's a technical quirk that I can't find any information for, on these forums or elsewhere. If I have 2 smart playlists, one for 'Top 50 most played' and one for 'Top 50 highest appreciation', there may be some song

  • Rescue and recovery - hard disk external bootable

    Hello! I had a problem with my external hard drive I formatted it, created the first 160 GB (mbr) partition I created backup top and makes bootable by the option "create rescue media. What is completed "successfully." But... I can't it boot from usb,