Default Tablespace Question.

This thread may be slightly out of place, but does have to do with tablespaces. I've exhausted my research in other areas. Any help is appreciated.
In Oracle 10g there are, by default, two tablespaces (sysaux & system) from what I can tell. In the Visual Web Developer 2005 Express (MS Web Dev Tool) Database Explorer, I am seeing the system tablespace. This is good because this is where I imported my tables to. In the SQLDataSource Wizard, I am using the same connection, but unfortunately I am being presented with the tables in the sysaux tables. Does anyone know why this is happening? I checked the system user, that I am connecting with, and verified that the default tablespace is system. Previously, the Wizard was showing the HR tablespace, but I dropped the HR user and then the sysaux tablespace started showing up.

Hi,
don't ever import own tables into the system tablespace!!!
Create your own tablespace and your own user!
Never use system tablesapce for whatever!
As system or sys:
create tablespace myts datafile '/your/oracle/oradata/SID/myts01.dbf' size 50M autoextend on extent management local uniform size 1M segment space management auto;And your user
create user XY identified by supersavepassword default tablespace myts;
grant create session to XY;
grant resource to XY;Drop the tables you created in the system tablespace after that.
Use system or sys ONLY if you are doing adminstrativ task never for developing.
Dim
Message was edited by:
Dr.Dimitri

Similar Messages

  • Changing default tablespace of SYSTEM user

    Hi all,
    What impact it wouuld have on database if i change the default tablespace of SYSTEM user?? actually i have got a strange env where th default tablespace for system user is tools and that for OUTLN is system
    please share your view and experiences
    Thanks and Regards
    VD

    hi thanks,
    i know there is no performance issue using non system tablespace for system user, but we do follow some nomenclature structure thats why i am asking the question..so i am going to change its tablespace of user system from TOOLS to system with
    SQL> alter user system default tablespace system;
    command, and not expecting any complications..
    Thanks and Regards
    VD

  • How can I list all users and their DEFAULT tablespace?

    How can I list all users and their DEFAULT tablespace?
    Peter

    Peter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
    How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
    HTH -- Mark D Powell --

  • Alter user default tablespace and temporary tablespace

    Hi guru,
    target : to ensure that users don't have the SYSTEM tablespace as their TEMPORARY or DEFAULT tablespace
    scenario :
    user default tablespace temporary tablespace
    xxyym system system
    Question: How to alter user ?
    tq

    In a scenario, let's say you want to make USERS the default tablespace for existing users and TEMP the default temporary tablespace, you can also create the alter statements as below into one script based on the output and run it.
    select 'ALTER USER '||username||' DEFAULT TABLESPACE USERS;'  FROM DBA_USERS WHERE DEFAULT_TABLESPACE IN('SYSTEM')
    and username not in('SYS','SYSTEM');
    select 'ALTER USER '||username||' TEMPORARY TABLESPACE TEMP;'  FROM DBA_USERS WHERE TEMPORARY_TABLESPACE IN('SYSTEM');As magnus mentioned, don't forget to do this(if USERS and TEMP is what you want to go with) :
    ALTER DATABASE DEFAULT TABLESPACE USERS;
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP;

  • Should Default Tablespace for User DIP be "SYSTEM" or "USERS"?

    Oracle Enterprise Manager is giving me a warning about some non-system users who have a default tablespace of SYSTEM. One of the users is DIP. Is it OK for me to change the default tablespace for DIP to USERS, or should it remain SYSTEM?
    Thank you,
    Bill

    To the best of my knowledge user DIP was created automatically by Oracle software when I upgraded my database from 8i to 10gR2. In my mind that means it is needed for managing some system function in the database. That is why I hesitate to change the default tablespace from SYSTEM to USERS.
    If user DIP is tied to use of Oracle Directory Integration and Provisioning then I am not knowingly using the DIP account. I do not know what Directory Integration and Provisioning is and read about it only when researching this tablespace question. That being said, I expect that Oracle software does a lot of things internally that I am not aware of.
    I was hoping someone familiar with user DIP could tell me that changing the default tablespace to USERS for this Oracle supplied account would do no harm.
    Thank you,
    Bill

  • What should the default tablespace be for SAP users

    I'm using Oracle 10.2.0.4
    For the users
    OPS$<SID>ADM
    OPS$ORA<SID>
    SAP<SID>
    what should the default tablespace be
    PSAP<SID>USR or PSAP<SID>

    Hello Bill,
    > For the users
    > OPS$<SID>ADM
    For this user the default tablespace is SYSTEM
    > OPS$ORA<SID>
    For this user the default tablespace is SYSTEM
    > SAP<SID>
    For this user the default tablespace is PSAPPRDUSR
    Regards,
    Federico Biavati

  • Use of DEFAULT tablespace while re-enabling constraint

    Using 8.1.7.2.
    While trying to re-enable a constraint on a table, we hit a ORA-01630. According to the error message, Oracle was trying to use the DEFAULT tablespace (USERS) instead of the TEMPORARY tablespace (TEMP) to do the work.
    Why would Oracle use a tablespace other than TEMP to do work that needed temporary space?
    [email protected]

    What is the 'temporary_tablespace' value when you query user_users as this user?
    Oracle will use the tablespace that is specified as the users TEMPORARY_TABLESPACE for all sorts. If that tablespace does not exists, it uses SYSTEM.

  • How to resize the DEFAULT tablespace...

    When I use "Portal Configuration Assistant" to Install Oracle Portal, I got an alert from step 5 of 6 :
    "The Portal Configuration Assistant has halted because it has detected that the amount of free space available in the Default tablespace is less than 150M...."
    How could I do in next step?
    Thanks in advance!
    Regards,
    Eric
    null

    Eric,
    To fix the problem, log into SQLPLUS as MANAGER
    increase the table size by giving
    ALTER TABLESPACE <name> ADDFILE '<fullpathfilename>' SIZE <value e.g 50M>
    null

  • Exp/imp not going to default tablespace

    Hi all..
    i m using 8i
    and i m taking export of one schema by using these command.
    exp TEST/TEST file=TEST.dmp log=TEST.log buffer=10240000
    and importing
    imp TEST/TEST file=TEST.dmp log=imp_test.log full=y buffer=1024000
    i have created seprate tablespace for test user and test user's default tablespace is also test.
    but when i m importing test schema its going to other tablespace..
    how can i take export of one schema and import into other schema and all objects during import should go into defalut tablespace. ???
    can i do it using sys... ???

    how can i take export of one schema and import into other schema and all objects during import should go into defalut tablespace.Only way is prior to import CREATE empty objects in desired (new) tablespace; then use IGNORE=Y

  • Create object on user's default tablespace only

    Hi all,
    Is there anyway I can limit a user to create tables NOT on system tablespace , besides alter user quota 0M on system ?
    Can I limit a user to create objects only on his own default tablespace ?
    alter user quota 0M on < all other tablespaces except user's default> ?
    Thanks.

    Hi,
    I have really no idea why oracle is behaving like this. How can you create a table without a quota.
    1) Write here the oracle version for your database software
    2) Can you try connecting to the database with same user id but from a remote client using TNS method instead of logging in locally, and they try creating the table.
    3) Can you give only CREATE SESSION privilege (not create table) and then perform the same task again.
    PS: Please paster your code/output enclosed withing code tag. Write **, then your code/output and then again *{code*
    Salmam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Default Tablespace in Oracle

    When creating a new user, If no default tablespace is specified for that user, SYSTEM tablespace is designated as the default tablespace for that user. How do Oracle makes SYSTEM TABLESPACE as the dafault one. When a new tablespace is created, Is there any way to mark a that tablespace as the DEFAULT one for the Database?
    Thanks
    Mageshwaran A P

    793075 wrote:
    Hi All,
    Just wanted to clarify a satiuation where i had to change the default tablespace of an user/schema ( creating a new tablespace and assigning it to the user )   and take the export (expdp) of it,  and import back to the same user will it have all the objects  which were owned by that user before .
    1. create a new tablespace abc .
    2 Assigne that tablespace to an existing user/schema ( It has a different tablespace previously)
    3. expdp 'user'
    4.impdp 'user'
    will this retain all the objects of the user ?
    Any expert suggestion is highly apprciated .
    thaniks in advance
    What prevents you from doing this yourself and seeing for yourself what the behavior is?   (How do you think the 'gurus' got to be 'gurus'?)
    If, after conducting your own test, you see behavior you don't understand, I'm sure someone here will help explain the behavior you observe vs the behavior you expected.

  • Create new user with default tablespace

    I have created a new tablespace, now i want to create new user but i cannot mention default tablespace and temporary tablespace for the new user.
    how to do this in oracle xe ???

    That's right. Additionally, you can use assistant to perform this task. In the near future you may want to have the SQL Reference handy: http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm
    As well as the specific XE Reference manuals: http://www.oracle.com/pls/xe102/homepage?remark=tahiti
    HR Madrid

  • Export from 8i to 11g does not create object in default tablespace

    Hello
    I have exported and schema from oracle 8i and i try to import it in oracle 11g in a different architecture (8i is sparc. 11g is x86)
    i have created an user with default tablespace and the original tablespace does not exist in this database, but I am getting the error;
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TS_ARCCLAIMS_DAT' does not exist
    if i create an indexfile and create all the objects by removing the REM from the indexfile i have countless contrains errors so i bet this is not an option.
    this is how the user is created in 11g:
    CREATE USER ARCCLAIMS
      IDENTIFIED BY <password>
      DEFAULT TABLESPACE ARCCLAIMS_DAT
      TEMPORARY TABLESPACE GN_TMP
      PROFILE DEFAULT
      ACCOUNT UNLOCK;
      -- 2 Roles for ARCCLAIMS
      GRANT CONNECT TO ARCCLAIMS;
      GRANT RESOURCE TO ARCCLAIMS;
      ALTER USER ARCCLAIMS DEFAULT ROLE ALL;
      -- 1 System Privilege for ARCCLAIMS
      GRANT UNLIMITED TABLESPACE TO ARCCLAIMS;
      -- 1 Tablespace Quota for ARCCLAIMS
      ALTER USER ARCCLAIMS QUOTA UNLIMITED ON ARCCLAIMS_DAT;
    what do i have to do in order to have the objects go to the default tablespace of the user?
    thank you
    Mario G,

    Hello,
    I believe that you are right, the tables seem to have a clob datatype..
    here is it one of the tables affected:
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "CLM_MAIL_INBOX" ("IBX_CODE" NUMBER(6, 0) NOT NULL DISABLE, "I"
    "BX_CLM_CODE" NUMBER(10, 0), "IBX_IMP" CHAR(1), "IBX_FROM" VARCHAR2(50), "IB"
    "X_SUBJECT" VARCHAR2(200), "IBX_CREATION" DATE, "IBX_ATTACH_TYPE" VARCHAR2(1"
    "0), "IBX_ATTACH" BLOB, "IBX_CONTENT" VARCHAR2(1000), "IBX_RESP_STN" VARCHAR"
    "2(3))  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIA"
    "L 16384 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "TS_ARCCLAIMS_DAT" LOB (""
    "IBX_ATTACH") STORE AS  (TABLESPACE "TS_ARCCLAIMS_DAT" DISABLE STORAGE IN RO"
    "W CHUNK 8192 PCTVERSION 10 NOCACHE  STORAGE(INITIAL 24576 FREELISTS 1 FREEL"
    "IST GROUPS 1))"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TS_ARCCLAIMS_DAT' does not exist
    I have already reviewed the document 1180873.1
    could the DEFERRED_SEGMENT_CREATION=false be enough..
    could this be done with alter system or alter session? which one is better?
    thank you

  • BC4J temporary tables - default tablespace

    I have database Oracle database 9i. I have created database user by CREATE USER "DBUSER" PROFILE "DEFAULT" IDENTIFIED BY "dbuser" DEFAULT TABLESPACE "MYTABLESPACE" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK;
    So I expect all tables are created inside ORDBS tablespace. They do - but only my application tables. BC4J temporary tables (PCOLL_CONTROL, ...) are created inside "USERS" tablespace, not MYTABLESPACE nor TEMP.
    Why? I don't want they are created inside users but don't know how to change it...
    Any idea?
    Thank you very much for any comment
    Jan Pechanec
    PS. I use JDeveloper 9.0.3.4

    Hi Steve/Nick,
    I am facing a similar kind of problem in oracle 9iAS(90220). A few days back there was a lot of user activity in one of the application modules and 7 PS_<app.module.name(s)> tables were created with around 7GB of size which eventually filled up the entire tablespace(100%). I spoke to the developers about the attributes that need to be set for Row spill over feature discussed in this forum but they said after lots of testing they have set those values and cannot be changed.
    Could you please suggest me how can I ensure that, next time any application module specific PS_ tables will get created I can route them to different tablespace based on the module name. (I donot want to move them after they are created, to a different tablespace) Please let me know asap so that I can implement it and avert any future problems.
    Thanks & regards,
    Ramana

  • Table created by datapump imp/exp, change default tablespace?

    Is there a way, without changing the users default tablespace, to force the table created by data pump import or export to go to a different tablespace than the users default? Our policy is that users must declare the tablespace they want an object created in, therefore the users tablespace is very small (6M), so if they accidently created an object in this TS it would fail. When we run expdp, this default tablespace fills up and export fails. I can't find a parameter in the documentation on giving an alternative tablespace for this table.

    When you run expdp, it creates a table under the user you logged in as. This table is used to keep track of the datapump process. I am looking for a way to direct datapump to create this table in a specific tablespace instead of the users default.

Maybe you are looking for