Redefinition For Move Tablespace.

Hi,
   I am using Release 11.2.0.3.0 of oracle. Now i am supposed to move a 'big table big_tab1(~700GB)+its indexes' to a different tablespace which is encrypted. I am trying to follow redefinition approach inspite of ALTER TABLE MOVE , as because we wont be able to have much downtime on prod. But below are my difficulties.
   I am having a foreign key constraint(con_1) on table tab1 which refers to the primary key of big table  big_tab1. if i am using COPY_TABLE_DEPENDENTS for copying all the constraints and indexes as it is, then all my indexes not being shifted to encrypted tablespace, they are created in the existing unencrypted tablespace only?
                                                                         else
   If i am creating the indexes/constraints manually (by specifing the encrypted tablespace) on the interim table, just after the START_REDEF_TABLE, then my indexeses will be created on new encrypted tablespace but i have to drop the existing foreign key(con_1) and create the 'foreign key constraint ' that is on table tab1, and it will refer to the redefined table big_tab1, so it will take lock for that duration of ALTER statement, and the purpose of online redefinitio will not be full filled.
   Please suggest?

You are confused.
The data for a table is stored in segments. For a partitioned table the data is contained in partitions: the table HAS NO DATA. Each partitions data is stored in its own segment which can be in its own tablespace.
For a subpartitioned table the data is contained in subpartitions: the table HAS NO DATA, the partitions HAVE NO DATA. ALL DATA IS IN THE SUBPARTITIONS. Each subpartitions data can be in its own tablespace. There is NO index data to be moved. There is NO index partition data to be moved. There is NO data except the data in the index subpartitions.
If you want to modify the tablespace the NEW partitions or subpartitions will use (as opposed to moving existing data to a new tablespace) then you need to use the 'modify_index_default_attrs' clause of the ALTER INDEX statement.
See ALTER INDEX in the SQL Reference
http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_1008.htm#BGECEJHE
>
modify_index_default_attrs
Specify new values for the default attributes of a partitioned index.
Restriction on Modifying Partition Default Attributes The only attribute you can specify for a hash-partitioned global index or for an index on a hash-partitioned or composite-partitioned table is TABLESPACE.
TABLESPACE Specify the default tablespace for new partitions of an index or subpartitions of an index partition.
>
See the example in the doc
>
Modifying Default Attributes: Example The following statement alters the default attributes of local partitioned index prod_idx, which was created in "Creating an Index on a Hash-Partitioned Table: Example". Partitions added in the future will use 5 initial transaction entries and an incremental extent of 100K:
ALTER INDEX prod_idx
MODIFY DEFAULT ATTRIBUTES INITRANS 5 STORAGE (NEXT 100K);

Similar Messages

  • TO MOVE TABLESPACE

    I need to move tablespace to other disk: IN ORACLE 10G
    I use following commands:
    1 i connect to database as sysdba i not shutdown database
    2 I take tablespace offline ALTER TABLESPACE TB1 OFFLINE;
    3.i copy datafile on SO
    4 I try to move tablespace ALTER TABLESPACE RENAME 'D:\ CARPETA\TB1.DBF' TO 'E:\ CARPETA\TB1.DBF' OR
    ALTER DATABASE RENAME 'D:\ CARPETA\TB1.DBF' TO 'E:\ CARPETA\TB1.DBF'
    1 but error *RENAME  
    2 too error *to
    i can't to move tablespace.
    thanks

    Andrea, you should always post the actuall command you issued and the error Oracle returned where possible. In the code you list you are missing the tablespace_name from the command.
    From the DBA Administration manual chapter on managing data files here is the command for renaming all the datafiles that make up a tablespace in a single command:
    ALTER TABLESPACE users
    RENAME DATAFILE '/u02/oracle/rbdb1/user1.dbf',
    '/u02/oracle/rbdb1/user2.dbf'
    TO '/u02/oracle/rbdb1/users01.dbf',
    '/u02/oracle/rbdb1/users02.dbf';
    You would also have the option of renaming the files one at a time.
    HTH -- Mark D Powell --

  • Field Selection error for movement type and G/L account

    I am currently experiencing a field selection error between movement type 601 and G/L account 7140000.  The problem field is 'Segment'.  This field is set to required for the G/L account, but it is hidden for the movement type 601. This inconsistency causes an error when posting the goods movement. According to business requirement the field must be required for the G/L account, therefore we must make this field optional for the movement type.
    However, in configuration the field segment does not appear for the movement type 601. Therefore it can not be changed to optional.
    Does anyone know a workaround other than making this field optional for the G/L account because the business requirement is to have this field as required?????
    Many Thanks

    Hi,
    On the Error message detail, system will guide you to the Configuration details for Field settings for Movement type & Account, please get in touch with your FI consultant, to make the Field selection for the account similr to that of your movement type, this is a very common issue.
    Regards
    Chandra Shekhar

  • Report with Reason for movement for GR

    Hi,
      I want to make a report  to show the qty. of material  recived  in a particular period  for GR ref. to PO we have reason for movement  1001   & for GR rwef. to prod. order we have 1002,  so is there any transaction to see the material list ref. to reason for movement.
        How to configure Move. type  and trnsaction relation like  which mov. type is allowed for a particular transaction.
    regards,
      zafar

    Hello
    Try t-code MBGR

  • Hide/Suppress Cost center field in MIGO and MB1A for movement types 551&552

    Hi All,
    Can anybody tell me how to suppress or hide the cost center field in MIGO or MB1A for movement types 551 and 552?
    I did below settings and it worked fine for only MB1A and for MIGO still it is showing cost center field.
    IMG > Materials Management > Inventory Management and Physical Inventory >Goods Issue/Transfer posting > Define screen layout > select movement type to change the option.
    Also I did gothrough the settings for Enjoy transaction (MIGO) there we have only option to make fields either  "Required entry" or "Optional entry" and we don't have an option to hide/suppress.
    Please advise or help me .
    Thanks in advance!
    Regards,
    Praveen

    Hi
    The cost center field is a required field in mvt type 551 as you are scrapping materials, some cost center will need to take the cost of this operation.
    Anyway, you first need to make the field as optional for example, before you move.
    One option is that you create a screen variant in Tcode SHD0 for MB1A, where 551 is setup as constant (with content) , and mark Cost center as invisible and assign this screen variant to a transaction in SE93.
    regards
    Sidi

  • Purchasing additional languages for movies on Apple TV

    Hello,
    We are a multilingual family, and are trying to promote the use of all our languages to our kids, French, Italian and English. We use the Apple Tv extensively, and I was wondering if there is an option to purchase aditional languages for movies on the Apple TV.
    for example we purchase kids movies on the French itunes store and it includes both french and english languages, but not italian. However that same movies is available on the italian itunes store in italian. However since I have already purchased the movies i don't want to buy them all again on the italian itunes store. That would cost too much, but also we would have duplicates of our movies and in seperate itunes store accounts just to be able to watch them in different languages. This would be very inconvenient. In other cases, some movies on the french itunes store only have french as the language, however the english and italian languages are again available in the english and italian itunes store respectively.
    The world is becoming ever more international and multilingual, and access to languages should not be so complicated. In fact Apple has always been a pioneer in offering all languages on their Mac OS and iOS, embracing the multilingual spirit.
    IT would be extremely useful, if we could add aditional languages to an already purchased movie.
    thank you for your help, if you have a solution to my problem.

    To have Apple see your request, you should repost it at
    http://www.apple.com/feedback
    In the meantime, you might want to see whether other stores offer movies with more languages included.

  • One user for multiple tablespaces

    Hello.
    Oracle 11g enterprise.
    Whenever I setup a new tablespace on my server, I create a user for each tablespace on the server.
    Is is possible to create only one user for all tablespaces on a server?
    What is the easiest way to create this one user to have all roles and privileges across all tablespaces?
    Any suggestions are greatly appreciated.

    I would seriously question a design with 'N' databases (whether they are on 1 or more or 'N' servers is not the issue) and DBLink from each of the databases to every other database.
    Not only is it going to be hell to manage (how and when can you decide to shutdown a database for maintenance / patching / server/hardware maintenance when you have N-1 others connecting to it online), but it indicates a possibly high level of data duplication.
    So we still revert to why you think you need that many databases and that many users and that many database links.
    As has been pointed out, there is no relation between tablespaces and DBLinks. NONE whatsoever.
    As for tablespaces and users, I can have
    a. One Tablespace and 10 database accounts with any 1 to 10 of the accounts storing data objects in the tablespace
    b. Ten Tablespaces and 1 database account storing data objects across all 10 tablespaces
    c. 100 database accounts but only 1 to N of them having any data objects, the others only doing SELECT/INSERT/UPDATE/DELETE on objects owned by 1 to N schemas. (This one schemas all being in 1 tablespace or M tablespaces).
    There is no one-to-one correspondence between users and tablespaces necessary. Tablespaces are for logical grouping of data objects.
    I keep referring to data objects as these (Tables, Indexes, LOBs, IOTs, Clusters etc) require storage. Objects like Sequences do not require separate tablepaces although they have persistent values. Objects like DBLinks and Views are only definitions and require no storage (other than in the data dictionary !). Objects like Procedures and Packages and Triggers are code objects and require no storage (other than in the data dictionary).
    So :
    1. Such a design needs to be questioned.
    2. Even if you need such a design, do not tie DBLinks to Tablespaces.
    3. Even if you need DBLinks, do not tie Users to Tablespaces.

  • Is there a way to change the thumbnails for movies/videos?

    This may be more of a Leopard question, but I'm wondering if there's a way to change the thumbnail that OSX and Front Row display of movie files. I think this feature is awesome but would love to have more control over it so I can pick a frame from the video that relevant to me. Imagine Front Row's menu for movies with a bunch of thumbnails that are title screens or your favorite scenes from your movie collection (rather than a random thumbnail that may or may not even be identifiable to that movie).
    I've already included this request to Apple in a suggestion I sent along including a few other Front Row requests/suggestions I had including movie/video playlists, album art support over streaming/shared libraries, and music that doesn't stop playing when you return to the main menu.

    It appears that "saving" doesn't impact the quality, but wraps the file up in the .mov format (size and quality appear to stay the same). It worked ("saving" instead of using the save as a reference movie seems to fix the starting playback from the poster-frame issue). However, now a new issue has come up... I like to save the files to DVD as the original .avi so they will play on our Philips DVD players. However, being wrapped up in .mov means I have to have two versions of the file, and if my HDD ever dies or fills up I'll have to always correct the poster frame, and save another copy from the .avi original. Kind of frustrating... I wish Front Row/Quick Time would let you easily change the thumbnail and not have to change the format, etc.
    Thanks everyone for your help. Hopefully some of this feedback has helped others with similar questions.

  • How to tell Front Row to look for movies on a USB drive?

    I'm working on getting all my dvd's on two 500gb usb drives - using Handbrake to encode everything. This is much faster with a new 2.4ghz 24" iMac by the way (6-8hrs on my 1.8ghz athlon vs 1-2 with the iMac...woohoo).
    What I'm trying to do is get the movies (on the usb drives) to show up in Front Row. One way I know of is by making an alias for each movie and moving the alias to my "Movies" folder on the main HD. This is a little tedious. When I simply drag and drop it in the "Movies" folder it just copies it and that is not what I want. Is there a way to just tell Front Row where to look for the movies? If I use iTunes the same thing happens, it just transfers all movies to the main HD...nevermind. I unchecked the box that said to copy everything.
    The plan was on using iTunes for movies I encode specifically for iPods exclusively, searching through 600+ movies to get a few for the iPod doesn't seem user friendly.
    So the question remains. Is there another way to get Front Row to just see the movies on another drive without iTunes or using an alias for each one or are those 2 my only choices?

    I'm glad you got it figured out. Front Row actually looks for movie files in two places. First, as you've discovered, it looks inside your user's "Movies" folder. An alias there pointing to a different location will lead Front Row to the other location. Also, Front Row looks inside iTunes for movies. This way, it can find TV shows, music videos and movies purchased from the iTunes Music Store. Another option, besides making an alias in your "Movies" folder, would be to add the movies to iTunes.
    -Doug

  • When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    after perusing other subjects with playback issues: 
    this is the fix: 
    -Launch Control Panel - Double click Quicktime, If you do not see quicktime, look on the top left side of control panel and switch to classic view. This will then allow you to see Quicktime.
    -Now click the advanced tab and click on Safe Mode GDI Only, Apply, then ok.

  • Issue with Return Delivery for movement type 262

    Hi,
    I have got a strange issue, the user is trying to do a MIGO Return Delivery for a material document using movement type 262, this he claims has been doing it for many materials. However when i go to the MKPF table i see the transaction Code field to be MIGO_GI for all the material documents for which he claims to have done return delivery. But under this transaction code we have only 4 options - Display, Issue, Cancel and Remove from storage.
    Now when he tries to do the return delivery for movement type 262 he get an error message "Check table T156N: entry RL 262  does not exist" , but this has been very well maintained in the table.
    Can you please let me know -
    If it is possible to do a return delivery for a movement type 262?
    If yes how to address the above error encountered.
    Thanks in advance
    Sachin

    Hi Sachin,
    If you think of return delivery to vendor with or w/o PO reference you can use movement types 161, 122, 124 as default settings.
    Movement type 261 means withdrawal against production order and its reverse is MVT 262. The latter can be used e.g. via MB1A (or you can make storno of a confirmation by 261).
    Are you sure your user is using the correct terminology ('return delivery')? Please check the material documents he/she claims to have booked as return delivery. (in MB51 you can get a list of all material movements of MVT 261 that belong to 'your user' and after that you can open the material document and check through which transaction the booking was made.)
    BR
    Csaba

  • Error in MB1C but works perfectly in MIGO for movement type 501.

    Hi
    I get an error in MB1C but works perfectly in MIGO for movement type  501
    here is the error Account 353300 requires an assignment to a CO object.
    I know for this if we add the co object in OKB9 it works.
    But my question is - how it works in MIGO transaction but throws an error in MB1C
    Any idea ? has any one faced this kind of an issue ? Please let me know.
    Thanks
    Dkmurthy

    Hi
    Are the entires same in both the transactions? Means did you check 353300  GL was hit when you posted through MIGO?
    Check in FS00 - for GL account 353300 - under bank/interest tab - double click on field status variant -> under Additional account assignments - CO object is ticked as mandatory?
    Thanks

  • HUMO-A reason has to be entered for movement type 344

    Hi All,
    We currently have the system configured to enter a 'reason for movement' for movement type 344 and this field is marked as required in the movement type configuration. We have configures the transactions allowed for the movement type and HUMO is one of them.
    When I try to post the same HU using the path 'Edit-> Change HU Posting-> Other Postings->Process-> Transfer posting unrestriced to blocked', it prompts me for a 'Reason for Movt' and allows me to post it to a blocked stock.
    However, when we try to post an HU to blocked to stock using the path in HU monitor 'Edit-> Change HU Posting->In Blocked Stock', the system gives an error 'A reason has to be entered for movement type 344'. Please note, it does not even prompt me to enter a reason for the movement.
    Is there a configuration node to have the above error corrected? Or is there any SAP note which could help us solve the problem? We are aware of the SAP note 1679167 for transaction VLMOVE but not sure the same would actually correct the issue for HUMO. Any help in this regard is appreciated.

    Hello Biswajit,
    unfortunately, as far as I can see in source
    SAPLHUMO                 
    / LHUMOF04
    FORM                     
    / TRANSFER_POSTING_HU
    during debugging, there is no GUI code to ask user for a reason. So it's a lack of functionality.
    I think you can add this by an implicit enhancement around FORM transfer_posting_hu asking user e.g. with function module call POPUP_GET_VALUES_DB_CHECKED.
    But transfering the entered reason down to the MM posting seems also not so easy because reason field "GRUND" may not visible in that callstack level.
    Hope that helps you along
    Best regards,
    Matthias

  • THE VOLUME FOR "MOVIES" CAN NOT BE FOUND

    Not sure if I posted this in the right place. I would appreciate anyone that can help.
    I installed iLife 08 yesterday and everything seemed to go fine.
    When I go to open my MOVIES folder I keep getting a : "THE VOLUME FOR "MOVIES" CAN NOT BE FOUND" message?
    What happened??
    More importantly....
    On the left hand of my Finder window where it lists DEVICES, PLACES, and SEARCH FOR.... if I click on SEARCH FOR and go to ALL MOVIES....
    I was relieved to find all of my movie files still in there.
    BUT HERE'S THE PROBLEM:
    I was watching some of the movies... and I noticed as soon as I clicked off and started viewing a new movie... the previous movie would disappear from the ALL MOVIES FOLDER... and the number tally would decrease.
    I finally realized after 10 movies that files were disappearing... or perhaps being deleted.
    I used FIND to try to locate the lost files but no such luck. I can't find them anywhere.
    It also appears to be only my WINDOWS MEDIA PLAYER FILES that are disappearing.
    What happened to my MOVIES folder? and where are these lost files going? Are they being deleted? UGH UGH UGH!
    If anyone can help I'd greatly appreciate. I'm very frazzled.

    Welcome to Discussions - This is the G5 forum, you seems to have a G4. I suggest you post in the [iMovie|http://discussions.apple.com/category.jspa?categoryID=141] forum, where you will get better informed help.

  • No sound when using Airplay for Movies on Apple TV

    For reasons unknow, when I try to stream full length movies (Lion King and Nemo bought from iTunes) from my iPhone or Macbook Pro using Airplay, there is no sound.  When I stream smaller movies, like Boundin' the Pixar Short, there is no problem.
    Side note 1: Why do purchased movies not show up like purchased TV shows on Apple TV?  I feel like I shouldn't have to use Airplay for movies if I don't need to use it for TV shows I buy.
    Side note 2: For some Netflix movies played directly from Apple TV there is no sound.  Other movies work fine and the movies that work or don't work seem to change day to day.
    Thanks for your help.

    Gldsndz wrote:
    Side note 1: Why do purchased movies not show up like purchased TV shows on Apple TV?  I feel like I shouldn't have to use Airplay for movies if I don't need to use it for TV shows I buy.
    Apple has not negotiated the rights to allow this is the assumed reason.
    We can't even play Purchased music or TV Shows from the cloud in UK.

Maybe you are looking for

  • Itunes locking up when ipod is connected.  Firewall problem?

    Hi folks. For years I have been running itunes, an ipod touch and NOD32 firewall with no problems at all. But a couple of days ago I connected up my ipod and there is a problem. itunes launches as you would expect, but it immediately hangs. After a f

  • HT4910 Getting contacts to sync between iPhone and iPad

    I can't get my IPad to sync contacts with my IPhone Both are ios7.02 and synced with the same iTunes account on the same computer On the iPad in Settings under the Mail,contacts,calendars tab under the section labelled Contacts There are only 4sub-he

  • REP-1517 error Urgent!!

    I need to run a report which picks out certain paramters like the rep_req_run_dt etc..Now I need to access the rpt_req_no which is defined in another group. So how do I reference that particular field without getting this error. Any help in this rega

  • External Table Problem - Need Urgent Help

    Hi All, I want to load flat file data to oracle database. I have used external table feautre for loading data. My data is like "F","1","1","KIAWAH ISLAND rated off the pace, rallied to gain command on the far turn, then" Now my problem is that fields

  • How to make my mac compatible w/ cs5

    i just upgraded my mac os x to snowleopard (version 10.6.3), thinking that'd allow me to use CS5 design standard, but it still doesn't meet system requirements for indesign. can i upgrade w/out having to buy a new computer and if so, what needs upgra