Moving objects from USERS tablespace

Hi All,
I want to clean my database and this involves moving all objects from USERS tablespace to their respective tablespaces. I have following types of objects in my database:
INDEX
INDEX PARTITION
INDEX SUBPARTITION
LOBINDEX
LOBSEGMENT
TABLE
TABLE PARTITION
TABLE SUBPARTITION
Syntax of moving TABLES and INDEXES is pretty simple. But, since there are other objects like TABLE PARTITION, INDEX PARTITION etc. Can anybody help me in finding out what are the syntax of all the above objects movement?
Thanks,
Danish
Edited by: Danish on Dec 5, 2008 5:19 AM

Hi..
You need to use the SUBPARTITION <name> instead of PARTITON<name>
For partition
ALTER TABLE parts MOVE PARTITION abc TABLESPACE xyz parallel (degree 2);
For subpartition
ALTER TABLE parts MOVE SUBPARTITION def TABLESPACE xyz PARALLEL (DEGREE 2);
This is because every segment represents one and only one type of database object,such as a table, a partition of a partitioned tables etc.For partitioned table , every partition resides in its own segment.
Anand
Edited by: Anand... on Dec 5, 2008 5:20 PM

Similar Messages

  • Move objects from one tablespace to another

    Hello
    Running Oracle 10g rel 2 and I would like to move all objects from one tablespace to another. There are Primary Key indexes to other tables in this tablespace. The size grew too large and I want to reduce the size.
    Thank you.

    Good afternoom Sir!
    I believe that below "ask tom - moving tables across tablespaces" may help you.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:47812348053
    Regards,
    Marcello M.

  • Moving objects into different tablespaces

    Hi Gurus,
    Here is my query .
    I have 40gb space to have dataset from production database.
    Test enviornment will be refreshed with production database.
    From testing enviornment development will be refreshed to aviod any connections to production.
    As part of data copying to dev env is depending on the conditions given by business.
    So my question comes here
    Initially I will be dumpring all the data to one tablespace in one tablespace of development environment.
    It could take 39 to 40GB.
    Now i want to move objects into different tablespaces accoring to storage clause and no of records .
    New tablespaces will be created in development enviornment and will be created in same 40GB.
    Space is constraint in dev env and cann't be extended.
    How can i create tablespaces into the dev env and move objects into them?
    I hope you understood my queries ...
    In simple
    TESTING ENV - - - -- - - - > DEV ENV(Initially one tablespace for all tables/objects) - - -- -- ---- >DEV ENV(Objects in diiferent tablespaces )

    You say:
    While creating scripts of tables we are removing all tablespace names as we will be having 3 tablespaces at target that is also after loading the data into them.Don't remove the TS clause, but replace the TS so-and-so with TS that-and-that.
    Or replace tablespaces a, b and c with x+, and d* and e with y*+.
    This can be automated, but you will have to write some logic for that.
    Because ... we will be having only 3 tablespaces in DEV. ex NEWYORK tablespace is in production but it won't be created in DEv , istead all the objects into that tablespace will be moved to large table space.
    As I said: You will need a code which greps for TS NEWYORK* and replaces it with +<your_big_TS>+.
    So once again: Where is the problem?
    It's just a question of coding.

  • Moving Object from One container to another in workOrder Dri

    Hi , I am able to Move Object from One container to another container in workOrder Driver.
    here is my code which i am using
    <do-move-src-object class-name="ValeUser">
    <arg-dn>
    <token-local-variable name="var-str-nwoContent"/>
    </arg-dn>
    <arg-dn>
    <token-text xml:space="preserve">\</token-text>
    <token-global-variable name="dirxml.auto.treename"/>
    <token-text xml:space="preserve">\</token-text>
    <token-global-variable name="hrfeed.inactive.container"/>
    </arg-dn>
    </do-move-src-object>
    Thanks
    Adarsh Kumar

    Originally Posted by AndersG
    Idmlearner,
    > am able to Move Object from One container to another container
    > in workOrder Driver.
    >
    Possibly better asked in support.identity-manager
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms
    Identity Manager - NOVELL FORUMS
    If you are not a nntp user.
    Thomas

  • To capture all the objects from an tablespace and restore.

    Hi All,
    I have a situation in the  Schema  refresh process where i may have  to delete a tablespace  and its datafiles.
    Then I have to recreate it as it was before and restore all it objects .
    Is there any way that i can capture all the objects of that tablespace before it is deleted  and then later restore it back as it was .
    Any Expert sugggestion is highly apprciated .
    The Platform is as below ..
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Thanks In Advance .

    There are 2 methods you could use with Data Pump.
    1. tablespace mode export.  expdp user/password tablespaces=<your list here> ...
    2. transportable tablespace mode.  expdp user/password transport_tablespaces=<your tablespace list here> ...
      NOTE:  for #2, you need to have your tablespaces in read only mode, then you need to copy the data files, and the
                    tablespaces need to be self contained.
    Hope this helps.
    Dean

  • Moving objects from one infoarea to the other infoarea.

    Hi all,
    I have created few objects like ODS , cubes and multiprovider under suppose InfoArea A.
    But now I have to move all these to InfoArea B.
    When I am trying to drag and drop these objects from InfoArea A to InfoArea B it is giving following message.
    Drag  Drop is switched off - switch on inRSADMIN/RSADMINSV
    when I am going to Tcode RSADMIN it is giving following message.
    BW User ALE          ALEREMOTE
    Debugging User
    BEx order number     DB0K910429
    Releasest. hier
    Monitor initial
    Last IDoc no.        56
    Last IS-Nr.          0
    XPRA executed
    Lock Mangr Logs
    MD: Sing. Rec. Inst
    I am not aware of these options. So please provide some infromation to go ahead.
    I am wiating for your reply.
    Thanks,
    Uday.

    Hi,
    You have to maintain settings on RSADMINSV table.
    1. Goto SM30 transaction.
    2. Pass the table RSADMINSV and goto change mode.
    3. Uncheck the Drag & Drop Off option.
    4. Save and exit.
    Check out the SAP note : 642989.
    Regards,
    Vivek

  • Moving Objects from Layer to Layer

    Yes I knwo this is probably a very naive question but I'm
    learning Flash 8 here and it says nothing in the documentation
    about moving an object from one to layer to another. I'm sure in
    Flash 5 you selected the object and then simply clicked the layer
    which you wanted it on. This seems to have changed and Adobe/MM
    have forgotten to say how you do it now.

    When you say "move" an object from layer to layer - you
    simply want to cut the object on the stage
    in one layer and paste it in place on another? You will have
    to manually cut and paste it. Flash 5
    or any previous version never had an "auto-move" feature,
    esprcially the way you describe: "...you
    selected the object and then simply clicked the layer which
    you wanted it on..."
    That type of functionality would be disasterous - if any
    object on stage was selected and then you
    clicked on a layer would force that object to move to that
    layer, would cause major headaches and
    render the program unusable - because 99% of the time, anyone
    who was not wanting to move the object
    would have a very hard time keeping them on the intended
    layer while tying to use other features in
    flash (like renaming layers, or moving the stacking order of
    layers, or creating layer folders or
    motion paths or mask layers, etc...
    Are you really asking about "merging" 2 layers together?
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    Sean Sykes wrote:
    > Yes I knwo this is probably a very naive question but
    I'm learning Flash 8 here
    > and it says nothing in the documentation about moving an
    object from one to
    > layer to another. I'm sure in Flash 5 you selected the
    object and then simply
    > clicked the layer which you wanted it on. This seems to
    have changed and
    > Adobe/MM have forgotten to say how you do it now.
    >

  • Moving object from one client to another using transport requests...

    Hi,
    If we want to move one object from one client to another, we go to se09 and release it. I know this. But after release what are the next steps to move it from one system to another ?
    Regards,
    Rajesh

    Hello Rajesh
    If the two systems share a <u>common</u> transport directory then you can simply go to transaction <b>STMS</b>, double-click on the <b>import queue</b> (target system), then choose menu <b>Extras -> Other Requests -> Add.</b>
    The transport request will be added to the import buffer. Next you can import the request.
    If the two systems do not share a common transport directory you can use RFC-enabled function module <b>EPS_FTP_PUT</b> to copy the data and cofile from the source to the target system (check for <b>DIR_TRANS</b> directories using transaction AL11).
    Regards
      Uwe

  • Moving table from one tablespace to another

    Hi,
    I want to move several tables from one tablespace to another as I know I need to rebuild indexes(as indexes are invalid after this) what I want to know is that constraints needs to recreate again after table movement, Thanks.

    what I want to know is that constraints needs to recreate again after table movementNo you don't need do that.

  • Moving Objects from Quality to Producton

    Hi,
    whts the process used to move BO Objects from Quality to Production system.
    Regards,
    Shiva Kumar G.C

    If you're talking about migrating a universe, then it's easier.
    Make sure you've go the latest version from the QA folder in the repository.
    Now do a File Save As.
    Navigate to the production folder and save in there.
    Change the connection to point to the production connection.
    Carry out an integrity check to make sure that everything still works.
    Then save the universe and export it to the Production folder in the CMS.

  • Moving objects from one schema to another

    Hi,
    again as part of my learning exercise, I was trying to move objects from a schema in 10GR2 to 11GR2 database.
    I am able to use exp and imp commands to achieve this objective -
    On source database -
    $> exp userid=scott/tiger owner=(schemaname) file=data.dmp statistics=none
    Copied the dump file on target server and then
    $> imp userid=scott/tiger file=data.dmp fromuser=uname touser=scott
    And this works fine.
    What I am not able to understand is how I can achieve this by using datapump instead?
    Your help is much appreciated.
    Thanks.

    Thanks.
    Worked perfectly.
    This is what I did (in case someone is in my position)-
    On source database-
    expdp scott/tiger schemas=<source schema>directory=DATA_PUMP_DIR dumpfile=data.dmp job_name=some_job
    Copied dump file to target server.
    On target database-
    $> impdp scott/tiger directory=DATA_PUMP_DIR dumpfile=data.dmp remap_schema=<source schema>:<target schema> job_name=imp_kob

  • Moving object from one transport request to another

    Hi Gurus,
    Am Having one query that i have been done some changes in the report and saved on one transport reuest number,but one function module which i have beeen used in the program saved in diffrent request and it contains some other objects,now i can i individually move the FM to other transport request number,Give me some ideas.

    Dinesh,
    If the requests are not yet released then you can delete the object from the TR manually and then add it to the other TR manually or tag by doing a minor change.For ex
    TR 1 Objects list
    REPORT ZXYZ
    TR 2 Objects list
    REPORT ZABC
    FM ZZASDEF
    1.If both the TRs are not released then remove the FM from the TR 2 manually and add it manually in TR 1,provided you know how to add the objects manually.
    or
    2.If both the TRs are not released then remove the FM from the TR 2 manually.Go to the corresponding objects of the FM do a minor change,save,activate.Now it will ask for a TR,at this time choose OWN REQUEST and select TR1.
    Thanks,
    K.Kiran.

  • Moving objects from one page to another

    Hi All,
    I need to move an image from one page to another...
    For example, on page 1, I have one image that needs to shifted to 5th page of the document. Is that possible?
    Vandy

    I will suggest the duplicate() method instead of the move() here.
    Advantage: the position of the object on  page 5 will be same as the original one:
    var doc = app.activeDocument;
    // "r" is the graphic frame containing the image
    var r = app.selection[0];
    //The duplicate() method will maintain position of the object as long it is NOT an anchored object.
    r.duplicate(doc.pages[4]);
    //Get rid of the original
    r.remove();
    Uwe

  • Error while moving objects from BMM to Presentation layer: 46036

    Hi,
    I created some aggregate logical columns in a logical fact table in BMM .
    Next, I created a branch to already existing Dimensional hierarchy and used those aggregate columns in the branch hierarchy.
    The Original Hierarchy was using columns from 2 Physical Dimensional tables.
    While checked for global consistency , got the following error:
    46036] Internal Assertion: Condition i + 1 < numKeys, file .\Src\SQLogicalRqtGenerator.cpp, line 645.
    Where am I going wrong ?
    Regards

    Hi,
    check if you presentation folder refers to the correct Business Model in the General Tab of the properties.
    Regards,
    Gianluca

  • Problem in moving object from one SAP system to another....

    Hi,
    I have created a transport request in System A client 800.
    I am trying to move the Transport request to System B client 900.
    (Note: A and B are different SAP systems)
    I first release the object going in system A client 800 using transaction se09.
    Now I go to System B client 900 and then to transaction STMS. After this I click on display import queue for System A inside transaction STMS in System B. Then I go to EXTRAS ->Other Requests Add. The import queue name is defaulted by System A and then I add the Transport Request number. Then the system asks me to login in Sytem A client 800. I login successfully. But I get an error message:
    "Transport control program tp ended with error code 0247
    Errors: addtobuffer has problems with data- and/or cofile"
    Can someone tell me how to solve this error ? What is the issue ?
    Regards,
    Rajesh.

    Hi Rajesh,
    Check this link:
    tp ended with error code 0247
    http://www-1.ibm.com/support/docview.wss?rs=2366&context=SSZ8F3&dc=DB520&uid=swg21243429&loc=en_US&cs=UTF-8&lang=en&rss=ct2366tivoli
    Solar_migration to different sid
    http://www.sapfans.com/forums/viewtopic.php?p=790715&sid=3528f52126b6764d5cb28acb67f752fe
    http://www.sapfans.com/forums/viewtopic.php?t=221340&view=next&sid=0e5e06508287d3f738bc97ce7aea8426
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/transport-request-to-import-queue-with-error-740676
    Hope any of this link helps you out.
    Regards,
    Vivek

Maybe you are looking for

  • Need help with the Vibrance adjustment in Photoshop CC 2014.

    Need help with the Vibrance adjustment in Photoshop CC 2014. Anytime I select Vibrance to adjust the color of an image. The whole image turns Pink in the highlights when the slider is moved from "0" to - or + in value.  Can the Vibrance tool be reset

  • How to handle the trigger sequence

    I really do not have any idea for this question. the trigger need to implement:       An employee can not work on more than 2 projects supervised by any given department. DEPARTMENT (dname, dnumber, mgrssn, mgrstartdate) KEY: dnumber. PROJECT (pname,

  • How to install NWDI on CE 7.11 SP1 sneak preview

    Hi All,   I have CE711 SP1 Sneakpreview, i want to install NWDI, so from where can i get the DIBUILD, DI_CMS,DI_CBS,DI_DTR SCA files which are compatible to CE 711 SP1 Sneak preview. please provide the correct location of  download of the NWDI SCA fi

  • I have updated with os X 10.10.2 and my built in microphone has stopped working. need immediate solution for this.

    Currently I own 13.5" Macbook Air (mid 2012) with OS X 10.10.2 running on it. Ever since I upgraded to it, the built-in microphone has stopped working. I made Facetime calls but my voice was not able to transfer/hear on the other side. Moreover i tri

  • Mini Project or case studies on oracle for practice purpose

    Hi Experts, Not sure, in which category I need to post this question. I've searched in Google also but didnt get the right information. Is there any websites avilable which can provide some small projects based on Oracle Database (just for practice p