Can segment spread across tablespace?

can segment spread across tablespace?
I guess not cuz segement derive from extent, right?
please elaborate?
thanks

A segment is created in a tablespace and can only remain (i.e. allocate extents) within the same tablespace. It cannot span to another tablespace. The extents allocated may be on different datafiles in the same tablespace.
A table with multiple partitions may have each partition in a different tablespace because each partition is a seperate segment. Partitioned indexes also can be managed likewise.
A LOBSEGMENT for a LOB column of a table can be created in a tablespace different from the table itself.
Hemant K Chitale
http://hemantoracledba.blogspot.com

Similar Messages

  • Material for a single project spread across different locations

    Dear Friends
    my client is executinig trun key projects. One single project may be spread across different geographical locations. Say Project name is "PRJ001".
    PRJ001 will be executed in Bombay, Hyderabad, Chennai.
    There are 2 scenarios for procuring materail:
    1. Since my these places are quite far away, I might procure material from a venodr near to these locations.
    2. I might give PO to one single vendor to dispatch material to these different locations for project execution.
    In the both the cases, how to handle material?
    What will be best option? Should I create a storage location (my client stores material @ site as these projects run for years)?
    I'm procurial material as Project Stock (Q).
    Say Bomaby location needs 500 no. of material, Hyderabad location needs 700 no. of material, Chennai location needs 300 no. of material.
    Now how do I ensure that the right material with right quantity is reaching respective project site?
    In some cases, project runs in remote location. Where there won't be any connectivity/ access to system. In such cases, if the site engineer enters GR/ IR & activity confirmation in excel sheet & later on sends an e-mail with this excel sheet to the office. How can we upload it to the system so that it updates the required fields in the system?
    Please give your suggestions.
    I appreciate your support/suggestion .
    Thanks

    Hi Amaresh,
    I think your Option no. 01 holds good for your requirement. You can define the corresponding Project sites in Chennai, Mumbai and other places as Storage locations. Better define Seperate storage locations for different site locations.
    I think having a delivery schedule with the specific requirement quantities and the storage location should resolve your issue of handling different quantities for the same material. This you can discuss & sort it out with your MM consultant.
    Hope this gives some idea.
    Regards,
    L.Balachandar

  • Segment organization within tablespace

    Hi There,
    I was trying to organize objects within the tablespaces and moving things around when I got up to this:
    I needed to get rid of the PROD_T3 tablespace so I moved everything out of it apart from the below
    SQL> select owner,segment_name,segment_type, TABLESPACE_NAME,bytes/1024/1204 from dba_Segments where tablespace_name='PROD_T3' order by 3;
    OWNER                SEGMENT_NAME                   SEGMENT_TYPE       TABLESPACE_NAME                BYTES/1024/1204
    PROD                 PK_VOTER_REG_DOC               INDEX              PROD_T3                          122.471761
    PROD                 SYS_IL0000186869C00026$$       LOBINDEX           PROD_T3                          .053156146
    PROD                 SYS_LOB0000186869C00026$$      LOBSEGMENT         PROD_T3                          .053156146
    PROD                 PLAN_TABLE                     TABLE              PROD_T3                          .106312292
    PROD                 BIN$IEDOLJmsSj6isKTb5Z2cOQ==$0 TABLE              PROD_T3                          .053156146and so I started investigating each segment in the tablespace:
    SQL> select owner, index_name, table_name, tablespace_name, status from dba_indexes where index_name='PK_VOTER_REG_DOC';
    OWNER                INDEX_NAME                     TABLE_NAME                     TABLESPACE_NAME        STATUS
    PROD                 PK_VOTER_REG_DOC               VOTER_REG_DOC                  PROD_T3                VALID
    SQL> select owner, table_name, tablespace_name, status from dba_tables where table_name='VOTER_REG_DOC';
    OWNER                TABLE_NAME                     TABLESPACE_NAME                STATUS
    PROD                 VOTER_REG_DOC                                                 VALIDI'm a bit surprised form the above that there isn't a tablespace?!! I can describe the table and get a count for the number of rows in there:
    SQL> desc prod.VOTER_REG_DOC
    Name                                                                     Null?    Type
    VOTER_ID                                                           NOT NULL NUMBER(10)
    CARD_NO                                                              NOT NULL CHAR(9)
    SQL> select count(*) from prod.VOTER_REG_DOC;
      COUNT(*)
       3656468But when I look at dba_segments, I can't see it:
    SQL> select owner,segment_name, segment_type , tablespace_name from dba_segments where owner='PROD' and segment_name='VOTER_REG_DOC' order by 1,2
    no rows selected
    SQL>
    SQL> select owner,segment_name, segment_type , tablespace_name from dba_segments where owner='PROD' and segment_name like '%VOTER_REG%' order by 2,3;
    OWNER                SEGMENT_NAME                   SEGMENT_TYPE       TABLESPACE_NAME
    PROD                 PK_VOTER_REG_DOC               INDEX              PROD_T3
    SQL>Where am I going wrong with this? Also, I was surprised to see an object or a segment called "BIN$IEDOLJmsSj6isKTb5Z2cOQ==$0" ? I thought any BIN* would be sitting in DBA_RECYCLEBIN as the object(s) been deleted or am I wrong?
    Appreciate the help.
    Cheers

    >
    I believe you will find that you are looking at the definition entry for an index organized table.
    select IOT_TYPE from dba_tables where table_name = 'VOTER_REG_DOC'
    if it returns 'IOT' then that is what you have.
    >
    Bingo..
    SQL> select owner, IOT_TYPE from dba_tables where table_name = 'VOTER_REG_DOC';
    OWNER                IOT_TYPE
    PROD                 IOTNow that's that sorted; how about the BIN$ item? can I drop this item? How can go on about investigating it?
    SQL> r
      1* select owner,segment_name,segment_type, TABLESPACE_NAME,bytes/1024/1204 from dba_Segments where tablespace_name='PROD_T3' order
    by segment_type
    OWNER                SEGMENT_NAME                   SEGMENT_TYPE       TABLESPACE_NAME                BYTES/1024/1204
    PROD                 SYS_IL0000186869C00026$$       LOBINDEX           PROD_T3                          .053156146
    PROD                 SYS_LOB0000186869C00026$$      LOBSEGMENT         PROD_T3                          .053156146
    PROD                 PLAN_TABLE                     TABLE              PROD_T3                          .106312292
    PROD                 BIN$IEDOLJmsSj6isKTb5Z2cOQ==$0 TABLE              PROD_T3                          .053156146Edited by: rsar001 on Mar 19, 2010 1:37 PM

  • WebLogic domain spread across two machines

    Hi All,
    I have a weblogic domain that spreads across two machines. First machine hosts the Admin server, (BAM , SOA) managed servers and the second machine hosts the (APPs and FIN) managed servers. As you can see the managed servers hosts different applications and not related with clustering. I want to know in such a setup do we need to have separate weblogic installation on both first and second machines or just have WebLogic installation on the first machine and have the second machine reference the first's WL installation.
    What's the best practice.
    Regards

    I mean for a domain spread over two machines, I need to have weblogic installation on both machines and not just the one running admin server. I read somewhere WebLogic installations have 1 to N relation with domains. Seems like for a domain spread across two machines, two WL installations and two licences. Am I right?

  • Can I have a tablespace spanning different drives?

    Hi,
    I am on Oracle 8i (8.1.7). Can I have a tablespace which can store data in two different dbf files and both these directories reside in different drives?
    Even if it can be done, are there any performance issues in this?
    Thanks in advance
    Manu

    yes you can do. In fact, for data (tables) and index tablespaces it is recommended, for performance reasons. This is basically what RAID does, after all.
    Bear in mind that there are probably no performance benefits to striping several tablespaces across the same two drives.
    Regards, APC

  • How to convert MIDI to mono OR limit the spread across the speakers

    I recorded a MIDI Piano piece for a song I'm working on and it is spread across both speakers, the lows in the left and the higher frequencies in the right, the middles in the middle. This is quite annoying for mixing, is there anyway I can limit this to a mono track or control how much it spreads across the speakers (ideally only where I want it to)?

    Hi Glenn,
    you are mixing apples with oranges!
    The audio instrument track is MIDI not audio!
    cheers
    rob
    Hi, Rob,
    Yes, I realized that, but I still can't account for the little track meter registering something when I moved the Audio Instrument track over.
    Then go save up for Logic-Pro!
    Christian,
    Are you saying that Pro lets you collapse stereo instrument tracks into mono instrument tracks?
    Cheers,
    Glenn
    PS, think I've got it. Christian has the right idea. Go to 'Insert' choose Logic 'Helper,' choose 'Gain' and you will then be allowed to select 'mono.' I'm just playing around with a piano. In stereo, the bass is toward the left, the treble toward the right. Selecting 'mono' disables the stereo field of the instrument.
    Hope that helps,
    Cheers,
    Glenn

  • Manual segment space managed tablespaces , How tune?

    I use Manual segment space managed tablespaces.
    How I can tuning for high performance?
    What's advantage and disavantage of Manual segment space managed tablespaces and Auto segment space managed tablespaces?
    if I used more data.
    I'll use Auto or manual?
    Please introduce me.

    ASSM deal with freelist, freelist group(RAC) storage parameters. If you use ASSM you dont need to worry about adjusting freelist and group, oracle will automatically deal with it. If you are using manual storage segment management there would no problem unless you you see heavy buffer busy waits on your tables. You may also play with freelist value for tables which have concurrent inserts and access to avoid buffer busy waits.
    From oracle 9i Rel 2 onwards, you have segment level statistics to find out which segments causing more buffer busy waits and tune them accordingly. There are other meaning for buffer busy waits, check v$event_name for buffe busy waits and find out the reason code for the cause of buffer busy waits event.
    Jaffar

  • Green spreading across my screen

    Hi,
    My Moto X screen suddenly started turning green. First it was a bit in the corners and a few dots and now it's spreading across the screen. Nothing usual has happened to it. I don't think it's gotten wet. I may have dropped it, but it has a case.
    Any ideas what is going on or what I can do about it?
    Thanks

        What an odd situation,susansz28. I have not heard of the screen randomly turning green, but it may be best to have the local store perform a hands on evaluation just to make sure. If the drop did internal damage, it may be difficult to diagnose over the phone or via this forum.
    TamaraH_VZW
    Follow us on Twitter @VZWSupport

  • Difference Between Rollback Segments and UNDO Tablespace

    Hi guys,
    Can you tell difference between Rollabck segments and UNDO Tablespaces.
    I think that rollback Segemnts and UNDO tablespaces are similar both are used for storing before imags of data, which is going to be modified.
    but my question still both the rollback abck segments and UNDO tablespaces exists.
    why and what is the reason of both existing and at what time, we can use..them at which scenarios's
    Regards,
    Pavan Kumar N

    Undo segments in undo tablespaces, introduced in 9i, are the successor of rollback segments.
    They are automatically managed by Oracle.
    Rollback segments exist for reasons of backwards compatibility.
    That said, you should switch to undo segments and stop using rollback segments.
    Other than that: could you please avoid rehearsing the complete documentation in this forum?
    Sybrand Bakker
    Senior Oracle DBA

  • Can we create new tablespace in Oracle Database 10g Express Edition?

    Hi,
    Can we create new tablespace in Oracle Database 10g Express Edition instead of using the default "users" tablespace provided?
    Please advise.
    Thank you.

    Correct. The sum of all user tablespaces is not allowed to exceed 4 GIG.
    You could try shrinking your tablespaces. Theres a script called maxshrink on http://asktom.oracle.com which is useful for this.
    You could compress your tables.
    If you are storing lobs, you could consider storing them as bfiles.
    Or upgrade to Oracle Standard Edition 1. Its not that expensive.

  • How do you configure the DAM so it can be shared across multiple CQ instances?

    How do you configure the DAM so it can be shared across multiple CQ instances?

    You can use shared datastore http://dev.day.com/content/kb/home/Crx/CrxSystemAdministration/HowToCombineTheDatastoreToP reserveDiskSpace.html multiple CQ instance will use same file system to share asset
    clustering http://dev.day.com/docs/en/crx/current/administering/cluster.html multiple node will share repository.
    But you can not have something like one DAM and then have different CQ instance pointing to it (As not everything goes in to one location in file system)
    Yogesh

  • Can I recover some tablespace(only current tbs) - RMAN

    Hello, I have ang question about RMAN.
    If I have full backup database, and next time database is failed.
    Can I recover especially tablespace current data?
    this below is my step recovery but it's not pass.
    I'm not sure, this are correct or not.
    bash-2.05$ rman target / catalog user/password@rcat
    RMAN> set dbid=1707756540
    RMAN> startup nomount
    +RMAN> run{+
    +2> ALLocate channel ch00 type 'SBT_TAPE';+
    +3> Allocate channel ch01 type 'SBT_TAPE';+
    +4> SEND 'NB_ORA_CLIENT=holtuv1';+
    +5> SEND 'NB_ORA_SERV=holtbk11';+
    +6> SEND 'NB_ORA_POLICY=test_orabk_holtuv1';+
    +7> restore controlfile ;+
    +8> }+
    +RMAN> run{+
    +2> ALLocate channel ch00 type 'SBT_TAPE';+
    +3> Allocate channel ch01 type 'SBT_TAPE';+
    +4> SEND 'NB_ORA_CLIENT=holtuv1';+
    +5> SEND 'NB_ORA_SERV=holtbk11';+
    +6> SEND 'NB_ORA_POLICY=test_orabk_holtuv1';+
    +7> restore database skip tablespace 'PERFSTAT', 'YEAR2009';+
    +8> }+
    RMAN> alter database mount;
    +RMAN> run{+
    +2> ALLocate channel ch00 type 'SBT_TAPE';+
    +3> Allocate channel ch01 type 'SBT_TAPE';+
    +4> SEND 'NB_ORA_CLIENT=holtuv1';+
    +5> SEND 'NB_ORA_SERV=holtbk11';+
    +6> SEND 'NB_ORA_POLICY=test_orabk_holtuv1';+
    +7> recover database skip tablespace 'PERFSTAT', 'YEAR2009';+
    +8> }+
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 06/04/2010 15:30:41
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/data/db01/ORABK_ARCH/ORABK/archivelog/2010_06_03/o1_mf_1_5_60h9p9z0_.arc'
    ORA-00283: recovery session canceled due to errors
    ORA-16067: activation identifier mismatch in archive log /data/db01/ORABK_ARCH/ORABK/archivelog/2010_06_03/o1_mf_1_5_60h9p9z0_.arc
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 06/04/2010 15:41:43
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/data/db01/ORABK/perfstat.dbf'
    any sugess please.
    thank you
    Suradech

    M.Suradech wrote:
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 06/04/2010 15:41:43
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/data/db01/ORABK/perfstat.dbf'
    any sugess please.
    thank you
    SuradechHi Suradech.This error(ORA-01157,ORA-01110) because in controlfile remain information about of '/data/db01/ORABK/perfstat.dbf'.Due to you restored controlfile from backup.You have to re-create controlfile or you can open database without this datafile.(Also there is YEAR2009' tablespaces datafile).You can try following.
    1.
    sqlplus "/as sysdba"
    alter database datafile '/data/db01/ORABK/perfstat.dbf' offline drop;
    alter database open;or
    2.
    sqlplus "/as sysdba"
    alter database backup controlfile to trace as '/data/ctrl'; --then edit this file and remove  '/data/db01/ORABK/perfstat.dbf' line(also YEAR2009`s datafile)
    shutdown immediate;
    startup nomount;
    @/data/ctrl;
    alter database open resetlogs; also see following metalink note.
    How To Recover Database Where Backup Has Tablespace Excluded [ID 732627.1]
    Ora-01157 When Running Recover Database Skip Forever Tablespace Noredo [ID 561440.1]

  • Can I convert my tablespaces to dictionary managed if..?

    ...If my system tablespace is locally managed can I convert my tablespaces to dictionary managed? If yes, can you show me how?

    If you try to create or convert a tablespace to dictionary managed when the system tablespace is locally managed you will get this error:
    ORA-12913 Cannot create dictionary managed tablespace
    Cause: An attempt was made to create a dictionary managed tablespace in a database whose SYSTEM tablespace is locally managed.
    Action: Create a locally managed tablespace.
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Can you really delete tablespaces in offline/recovery 10gR2

    Guru's,
    I just migrated my 9.2.0.6 to 10.2.0.2 and in the process of moving my datafiles I messed up one of the names. I added the right datafile to the tablespace and the database started no problem. Now I have an extra datafile on the tablespace identified as offline needing recovery. I read that in 10gR2 you can delete datafiles from tablespaces so after mounting the database I ran -
    SQL> alter database datafile '/data/ordata/prod/.dbf' offline drop;
    Database altered.
    SQL> alter database open;
    Database altered.
    When I select name from v$datafile it's still there. Am I missing something?
    Thanks,
    Kirk

    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/dfiles.htm#i1006556
    You need to make the datafile online.
    Restrictions for Dropping Datafiles
    The following are restrictions for dropping datafiles and tempfiles:
    The database must be open.
    If a datafile is not empty, it cannot be dropped.
    If you must remove a datafile that is not empty and that cannot be made empty by dropping schema objects, you must drop the tablespace that contains the datafile.
    You cannot drop the first or only datafile in a tablespace.
    This means that DROP DATAFILE cannot be used with a bigfile tablespace.
    You cannot drop datafiles in a read-only tablespace.
    You cannot drop datafiles in the SYSTEM tablespace.
    If a datafile in a locally managed tablespace is offline, it cannot be dropped.

  • Reader spreading across 2 monitors

    Hi
    Recently when I open a document in Reader 10.1.9 it sometimes spreads across 2 monitors & sometimes goes off the edge of the screen, with large amounts of grey each side of the document. Sometimes documents open just fine. Mostly I have trouble when I open doc from, for instance Thunderbird attachment or by double clicking on file in Explorer.  It is driving me mad, to the point that I no longer have Adobe Reader as my default pdf viewer
    Thanks

    oops, I just tried using setSize first then setPreferredSize and it worked. sorry for the wasted thread.

Maybe you are looking for

  • Where can I find the iTunes library icon in OS 10.8.5?

    I have a new iMac and I'm trying to reset the number of plays in Itunes... very frustrated with google results apparently not up to date with the current operation system.

  • Custom fields in Purchase Info Record transactions(ME11/ME12/ME13)

    Hi, How to add custom fields to the screens of Purchase Info Record transactions(ME11/ME12/ME13)? The custom fields are already appended to table EINE(Purchasing Info Record: Purchasing Organization Data) and users want to maintain those fields via t

  • Hyperlinks in ibook Author

    I've just started using ibook author.  I'm trying to create an ebook.  I want to put in a hyperlink.  I have highlighted my sentence I want to use as the hyperlink.  I go to where you can add a hyperlink, copy and paste the link I want to use. The pr

  • Storing XFA forms in content space

    I've recently begun playing with ContentSpace and am now finding it difficult to store an XFA form from and ES process in a ContentSpace space. I probably just missed a basic thing, but here's what I have: I have an XfaForm variable in my process tha

  • MarshalException is transferring image as byte[]

    Hi I am creating a web service which reads an image from an external url (the image is in png format). Then I am converting the image into a bufferedimage and then sending out the image through the web service using bytearrayoutputstream.tobyteArray(