Defining tablespaces in 10.1.0.2

I am doing full database exp/imp from Oracle 7.3.4 to Oracle 10.1.0.2.
I finished the export.
Now prior to imp I need to create tablespaces in 10.1.0.2 which are existing in 7.3.4 but not in 10.1.0.2 yet.
Three are only seven tablespaces name in 7.3.4.
Three are common tablespaces i.e: system, tmp & users.
I need to add tools, wits_data, roolback & wits_indx.
I need to know the file sizes of above tablespaces, I also need to kno " incremant by " what number.
I also notice in 10.1.0.2 dbconsole its ask you maximum file size.
Do I need to check on autoextent automitacally when tablespce is full.
which should I check Unlimited or Values ?
from dba_tablespaces:
TABLESPACE_NAME**TOOLS***ROLLBACK******WDA********WINDX
INITIAL_EXTENT**10240******1638400****199229440**96468892
NEXT_EXTENT*****10240******1638400****512000*****491520
MIN_EXTENTS*****1**********2**********1**********1
MAX_EXTENTS*****121********121********121********121
PCT_INCREASE****50*********0**********10*********10
STATUS**********online*****online*****online*****online
CONTENTS********perm*******perm*******perm*******perm

I would definately do research on the changes in tablespace management between v7 and 10g -- you have a lot more options available, such as automatic segment space management.

Similar Messages

  • IMPORT DATA TO USER DEFINED TABLESPACE

    I HAVE FACED A PROBLEM REGARDING IMPORT DATA IN A USER DEFINED TABLESPACE.FOR DOING THIS AT FIRST I HAVE CREATED A TABLESPACE SAY USERS ASSOCIATED WITH A DATAFILE NAME AND PATH IS 'D:\ORACLE\ORADATA\ORCL\USERS01.DBF' ITS SIZE IS 200M.IN THE SAME PATH THERE IS A TEMPORARY TABLESPACE ASSOCIATED
    WITH A DATAFILE NAMED 'D:\ORACLE\ORADATA\ORCL\TEMP01.DBF' ITS SIZE IS 80M.
    THEN ASBESCO USER CREATED IN USERS TABLESPACE THROUGH THIS SQL COMMAND.
    CREATE USER ASBESCO IDENTIFIED BY ASBESCO
         DEFAULT TABLESPACE USERS
         TEMPORARY TABLESPACE TEMP
         QUOTA UNLIMITED ON USERS
         QUOTA UNLIMITED ON TEMP;
    GRANT PRIVILAGE TO ASBESCO USER BY THIS SQL .
    GRANT CONNECT,RESOURCE,DBA TO ASBESCO;
    MY EXPORT FILE NAME IS ASBESCO.DMP WHICH IS EXPORTED FROM ANOTHER MACHINE. I WANT TO IMPORT THIS INTO MY MACHINE'S SPECIFIED TABLESPACE. ITS SIZE IS APPROX 26 MB.
    NOW I MPORT ASBESCO.DMP FILE THROUGH THIS COMMAND..
    IMP SYSTEM/<SYSTEM PASSWORD> FILE= ASBESCO.DMP FROMUSER=ASBESCO TOUSER=ASBESCO.
    AFTER SUCCESSFULL IMPORT OPERATION I HAVE SEEN ALL OBJECTS IN ASBESCO USER ARE CREATED IN SYSTEM TABLESPACE NOT USERS TABLESPACE. WHY?
    IT IS TO BE NOTED THAT I HAVE NOT MENTIONED THE DEFAULT TABLESPACE 'USERS' WHEN I CREATED MY USER OBJECTS.

    Please change to lower case letters
    If the user has UNLIMITYED tablespace privilige
    Revoke it
    If the user has a privelegs on a tablespace
    Revoke it
    Create a new tablespace and assign it to the user as Default tablespace.
    then import

  • How to define tablespaces in Oracle 10g and how put tables on tablespaces

    Hello,
    I'm having trouble to define the structure of tablespaces and how to distribute the tables/indexes/lobs on these tablespaces.
    Do you know some rules on how to define this?
    What I have until now:
    1) Put table indexes in separate tablespace
    2) Put lobs in separate tablespace and use storage clause when defining the lob column. Not sure how many tablespaces to use, I have tables with millions of lobs and tables with just one lob (with row containing the lob).
    3) Please fill more rules here ...
    Thank you, Alex.

    Long story: I received database and schema creation scripts defined in Oracle 9i. I want to redesign the tablespaces number/storage and also to change the distribution of tables into tablespaces.
    As an example I will show how tablespaces are created now. There is one tablespace for indexes BLUE_AUTO_INDX and one for each EXTENT MANAGEMENT of:
    - 64K for BLOB , name BLUE_K064_BLOB
    - 64K for tables , name K064_NTAB
    - 128K for tables, name BLUE_K128_NTAB
    - 512K for CLOB , name BLUE_K512_CLOB
    - 4M for BLOB , name BLUE_M004_BLOB
    - 64M for CLOB , name BLUE_M064_CLOB
    - 8M for tables , name BLUE_M008_NTAB
    - 1M for tables , name BLUE_M001_NTAB
    - 256M for tables, name BLUE_M256_NTAB
    Definition of each tablespace is like:
    CREATE TABLESPACE BLUE_AUTO_INDX DATAFILE 'BLUE_AUTO_INDX01.DBF' SIZE 200M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K064_BLOB DATAFILE 'BLUE_K064_BLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K064_NTAB DATAFILE 'BLUE_K064_NTAB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K128_NTAB DATAFILE 'BLUE_K128_NTAB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_K512_CLOB DATAFILE 'BLUE_K512_CLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 512K SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M004_BLOB DATAFILE 'BLUE_M004_BLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 4M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M064_CLOB DATAFILE 'BLUE_M064_CLOB01.DBF' SIZE 400M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M008_NTAB DATAFILE 'BLUE_M008_NTAB01.DBF' SIZE 200M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 8M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M001_NTAB DATAFILE 'BLUE_M001_NTAB01.DBF' SIZE 100M REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M SEGMENT SPACE MANAGEMENT AUTO;
    CREATE TABLESPACE BLUE_M256_NTAB DATAFILE 'BLUE_M256_NTAB01.DBF' SIZE 512M REUSE AUTOEXTEND ON NEXT 256M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256M SEGMENT SPACE MANAGEMENT AUTO;
    Does this structure of tablespaces ok? I mean if the logic of one tablespace for different EXTENT SIZEs looks ok?

  • Master in Oracle and explicit tablespaces

    Hi All - I'm curious if anyone has installed Tidal 6.1.x without explicitly defining tablespaces.  The DBA's don't define tablespaces as "Oracle has managed tablespaces for the last 4 versions."
    I can update the upd.xml file for the Master database, but I'm wondering about how to handle the ClientManager cache since Tidal builds tables, views and indexes there dynamically.
    Thanks for any feedback!
    Michelle Morris            

    Hi,
    You can extract items without List Price , but that item will get extracted to iProcurement without a price then you wont be able to enter a price while creating and approving a requisition.
    Steps to Tie to ASL and BPA
    1. Create the item in Item Master
    2. Purchasing Attributes setup completed (Also ensure PO Item Category is set)
    3. Create ASL for the item in the ASL screen (Ensure its for child org / it has a site )
    4. Go and create a BPA for the above supplier and site along with the item in the line details
    5. Run Extractor program for classifications and items
    6. Go to iProc and query for the item in Categories -- U should be able to view the same with the price as entered in BPA
    Regards,
    Sanjam

  • Data Class in ABAP dictionary

    hi,
       recently we moved the tables from tablespace PSAPBTAD to user defined tablespace & since than we have poor performance in PROD - have any one had this issue before ? any idea on data class and tablespace ?
    thanks

    I doubt data class affects performance.  It definitely affect upgrades and support packs so you'll want to confirm that every table you reorged is assigned the data class associated with its current tablespace, otherwise you can lose data.
    It could be a lot of things affecting the performance.  Maybe the reorg tool added too many small extents to the tables which is a problem only if you're not on SAN and if the tablespaces are DTMS. But I'd start with disk stats.   Take a look and see if you've got hot spots, it's the first thing I'd check.
    Oh, and how about database statistics, did you re-calc after the reorgs? It's essential.

  • SQL Server 7.0 = Oracle 8i

    I wanted to confirm whether Migration Workbench creates Oracle
    database while migrating. I have precreated database, but in
    Oracle Model database name is shows as the same as SQL Server
    database name. How can we use the existing database while
    migrating?
    Thanks
    Vijay
    null

    Thanks John..
    Other problem I am facing is, I am not able to find any other
    tablespace in user configuration screen. Only application (eg.
    pubs) created tablespace display in default and temporary
    tablespace. How can I change the default and temporary tablespace
    definition in oracle model. I know we can change this thru sql
    commands. But I am interested to whether its possible thru
    workbench.
    vijay
    Oracle Migration Workbench Team wrote:
    : Hi Vijay,
    : The name you see in the Oracle Model is a 'Tablespace' name. We
    : migrate a SQL Server database to an Oracle Tablespace.
    : The Migration Workbench will try to add this tablespace to your
    : precreated database.
    : If you want to use just your pre-created oracle database, then
    : create a tablespace in that database (with your own file sizes
    : and locations 'create tablespace') and call it the same name as
    : the tablespace in the Oracle Model.
    : When the migrate wizard executes it will try to create the
    : tablespace, but since you have pre-created the tablespace an
    : error will appear. You can ignore this error and all objects
    will
    : go into your pre-defined tablespace.
    : example:-
    : SQL Server database name= pubs
    : Oracle Model tablespace name = pubs
    : The following is the syntax that the workbench tries to execute
    : CREATE TABLESPACE pubs
    : DATAFILE 'c:\temp\jm.dbf' SIZE 20M
    : You can try and execute your own syntax before a migrate is
    : started. Once the migrate commences you will get an error
    saying
    : that the tablespace already exists. Ignore this error and all
    the
    : objects that were members of the SQL Server pubs database will
    : now be members of the Oracle pubs tablespace.
    : Regards
    : John
    : Vijay (guest) wrote:
    : : I wanted to confirm whether Migration Workbench creates
    Oracle
    : : database while migrating. I have precreated database, but in
    : : Oracle Model database name is shows as the same as SQL Server
    : : database name. How can we use the existing database while
    : : migrating?
    : : Thanks
    : : Vijay
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • Questions related SQL Developer Data Modeling

    1) Is it possible to import ERwin 3.5.2 version(called as Platinum Erwin) erx file to SQl developer data
    modeling tool?
    2) When this tool going to be released as a standalone Product?
    3) One of our requirements is calculating Table and Database size from Data model tool(as a volumetric
    report). Is it possible in this tool?. Also i couldn't able to define storage properties(like Tablespace).

    I have also replied to you in the feedback application where you logged your query. I have added my response here for others who may be interested.
    1)We currently only support import from ERwin 4.x
    2) It is company policy not to disclose release dates. We plant to release in 2009.
    3) You can define Tablespace using the Physical model. Expand the Relational node and then the physical model. The two nodes you can use for your tablespaces are the Tablespaces and Segment Templates nodes.
    Regards
    Sue Harper

  • Index allocation is missing when creating new index

    Hi,
    By trying to move away from TOAD I have installed SQL Developer (.
    Now, I noticed, that there is no way to define tablespace allocation for index when creating it via SQL Developer. Is this correct?
    Thanks
    OS: Windows XP
    Oracle: 10g R2
    SQL Developer: 1.1.0.23

    You're right. Also editing an existing index, the dialog doesn't display the current values, it just defaults out.
    K.

  • Basic Oracle Concepts

    Hi everyone,
    I am confused about the following basic concepts in Oracle : Database, Schema, User, Tablespace.
    What I think so far :
    -> A Database is an Oracle server service a SQLPlus session can connect onto. Hence, the Database (service) name must be provided in the connection string in the first SQLPlus dialog window.
    -> A Schema is linked to one and only one user. A Schema contains "database objects" such as tables and indexes. Schemas are not necessary in a Database.
    -> A User is linked to one or zero schema. He only has access to its own schema.
    -> A tablespace is included in a schema and can be considered as a logic organisation unit. It contains "database objects" such as tables and indexes.
    On which points am I right ? Please let me know why. I do not want to continue working on Oracle "databases" without knowing exactly the meaning of these basic concepts.

    Technically,
    A database is a collection of data files.
    An instance is a collection of processes and memory structures that you connect to. An instance accesses a database. Normally, there is a 1:1 relationship between an instance and a database but with RAC (real application clusters), you can have instances on multiple different servers accessing a single database on a shared SAN.
    A schema is a collection of objects owned by a user. A user is an account that can log in to a database (via an instance that has mounted the database). You can get into a bit of a semantic argument about whether a normal database user that doesn't own any objects has a schema. Many tools will suppress empty schemas from their GUIs to make navigating easier for the case where you have a database that has hundreds of users of which only a handful own objects. I'd generally prefer to say that the schemas exist but are empty. If you get into enterprise users, however, you'll have users that aren't owned by the database who have a shared schema. But that's a pretty sophisticated distinction to make.
    A tablespace is a logical collection of data files. A database contains many tablespaces (user-defined tablespaces in addition to tablespaces like UNDO, TEMP, SYSTEM, and SYSAUX that are created by default). A database also contains many schemas and many users (user-defined in addition to users and schemas like SYS and SYSTEM that are created automatically).
    All objects exist in 1 schema. An object can exist in multiple tablespaces if it is partitioned but each object would normally reside in a single tablespace. A single schema can own objects in multiple tablespaces. And a tablespace can have objects owned by multiple schemas.
    Justin

  • What exactly makes up the 4gb limit in XE

    In regard to the Oracle 4GB limit, what exactly is this limit?
    Is this the total size of the datafiles of the user defined tablespaces (excluding SYSTEM and UNDO) so if, for example, we have a 2.8Gb datafile, can we only add another 1.2Gb datafile.
    or is it the total size of extents/segments in the user defined tablespace i.e. if we have a 2.8Gb datafile but the database data comes to only 1.7Gb, can we add another tablespace with a new 2.8Gb datafile to allow for another 1.7Gb schema.
    Any clarification would be appreciated.

    Why not use the Search function of this forum? Just pick the 2nd Re: 10g Xe  4Gb data size limit which should answer your question.
    C.

  • Omptimizer statastics !!

    Hi,
    Source db : HP Unix with db 10.2.0.3 ( Enterprise Edition )
    Target db : HP Unix with db 11.2.0.3 ( Enterprise Edition )
    We are moving to new server , and i used oracle datapump to move user defined tablespaces. So i have 1 small question, i did NOT exclude statistics while doing export or import. Do you think i should exclude them & generate statistics on 11g system from scratch considering db version is diff. ? or it doesn't really matter ?
    What is the general recommendations regarding statistics in this scenario ? Sorry i am still trying to learn performance related stuff at a bit slow and steady pace.
    -Learner   

    learner1 wrote:
    Hi,
    Hardware is pretty diff. , old hardware was purchased 10 + years back. Old hardware was HP Unix RISC based and the new hardware is HP Unix Itanium.
    This is going to be our new test server. Correct me if i am wrong, i can always get stats from old server and if i am not happy with the performance , using inbuilt dbms package, i can drop existing stats and recreate from scratch for 11g ?
    -Learner
    You are correct.
    Default DB behavior is that Oracle collects statistics  once every 24 hours.

  • How to define a quota for a tablespace?

    I am having a problem creating users with Data Modeler. I can specify the user's default tablespace, but I can't figure out how to add the "QUOTA ... ON ..." clause. Yes, I can edit the DDL exported manually, but I would like to no need to remember to do that...
    Mike...
    Edited by: 896516 on Nov 10, 2011 1:05 PM

    Hi Mike,
    If you expand the node in the Browser tree for the User, a Quotas node appears. Adding Quota objects here allow you to define quotas for specific Tablespaces, which will be generated as QUOTA ... ON clauses in the generated DDL.
    David

  • Improperly defined default or temporary tablespaces

    Using a SQL script, how do you list users with an improperly defined default or temporary tablespaces by querying the data dictionary and showing only the exceptions? Thanks.

    Hi,
    ...improperly...What did you mean by improperly tbs ?
    SQL> select username,user_id, DEFAULT_TABLESPACE, TEMPORARY_TABLESPACE from dba_users;
    USERNAME                          USER_ID DEFAULT_TABLESPACE
    TEMPORARY_TABLESPACE
    H89UCBAC                               24 PSDEFAULT
    PSTEMP
    PEOPLE                                 25 PSDEFAULT
    PSTEMP
    ...Nicolas.

  • Oracle 10g - Defining the column name in Non English

    Hi Experts,
    I have an exisitng application which is developed on Windows using ASP Technology and uses Oracle 10g 10.1.0.2.0.
    The application is supported with an instance of Data Base within which multiple tablespaces are created for different clients. The application is developed in such a way that some of the tables arecreated dynamically and the columns are named using the data entered through the UI.
    This application needs to be globalized now. The problem is, the column name entered through the UI can be in any language based on the client's settings and those values in turn will be used for naming the columns in the tables.
    1) Can I have the column names to be named using non english characters in Oracle 10g DB? If so,
    1.1) what should I do to configure the exisiting Oracle instance to support it?
    1.2) To what level is that configuration possible, is it per DB instance level (or) can it be done at Tablespace level. I would like to configure each tablespace to host tables with columns defined with different languages, say for example, tablespace 1 will have tables with Japaenese column names and tablespace 2 will have tables with German column names?
    2) What should I do to make my entire DB to support unicode data i.e., to accept any language strings. Currently all strings are declared as VarChar2, should I change all VarChar2 to NVarChar2 (or) is there a way to retain the VarChar2 as is and make some database wide setting?
    Please note that I do not have an option of retaining the column in English as per the Business Requirement.
    Envionment:
    OS - Windows 2003 32 bit
    Oracle 10g 10.1.0.2.0
    UI forms in ASP
    TIA,
    Prem

    1. Yes, you can.
    SQL> create table ÜÝÞ( ßàá number(10));
    Table created.
    SQL> insert into ÜÝÞ values (10);
    1 row created.1.1 and 1.2 and 2. You can choose UTF as your default character set. It allows the user of non-English characters in VARCHAR columns in your whole database. It is not per tablespace.
    SQL> create table ÜÝÞ( ßàá varchar2(100));
    Table created.
    SQL> insert into ÜÝÞ values ('âãäçìé');
    1 row created.

  • How to define Composite primary key for a Table

    Hi ,
    I am basically more into Java Programming , with little bit knowledge on Oracle as DataBase .so please excuse for my silly doubts .
    Can anybody please tell me how to define a Composite Primary Key on a Table .
    Thanks in advance .
    Edited by: user672373773 on Sep 25, 2009 8:54 AM

    Here is an example right out of the Oracle documentation and the syntax for adding PK since you mention adding a composite PK.
    Example creating composite index
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_indexing.htm#sthref594
    Syntax for adding a PK (composite or not)
    alter table oooooooo.tttttttt
    add constraint tttttttt_PK
    primary key (sample_column2,
    sample_column1)
    using index
    tablespace IDXSPC
    pctfree 05
    initrans 04
    maxtrans 08
    storage (initial 16k
    next 16k
    maxextents 32
    pctincrease 0);
    -- dictionary management with restricted storage, change as desired.
    HTH -- Mark D Powell --

Maybe you are looking for

  • Relationship between logical system and a client

    Hi, Our internal notes say that, in order to create a new client, I must do the following: 1. Create a logical system using BD54. The client name must be SID + "CLNT" + number. In my case, this would be NSPCLNT100. 2. Create a client using SCC4. Ques

  • There were errors installing the software

    Mac Mini G4 1.25GHz / 512MB / 40GB / Combo / Modem. Ser: YM6***TAB <Edited by Moderator: Personal Info - Please See Terms of Use> Originally Mum's Mini was "doing strange things", so I had to drive 150 miles to try to sort it out. First I downloaded

  • Automatic conversions...A Bug? or just a feature(How to turn it off?)

    I Using TS 3.0(.0.12373) I seem to have stubbled over a annoying 'feature' which I can't turn off...Any one got ant ideas....... Every sequence file I load(eg from the \examples\) when When loaded the '*' appears next to the file name indicating a ch

  • I would like to downgrade my 4s i do not like ios7.02

    i would  like  to downgrade i would like to downgrade my 4s i do not like ios7.02 i have nothing but trouble with this 7.02

  • AppleShowAllFiles command not working on multiple Macs running 10.6.6

    I needed to restore a Time Machine cookie from a Mac and no matter what I could not display hidden files in finder (Therefore making cookie restoration a severe pain). The commands seem to no longer function properly in 10.6.6. I even tried the older