Creating an Oracle user on a development instance

Hi,
Oracle 11.2.0.2
I have been asked to improve the spped of our extract feeds to another team. It was usiing an excel file as csv created with C# reading the csv into a global temporary table and a procedure to insert rows from global table to main table one at a time. Around 1 million rows That was taking around 25 min. After trying sqlldr and an intermidate table I managed to reduce timing to 15 sec with sqlldr and Direct Path Load. I tried all that in one of our own DEV databases.
Now we want to try the approach in one of DEV databases belong to downstream group (the one we feed data). They are rather reluctant to give me access to their DEV database! I have asked them to create a new login and grant object creation (DDL) to this user.They keep saying that they are prepared to give me a role but NOT schema owner. What is the best way of enabliong me to create tables somewhere and test loading times with sqlldr. I need to do full DDL (table/proc creation) and DML on a certain schema.
So my question:
What is the best way of doing so.. Do I need a schema created for user to do this work
If they already have a general purpose schema, can they c reate a role to have full DDL: rights in that schema?
Any advice is welcome.
Thanks

>
So my question:
What is the best way of doing so.. Do I need a schema created for user to do this work
If they already have a general purpose schema, can they c reate a role to have full DDL: rights in that schema?
>
1) Yes - you should use your own schema. Use of the CREATE ANY TABLE privilege would let you create tables anywhere, not just the one schema you need.
2) No - As jgarry said that would require "any" privileges (such as CREATE ANY TABLE.
If they want you to test in their DEV database they need to create a user and schema for you to do your testing or allow you to use an existing one.
Not sure what their concern is. It is common for developers to have their own schema on a DEV database for purposes like you describe. They can easily control the privileges they grant your new schema.

Similar Messages

  • Does impdp create a oracle user if not exising

    Hi
    Does impdp create a oracle usr if oracle schema is not existing when running remap_schema
    regards
    kb

    Yes,
    This is from documentation
    "If the schema you are remapping to does not already exist, the import operation creates it, provided the dump file set contains the necessary CREATE USER metadata and you are importing with enough privileges."
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_import.htm#sthref324

  • How create new user in sql developer?

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    Sorry I know this is a generalized question. I only learned how to actually connect today - any help of a next step would be appreciated.

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    The 'next step' is RTFM. Sorry but for 12c multitenant you simply MUST read the documentation about the new multitenant architecture.
    Your 'problem' is not creating a user with sql developer - it is how to create users in 12c.
    See my extended comments and reply in this thread (and several other threads I reference there) which addresses your exact problem
    12c: ORA-65049: creation of local user or role is not allowed in CDB$ROOT
    http://www.oracle.com/pls/db121/homepage
    I suggest you first read chapters 17 and 18 of the Concepts doc about the new multitenant architecture of 12c.
    http://docs.oracle.com/cd/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
    The 'Common Users in a CDB section answers your question
    >
    The name of every user-created common user must begin with the characters c## or C##. (Oracle-supplied common user names do not have this restriction.)
    >
    There are two types of users in 12c: common and local. You need to understand the difference between them.
    Until you read those doc chapters you won't understand these terms: common user, local user, CDB, PDB, root container, and many others.
    As I said in that other thread:
    You will NOT be successful working with 12c unless you have read and understand the new multitenant architecture that it uses. There are very simple things (connecting, startup/shutdown, creation of users, grants to users, etc) that just don't work the same old way anymore.
    If you try to just 'plow through it' without reading about it you will likely get an exception that you won't understand and it will likely use a term (CDB$ROOT) that you won't understand. Then you will hunt all over (or worse, ask in the forums) to find out about that term.
    Yes - I know how adverse some people are to RTFM replies. But for 12c multitenant it is mandatory to read the docs no matter how expert you may be in previous Oracle versions.

  • What is the password for 'oracle' user created during XE installation?

    Hi,
    What is the password for 'oracle' user automatically created when XE is installed?
    I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
    During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
    Please let me know or point me to the document.
    Thanks,
    N

    Hi Jari,
    I tried your suggestion, but it didn't work unfortunately.
    When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
    So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
    It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
    Thanks,
    N

  • Create a new user on Oracle Designer 6

    I know this version is not supported anymore but the client still uses it.
    I have to create a new repository user and it's done but the user doesn't have access to the different application systems. I get the error CDI-20540 and i can't find a way to give the user access.
    This is what i did:
    I've created the user in the database.
    Next, I got into Maintain Users in Repository Admin utility and I insert a row for the user by selecting the oracle user I just recreated.
    The user should now have access to designer repository and he he can connect but he has no access to any application system.
    I go into Repository Object Navigator and I go to Application - Grant Access by Application.
    I click on Add User but the repository user doesn't show up.
    What am I missing?
    Thanks!

    This has been a lot of years ago but I will try to
    help
    1. grant the user all of the required permissions by
    SYS
    connect, resource, create sequence, creat synonyn,
    create table,
    Then you will need to select the Maintain Users
    button.
    This will allow the user to connect to the reposity.
    However they cannot see any of the application
    except the ones they create.
    age 2-28 of the instalation guide.
    ( I do not why I still have that manual here)
    To view the other applications theyse must be granted
    by the application owner.
    Page 918 of the Oracle Designer Handbook shows the
    Grant Access by User screen. needsto be set for you
    to view the applications.Thanks for replying but my problem is when I got to Grant Access by User screen, I don't see the user i just created. (Oracle user exists and i can connect to the repository as newly created user).
    That's kinda strange and i'm not sure what else i can try.

  • How to create a new user in Netweaver system for ABAP training?

    Hello,
    I had been learning ABAP using a trial version but recently purchased and installed a developer subscription of Netweaver 2004 SR3. Can someone please tell me the best way to create a new user for ABAP development and assign the needed transaction authorizations appropriate for a developer? I was able to create one in SU01 and assign a profile of S_ABAP_ALL but still could not get into SE80 with that logon. And the user had a license expiration of only one month, is there a way to obtain a permenant license for it from SAP?
    Thanks
    -Chris Piret

    Hi Chris,
    You can create a role in t-code pfcg with all required transaction and assign it to your user id or else You can assign profile sap_all to you for all authorization.
    Regarding license you can get it from sap.How to get it is explained in the document in the below link.
    https://websmp108.sap-ag.de/~sapidb/011000358700006339962006E
    For ABAP development you need developer key and that also you will get from sap marketplace
    Regards
    Ashok

  • Oracle user installation issue

    I followed the instructions from
    http://docs.oracle.com/cd/E16655_01/install.121/e17752/usr_grps.htm#BACGFIFJ
    on my Solaris 11.1 VirtualBox box.
    Since i used the Solaris 11.1 - Text install, i don't have a graphical interface (no X11)
    i created an oracle user, as per the documentation instructions, using the command:
    # /usr/sbin/useradd -u 54321 -g oinstall -G dba,oper oracle
    The instructions in the following section http://docs.oracle.com/cd/E16655_01/install.121/e17752/usr_grps.htm#BABBHHAD
    say i should modify the .bash_profile file (which i assume is in the user's home directory)
    The problem is that the oracle user created using the earlier command has no home directory. Actually, after logging in as oracle, i get the following message:
    No directory! Logging in with home=/
    # grep oracle /etc/passwd
    oracle:x:54321:54321::/export/home/oracle:/usr/bin/bash
    but /export/home/oracle does not exist.
    When i try to mkdir /home/oracle i get:
    mkdir: Failed to make directory "/home/oracle"; Operation not applicable
    Needless to say, i cannot follow the rest of the Installation guide since user oracle has no home.
    I understand that this is mostly a Solaris admin question, but my issue is with the installation guide for not being clear about its assumptions, which is why i posted this here.
    Edit:
    some more output:
    root@solaris:~# ps -alfe | grep auto
    0 S     root  2293     1   0  40 20        ?   2500        ? 23:53:30 ?           0:00 /usr/lib/autofs/automountd
    0 S     root  2294  2293   0  40 20        ?   2573        ? 23:53:30 ?           0:00 /usr/lib/autofs/automountd
    root@solaris:~# uname
    SunOS
    root@solaris:~# uname -a
    SunOS solaris 5.11 11.1 i86pc i386 i86pc
    root@solaris:~# cat /etc/release
                                 Oracle Solaris 11.1 X86
      Copyright (c) 1983, 2012, Oracle and/or its affiliates.  All rights reserved.
                               Assembled 19 September 2012
    after some digging, i found that this is a known bug, included in Solaris 11.1's Release notes.
    Funny thing, this bug is listed as "Previously Documented Bug, Fixed in Solaris 11.1
    7070558 When the automount Service Is Disabled, useradd Creates Users With Inaccessible Home Directories

    Finally found my answer in another document. Setting Up and Managing User Accounts by Using the CLI - Managing User Accounts and User Environments in Oracle Solaris …
    Apparently, with Solaris 11.1 one must use the -d and the -m switches when creating a new local user.
    So the correct command to have issued is this:
    /usr/sbin/useradd -u 54321 -g oinstall -G dba,oper -d localhost:/export/home/oracle -m oracle
    Once the command was issued, the /export/home/oracle directory was created, (due to the -m switch), and because the user's home directory contains the hostname: part, this means that the /etc/auto_home file was updated.
    Once i logged in into the oracle account, the /home/oracle directory was created by autofs.
    The Oracle 12c documentation concerning the Solaris 11.1 OS should be updated to include the -d and -m switches.

  • Create a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • New user created in oracle 11g (release 2) is not connecting (ORA-01017)

    Hi All,
    Kindly help me out regarding this.
    I have created a new user using "ORACLE Enterprise Manager 11g" and used the same credentials in SQL developer for a new connection and it throw "ORA-01017: invalid username/password; logon denied" message.
    Kindly note that have followed the following steps in creating user:
    On the Users page, click Create.
    In the Name field, enter NICK.
    In the Profile list, accept the value DEFAULT.
    This setting assigns the default password policy to user Nick.
    In the Enter Password and Confirm Password fields, enter a password that is secure.
    Create a password that is secure. See Oracle Database Security Guide for more information.
    Do not select Expire password now. If the account status is set to expired, then the user or the database administrator must change the password before the user can log in to the database.
    (Optional) Next to the Default Tablespace field, click the flashlight icon, select the USERS tablespace, and then click Select.
    All schema objects that Nick creates will then be created in the USERS tablespace unless he specifies otherwise. If you leave the Default Tablespace field blank, Nick is assigned the default tablespace for the database, which is USERS in a newly installed database. For more information about the USERS tablespace, see "About Tablespaces".
    (Optional) Next to the Temporary Tablespace field, click the flashlight icon, select the TEMP tablespace, and then click Select.
    For the Status option, accept the default selection of Unlocked.
    You can later lock the user account to prevent users from logging in with it. To temporarily deny access to a user account, locking the user account is preferable to deleting it, because deleting it also deletes all schema objects owned by the user.
    Grant roles, system privileges, and object privileges to the user, as described in "Example: Granting Privileges and Roles to a User Account".
    Note: Do not click OK in Step 13 of "Example: Granting Privileges and Roles to a User Account". Instead, skip that step and continue with Step 12 in this procedure.
    Assign a 10 MB quota on the USERS tablespace, as described in "Example: Assigning a Tablespace Quota to a User Account".
    If you did not click OK while assigning the tablespace quota (previous step), click OK now to create the user.Kindly note that I have log in as SYSTEM user and created this new user.
    Could any one help me regarding this ?

    After connecting with sqlplus, as user SYSTEM and when tried the below, I could see that the new user created by me does not exist..
    select '--' || username || '--'
    from dba_users
    order by username;
    But when tried with GUI "ORACLE Enterprise Manager 11g" I can very well see the new user created by me..
    How is this possible mate??
    Is the user not properly created through GUI (than from where it is showing the new user)
    Some more information i want to share;
    i have used schema "HR"
    And have used table space "USERS"
    And tep tablespace "TEMP"
    Edited by: 828569 on Jan 16, 2011 9:01 PM
    Edited by: 828569 on Jan 16, 2011 9:03 PM

  • Creating A New Oracle Database And Sql Developer

    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AM

    user8948230 wrote:
    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AMIn addition to downloading and installing the database software to create a database, might I also suggest you start getting familiar with the documentation.
    Learning where to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com. Drill down to your product and version.
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are reference manuals. Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    After you have familiarized yourself with what is available, read the "2-Day DBA" manual to help get you started.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • Create development instance by cloning from Production instance

    Hi,
    There is a requirement for us in Oracle E-Business Suite.
    Our client wants to create development instance by cloning from Production instance, at the same time they donot want live data. Can anyone suggest in this regard.
    i.e After cloning Dev Instance from Production, no live data to be available in dev.
    Thanks

    Hi,
    Hi,
    There is a requirement for us in Oracle E-Business Suite.
    Our client wants to create development instance by cloning from Production instance, at the same time they donot want live data. Can anyone suggest in this >regard.
    i.e After cloning Dev Instance from Production, no live data to be available in dev.
    ThanksRefer very good post by Hussain and Helios on same topic:
    Scarmble data after clone
    Regards,
    X A H E E R

  • Creating a new user in oracle

    Hi,
    I am creating a new user in oracle
    CREATE USER XYZ IDENTIFIED BY XYZ
    it is working fine..
    But when i am writing the below
    CREATE USER Finedocs4.1_SP1 IDENTIFIED BY Finedocs, it is showing erro like invalid character, i think oracle does not support '_' while creating the user..
    Please suggest..
    Thanks
    Hara..

    EdStevens wrote:
    805936 wrote:
    Hi,
    I am creating a new user in oracle
    CREATE USER XYZ IDENTIFIED BY XYZ
    it is working fine..
    But when i am writing the below
    CREATE USER Finedocs4.1_SP1 IDENTIFIED BY Finedocs, it is showing erro like invalid character, i think oracle does not support '_' while creating the user..
    Please suggest..
    Thanks
    Hara..It does not support the "dot". If you want to include that you will have to enclose the entire username in double-quotes :
    CREATE USER "Finedocs4.1_SP1" IDENTIFIED BY Be aware that doing so will also make your username case sensitive, so it would always need to be enclosed. If you make sure the username is create in all caps (CREATE USER "FINEDOCS4.1_SP1" ) it will be effectively case-insensitive to the end user, but there will still be admin commands on the username that will still need to be enclosed in quotes to get around the dot.Correct. I would suggest re-thinking your naming scheme and trying to use something that does not have the . or -

  • Create a new user in Oracle Bi enterprsie edition plss help

    how can we create new users in for oracle bi
    currently i have only adminsitrator as a user i want to create 5 different users please heklp me with steps to create the users
    which module is to be used please guide me with steops as am new to otracle bi just started today
    thanks

    Hi,
    If I understood your problem correctly, then I think that associated Group does not have Administrator previleges.. Only Administrator can access the Repository..
    Alternatively, you can check those users by logging into BI Presentation Services.. Definitely those users will be logged in as you defined them in your Repository...
    Only access to metadata (repository) will be denied to the users created by you (if they does not have Administrator previleges)..
    Hope this will clarifies your problem..
    I will be very happy if anyone corrects me..:)
    -Vency

  • Problems While Creating A Oracle Instance In Windows 7

    Hi All,
    I am trying to create a primary standby configuration in windows 7. When I am trying to create a oracle instance using oradim I am facing the below issue:-
    I am using Oracle version 10.2.0.1.0.
    C:\>ORADIM -new -sid STDBY -SRVC OracleServiceSTDBY -STARTMODE auto -SRVCSTART s
    ystem -SPFILE;
    DIM-00003: An argument is missing for the parameter.
    I am not sure which parameter is missing. can you help me in this..
    Regards,
    Arijit

    Hi Abdul,
    I did the same thing mentioned by you but now I am facing some different error:-
    C:\>ORADIM -edit -sid STDBY -STARTMODE manual -SRVCSTART system -pfile E:\Arijit
    \oraclestby\dbs\initstdby.ora;
    DIM-00077: Failed to change service configuration.
    O/S-Error: (OS 5) Access is denied.
    When I tried the first step I am getting another error:-
    C:\>oradim -edit -sid STDBY -startmode auto -srvcstart system
    DIM-00077: Failed to change service configuration.
    O/S-Error: (OS 5) Access is denied.
    Please suggest.
    Regards,
    Arijit

  • Which is better?    Two Oracle user in one instance OR  in two instances?

    Which is better?
    I could not find any benchmark for number of instances per user
    in the same machine.
    suppose that you have two major Oracle user, from performance
    point of view it is better to make separate instances in same
    machine or keep these two users in the same instance.

    Hi.
    I understand that you will use oracle for two different
    applications on the same host.
    Each instance has its SGA and background processes. So, using
    two different schemas(users) in one instance you can share
    phisical memory between the applications. Concerning background
    processes, you can start as many of them as you wish, so it's
    not a problem. If you decided that one DBW is not enough, you
    could configure oracle to use two or more.
    best regards,
    Andrew

Maybe you are looking for

  • User defined fields in Routing

    Hi to all, this is regarding user defined fields, I want to enter Tear down time, But already 6 values are there. so i created Tear down as user defined field. and i assigned Tear down formula also. (sap_14*operative qty/Base qty), sap_14 is the user

  • Make entry disabled column in a query input column

    Hi, I would like to disable a column to entry by the user in a query which is input enabled query. The requirement is Original and Current budgets are being copied from ECC (in Funds Management) - Let us say 0 and 1 remaining versions 2 - 12 are chan

  • Data source Infocubes for standard reports

    Hello Everybody, Can you please assist - how to understand which data source will feed - which info-cube - which standard reports? I am planning to activate standard reports in various module. How do I decide corresponding data source and info-cube r

  • Duplicate audio channel

    I recently recorded a wedding with my DV camcorder. I used a lapel microphone as the audio (connected to my camcorder's mic input jack). Unfortunately, this audio is only heard from the left speaker. I would like it to be heard from both left and rig

  • Is there any link for direct download of iOS 6.1.3?

    iOS 6.1.3 is a large file. It takes approximately 12 hours due to I am using 256kbps line. I couldn't download it due to some iTunes error, Power cutoff etc. If there is any torrent file or direct download link, please post it.