Enforcing integrity using oracle specific data base commands .v. using fron

Full subject : Enforcing integrity using oracle specific data base commands .v. using front end.
It ought to be generally accepted that it is better to enforce integrity directly in the data base using constraints, dependencies, triggers etc rather than leaving it to specific front end programmes.
In my view, the chief advantages - of enforcing integrity directly in the data base - are:
(1) No process can violate the integrity.
(2) Being server centric, these commands run on the server and so can be easily sized in one place.
(3) One time data migration (imports) into the system using Oracle tools or SQL commands would also need to conform to the integrity constraints. Thus an implementor would be assured that the basic data is alright.
I am faced with a situation where we are about to implement a new Oracle based package. During data migration, when we discovered that there are no integrity constraints built into the target data base, the package vendor asserted that it is not necessary to build in integrity into the database. This seems to be an extreme and risky view.
Further, it is argued by the package vendor that putting constraints directly in the data base would significantly increase the needed resources (RAM) on the server. In my view, this increase is trivial and anyway, hardware costs are crashing day by day.
In the absence of integrity checks in the data base, it seems to me that every program would have to extra zero value work to ensure integrity of the end user data. It will still never be complete.
I would like to know the pros and cons of implementing without integrity constraints.
OK.

AnanthaP wrote:
Full subject : Enforcing integrity using oracle specific data base commands .v. using front end.
It ought to be generally accepted that it is better to enforce integrity directly in the data base using constraints, dependencies, triggers etc rather than leaving it to specific front end programmes.
In my view, the chief advantages - of enforcing integrity directly in the data base - are:
(1) No process can violate the integrity.
(2) Being server centric, these commands run on the server and so can be easily sized in one place.
(3) One time data migration (imports) into the system using Oracle tools or SQL commands would also need to conform to the integrity constraints. Thus an implementor would be assured that the basic data is alright.
I am faced with a situation where we are about to implement a new Oracle based package. During data migration, when we discovered that there are no integrity constraints built into the target data base, the package vendor asserted that it is not necessary to build in integrity into the database. This seems to be an extreme and risky view.
Further, it is argued by the package vendor that putting constraints directly in the data base would significantly increase the needed resources (RAM) on the server. In my view, this increase is trivial and anyway, hardware costs are crashing day by day.
In the absence of integrity checks in the data base, it seems to me that every program would have to extra zero value work to ensure integrity of the end user data. It will still never be complete.
I would like to know the pros and cons of implementing without integrity constraints.
OK.It's a shame you seem to be so far into the process and committed to this vendor. I once had a vendor tell us his product would run on Oracle but they recommended MS SQL Server because "oracle can't handle more than 5 concurrent sessions." I made sure that vendor didn't make the short list.

Similar Messages

  • Oracle-specific data types vs Connection pool

    Hi, using Oracle-specific data types such as
    ArrayDescriptor and create it by a connection to an Oracle database from a WebSphere datasource throw a ClassCastException. There is no problem using these Oracle-specific data types when the connection is obtained via the DriverManager. WebSphere cannot fix the problem because these data types are
    not part of the JDBC specification.
    Some reply from Oracle?
    Thank you very much.

    Thank you but I there is no solution in that thread.
    Also, I know that WebLogic from BEA has a way around this issue... No Websphere work around ?
    No Oracle fixing ?
    Thanks.

  • Logical Data Base to be used in the QUICKVIEWER

    hello Abappers,
    My client cannot select text fields using SQVI so he wants me to come up with a way for him to do so. I was thinking of creating a logical data base which can be selected in SQVI. I could build the FM READ_TEXT into the QV but what I need clarification on is outputting the text fields because the logical data base is really a set of table joins and since I am using the QV I do not have the flexibility that I would have if I was using a logical data base in a program.
    Please advise if anybody has any ideas on this approach and how I would structure the output.
    regards

    Hi Santhosh,
    Since you say you are a beginner, lets start this way, hopefully U know from what datasources in ECC or R/3 you are supposed to load data from. Once you are sure about it, then follow this steps.
    1) Go to RSA5 transaction in ECC or R/3 System ( source system ).
    2) Select the specific datasource from which data is to be extracted to BI and press Activate Datasources button on the top right.
    3) Then on check whether this datasource is available in RSA6 screen.
    4) Come to BI system, there go to the Source Systems screen, there select the specific Source System (ECC or R/3).
    Go to U'r specific Infoarea i.e., SCM in that select the datasource for which U are supposed to extract data, right click and select Replicate Metadata.
    5) Once replication is done now right click again on datasource and create and run the infopackage  , if its BI 7.0 data will be extracted till PSA.
    6) After this create Transformation by right clicking on the Datasource again. Since I guess U will be using standard datasource U will get automatic transformations between the source fields and the infoobjects. Activate Transformations.
    7) After this Create a DTP process by again right clicking on the Datasource. Here U specify the Data Target to which data is to be loaded.
    8) Activate the DTP, once that's done successfully, Execute the DTP by clicking the Execute Button in the DTP.
    9) Monitor U'r data loading thru Monitor screen.
    Hope this helps.
    Regards,
    Syed

  • Error while connecting to oracle 10g data base

    Following is the code we used to connect to oracle 10g data base using symbian 7.1 series 80 SDK
    int CTest_S80AppUi::SetupODBC(void)
    RETCODE rc;
    char *DataSource = OD_DATA_SOURCE;
    char UserId = "system", Password = "manager";
    rc=SQLAllocEnv(&Henv);
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLAllocEnv", FALSE) < 0) return(-1);
    rc=SQLAllocConnect(Henv, &Hdbc);
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLAllocConnect", FALSE) < 0)
         //return(-1);
    rc = SQLConnect(Hdbc, (unsigned char *)DataSource, SQL_NTS,
              (unsigned char *)UserId, SQL_NTS,
              (unsigned char *)Password, SQL_NTS);
    bConnected = TRUE;
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLConnect", FALSE) < 0) return(-1);
    SQLAllocStmt(Hdbc, &Hstmt);
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLAllocStmt", FALSE) < 0) return(-1);
    return (1);
    } /* SetupODBC */
    iam getting the return code for SQLConnect as -1.
    Thanks in advance.

    Thanks for the reply.
    //syntax means comments.
    chk the following code.
    int SetupODBC(void)
    char *DataSource = "polite";
    char UserId = "system", Password = "manager";
    if ( SQLAllocEnv(&Henv) < 0 )
    return -1;
    if ( SQLAllocConnect(Henv, &Hdbc) < 0 )
    return -1;
    if ( SQLConnect(Hdbc, (unsigned char *)DataSource, SQL_NTS,
    (unsigned char *)UserId, SQL_NTS,
    (unsigned char *)Password, SQL_NTS) < 0 )
    return -1;
    if (SQLAllocStmt(Hdbc, &Hstmt) < 0 )
    return -1;
    return (0);
    As said earlier there is a problem in SQLConnect. It is returning -1.
    But the code should return 0 if successfully connected.
    The info regarding the arguments used in the above methods:
    HENV Henv; /* Handle to ODBC Environment object */
    HDBC Hdbc; /* Handle to ODBC Connection object */
    HSTMT Hstmt; /* Handle to ODBC Statement object */

  • Cannot load any data from Oracle 11G data base

    Hi Gurus!
    We using SAP BI 7.0.
    We have a source system, which is an Oracle Data warehouse based on Oracle 11G data bases.
    We created the source system in the BI without any problem.
    The connection is open to the Oracle databases.
    We created data source in the BI (trn. RSA1), and when we would like to Read Preview Data (Display data source, Preview tab) we can't see anything.
    The system is working, in trn. SM50 we see the process is runing, but we can't see any data (we wait more than 5000 sec.)
    When we tried data load from the source system, we got a short dump with time-out (after 50000 sec.)
    Summarize:
    - the connection to the source system is OK,
    - the process is running
    - we can't see any Preview data
    Can somebody help us?
    Thank you.
    Best regards,
    Gergely Gombos

    We really need to know what errors or warnings the Cache Agent is reporting in the TimesTen ttmesg.log files, when an autorefresh fails, to be able to give advice. If the size of the datastore segment is 512MB (though you don't say how that is divided between Perm, Temp and Log Buffer) but you're only using 30MB of Perm, then on the face of it, it's not a problem in running out of memory. You say autorefresh doesn't complete when "there are a lot of updates on cached tables" - do you mean updates being done directly on the rows in the TimesTen cachegroups, by users? If so, it sounds to me like you have locking contention between the user updates, and the autorefresh mechanism trying to bring new rows in from Oracle. Again, the ttmesg.log should spell this out.

  • How to determine the proper size for Oracle 8i Data Base Objects

    Hi,
    I'm working on an Oracle 8i Data base. I'd like to know how to determine the proper size for the Data Base objects such as tables, datafiles, tablespaces...
    Thanks.

    Start with the docs.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/schema.htm#949
    Best Regards
    Krystian Zieja / mob

  • ADF View Object query to use Oracle  LONG data type

    Hi,
    I'm using a view object that uses Oracle LONG data type.The following exception is thrown
    *"java.sql.SQLException: Stream has already been closed"* and it is not fetching the correct data.
    I have searched in many forums,they suggested to use LOB instead of LONG as LONG is deprecated. But in my case I can't avoid using LONG as some of my legacy applications using the same DB.
    Please suggest me a way
    Thanks in Advance
    Felix

    Thanks for your reply Arun,
    I have solved this problem using the solution suggested by this blog [AskTom-Link|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:839298816582]
    In the above blog link,they have suggested to convert Long to Varchar by functions and asked to use this function in the column.
    Thank you all guys who have seen this post.
    Regards,
    Felix

  • How to use oracle functions in Crystal Reports XI using Oracle Server

    Hi all,
    Is it possible  to use oracle functions in Crystal Reports XI using Oracle Server as Data Source.
    If i try to use a procedure,i am getting error with message "Invalid Arguement Provided".
    Functions are not visible objects like tables,views and stored procedures.
    The  jdbs driver i m using is oracle.jdbc.driver.OracleDriver.

    I think it is not possible to add functions in crystal directly for any database. You need to use those functions in a stored procedure and add that storedprocedure as a datasource.
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233353335333833323333%7D.do]
    regards,
    Raghavendra

  • How to access Oracle Data Base on Unix using Visual Basic ?

    Hi !
    I want to use visual basic and access the Oracle Data Base on Unix server. How can i do that ? Do i need any software?
    .Prashant

    You need an oracle client installation and setup your TNS names.

  • ArrayDescriptor.createDescriptor uses Oracle specific in EJB Server

    I use Pramati EJB Server. It is EJB 1.1 compatible. I can use getCustomDatum calls without any error (even though it is Oracle specific). But I can't use setCustomDatum. It throws me ClassCastException error.
    My line looks like
    ((OraclePreparedStatement) pstmt).setCustomDatum(...)
    So I tried different method to acheive the same. That is to use Loosely Typed method setArray.
    To use setArray I need to get the descriptor from Oracle.
    I use the following line to do that.
    ArrayDescriptor orderLinesDesc = ArrayDescriptor.createDescriptor("OBL_EMPLOYEE", connection);
    Where OBL_EMPLOYEE is a Table of EMPLOYEE Object OB_EMPLOYEE.
    Where OB_EMPLOYEE has several primitive fields and a TABLE (OBL_ROLES) of Roles object OB_ROLES.
    Where OB_ROLES has primitive types and table (OBL_RESPONSIBILITY) of Responisibilities OB_RESPONSIBILITY
    Where OB_Responsibility has primitive types
    I get the same ClassCastException.
    Both parameters (String, Connection) to createDescriptor are non Oracle-Specific.
    But the EJB Server vendor says the method tries to typecast to OracleConnection which they don't support.
    Any idea?

    user521490,
    Pardon me if I am asking an obvious question, but did you create the ACCOUNT_TYPE using a "create type" DDL statement? For example:
    create or replace type ACCOUNT_TYPE as ...An "ArrayDescriptor" only works for global types (as far as I know).
    I'm guessing that JACKCACHE is a [PL/SQL] package, and that's probably why it doesn't work.
    Good Luck,
    Avi.

  • How to load .dmp file into oracle 11gR2 data base schema ?

    hello experts,
    i have a .dmp file and i wnat to use the data in this file for my further practices.
    so, i need to dump the data in the .dmp file to the any schema exiists in data base.
    Please give me step by step procedure to execute my requirement....ASAP.
    Thanks in Advance
    LAkshmi kanth

    Pl post details of exact OS and database versions. The answer will depend on exactly how this dmp file was created. What is the issue you are trying to resolve ? This is a forum of peer volunteers - for all ASAP issues, pl open an SR with Support
    HTH
    Srini

  • When I am on 3G on iMessege, does it use all my data while iMesseging or use any money?

    Hi, I was wondering if when I can't connect to wifi, and I turn 3G on does it use all my data or money to iMessage?

    If you use iMessage you use your data plan or wifi.
    If you don't want to use your data plan and turn off iMessage in the settings
    so you can use your text plan.

  • When to use Locale specific data in HWC ?

    Working with a HWC application i noticed two other options as in screenshot  in the MBO screen (i.e Wrap data in PRE CODE and Locale -specific display ). When is the appropriate scenario to use these options?

    I never tried this but you may look at here:
    Wrap header in PRE : SyBooks Online
    Locale Specific : SyBooks Online

  • Integration Broker : Sending peoplesoft Data into JMS queues using  IB

    Hi All,
    I am working on integration of peoplesoft and SOA middleware. I am basically SOA middleware developer. So not much aware at peoplesoft side.
    My requirement is that need to extract information from peoplesoft and send it to third party systems(through JMS queues) and also i explored that Integration broker is going to help in such cases.
    Could you please answer my some of the questions.
    1)How can i extract information of peoplesoft. lets say i need to extract customer data from peoplesoft.
    2) steps to send above extracted customer info to third party system using integration broker.
    It would be sending information to JMS topics.
    So please let me know how we can handle JMS queues in peoplesoft.
    Please refer the related documents for outbound interface strategies.
    Thanks inadvance.
    Edited by: PraveenT2 on Jun 3, 2009 4:06 AM

    Mike,
    Biztalk do have Peoplesoft Adapter. Just configure it and use appropriate Component Interface to push or pull the data.
    Thanks,

  • Extracting data from Command Window using Jdk

    Is it possible to extract data from any active instance of command window(cmd.exe)in windows OS(2000 or XP).
    Please help me out.

    Only if you create the window and execute the command through Java:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

Maybe you are looking for

  • One-to-many/foreign keys howto

    I have a situation where I'm trying to assemble a web of data and not make JDO mad. Here's the structure. I load this data in in batches, with an entry being placed in a load history table (H) to track each batch. Each batch contains primary (M) reco

  • Contents of a custom print program for a custom smartform

    Hi... Can you please tell me if we are writing a custom print program from scratch for a custom smartform for which there is no standard form available what are all the things that need to be coded in the print program.. My doubts on this are if we a

  • BPM processing error

    Hi I did a N;1 scenario with BPM. It's a three file to file scenario. The status in SXMB_MONI is fine and no errors. The com channels are all green and activated. However,  target directory is not created. How do I figure out where error has happened

  • 10.1.3: How to disable ANOYING automatic search for updates?

    We are experiencing very anoying (meant-to-be-a-feature) performance problems when JDev is automatically looking for updates. It happens periodically (not sure... maybe every 30 min?). Is there a way to disable this?? Please please help.

  • My router appears to be overheating.

    And it drops connection randomly more and more frequently. We have tried to have it restarted and evaluated already by tech support. But its still very hot.