Query regarding database access segregation using os authentication in windows environment

Hi ,
I have a query regarding database access segragation using os authentication (like sqlplus "/ as sysdba") in windows environment.Let me briefly explain my requirement:-
Suppose you have two DBA`s viz DBA1 and DBA2 and 4 databases resideds in a windows server say A,B,C & D.Now I want to set up such a way if DBA1 logs into the server then he can login to database A and B only using OS authentication and DBA2 can login to database C and D only using OS authentication.
Please let me know how to do setup for this requirement.
Database version is 11.2.0.3

1494629, I am not a Windows person but if there is any way to do this I suspect some additional information is necessary:
Are the DBA users members of the Administrators Group ?
Do all 4 database share the same $ORACLE_HOME ?
I suspect if either answer above is yes then this is not possible, but like I said I am not a Windows person.  I would just ask for two servers and the associated licensing to be acquired.  The requirement to spend money to do something management wants usually elimanates the request in my world.
HTH -- Mark D Powell --

Similar Messages

  • Regarding database access performance

    Hi,
      I am pasting the code which i have used to access the database, i m displaying the report in alv format....when i checked it in se30 the results for database access are quite high...how can i optimize the performance.......
    SELECT KUNNR
           NAME1
    INTO TABLE IT_KNA1
    FROM KNA1
    WHERE KUNNR IN S_KUNNR.
    SELECT VBELN
           KNUMV
           KUNNR
    INTO TABLE IT_VBAK
    FROM VBAK
    FOR ALL ENTRIES IN IT_KNVV
    WHERE SPART = IT_KNVV-SPART
    AND KUNNR = IT_KNVV-KUNNR.
    IF SY-DBCNT = 0.
      MESSAGE E001(Z_MESG).
    ENDIF.
    SELECT KNUMV
           KSCHL
           KAWRT
    INTO TABLE IT_KONV
    FROM KONV
    FOR ALL ENTRIES IN IT_VBAK
    WHERE KNUMV = IT_VBAK-KNUMV.
    SELECT VBELN
           MATNR
           ARKTX
           WERKS
           NETPR
    INTO TABLE IT_VBAP
    FROM VBAP
    FOR ALL ENTRIES IN IT_VBAK
    WHERE WERKS IN S_WERKS
    AND   MATNR IN S_MATNR
    AND   VBELN = IT_VBAK-VBELN.
    IF SY-DBCNT = 0.
      MESSAGE I002(Z_MESG) with s_werks s_matnr.
    ENDIF.
    SELECT VBELN
           FKIMG
           NETWR
           AUBEL
           PRCTR
    INTO TABLE IT_VBRP
    FROM VBRP
    FOR ALL ENTRIES IN IT_VBAP
    WHERE AUBEL = IT_VBAP-VBELN.
    SELECT VBELN
           VGBEL
    INTO TABLE IT_LIPS
    FROM LIPS
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VGBEL = IT_VBAP-VBELN.
    SELECT DMBTR
           XBLNR
    INTO TABLE IT_BSIS
    FROM BSIS
    FOR ALL ENTRIES IN IT_LIPS
    WHERE ( HKONT = '0004111013' OR HKONT = '0004111008' OR HKONT = '0004111009' )
    AND BUDAT IN S_BUDAT
    AND XBLNR = IT_LIPS-VBELN.
    IF SY-DBCNT = 0.
      MESSAGE I003(Z_MESG) with S_BUDAT.
    ENDIF.

    1. Replace your FOR ALL ENTRIES by RANGES
    2. If you would like to use FOR ALL ENTRIES, try to prepare the internal table with only one entry by key (ex the select on KONV, KNUMV is not the key of IT_VBAK, so you will access several times the same key in the database).
    I think your reponse time problem is due to the FOR ALL ENTRIES. If you make an ST05 you will show that this command make several access instead of a simple RANGES.
    Sometimes it's better to access all the table than select requiered entry (for ex. KNA1).
    Fred

  • Query Regarding Database Split

    hi all,
    My client have 4 Units in which nearly 80%items are same in all 4 units,Bp are 40% approx same please suggest me how to manage 4 unit in 1 database or in 4 diffrent database.What problem i face if i choose 1 database for all four unit.
    Note:All 4 unit working seperatly
    Thanks and regards
    Rahul

    Hi
    First of all u cant generate Balance sheet for all four units seperately.....(TB and P&L can be generated sep. if u have maintained Profit centres...) BY using some of tools this also we can achieve but not in std. sbo.
    For connecting all Four units u should have Brooad band connection to access the server. In India most of the time the Broadband will be slow r down only....
    All customers Balances  can be seen by other branch peoples also.......
    Unwanted Masters which is not belongs to other branch also will be availlable to everyone.anyway that can be filltered...
    Giri

  • Query regarding database reorganization

    Hi All,
    I have been asked to reorganize the database( size 220GB Dev, size 460GB Qua, size 500GB Production)
    Database is Oracle 10G, SAP version is ECC 6.0.
    I tried this via BRtools on a test system(size 130GB,Oracle 10G) and nothing happens.Assuming this,I doubt any change.
    However my management is insisting size must decrease by 10 -12 percent.
    My query is if I reorganize the database via BRTOOLS what will be the effect on the database size.
    No client is deleted on any of the system and no data has been erased by the functional team.
    Any suggestion on the same will be a great help to me.
    Regards,
    PG

    Hi,
        How much space is liberated after a re-org task is purely subjective ( system load, when the last re-org was run etc). A test system with no user activity cannot form an ideal test-bed for re-org outcome. Rather than looking out for benefit in terms of percentage of space shrunk, you could look at all avenues that can bring down the database size. The following notes might be used as a starting point.
    SAP Note 541538 - FAQ: Reorganization
    SAP Note 771929 - FAQ: Index fragmentation (Easier than a table re-org task.Can be done online ( before attempting this online, please go through the SAP Hot News announced in SAP Note 1413928 - Index corruption/wrong results after rebuild index ONLINE )
    SAP Note 706478 - Preventing Basis tables from increasing considerably (Exectue the SQL query in the note to identify the tables that occupy highest space and look for corresponding solutions in this note for those tables)
    Above messages' SAP Data Volume Management guide also has suggestions for triggering archiving/deleting/compressing/avoid growth where necessary
    cheers !
    PRADi

  • Query regarding Update the data using application

    I have scenario i need to update single record in the the application and insert into a table
    for example
    SELECT ContactID,FirstName,MiddleName,LastName,Description FROM Contact
    Contact table contains 4 columns as explained. in the application there is one tab called Contact where it displays Above information
    and description is non editable.
    Now the new requirement has come user can update the description information and save information in a new column say 'Description1'
    that means new column needs to be added in the db and also necessary changes needs to be done at the application side
    For ex :SELECT ContactID,FirstName,MiddleName,LastName,Description,Description1 FROM Contact
    Now when user views the contact table it should display description info by default from 'description' table.
    If he edits he should see edited data from 'description1' table.
    Can any body guide me please and send me sample update query please, and the logic should if updated data is there display that data from
     'description1' table other wise display from  'description' table
    Smash126

    Hi Smash126,
    You need to fire the update command once you have filled the description record. It should happen on the primary key column of the record.
    For Example: 
    UPDATE Contact
    SET Description  = 'New Description',
    Description1 = 'New Description'
    where contactID = <<ContactID from application>>
    This way both will updated to same value, and next time you will get the updated value.
    Here is some ADO.Net links:
    http://www.codeproject.com/Articles/1155/Simple-ADO-NET-Database-Read-Insert-Update-and-Del
    http://www.onlinebuff.com/article_step-by-step-select-insert-update-and-delete-using-aspnet-c-and-adonet_32.html
    Regards Harsh

  • Query regarding creation of tables using AET

    Hi Experts,
    First of all is it advisable to create a assignment block (table view/ form view) using AET?
    We are going to implement an upgrade project from  CRM 5.0 to CRM 7.0. In CRM 5.0 there was a two custom tables which needs to implemented in CRM 7.0 as an assignment block. One view will be form view and the other table view. The custom tables has data. What is the best way to go about it?
    If we create assignment block using AET by using the option 'CREATE TABLE' a new database table is created which has three fields 'RECORD_ID' 'OBJECT_ID' and 'PARENT_ID'. Object ID stores the External ID of the campaign as GUID (RAW 16). Parent ID stores the Campaign GUID value. How is the Record ID generated?
    Now the challenge is to move the data from the custom table to the table created using AET. Is there a standard function module to take care of it or we have to write a one time report?
    Thanks in advance.
    Regards,
    Sayan
    Edited by: jana6586 on Nov 23, 2011 12:14 PM

    Hi Sayan,
    I had to do the same story with the aet and the data we need to transfer into the Z table.
    I have been looking for a function that takes care of it, but unfortunately i didnt found one.
    If you didnt found one until now, i higherly recommand you to right a report that handles the transfer between the two tables in a generic way, and mabye even to share it
    The Recoed id is simply a guid that is generetad behind the scenes, in order to keep a PK for each and each row of the Z table.
    I hope that the answer helped you !
    Regards,
    mapatz.

  • Regarding database access in Struts

    Hi All,
    My problem-
    I am inserting a value in database(MS ACCESS) using struts frame work.for the first time when i am executing the program the value is inserted but then again when i executed that program no insertion happens but it gives no error or exception. can u say what may be the problem for it?

    Are you using validation framework in struts. I think your application properties file is missing

  • Query regarding database patching

    Hi ,
    I am on Oracle 11G and Solaris SPARC 64-bit server.
    The server admin have applied the oracle CPU that was released on April 18,2011.
    I have the path to the new oracle home now.
    Currently my oracle home is 11.1.0.7.P1 and the new oracle home is
    11.1.0.7.P2.
    Now the practice that i have been following to change my oracle home(Patching) is :
    1. Shutdown db
    2. Change oratab with new home:Y
    3. Change my .profile for $ORACLE_HOME
    4. Startup the database with init.ora
    5. Run catbundle.sql cpu apply
    6. Run recompile_precheck_jan2008cpu.apply
    7. View_recompile_jan2008cpu.sql
    8. Shutdown immediate and startup
    9. Change oracle home in listener.ora
    10.Create softlink of init.ora to /dbs/ of new oracle home.
    Now I have 2 queries :
    1.Since the database runs fine post it , I am not able to conclude
    if any other sql also needs to be run ?
    2. What is the location of the readme.txt and readme.html which i need to check for invalid objects.
    I have searched but couldn find it. :(
    Also , How do i test the performance pre and post patching..
    Will doing it by just checking the time taken for Data loads pre and post
    patching sufficient.
    What other checks can i do in dev to test for patch.
    Thanks and Regards
    Kk

    Hi ,
    In this particular database , ive run the catbundle.sql and its been almost 30 mins that its at this location :
    SQL> @?/rdbms/admin/initcdc.sql
    SQL> Rem
    SQL> Rem $Header: initcdc.sql 15-mar-2006.08:20:07 mbrey Exp $
    SQL> Rem
    SQL> Rem initcdc.sql
    SQL> Rem
    SQL> Rem Copyright (c) 2000, 2006, Oracle. All rights reserved.
    SQL> Rem
    SQL> Rem    NAME
    SQL> Rem      initcdc.sql - script used to load CDC jar files into the database
    SQL> Rem
    SQL> Rem    DESCRIPTION
    SQL> Rem      <short description of component this file declares/defines>
    SQL> Rem
    SQL> Rem    NOTES
    SQL> Rem      script must be run as SYS
    SQL> Rem
    SQL> Rem    MODIFIED   (MM/DD/YY)
    SQL> Rem    mbrey       03/15/06 - bug 5092790 add datapump registration
    SQL> Rem    pabingha    02/25/03 - fix undoc interfaces
    SQL> Rem    wnorcott    03/14/02 - bug-2239726 disable triggers.
    SQL> Rem    wnorcott    01/31/02 - function 'active' return 0 or 1.
    SQL> Rem    wnorcott    01/30/02 - disable CDC triggers, CREATE_CHANGE_TABLE re-enables.
    SQL> Rem    wnorcott    06/26/01 - rid trailing slash.  As per Mark Jungermann
    SQL> Rem    gviswana    05/25/01 - CREATE OR REPLACE SYNONYM
    SQL> Rem    jgalanes    11/17/00 - for Import/Export grant execute on util to
    SQL> REM                           SELECT_CATLOG_ROLE
    SQL> Rem    wnorcott    09/07/00 - new loadjava syntax for performance.
    SQL> Rem    wnorcott    07/18/00 - rid LOGMNR_UID$.clientid
    SQL> Rem    wnorcott    06/28/00 - move logmnr_dict view here
    SQL> Rem    wnorcott    03/28/00 - fix trigger install
    SQL> Rem    wnorcott    03/27/00 - Install change table triggers
    SQL> Rem    mbrey       01/26/00 - script to load CDC jars
    SQL> Rem    mbrey       01/26/00 - Created
    SQL> Rem
    SQL> call sys.dbms_java.loadjava('-v -f -r -s -g public rdbms/jlib/CDC.jar');How do i check if its still running or failed ?
    *PS : Ive read this note :Script Fails At Loadjava With ORA-03113 and ORA-03114 [ID 358232.1] But its when it errors out , for me its not erroring out also..*
    Thanks
    Kk
    Edited by: Kk on May 25, 2011 2:40 AM

  • Database access design using java bean

    Hi,
    I am writing a JSP/servlet/Javabean based app. using MVC architecture.The database related logic is in java beans.
    I want a generalized class/bean that can form a connection , execute the passed query and return the results.Does any one has any URLs or sample code to explain how to do this using introspection?
    I would greatly appreciate any help as this design is very crucial for our application.
    Thanks -
    k

    Please check the Cameleon Open Source project at http://www.must.de/cameleon.html if ti fits your needs.

  • Need design issue help regarding database access..

    I have an web application running on tomcat that will have access to a database connection pool. I have found a free java api that provides connection pooling. The code i will be using is:
    ConnectionPool pool = new ConnectionPool("local",
         10,
         30,
         180000, // milliseconds
         url,
         "b_lightyear",
         "BeyondInfinity");
    pool.getConnection();
    I need to put the above code somewhere where all my beans and classes can access it easily. I thought i would create a static class called DBConnector and have a getConnection() method to return a connection from the pool. However i would want the DBConnector class to be initialised on tomcat startup so that all the database pool can be initialised then. I dont see how i can do this? I know i can make a servlet initialised on tomcat startup but if i put the above code in a servlet how will i access it in my beans and java classes. I wont have the request, response objects available.
    Discuss.

    You should not need to 'control' access to the pool via a static method. The pool itself is probably implemented as a Singleton anyway. BTW, what pool are you using? DBCP from Jakarta is popular, stable and free.
    You use the Servlet's init() method for startup tasks and its destroy() method for clean-up tasks. Initialize your pool in the init() method of your Servlet. Simple. Just make sure you don't declare instance variables in your Servlet, can lead to thread-safety issues.
    BTW, love the Toy Story allusion! :^)
    - Saish

  • Query regarding file content conversion using file adapter

    Hi All
    I have a question regarding file content conversion in file adapter.
    I have a file coming in the following format.
    AA,111,222,333
    BB,444,555,666
    CC,777,888,999
    My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
    AA,111,222,333
    <<BB,444,555,666>>
    <<<<CC,777,888,999>>>>
    After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
    Is it possible to get a nested hierarchy as a result of file content conversion?
    Please let me know
    Thanks
    Chandra

    Hi Udo
    According to your suggestion, I am trying to use mapping.
    I am getting a flat file and i am reading it.
    This is my source structure:
    AA,11,22,33
    BB,44,55,66
    CC,77,88,99
    This is my required targer structure:
    AA,11,22,33
    <<BB,44,55,66>>
    <<<<CC,77,88,99>>>>
    To explain this, BB record can have multiple records of CC records.
    AA records can have multiple records of BB record.
    I am using removecontext node function.
    CC (Source)  (removecontext)-> CC (target structure)
    But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
    Many Thanks
    Chandra

  • Query regarding Database Level changes

    Hi
    I am working with a datawarehouse which extracts and populates data overnight across several tables in the reporting layer and across 5 different schemas.
    The source tables of these remain same (which will get data updated each and every day) but the reporting layer tables are built in the trash-and-build mode (because of business reasons) which brings in data say from the year 2000 (from the source) which might NOT be getting changed in the source tables at all.
    These tables population especially causes the jobs to slow down and cause performance issues.
    Is there any way in Oracle to find out if say :-
    Reporting Layer Table :- RPT_TAB
    Source Tables :- S1, S2, S3
    Can we find out if there are any changes to the data of S1,S2,S3 for a period of time say from year 2000 - year 2004 when they are being picked up by the proc which populates RPT_TAB?
    If there is any way, through which we can generally establish which are the tables for which for the above period there are no changes in data then we can archive such data and exclude them from loading into the reporting layer tables every day?
    We are using Oracle 9i and PLSQL to populate all the data in the tables.
    Please help me ASAP.
    Thanks
    Arnab

    Most of the source tables do not have last updated date. But the queries which combine and bring in data to Reporting Layer tables are complex and use lot many tables, sequences, views, etc to load the data. So, that is the reason I was looking for something at the generic Oracle level if it maintains anything for a certain period of time against any given table in the database.
    Thanks
    Arnab

  • Query regarding database size

    hi,
    ( sap 4.7c + sql server 2000 (Module:sd/mm/fi )
    ( data : 1 & half year - no BI )
    our database size is around 50 GB
    and log size is around 30 GB
    I doubt that something is wrong.
    can anyone explain to me what is right and
    what action one should take on this type of scenario.
    thanks in advance
    raj

    Hi Raj,
    My database size is about 30GB (3 years of usage) and log file is about 12GB.
    My database settings (recomendent by SAP and Early watch) are:
    I shrinked database to minimum size and set following settings:
    Database (mdf and ndf):
    - growth activated: checked
    - growth not restricted: checked
    - next step possible: checked
    - next step size: 60MB
    tempdb and log file:
    - growth activated: checked
    - growth not restricted: checked
    - next step possible: checked
    - next step size: 10%
    Regards,
    Marcin Gajewski

  • Doubt regarding database access

    Can we configure a datasource in two different domains with same name and URL each targetting to the same database instance? Is it possible?

    Yes,
    You can configure a Datasource with same DataSourceName and Same Database URL/Username/password (Means Same Database) for two different Domains.
    As well as you can manage these DataSource Details using WLST as a Centralized control util as well: http://middlewaremagic.com/weblogic/?p=4956
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/?p=4751  (Middleware Magic Is Here)

  • Regarding database access through jndi

    Hi All,
    Plz tell me the steps.
    I want to access data from MS Access, and i want to do it using JNDI .
    what should be added in struts-config.xml, web.xml .
    if any one have example code that will be better to understand.

    Nothing necessary added to struts-config.xml
    What server are you using? The JNDI configuration for each server is slightly different.
    The page for Tomcat is here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    I would follow that apart from instead of editing server.xml, put the JNDI configuration in a "mycontext.xml" file as defined here:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
    Cheers,
    evnafets

Maybe you are looking for

  • Error message: Platform 1.9.1.9 is not compatible w/mini &max version 1.9.1.1.0

    You keep trying to get me to update but my grandson's program needs the older version. This last time it just started to up date and so I tried to close it to stop it. The next time I opened it it had the Error message of Platform 1.9.1.9 not compati

  • Can't Uninstall/Install Quicktime error number: 0x80040707

    I am also having probelms with quicktime. I went to uninstall/reinstall it and have had no luck. When I run the uninstall shield, it starts and then before it goes farther than half way loaded it disappears. I tried everything listed in the post belo

  • How do I remove the 'seam' after adjusting one part of my photo?

    I am new to PS, using CS6. In the attached picture ,I wanted to adjust the rear of the animal so that it wasn't so dark, she looked like she was disappearing into the dark, but my adjustment has left a 'seam' that I am struggling to fix. I looked up

  • ICal crashes when I try to edit events

    I cannot edit events in iCal. When I double click on the event iCal crashes instantly. I have to edit my events with my iPhone or iPad. How can I solve the problem?  Brand new iMac with Mountain Lion...A bug I suppose?

  • Accounts that have been suspended. Class action la...

    I believe that Skype's practices may spark a class action lawsuit. Today, my account was suspended for no known reason. No one at Skype could provide me with any reason whatsoever. They said it was their policy not to provide this information. But if