New data or a new schema?

Hi guys,.

I don't know if I post my question in the correct forum and if not please bare with me.

I am trying to add a new extension to an existing application. The end before two applications programming language are different, but they will need to use a common set of basic data stored in an oracle database. Existing application has a set of database objects assigned to a set of sachems. My new module will be also multiple database objects (tables, views, ect...) and these items must be assigned to a new schema. However, same set of user accounts should be able to access these two applications.

I was wondering what would be the right way to implement this new module...

First option is to create a new database and a schema for the new module in the same server and to set up my new application extension he... So our client will be put the Dev duplicated, test and Prod ultimately databases in their server.

Another option is to create a new scheme in instances of data that exists for the objects in my new module.

What would be the best option to implement this? Are there other ways to create my extension in the same server?

Any help is appreciated...
/ Napster

Napster says:
Any recommendations?

It is a problem of design and as a matter of personal taste.

Personally, I am a big fan of patterns and would always plump for a separate diagram of s for each subsystem. It is a useful way to define the data and the application code and promotes clear interfaces between the subsystems. In a large organization, subsystems often represent different parts of the company and therefore have different owners; hanece the need for clarity in rules and corporate data access.

Any recommendations? And any other matter that I could cope if I decide to create a new scheme.

The main reason why people (i.e. developers) hate schemas is that they impose a management fee: granting of privileges on objects and data, in two directions and perhaps the development of additional such views as code or API packages with limited interfaces. In my opninon these are false grievances, born of neglect, but would it be disineguos to deny that several schemes should not be entered additional.

Cheers, APC

Tags: Database

Similar Questions

  • Creating a view in a new schema

    I use the Oracle SQL Developer 10g client.  I want to know how to create a view in the diagram. I have a schema that has all of my table and the views. I want to create a view in a pattern that has no data. It is only to look at a goal only of the view I want to create.

    Thank you

    Kevin

    As I said.

    Connection to the schema where the table exists

    Grant select on to

    Connect to the new schema

    Create view select * from .;.

    What you want?

  • The scheme < SOA > _OPSS is already used for the safety of the point of sale. Please create a new scheme

    All,

    version: 12.1.3

    I am trying to create a new area where I wanted to use the same scheme used in the existing domain.  It failed with the below error

    com.oracle.cie.domain.security.external.ConfigSecurityException: oracle.security.opss.tools.lifecycle.LifecycleException: security of the store DB configuration error. Oracle.security.opss.tools.lifecycle.LifecycleException of exception: the SOA12C_OPSS schema is already used for the safety of the point of sale. Please create a new schema.

    Is it mandatory that the scheme (creating the UCR) used in a field cannot be used for the new domain?  or am I missing something? Please notify.

    Thank you

    Sen

    That's the point... So actually you were never more than one domain using the same patterns, you have never shared patterns on different fields... You had a domain which would sometimes... Not possible in 12 c but because of OPSS more... Maybe you could just the OPSS schema duplicated, but you would always use the platform so that it was not intended to...

  • Instance settings - require new schema - does not

    I have a newly installed (4.2.1.00.08) Apex instnace.  I can't seem to get the setting for 'Require a new scheme' to work.  If I choose Yes or no, the workspace application process always invites to a new or existing schema.  Is this a bug, or maybe I'm missing some other parameter that would do this job correctly?

    Hi "user721299"

    First, is there a reason why you are creating a new APEX instance based on APEX 4.2.1?  APEX 4.2.5 is available and highly recommended.

    All that being said, I don't think it was a problem even in the APEX 4.2.1.  That's exactly what we use on apex.oracle.com (requires a new schema = Yes).

    1. Are you sure that you are establishing a new session of the APEX to try the new workspace application process, after setting this instance setting?
    2. You set this parameter with the APEX_INSTANCE_ADMIN API or the First-Instance administrative Web interface?
    3. What is the instance parameter 'Provisioning' status?

    Joel

  • How to read the data with different XML schemas within the unique connection?

    • I have Oracle database 11g
    • I access it via JDBC: Slim, version 11.2.0.3, same as xdb.
    • I have several tables, each has an XMLType column, all based on patterns.
    • There are three XML schemas different registered in the DB
    • Maybe I need to read the XML data in multiple tables.
    • If all the XMLTypes have the same XML schema, there is no problem,
    • If patterns are different, the second reading will throw BindXMLException.
    • If I reset the connection between the readings of the XMLType column with different schemas, it works.

    The question is: How can I configure the driver, or the connection to be able to read the data with different XML schemas without resetting the connection (which is expensive).

    Code to get data from XMLType is the implementation of case study:

     1   ResultSet resultSet = statement.executeQuery( sql ) ; 
    2   String result = null ;
    3    while(resultSet.next()) {
    4   SQLXML sqlxml = resultSet.getSQLXML(1) ;
    5   result = sqlxml.getString() ;
    6   sqlxml.free();
    7   }
    8   resultSet.close();
    9    return result ;

    It turns out, that I needed to serialize the XML on the server and read it as BLOB. Like this:

     1    final Statement statement = connection.createStatement() ;  2    final String sql = String.format("select xmlserialize(content xml_content_column as blob encoding 'UTF-8') from %s where key='%s'", table, key ) ;  3   ResultSet resultSet = statement.executeQuery( sql ) ;  4   String result = null ;  5    while(resultSet.next()) {  6   Blob blob = resultSet.getBlob( 1 );  7   InputStream inputStream = blob.getBinaryStream();  8   result = new Scanner( inputStream ).useDelimiter( "\\A" ).next();  9   inputStream.close(); 10   blob.free(); 11   } 12   resultSet.close(); 13   statement.close(); 14  15   System.out.println( result ); 16    return result ; 17
    

    Then it works. Still, can't get it work with XMLType in resultset. On the customer XML unwrapping explodes trying to pass to another XML schema. JDBC/XDB problem?

  • creating views in a new scheme to access some rows of the tables in the source schema

    Hello

    Oracle 10.2.0.4

    We try to hide some data from some users. My suggestion is that we create a new view_schema scheme on the same instance where we said the source tables in source_schema.

    We then create views in view_schema as below

    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = "XYZ";

    We then grant SELECT on these views to a role and assign this role new users to be able to consult the data consulted.

    If the questions below.

    1. We can create views to view the data in another schema WITHOUT giving SELECT permissions on source_schema.tanle directluy?
    2. It works and there is no need to create synonyms etc.
    3. YOU can manage users and much easilier view (s)

    Is there a sense and who better than the selection seen with say table_name_view in the source schema to this effect and even the creation of synonyms for these points of view with the same name, yasmina in sourece_schema?

    Thank you

    905989 wrote:

    Hello

    Oracle 10.2.0.4

    We try to hide some data from some users. My suggestion is that we create a new view_schema scheme on the same instance where we said the source tables in source_schema.

    We then create views in view_schema as below

    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = "XYZ";

    We then grant SELECT on these views to a role and assign this role new users to be able to consult the data consulted.

    If the questions below.

    1. We can create views to view the data in another schema WITHOUT giving SELECT permissions on source_schema.tanle directluy?
    2. It works and there is no need to create synonyms etc.
    3. YOU can manage users and much easilier view (s)

    Is there a sense and who better than the selection seen with say table_name_view in the source schema to this effect and even the creation of synonyms for these points of view with the same name, yasmina in sourece_schema?

    Thank you

    1. you can create the view in another schema (first granting of privileges to the schema of the view) without granting privileges of the schema of the source

    2. you probably want to create public synonyms for the view (s).  You can refer to the view as schema.view, but it's bulky

    3. I'm not sure management is easy, but the extra complexity shouldn't be too bad.  Write the documentation describing how everything works and the object involved.

    Another, more complicated, but more powerful option is to use row-level security also known as the virtual private database - if you have the license.  You create a profile for a table and a procedure to generate the WHERE clause to filter a query against the table and the columns defined in the profile.  Yet once, you need license to do this.

  • Deployment of a new scheme of database on a Test System?

    Hello

    I created a new MYSQL schema (on a development machine) I want to deploy a number of test systems.

    What is the best way to do it? Is there a file somewhere in the directory of TestStand I can copy?

    Thank you best regards &,.

    Don1.

    I don't think that you are correctly using the schema definition. The scheme applies only to the database. The schema does not exist in TestStand and you do not the schema port anywhere except if you want to install a new database somewhere database options for a specific read/write database schema are stored in the TestStandDatabaseOptions.ini file and you can choose to include this point in a deployment.

  • Create the new schema of database in jdev

    I can create new database schema in jdev. If yes how?

    I checked the links, but they say how to create the connection to an existing database but does not create the new database?

    Help, please...

    User, even once, to design and build a database table is possible if you have a db instance (which will contain the new tables) already installed.

    My feeling is that you don't have. Solution: install an instance db (for example Oracle XE) and once you have that continue the tutorial.

    Timo

  • How to create a new schema?

    Hello

    Can someone tell me how to create a new diagram please?
    What I need as a user & rights?

    Thank you

    Hello

    User/schema with the same name, and this user will be owner of the Tables,... created by your script.

    Best regards
    Jean Valentine

  • Data upgrade or phishing scheme

    I received the email from (wiindows live team * address email is removed from the privacy *)? asking me to RESPOND to email for updated data with my name, first name, username, password, alternative e-mail, password, occupation, year of birth and country.  The email also said they were sending to all owners of hotmail account for upgrade of the account.  My husband has not received this on her hotmail account.  The email further stated that if I have not RESPONDED within 24 hours that I would lose my account msn permanently.

    This IS a legitimate e-mail from the Windows Live team.  The email looks legit, but it's how people get information for identity theft.

    Help, please

    It is a common type of phishing scam. Do not answer. Delete it.

  • Here I need to a new oracle instance or schema?

    Hi all

    I know it might sound like a silly question but I really need to know. In our society, we have a server with standard oracle and an instance that hosts a financial database. Now, the company has bought a new antivirus software and it works on the oracle database. Now, should I create a new schema to own my antivirus tables or should I need to create a new instance of the database?
    I worked with another product database that has a different concept of oracle, about the notion of sample database. I'm really new to oracle.

    Best regards
    Rafael Melo - Br

    >
    Making an analogy If sql server, I create a new database in my existing instance. With Oracle? What should I do? As I said, I have the server oracle, if an existing instance/database.
    >
    The Oracle equivalent is to create a new USER/SCHEMA. The anti-virus software would then use this new scheme for objects he owns.

    Why you can not post the name and the version of the anti-virus software you are talking about?

  • Can connect to the schema number when you create a new workspace in APEX?

    Hello

    It is perhaps a stupid question since I'm still a beginner .

    Our version of the APEX is 5.0.2. We currently have a workspace associated with a schema, but we wonder if we can connect to multiple schema (in a database) in a workspace APEX?  Say, one APEX application, we would like to allow the user access to data distributed in different schema.  If not, are there alternatives to allow user access to the schema data?

    Thank you very much!

    Jian

    1794500 wrote:

    Please update your forum profile with a recognizable username instead of "1794500": Video tutorial how to change username available

    Always include all the information detailed in these guidelines when you post a question: How to get the answers from the forum

    Our version of the APEX is 5.0.2. We currently have a workspace associated with a schema, but we wonder if we can connect to multiple schema (in a database) in a workspace APEX?

    Several assignments work/scheme space can be created in the admin/internal workspace to Home > Manage Workspaces > Workspace manage assignments of schema.

    Say, one APEX application, we would like to allow the user access to data distributed in different schema.  If not, are there alternatives to allow user access to the schema data?

    Several patterns can be assigned to a workspace. A workspace can contain multiple applications. Each application is based on one (and only one) the analysis of schema. Access to objects in other schemas is controlled at the database level by the usual means of grants and synonyms.

  • Schema name is not displayed in the data loading

    Hi all

    I'm trying to load a CSV file using oracle apex data loading option. The options are using a new upload (.csv) file and table. In the data load page, the schema name is not list my current schema because of which I could not not to download the CSV file.
    Can someone please help with that?


    I use apex oracle 4.1.1

    Concerning
    Rajendrakumar.P

    Raj,

    If it works on apex.oracle.com (4.2) and not in your case (4.1.1), my suspicion is that this is a bug that has been fixed in 4.2 APEX. Apart from upgrading your version 4.2 of the APEX, I'm not sure that there is not really a viable alternative.

    Thank you

    -Scott-

    http://spendolini.blogspot.com
    http://www.enkitec.com

  • How can I create new workspace in OWB?

    Hello, I am very new to Oracle Warehouse Builder. We have already developed the mapping and it's in the test environment. The schema of the source is OLTP and target schema is the star schema. Now, I don't want to spoil the current star schema. So, I created another schema star as same as the current. Now
    I want to create a different workspace, and then point to my new scheme. At the same time, other people wanted to use the current star schema. Basically, I need to copy the mapping and keep to the other location and point to the new schema. But the schema of the source will be the same.


    My OWB version is 11.1.0.7.0

    Any help is appreciated.

    Check this box: -.

    Open the Module Oracle editor and set the LOCATION OF the META DATA and the DATA LOCATION. in the head of location of data, select your location of the Oracle module at the given location.

    See you soon
    Katia

  • Unable to create the new workspace

    Dear community,

    in a new configuration 5 APEX instance of Oracle 12cR1 I get the error message "error TEST_WS commissioning. ORA-20001: ask 1691638015598602 could not be processed. PROVISION_COMPANY ".

    As part of the work, I've also configured to create a new scheme. The names are not yet used on the database.

    The error message is not helpful at all. Do you have tips how to get more details about the error message?

    see you soon,

    Alex

    I could find the cause of the error. The password provided for the creation scheme has no meat required complexity rules. As a result, I got this strange error msg.

Maybe you are looking for

  • How to install windows 8.1 iMac (27 inch, mid 2011) without DVD drive and race El Capitan

    Hello! How to install windows 8.1 iMac (27 inch, mid 2011) without DVD drive and race El Capitan? I read everything I could on the subject and could not get the Boot Camp Assistant to create the USB key. Can you help me? Boot Camp Version 6.0.1

  • iPhone apps not visible in iTunes

    Software version iOS 9.3.2 At some point all my applications iPhone and iPad (purchased and free) have disappeared from the list of Apps in iTunes.

  • Confirmation of warranty extension

    Hello I bought the extended warranty on Monday, but have not received an email confirmation from Toshiba. My existing 1 year warranty expires Sunday so need to get to this quick sort. Does anyone know an email address I can send to?

  • Tecra M7: Cannot partition the disk with partition magic

    Hello I got my new M7 with one big partition, makes it very difficult to create Drive Image backups.When I tried to partionate the HD I had an error in the magic of partition, that partition was not properly disassembly. How can I solve the problem?

  • Hard drives that works on Portege 7020CT?

    Anyone who knows what the size and model of the hard drive if I want to buy a new one. For example, this would work? Cap: 40 GBMotorization of fluid dynamic bearing (FDB)Chassis: 9.5 mmRotation: 4200 RPMSearchTime: 12msInterface: ATA - 6Transfer rate