Tablespaces : 2 Questions

hello,
im a informatik student from hamburg,
we have the course databasedesign with focus on oracle dbms.
in the past i worked 2 years a bit at oracle 8i and 9i databases as administrator, therfor i have some little konwledge.
our professor told us:
1.
oracle recommend that a tablespace shoudnt greater than 10 gb, i ask him if he mean that the tablespace files shouldnt be greate, he told me that he means the real tablespace, not the tablespace files.
2.
my professor also told us that we can create a single table over more than 1 tablespace, i never heard something about that option. i asked him and he told me he never did it but it shoud really be possible, mybe create table option.
at both pionts i never heard about it, and at my search at the internet i dindt found some relevant information.
maybe i get some answers at this forum :o)
thanks
Andreas

Hi,
Oracle 10g now supports Bigfile Tablespace whcih can contain even very big datafile. See the following abstract from Oracle Document:
Bigfile Tablespaces
A bigfile tablespace is a tablespace with a single, but very large (up to 4G blocks) datafile. Traditional smallfile tablespaces, in contrast, can contain multiple datafiles, but the files cannot be as large. The benefits of bigfile tablespaces are the following:
A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile. A bigfile tablespace with 32K blocks can contain a 128 terabyte datafile. The maximum number of datafiles in an Oracle Database is limited (usually to 64K files). Therefore, bigfile tablespaces can significantly enhance the storage capacity of an Oracle Database.
Bigfile tablespaces can reduce the number of datafiles needed for a database. An additional benefit is that the DB_FILES initialization parameter and MAXDATAFILES parameter of the CREATE DATABASE and CREATE CONTROLFILE statements can be adjusted to reduce the amount of SGA space required for datafile information and the size of the control file.
Bigfile tablespaces simplify database management by providing datafile transparency. SQL syntax for the ALTER TABLESPACE statement lets you perform operations on tablespaces, rather than the underlying individual datafiles.
Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management, with three exceptions: locally managed undo tablespaces, temporary tablespaces, and the SYSTEM tablespace can be bigfile tablespaces even if their segments are manually managed.

Similar Messages

  • Oracle8 Tablespace backup question

    [Sorry for posting in this "8iLite" forum. I couldn't seem to locate a better forum.]
    When I perform a hot OS tablespace backup in Oracle8, I know to perform the ALTER TABLESPACE <TS_NAME> BEGIN BACKUP command. And I also know that this command checkpoints the tablespace's datafiles.
    Question 1 of 2: Do I have to wait until the checkpoint is complete for a particular datafile until I can begin the OS file-copy?
    Question 2 of 2: If so, what Oracle8 view can I use to ascertain when the checkpoint is finished for each of the datafiles in the tablespace being backed up.
    Thanks!
    null

    [Sorry for posting in this "8iLite" forum. I couldn't seem to locate a better forum.]
    When I perform a hot OS tablespace backup in Oracle8, I know to perform the ALTER TABLESPACE <TS_NAME> BEGIN BACKUP command. And I also know that this command checkpoints the tablespace's datafiles.
    Question 1 of 2: Do I have to wait until the checkpoint is complete for a particular datafile until I can begin the OS file-copy?
    Question 2 of 2: If so, what Oracle8 view can I use to ascertain when the checkpoint is finished for each of the datafiles in the tablespace being backed up.
    Thanks!
    null

  • Undo Tablespace - newbie question

    Q1. Is an Undo Tablespace mandatory in a database ? I thought the only mandatories were SYSTEM, SYSAUX and TEMP ?
    Q2. What happens if you do not have an Undo Tablespace ?
    Q2. How does an Undo Tablespace relate to Undo / Rollback Segments in a database ?

    >
    Just to give simple, one-liner replies though its all covered in the doc link given by Helios,
    Q1. Is an Undo Tablespace mandatory in a database ? I thought the only mandatories were SYSTEM, SYSAUX and TEMP ?Yes, it is a mandatory tablespace loss of which would be requiring you to do a closed database recovery.
    Q2. What happens if you do not have an Undo Tablespace ?The system tablespace's Undo segment would be used. But that's a bad idea and you should have one .
    Q2. How does an Undo Tablespace relate to Undo / Rollback Segments in a database ?Because Undo segments are no where else but within the Undo tablespace only.
    HTH
    Aman....

  • Autoextend tablespace query question

    I set my regular tablespace datafile to autoextend the next 400 meg up until 1 gig. What query can I use to see what these two values are when I know a datafile is set to be autoextend, but I also want to know what the next and max values were set to when that dba set that datafile to be autoextend. I know this time because I know I ran the alter database datafile autoextend command with next 400 and maxsize 1 gig, but what if I didn't know that?
    What is the query?
    Thanks,
    --Justin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    SQL> desc dba_data_files
    Name                            Null?    Type
    FILE_NAME                             VARCHAR2(513)
    FILE_ID                             NUMBER
    TABLESPACE_NAME                        VARCHAR2(30)
    BYTES                                  NUMBER
    BLOCKS                              NUMBER
    STATUS                              VARCHAR2(9)
    RELATIVE_FNO                             NUMBER
    AUTOEXTENSIBLE                         VARCHAR2(3)
    MAXBYTES                             NUMBER
    MAXBLOCKS                             NUMBER
    INCREMENT_BY                             NUMBER
    USER_BYTES                             NUMBER
    USER_BLOCKS                             NUMBER
    ONLINE_STATUS                             VARCHAR2(7)

  • Exchange Partition and ORA-01950  no privileges on tablespace

    I am getting an ORA-01950 error on exchanging a partition. The user that is being used has been granted 'Unlimited Tablespace' privilege. I can create tables with the user in question in the tablespace in question but the exchange fails with the 1950 error.
    Anyone have any thoughts?

    No it is not. However the user has select, insert,update and delete on all tables in the schema. Not even SYSTEM can perform this without the same error

  • Hyperion Planning tablespace

    Hi,
    Anyone know how planning application utilize a tablespace.
    What we found is we have multiple planning application, which use one user schema for each.
    However, all of the schema are using one tablespace. Our DBA think it is not correct as each
    schema should have a separate tablespace.
    Questions:
    1. Is it ok to change the tablespace for Planning application? Any negative impace on this?
    2. When the application is created, why all of them pointing to the same tablespace, even though
    each user schema has been granted with each own tablespace?
    3. We have moved the tablespace for some of the application, it appear that something is not
    right for Copy Data. We get the following message MSG_COPY_DATA_OPTIONS_FAILED: An error occurred while running the specified calc script. Check the log for details.
    Any idea what to check? There is no logs captured in the Essbase logs. Then the data copy is executed from Planning application, it come up with the following message
    first: Copy Data execution time has exceeded the maximum configured wait time. Copy Data will now be executed in the background. To check Copy Data execution status, open the Job Console page. From Job console, the above message appear.
    Thanks,
    Lian

    Thanks John for your quick response.
    Yes, I have performed a clean install and then going for upgrading the existing Planning Application.
    The Application owner in both the source and target Applications is a native user named hypadmin (not the default admin user). Do you want me to change the owner to default admin user, or the user hypadmin is ok to go with?
    Please advise.
    Also, is there any specific order I need to follow for migrating the below components?
    1. Shared Services Security
    2. HBRs to Calc Manger Rules
    3. Existing Planning Application Upgrade

  • OMWB Create tablespace...

    I am migrating from Informix to Oracle !0g using OMWB and the following 'Create Tablespace' statements have been generated by the OMWB in the Create.sql script.
    I wish to migrate to tablespace SYSAUX which already exisits in the Oracle 10g schema.
    Can I replace the OMWB 'Create Tablespace' statements shown below i.e DBS1, DBS2, ROOTDBS and migrate to exxisting tablespace SYSAUX.
    If so can you suggest what the complete statement should be.
    Also could you explain the terms of the Create tablespace statements below i.e logging datafile, reuse, autoextend on next 5M maxsize unlimited etc. why does it start at DBS10.dbf etc
    REM
    REM Start Tablespaces
    REM
    REM
    REM Message : Created tablespace :DBS1
    REM User : mobs
    CONNECT mobs/abc123
    CREATE TABLESPACE DBS1 LOGGING DATAFILE 'DBS10.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS11.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS12.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS13.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS14.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS15.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS16.dbf' SIZE 582M REUSE AUTOEXTEND
    ON NEXT 5M MAXSIZE UNLIMITED
    REM
    REM Message : Created tablespace :DBS2
    REM User : mobs
    CREATE TABLESPACE DBS2 LOGGING DATAFILE 'DBS20.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS21.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS22.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS23.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS24.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'DBS25.dbf' SIZE 485M REUSE AUTOEXTEND
    ON NEXT 5M MAXSIZE UNLIMITED
    REM
    REM Message : Created tablespace :ROOTDBS
    REM User : mobs
    CREATE TABLESPACE ROOTDBS LOGGING DATAFILE 'ROOTDBS0.dbf' SIZE 2000M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED,'ROOTDBS1.dbf' SIZE 97M REUSE
    AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED
    REM
    REM End Tablespaces
    REM

    These questions have now been answered on the Oracle Database - General forum

  • Specify tablespace when creating Oracle tables?

    I am migrating from MS SQLServer 6.5 to Oracle 9.0.1.2. Whenever I run the OMWB process to load the table data into the destination Oracle database, OMWB creates a tablespace named after my SQLServer database name. This is fine; however, the datafile always ends up in the ORACLE_HOME/dbs directory. Even if I use OMFs, it still creates the datafile for this tablespace in ORACLE_HOME/dbs. Is there any way to specify the tablespace and/or user?
    NOTE: OMWB is executed on NT 4.0. Oracle repository and destination database is on Solaris 2.6. I don't think those facts matter for this question, but I want to specify because the O/S field above only allows for one selection.
    Thanks!

    Reid,
    if you expand the tablespace folder in the Oracle Model UI and select the tablespace in question you will note that on the
    right-hand-side of the Migration Workbench UI a property pane appears with a General and Storage tab. On the General
    tab you will see a list box with column headings including File Name and File Directory. If you select the tablespace name
    under the File Name column, you will note that you can change the name of the tablespace file. If you select the File Directory
    column for the tablespace in question, you will be able to specify a destination directory for the dbf file. If you use this method
    then please remember to choose the Apply button at the bottom of the property pane to save any changes you might make.
    Note that you can also rename the Tablespace itself by selecting the tablespace in question from the Tablespaces folder
    and choosing Object-Rename from the menu - then simply type in your preferred name.
    An alternative is to use the Tablespace discoverer option which can be found under the Tools menu in the Migration Workbench.
    This enables you to use the tablespaces currently available in an existing Oracle 8i or 9i database.
    I hope this helps,
    Regards,
    Tom - Team OMWB.

  • Can an ODSs DB Tablespace Assignment be Changed AFTER Activation.

    Is it possible to change the DB Tablespace Assignment for an ODS once that ODS has been activated and data loaded to it ?  I know this can be done for an InfoCube.  I realize that all previously loaded data would have to be deleted, and then reloaded after the reassignment.
    Thanks for your input !

    We have some of our large ODS's in separate tablespaces.  The creation predates my involvement so I'm not sure whether they were created in a separate tablespace originally or not.  I would doubt they were just because I don' think during the originally setup, anyone had an idea of data volumes for any particular ODS to have made the decision to put it in a separate tablespace.  
    The DBAs should be able to move the table to the new tablespace.  Question is what needs to happen on the SAP DDIC side.  You need to be able to change the tablespace settings for the ODS but not cause any sort of impact to the table.
    When I get back to the office I'll check a few things.
    Message was edited by: Pizzaman
    BR*SPACE should allow you to move the reorg the table to another tablespace.  SAPDBA for older systems.
    http://oraclesvca2.oracle.com/owsf_2003/40041_Klokkers.ppt
    SE14 allows you to change the Technical Settings for the tablespace - won't alter the space, but will allow you to make sure the SAP DDIC settings agree with where the table actually is.

  • Smallfile or Bigfile tablespace?

    Hi!
    Smallfile or Bigfile tablespace?
    I have 5TB DB(RAC 2 node) with bigfile + smallfile tablespace's.
    I want create tablespace, but I don't know how can I choose type of tablespace?
    I find some tips:
    1.Using BIGFILE tablespaces on platforms that do not support large file sizes is not recommended : it limits tablespace capacity.
    2.The fact that only one data file is attached to a tablespace makes it easier to manage: the tablespace becomes the unit of administration.
    3.Maximum Datafile Size Limit In an Oracle Database.
    4.Restore operation quicklier on smallfile than bigfile.
    5.Bigfile tablespaces should be striped so that parallel operations are not adversely affected. Oracle expects bigfile tablespace to be used with Automatic Storage Management (ASM) or other logical volume managers that support striping or RAID.
    6.Avoid using bigfile tablespaces if there could possibly be no free space available on a disk group, and the only way to extend a tablespace is to add a new datafile on a different disk group.
    7.Bigfile tablespaces should be used with automatic storage management, or other logical volume managers that support dynamically extensible logical volumes, striping and RAID.
    Sorry, if I repeat this global topic.
    But, do you have more arguments to use bigfile tablespace?

    duplicated post :
    Bigfile or smallfile tablespace?
    Question about BIGFILE vs SMALLFILE
    and:
    http://www.databasejournal.com/features/oracle/article.php/3646226/Bigfile-Type-Tablespaces-versus-Smallfile-Type.htm
    Edited by: Fran on 13-mar-2012 2:06

  • Table space not reduce after delete in oracle 11G

    Hi Team,
    I have a DB 11.1.0.7 on unix.
    I have execute delete tables on tablespace, but this not reduce.
    Thanks

    935299 wrote:
    What segment space management type is defined for the tablespace in question?
    MANUAL
    Then you should check out the documentation some more.
    But even if you shrink the table segement what is that going to do for the data file size?
    I don't undertand you.
    ThanksYour thread is titled "Table space not reduce after delete in oracle 11G" which implies to me that you are interested in reducing the size of a tablespace (which really means reducing the size of the underlying datafile(s)).
    So, if you shrink the size of the sys.aud$ table, will that cause the datafile(s) to become smaller? Will it accomplish your goal? What else, if anything, needs to happen?

  • Messages struck in Queue

    Hi ,
    I am doing a IDoc to JDBC scenarios ,the number of IDoc hitting XI is huges.Most of them pass XI successfully and create records in XI.But some of them get stuck in Queue.I can see them in SMQ2.When I check them they are struck there with the error "SQL error in the database when accessing a table".I when through other thread with the same error.It was suggested to increase the tablespace.My question is which tablespace to increase ,is it the DB tablespace or the XI tablespace?I am using SQL Server as the DB.I was told that there is no tablespace concept in SQL Server.So,does it mean that I need to increase the table space of XI ,if so how to do that?
    Thanks,
    Venu

    hi,
    Kindly check this [http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a71c8505211d189550000e829fbbd/content.htm]

  • Oracle 10.2.0.3.0 - impdp - Unusable index exists on unique/primary ...

    Hi All,
    Oracle 10.2.0.3.0 - during impdp the following failure appears:
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ORA-39083: Object type CONSTRAINT failed to create with error:
    ORA-14063: Unusable index exists on unique/primary constraint key
    Failing sql is:
    ALTER TABLE "MY_SCHEMA"."MY_TABLE" ADD CONSTRAINT "MY_TABLE_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "MY_TBS"
    Question:
    The dump file doesn't contain index tree, and impdp should just create index(es) as it appears in the metadata information.
    So what's the point to flush this error?

    Yes, the index is appearing on the dba_indexes table, however its state is 'UNUSABLE'.
    It looks impdp takes its state from origin metadata, puts into destination, and even is not trying to rebuild it.
    Of course, after running ALTER INDEX REBUILD its status was changed to VALID.
    So, what's the point impdp tells about its state? It can be hundreds of unusable indexes, why it's not just rebuilding it?

  • Explain plan not available in dba studio

    Hi, guys,
    Why the explain plan not available in my dba studio with a message like this "explain plan not available for this sql statement. ora-02195: attempt to create permanent object in a temporary tablespace"
    Another question: I can use "set autotrace on" to trace sql statement in sql*plus window. But the final execution plan come up without those thing like cost, cardinality but only the steps
    Thanks for your help
    jim

    Was this a trace started on an already running task? Was the trace stopped before the task completed? Did the trace file reach its set size limit before the task compled?
    In all three cases above you would have cursors that were not closed and stats information not written to the trace file resulting in incomplete data for some SQL.
    HTH -- Mark D Powell --

  • Veritas Oracle Backup Failure "NEWFS_MAX_SERVER_CONNECTIONS"

    I am fairly new at Oracle administration so bear with me. We
    have been using Veritas Backup Exec (BE) 7.30 and the Oracle
    agent to backup an Oracle 8.1.5 db. This occurs nightly and has
    been successful for quite some time. In the last few days,
    however, the backup job has failed with the following message:
    "Unable to attach to ORACLE_ACME/XYZ.
    NEWFS_MAX_SERVER_CONNECTIONS"
    (where ACME is the server name and XYZ is the SID name)
    Veritas has a technote for this error and the solution listed
    is "This error will occur if a backup job of an Oracle database
    is initiated while the database is already in backup mode".
    I did note in review of the xyzalrt.log that the following
    commands are normally issued during the backup:
    ALTER TABLESPACE XYZ BEGIN BACKUP
    COMPLETED.<snip>..
    ALTER TABLESPACE XYZ END BACKUP
    COMPLETED..
    However the day this started happening the "end backup" command
    never showed up in the alrt.log for the tablespace in question.
    I could not figure out how to tell from my Oracle tools if the
    database was truly "in backup mode". I therefore issued a sql
    sommand "alter tablespace xyz end backup" which was processed.
    However I then attempted a test backup with BE and got the same
    error again. Any help would be appreciated.

    Does "newfs_max_server_connections" error will come from oracle
    or veritas.
    I have two backup jobs one for data tablespaces and another for
    index tablespaces, I think there should be any problem if i run
    these backup at a same. But when I am running same time I get
    the error
    "NEWFS_MAX_SERVER_CONNECTIONS"

Maybe you are looking for

  • The partner application configuration is missing

    Trying to login to portal with portal30 leads to 'The partner application configuration is missing or expired. Please contact the administrator. (WWC-41653)' Please advise db 8.1.7 portal 3.0.9 apserver 1.0.2.1 Thank you Anatoliy Smirnov

  • Firefox 6.0.2 keeps locking up on us.

    It locks up approximately every 10-15 minutes, and will stay locked up for about 20-30 seconds each time. It says "not responding". It only happened once we got to 6.0. We tried rolling back to 5.0 with no luck. What's going on? We looked online, and

  • Import multiple PST files for a single user into archive mailbox is failing

    Most of our users that have PST files have between 2 and 10 separate PST files named by either subject or year. I am trying to find a way to automate using New-MailboxImportRequest to import ALL of the psts found within a user's shared folder. I foun

  • Videos from 5g ipod nano to apple tv

    I have taken some videos from my 5th gen. ipod nano. They were uploaded into iphoto. In Apple TV I checked the box under the photo tab, which lists the videos; and I sync. But nothing gets gets synced. There is no error message, nothing gets transfer

  • Mailbox Behaviors - Deleting Messages

    This is a simple question. And I'm fairly confident that I already have the answer, but I just wanted some clarification. Do the options in the Mailbox Behaviors section of the Accounts tab refer to messages (and attachments) stored locally on my har