How to move lobsegment and  lobindex to a different Tablespace

Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
Os: Solaris 10
Hello Everybody,
I want to move a lobsegment and a lobindex to a differrent tablespace.
But when i am executing the following statement in order to move the LOBINDEX I am getting the errors listed below:
SQL> ALTER INDEX SYS_IL0000012358C00008$$ REBUILD TABLESPACE INDX;
ALTER INDEX SYS_IL0000012358C00008$$ REBUILD TABLESPACE INDX
ERROR at line 1:
ORA-02327: cannot create index on expression with datatype LOB
Is there any differrent commands/methods of moving the LOBSEGMENT/LOBINDEX to a differrent tablespace.
Any help Appreciated..
Regards,
Prosenjit Mukherjee.

Hi,
Assuming that I have table "TEST" in USERS TableSpace
CREATE TABLE TEST
TEST_ID NUMBER NOT NULL,
TEST_NAME CLOB,
CONSTRAINT PK_TEST PRIMARY KEY(TEST_ID)
SQL> ALTER TABLE TEST MOVE TABLESPACE EXAMPLE;
Above command will move the table to new tablespace but will not move the CLOB segment and it will still be in original tablespace. This is because LOB data is stored outside of the table.
Check the tablespace of the CLOB column by issuing following sql.
SQL> SELECT index_name, tablespace_name
FROM user_indexes WHERE table_name = ‘TEST’;
INDEX_NAME TABLESPACE_NAME
SYS_IL0000073575C00002$$ USERS
In order to move CLOB column to different tablespace, we have to issue following command.
SQL> ALTER TABLE TEST MOVE LOB(TEST_NAME) STORE AS (TABLESPACE EXAMPLE);
In above example, TEST_NAME is the CLOB column which we want to move to new tablespace and EXAMPLE is target tablespace. Above command will successfully move LOB segments to the new tablespace. We can verify it by issuing same sql again.
SQL> SELECT index_name, tablespace_name
FROM user_indexes WHERE table_name = ‘TEST’;
INDEX_NAME TABLESPACE_NAME
SYS_IL0000073575C00002$$ EXAMPLE
- Pavan Kumar N

Similar Messages

  • How to move partitions/sub-partitions into a different tablespace?

    Hi Uisng oracle 1..20.3 and have a range-hash partitioned table using interval partitioning - code below.
    Works fine just one problem.
    we wish to move the system geneerated partitions to different tablespaces later and also rename th epartitions.
    When try assign partition to a different tablespace get the folloiwng message
    alter table por_rt move partition SYS_P2283 tablespace bi_dw_data
    get message ora-14257 - cannot move partition other than range,list, system or hash partition.
    How can we avoid this.
    We we need to move all the subpartitions first?
    Tried this
    alter table move subpartition SYS_SUBP2269 tablespace bi_dw_data;
    but get message ora-01735 message invalid statement
    -- Create table
    create table POR_RT
      plant_issue_id    NUMBER not null,
      pf_run_num        NUMBER,
      partitioning_date DATE
    partition by range (PARTITIONING_DATE)
    subpartition by hash (PLANT_ISSUE_ID)
      partition PART_200912 values less than (TO_DATE(' 2010-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        tablespace BI_SUPPORT_DATA
        pctfree 10
        initrans 1
        maxtrans 255
        subpartition SYS_SUBP2261 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2262 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2263 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2264 tablespace BI_SUPPORT_DATA
      partition PART_201001 values less than (TO_DATE(' 2010-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        tablespace BI_SUPPORT_DATA
        pctfree 10
        initrans 1
        maxtrans 255
        subpartition SYS_SUBP2265 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2266 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2267 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2268 tablespace BI_SUPPORT_DATA
      partition SYS_P2273 values less than (TO_DATE(' 2010-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        tablespace BI_SUPPORT_DATA
        pctfree 10
        initrans 1
        maxtrans 255
        subpartition SYS_SUBP2269 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2270 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2271 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2272 tablespace BI_SUPPORT_DATA
      partition SYS_P2283 values less than (TO_DATE(' 2010-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        tablespace BI_SUPPORT_DATA
        pctfree 10
        initrans 1
        maxtrans 255
        subpartition SYS_SUBP2279 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2280 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2281 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2282 tablespace BI_SUPPORT_DATA
      partition SYS_P2278 values less than (TO_DATE(' 2010-08-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        tablespace BI_SUPPORT_DATA
        pctfree 10
        initrans 1
        maxtrans 255
        subpartition SYS_SUBP2274 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2275 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2276 tablespace BI_SUPPORT_DATA,
        subpartition SYS_SUBP2277 tablespace BI_SUPPORT_DATA
    );Edited by: user5716448 on 22-Mar-2013 04:49

    you can not move composite parition directly you need to move subpartition using this statments
    alter table <tablename> move subpartition <sub partition name > tablespace <tablespace name>;
    than change partition tablespace using
    ALTER TABLE <table name> MODIFY DEFAULT ATTRIBUTES FOR PARTITION      <partition name> TABLESPACE <tablespace name>;

  • How to move contacts and messages from Samsung Galaxy S3 to iPhone5?

    How to move contacts and messages from Samsung Galaxy S3 to iPhone5?

    As long as you had the Android data synced with your Google account, they should be there when you sync it on your new phone. That is by far the easiest way.
    I think there is also an import/export option when you hit the menu button in the contacts app. and you could export them to SD card and import them on the new phone using the same SD card.
    Or you can use Mobile Transfer to transfer data between Android smartphone. It is really simple, follow this guide to move contacts from Samsung S3 to iPhone 5.

  • How to move Mail and Address book content from 10.3 emac to 10.5 iMac

    How do I move Mail and Address book content from my old 10.3 emac to my new 10.5 Leopard iMac directly, or do I have to move the names etc, one by one?
    Richard

    I cannot find a migration assistant. I have copied the Mail and Address Book applications over from 10.3 to 10.5 and tried using mailboxes import, but 10.5 Mail will not accept any of the options. The same for address book. Can you give more specific instructions?
    The applications, Mail and Address Book, don't actually store your data in the application. So, moving the applications over to your new computer will have no useful effect and could be detrimental if you replaced the newer versions with the old.
    Migration Assistant is in you Utilities folder and should have asked to be run during the installation.
    Your Mail data is stored in yourUserName/Library/Mail. The Address Book data is stored in yourUserName/Library/Application Support/AddressBook. If your new installation is blank with no data, you can actually replace those directories on the 10.5 version with the old. For Mail, you also have to get the com.apple.mail.plist file from your old username/Library/Preferences/ folder and put it in the new 10.5 folder of the same name. Once that is done, when you open Mail and Address Book, they will update the data to the new format.
    Migration Assistant will do all of this for you.
    EDIT: Based on roam's comments, you may have to move the Mail manually. You can also just bring the Mail directory over to the 10.5 machine and use Mail's Import command to get all the mail out of the old Mail directory.
    Message was edited by: Barney-15E

  • Help needed : How to move OCR and Voting Disk

    Hi all experts...
    I am Mahesh. Working in DXB as DBA. We have serveral RAC installed clients. Among those one major client wants their OCR and Voting Disk to be moved from existing SAN to a new SAN which will be configured. Only OCR and Voting Disks needs to be moved.
    Details:
    =====
    Oracle Clusterware,ASM and DB version 10.2.0.3.0
    Windows 2003 Server Enterprise Edition
    2-Node RAC
    OCR and Voting disks are on RAW devices (not on CFS or NFS)
    I have read the clusterware administration document and also Metalink Note 428681.1 for the same.
    But it does not contain information how to move it to another new RAW in a new SAN device. (we need to keep it in raw device itself)
    How to identify the new disk path from windows operating system ? Then only we can move the OCR and VD right ???
    Help me for the same please...
    Thanks & regards,
    Mahesh.

    Hi Mashes,
    Could you list out the steps you did after you create the link on the new SAN using GUIObjectManager.exe?
    I tried on my VM and also in customer's test environment but I only successful using the following steps
    1. shutdown asm service, database service, listener service, CRS, EVM and CSS
    2. Object Manager Service is kept running
    3. from both nodes I issued the following command
    ocrconfig -repair \\.\OCRPRIMARY
    ocrconfig -repair \\.\OCRMIRROR
    4. according to metalink id 428681.1, I should do the following
    ocrconfig -overwrite
    However I was not successful because that command returns an error message (PROT-1: Failed to initialize ocr config).
    Therefore, I ran the following command
    ocrconfig -restore D:\oracle\1020\CRS\cdata\crs\backup00.ocr
    5. after that command, ocrcheck giving me the result and the ocr primary and mirror have been moved to the new partition.
    6. start the whole services starting from CSS, EVM, CRS, ASM, Listerner and Database service.
    Although what I experienced seems a bit weird and not the same as what was written in metalink, the RAC is running fine until now.
    What I would like to know is your experience on this. May be you can share it here.
    Thank you,
    Adhika

  • How to move temp file, redo log to different drive oracle 9i

    Hi ,
    I am using oracle 9i
    by mistakenly, i have instaled oracle installable on system drive i mean c: drive.I have installed teh database on D: drive.
    For tunning perfomance i would like to move the redlog files and temp files to different drive.
    Could you please explain me the step by step procedure how to do this
    Thanks
    AITS

    Very easy -
    Create a new temp tablespace with the files on the drive you want, make it the default temp tablespace for any users/schemas you have created, then drop the old temp tablespace including datafiles.
    For the redo logs, create new groups, again with the logfiles on the dirves you want them on, cycle out of the old ones with "alter system switch logfile;" then drop them.

  • How to access sysobjects and syscolumns on a different database?

    I'm attempting to write a script that iterates over all tables and their columns in all databases resident to a SQL Server connection. I can do either of these but cannot figure out how to merge the two together. The problem is that at the time that the
    table/column information is collected, it comes out of the system tables of the current default database and I can't quite figure out how to change default databases in a way that is acceptable under the current conditions. I can't create and write to the
    many database new stored procedures to handle the changing of default database and I don't want to use undocumented functions.
     but am having trouble prizing the information out of sysobjects, syscolumns and systypes on databases that are not currently the current database in use in order to find all occurrences of some string in all databases, no matter what table or
    column that string resides. One of the things making it harder is that I do not want to generate stored procedures on the fly and add them to the databases being probed so everything has to be accomplished either directly or by executing a sql string.
    There are two obvious approaches to the problem -
    1) Change the current database (Like 'use @DBNameVar' only something that actually works)
    2) Directly access sysobjects, syscolumns and systypes in a different database
    Here's what I have so far - I have figured out how to make a cursor that will list all of the databases and can load that database name into a string variable and I know how to get a listing of all of the tables and columns within a database. I have another
    piece of script that does a great job of probing all of the columns in all of the tables for a string.
    Will the systables allow access if their database is not the current database? If so, what is the syntax? Can you show me what I need to do in my table/column iteration script? Assume, for example, that @DBNameVar contains the name of the database that needs
    to be probed. What is the syntax that will combine that database name with the following script which lists all of the tables/column?
    DECLARE cCursor CURSOR LOCAL FAST_FORWARD FOR
    SELECT
    '[' + usr.name + '].[' + tbl.name + ']' AS tblName,
    '[' + col.name + ']' AS colName,
    LOWER(typ.name) AS typName
    FROM
    -- How can a sysobjects from another database be specified????
    sysobjects tbl
    INNER JOIN(
    syscolumns col
    INNER JOIN systypes typ
    ON typ.xtype = col.xtype
    ON col.id = tbl.id
    LEFT OUTER JOIN sysusers usr
    ON usr.uid = tbl.uid
    WHERE tbl.xtype = 'U'
    AND LOWER(typ.name) IN(
    'char', 'nchar',
    'varchar', 'nvarchar',
    'text', 'ntext'
    ORDER BY tbl.name, col.colorder
    Richard Lewis Haggard

    In addition to Latheesh and Tom solutions, I modified your code to use dynamic sql. It's just a different solution:
    --first create table
    CREATE TABLE tbl ( tblName sysname, colName sysname, typName sysname ) ;
    GO
    --now populate it with dynamic sql
    DECLARE @sql NVARCHAR(max) = N'';
    ; WITH db AS (
    SELECT name
    FROM sys.databases
    SELECT @sql = @sql +
    N' INSERT dbo.tbl ( tblName, colName, typName )
    SELECT
    QUOTENAME(usr.name) + ''.'' + QUOTENAME(tbl.name) AS tblName,
    QUOTENAME(col.name) AS colName,
    LOWER(typ.name) AS typName
    FROM
    -- How can a sysobjects from another database be specified????
    ' + QUOTENAME(db.NAME) + N'.sys.sysobjects tbl
    INNER JOIN(
    ' + QUOTENAME(db.NAME) + N'.sys.syscolumns col
    INNER JOIN ' + QUOTENAME(db.NAME) + N'.sys.systypes typ
    ON typ.xtype = col.xtype
    ON col.id = tbl.id
    LEFT OUTER JOIN ' + QUOTENAME(db.NAME) + N'.sys.sysusers usr
    ON usr.uid = tbl.uid
    WHERE tbl.xtype = ''U''
    AND LOWER(typ.name) IN(
    ''char'', ''nchar'',
    ''varchar'', ''nvarchar'',
    ''text'', ''ntext''
    ORDER BY tbl.name, col.colorder ;
    ' + NCHAR(13)
    FROM db ;
    PRINT @sql ;
    EXEC ( @sql );
    SELECT *
    FROM tbl ;
    sqldevelop.wordpress.com

  • How to set SMB and FTP sharing for different users?

    In Tiger FTP and SMB sharing was different options with their own settings each other. In Leopard there if i enable user for sharing, it enables for all protocols together.
    Another problem. In file sharing i can add shared folder, but what's sens of it, if the whole filesystem is shared (at least FTP and AFP, not SMB, thanks god) and there's no way to remove this share. Just shortcut? How can i create ftp sharing, allowing user to see only his folder, not the whole filesystem?
    Any advices are pleased, except to get Leopard Server Thank you.

    OS X Client FTP implementation is not comprehensive at all. Apple does not make FTP serving a priority for OS X (on the general principle that it is not really necessary for most consumers). Thus, by default you can't enable/disable FTP for individual users. Nor can you create FTP only users.
    However, a useful product called [Pure-FTPd|http://www.pureftpd.org/project/pure-ftpd], provides the missing functionality for free to all UNIX based systems. Even better, [PureFTPd Manager|http://jeanmatthieu.free.fr/pureftpd> provides a GUI on OS X for managing it.
    This product is probably overkill for a single-user situation - but it is a great example of leveraging the UNIX platform of OS X to significantly enhance file sharing capabilities to server level.
    Cheers,
    Rodney

  • How to show master and detail tables in different pages?

    Hi,
    Can somebody expalin me how to include or bind the master and detail tables to different pages which are included at runtime.
    thnaks,
    Naresh.

    Hello!
    you have ti create a Master/Detail data structure.
    In the first page drag the master table, on the second drag a detail table.
    It should work out of the box. Selecting a record on the master table selects
    the details on the detail table automatically!
    regards,
    Mario Udina

  • How to move a tempfile online to a different mountpoint

    Hi,
    I need to move a tempfile online to a different mountpoint
    Can you please tell me the steps
    Thanks
    bsac14

    hi,
    I would recommend the following steps:
    ==============================
    SQL> alter database tempfile '/u01/app/temp02.dbf' drop;
    Database altered.
    SQL> alter tablespace USER_TEMP_1 add tempfile '/oracle/temp03.dbf' size 2M;
    Tablespace altered.
    $ rm /u01/app/temp02.dbf
    ==============================
    i.e. Drop the tempfile and add a new one to the tablespace. Then remove the OS file.
    Hope this helps!

  • User_lobs and user_segments view shows different tablespace for lob segment

    Hi,
    I am trying to move lob in different tablespace for partitioned table.
    I used
    alter table <table_name> move partition <partition_name> lob(lob_column) store as (tablespace <tablespace_name>);
    alter index <index_name> rebuild partition <partition_name> tablespace <tablespace_name>
    ALTER TABLE <table_name> MODIFY DEFAULT ATTRIBUTES TABLESPACE <tablespace_name>
    ALTER INDEX  <index_name> modify default ATTRIBUTES TABLESPACE <tablespace_name>
    Database - 10.2.0.5
    OS- HP Itanium 11.31
    I can see in user_lob_partitions, user_segments and  user_part_tables shows me new tablespace information
    whereas user_lobs and user_part_indexes shows me different information regarding tablespace.
    I checked some documents in metalink but didnt help me.
    I think that I am missing something or doing some step wrong.
    Please help.
    SQL> select partition_name, lob_partition_name, tablespace_name from user_lob_partitions where table_name in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_PUB_LOG') ;
    PARTITION_NAME                 LOB_PARTITION_NAME             TABLESPACE_NAME
    S2000                          SYS_LOB_P8585                  USAGE_REORG_TBS
    S2001                          SYS_LOB_P8587                  USAGE_REORG_TBS
    S2003                          SYS_LOB_P8589                  USAGE_REORG_TBS
    S2004                          SYS_LOB_P8591                  USAGE_REORG_TBS
    S2005                          SYS_LOB_P8593                  USAGE_REORG_TBS
    S2006                          SYS_LOB_P8595                  USAGE_REORG_TBS
    S2007                          SYS_LOB_P8597                  USAGE_REORG_TBS
    S2008                          SYS_LOB_P8599                  USAGE_REORG_TBS
    S2010                          SYS_LOB_P8601                  USAGE_REORG_TBS
    S2011                          SYS_LOB_P8603                  USAGE_REORG_TBS
    S2012                          SYS_LOB_P8605                  USAGE_REORG_TBS
    S2013                          SYS_LOB_P8607                  USAGE_REORG_TBS
    S2014                          SYS_LOB_P8609                  USAGE_REORG_TBS
    S2015                          SYS_LOB_P8611                  USAGE_REORG_TBS
    S2888                          SYS_LOB_P8613                  USAGE_REORG_TBS
    S2999                          SYS_LOB_P8615                  USAGE_REORG_TBS
    S3000                          SYS_LOB_P8617                  USAGE_REORG_TBS
    S3001                          SYS_LOB_P8619                  USAGE_REORG_TBS
    S3004                          SYS_LOB_P8621                  USAGE_REORG_TBS
    S3005                          SYS_LOB_P8623                  USAGE_REORG_TBS
    S3006                          SYS_LOB_P8625                  USAGE_REORG_TBS
    S3007                          SYS_LOB_P8627                  USAGE_REORG_TBS
    S3008                          SYS_LOB_P8629                  USAGE_REORG_TBS
    S3009                          SYS_LOB_P8631                  USAGE_REORG_TBS
    S3010                          SYS_LOB_P8633                  USAGE_REORG_TBS
    S3011                          SYS_LOB_P8635                  USAGE_REORG_TBS
    S3012                          SYS_LOB_P8637                  USAGE_REORG_TBS
    S3013                          SYS_LOB_P8639                  USAGE_REORG_TBS
    S3014                          SYS_LOB_P8641                  USAGE_REORG_TBS
    S3015                          SYS_LOB_P8643                  USAGE_REORG_TBS
    S3050                          SYS_LOB_P8645                  USAGE_REORG_TBS
    SMAXVALUE                      SYS_LOB_P8647                  USAGE_REORG_TBS
    32 rows selected.
    SQL> select TABLE_NAME,COLUMN_NAME,SEGMENT_NAME,TABLESPACE_NAME,INDEX_NAME,PARTITIONED from user_lobs where TABLE_NAME in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG') ;
    TABLE_NAME                     COLUMN_NAME                    SEGMENT_NAME                   TABLESPACE_NAME                INDEX_NAME                     PAR
    TRB1_SUB_ERRS                  GENERAL_DATA_C                 SYS_LOB0006703055C00017$$      TRBDBUS1LNN1                   SYS_IL0006703055C00017$$       YES
    TRB1_SUB_LOG                   GENERAL_DATA_C                 SYS_LOB0006703157C00017$$      TRBDBUS1LNN1                   SYS_IL0006703157C00017$$       YES
    TRB1_PUB_LOG                   GENERAL_DATA_C                 SYS_LOB0006702987C00014$$      TRBDBUS1LNN1                   SYS_IL0006702987C00014$$       YES
    SQL> SQL> select unique segment_name ,tablespace_name from user_Segments where segment_name in (select SEGMENT_NAME from user_lobs where TABLE_NAME in('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG') );
    SEGMENT_NAME                                                                      TABLESPACE_NAME
    SYS_LOB0006702987C00014$$                                                         USAGE_REORG_TBS
    SYS_LOB0006703055C00017$$                                                         USAGE_REORG_TBS
    SYS_LOB0006703157C00017$$                                                         USAGE_REORG_TBS
    SQL> select unique segment_name ,tablespace_name from user_Segments where segment_name in (select INDEX_NAME from user_lobs where TABLE_NAME in('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG') );
    SEGMENT_NAME                                                                      TABLESPACE_NAME
    SYS_IL0006702987C00014$$                                                          USAGE_REORG_TBS
    SYS_IL0006703055C00017$$                                                          USAGE_REORG_TBS
    SYS_IL0006703157C00017$$                                                          USAGE_REORG_TBS
    SQL> select unique index_name,def_tablespace_name from user_part_indexes where table_name in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG');
    INDEX_NAME                     DEF_TABLESPACE_NAME
    SYS_IL0006702987C00014$$       TRBDBUS1LNN1
    SYS_IL0006703055C00017$$       TRBDBUS1LNN1
    SYS_IL0006703157C00017$$       TRBDBUS1LNN1
    TRB1_PUB_LOG_PK                USAGE_REORG_IX_TBS
    TRB1_SUB_ERRS_1IX              USAGE_REORG_IX_TBS
    TRB1_SUB_ERRS_1UQ              USAGE_REORG_IX_TBS
    TRB1_SUB_ERRS_2IX              USAGE_REORG_IX_TBS
    TRB1_SUB_LOG_1IX               USAGE_REORG_IX_TBS
    TRB1_SUB_LOG_PK                USAGE_REORG_IX_TBS
    SQL> select unique def_tablespace_name from user_part_tables where table_name in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG');
    DEF_TABLESPACE_NAME
    USAGE_REORG_TBS
    Please let me know if some more details required.

    >whereas user_lobs and user_part_indexes shows me different information regarding tablespace.
    do you see different results after starting a new session after the ALTER statements were issued?

  • How to move media and librar[ies] to external hard drive, when 'Keep organized' de-selcted

    Newbie to mac, sorry for being so dense. I am  nervous about my understanding of iTunes and from the many posts I’ve read realize how easily I could screw this up.  Can someone point me to step by step directions for moving the actual media ‘files’, ie the mp3s, as well as the necessary library files, to an external drive, when ‘keep media organized’ and ‘copy files to media folder’ are NOT SELECTED?   
    I am running OS X 10.6.8 and iTunes 10 [and prefer a solution which does not require updating software …so far that never goes well for me. (:
    For myriad reasons, I prefer to maintain my own customized  folder and file structure for my mp3s; and have therefore de-selected
    1] Keep iTUnes Media folder organized  and 2] Copy files to iTunes Media folder when adding to library. 
    All the directions in the various posts seem to require selecting these options.  Is this critical for success?
    From the many posts I have read, it seems there’s more to it than just drag and drop, that I need to ensure that iTunes is ‘pointed’ to somewhere? Not the mp3s themselves, but to a ‘library” [is that yet another copy of the mp3s? somewhere on my hard drive?].
    Additionally, over the years I have moved about 45GB of mp3s to ‘storage’ external hard drives to create more space on my laptop. Not ideal interim solution.  I am again low on space and have decided to buy new external drive for holding all of my mp3s, ie the 45 GB in ‘storage’ and the remaining 75 GB from my laptop.  Ideally, I would like to also keep all my artwork, playlists and ratings and the like [which I guess are in the ‘libraries’???]
    Am I correct, that I will need to also move to the new external hard drive that folder which holds the .itl and .xml files and which is named ‘iTunes’???  and then there is another step to link the ‘media’ to the ‘library’ to ‘itunes’????
    Again, any clarification is greatly appreciated. Thanks very much.

    Unfortunately you have the worst possible situation for doing this.  If you let iTunes organize files you could simply let iTunes relocate them by consolidating in advanced preferences and it would all be done with a few minutes effort on your part with nothing getting lost.  Organizing your own media means when you move things to a different drive iTunes will lose track of many if not all the links.
    First, try simply dragging the whole iTunes folder to the external drive and start iTunes with the option/alt key held down.  Guide it to the iTunes Library.itl file on the external drive.  If you are lucky it will move as a package.  If you are not, the link locations will all be bad because it will still be looking for the files on the internal drive.  It may look like it is working but get info on a file or two and see if it is still referencing the file on the internal drive or if it is really using the external drive.
    When you move the files from the third drive to the new external I can almost guarantee you every single link will break.  Again because you do not let iTunes organize media you can't use iTunes' own repair link feature.  One solution will be to take the old .xml file and open it in a text editor.  Do a global replace of the old drive path with the path to the location of the files on the new drive.  Now if all your old links broke for the main library you will have to do this for both the main library on the new drive as well as the relocated files from the main drive.  Now this is really starting to get messy and I am going to fade at any minute now because it is getting late.  If you needed to do this for all files go ahead and create a new library using the option key method mentioned earlier, then import the .xml into the new library.  If you only need to edit the third drive files then remove any references to the old main library files in this edited .xml and import just the edited third drive file references.  See?  Isn't that all nice and clear?  Oh, realize that the .xml does not contain 100% of the information in the .itl (you cannot edit the .itl).  You will lose ratings, play count, date added.  Ratings and play count can be saved using other tricks which would take about as much typing as I have done already so I won't go there unless they are absolutely critical to you.

  • How to move songs and Itunes see them

    I don't get all the library *.ITL thing and how it all relates.
    I put all my songs in a personal FOLDER on my HD. Now, I want to move them all. When I tell Itunes that my new default location has changed (preferences/advanced)all my song info still points to the old location. How do I get Itunes to see the NEW location and still have all my playlists, songs, etc, just the way I had them so I can Delete my old location?

    You can transfer itunes purchases.
    File>Transfer Purchases

  • How to move folders and files using UJFS

    Hi guys,
    I need to move from one environment to another the folders and files in the structure, cause the backup / restore (UJBR) doesn't move that part, now I need to know how to do it in the transaction UJFS . ( I'm using SAP BPC 7.5 NW Patch 8)
    Thanks for your help.
    Cheers,
    Rodrigo

    Thanks for your answer,
    In this case, I'm going to move the files and folders from one server to another, so it's not the scenario you mentioned.
    Cheers,
    Rodrigo

  • How to move Documents and Settings and All Libraries To D drive to separate from the OS

    I want to move my Documents and settings Folder to D drive so I can back up the OS separate from Data or at least move Libraries to D drive. I have partitioned my hard drive so that most of the space is on D drive and about 100G is on C drive. I can't understand why the old My Documents file structure was changed where now it is called Libraries and My Documents is a sub folder to that and My Music, My Picture etc are not in My Documents anymore. Let’s just randomly shuffle directories to enhance the Window 7 experience. If you have not already figured out I am an XP user. I know there is a way to do what I want to do because virtually all corporate systems are setup this way.
    Oh how the heck to I get access to Documents and Settings? Well sometimes programs hide stuff there. Like why does Zune software hide your album art in documents and settings that you spent hours downloading and fixing so that when you move my music that all your album art does not go with it.
    Perry

    Hi,
    In Windows Vista and Windows 7, the “My Documents and Settings“, has been replaced by "Users". The My Documents, My Music, My Pictures, and
    My Videos folders in Windows XP are transferred to the following folders in Windows 7:
    %systemdrive%\Users\user_name\Documents
    %systemdrive%\Users\user_name\Music
    %systemdrive%\Users\user_name\Pictures
    %systemdrive%\Users\user_name\Videos
    You can find your user files in the above folders and move them to the drive you like.
    For more information, please refer to
    http://support.microsoft.com/kb/930128
    http://support.microsoft.com/kb/930890
    It applies to Windows 7.
    Hope it helps.
    Vivian Xing - MSFT
    When I visit the two quoted knowledge base links from Windows 7 I get -
    System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you.Visit the Windows 7 Solution
    Center
    In other words your reply does not apply to Windows 7.
    Do you please have an answer which does apply to Windows 7?
    Cheers,
    Brian Towers

Maybe you are looking for