Run Parallel

Hi,
we have a database package which dynamically execute index rebuild/analyze table commands using EXECUTE IMMEDIATE statement.
The execute immediate statement is within a for loop.
We would like to know whether we can run these statements Parallel, rather executing them sequentially with-in for loop.
Sample
FOR r_ind_rebuild IN c_ind_rebuild (r_tabs.PARAMETER_VALUE)
LOOP
EXECUTE IMMEDIATE r_ind_rebuild.text;
END LOOP;

I think you should parallelize your rebuild Unless you hit an unexpected oracle event like buffer busy... this way you will fully utilize the your disk system.
I have 3 methods for that
1 - you can use dbms_job to submit your index rebuilds as jobs and run them in parallel.
I found the following code on internet. You can use DBMS_JOB.ISUBMIT to give them specific job ID then after they finish you can delete these jobs.
reference
http://www.ulaska.com/oracle/oracle_procedure_job_submit.html
CREATE OR REPLACE PROCEDURE DBMS_JOB_SUBMIT(PROC_NAME IN VARCHAR2)
IS
     INT_JOB_ID NUMBER := NULL;
BEGIN
     DBMS_JOB.SUBMIT (
         job => INT_JOB_ID,
          what => PROC_NAME || ';', -- What to run
          next_date => SYSDATE, -- Start right away
          interval => NULL -- Run only once
     COMMIT;
END;2 - you can have a definition table which contains the rebuild index definitions. It will have a status column (RUNNING, NOT STARTED, FINISHED)
they you can call more than one session (from jobs or bash scripts ) to get the next job whose status is NOT STARTED then chage status to RUNNING and after all change it to FINISHED. This way each job rebuilds mutually exclusive indexes.
3 - use oracle way of parallelism.
-get the parallelism defined on the index i.e PP=5
alter index YYYYY rebuild  parallel 5 ;
-if the index is not defined as paralel at the begining then set it to noparallel
alter index YYYYY noparallel ;

Similar Messages

  • How do I run parallels in the guest account

    I recently updated my Mac Mini.  On the old one I was running Parallels, and had the guest account set up to be able to run parallels just fine.  I used Migration Assistant to transfer everything to the new Mac.  Unfortunately, now my guest account can no longer run Parallels.  When I try to run Parallels, a popup window comes on the screen saying "You don't have permission to use the application 'launcher.'"  Even if I click "Always Allow", the next time I try to run it I get the same popup window warning.  I tried following Parallels webpage advice in how to share a virtual machine with multiple users from their website: http://kb.parallels.com/en/9303, but that doesn't help whatsoever.  So now I'm stuck.  What am I doing wrong?  I obviously had this working another time.  I'm thinking that the problem seems to lie on the Mac side, rather than the Parallels side.  Please help!

    I have not encountered this specific problem, but I suspect the cure is to reinstall Parallels desktop. Parallels installs some functions deep in the OS and they are unlikely to be transferred using MIgration Assistant which intentionally seeks to protect the operating systemon the target Mac.

  • How can I install Creative Cloud Desktop on a MacBook Pro running Parallels Desktop and Windows 8.1?

    Does anyone have any help for installing Creative Cloud on a MacBook Pro running Parallels Desktop and Windows 8.1? I downloaded the app, double-clicked it, said yes to allowing it to change my system, and received a notice of installation failure with Error code 1000. Any help much appreciated.

    RogueResearcher please see Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html for information on how to install the Creative Cloud Desktop application.  If you continue to experience Error Code 1000 can you please post a screen shot of the error?  Please see FAQ: How do I capture and post a screen shot or video? for information on how to post an image.

  • Newbie question: Running Parallels from Boot Camp on separate drive

    All: I'm new to the Mac world, so bear with me. I'm awaiting arrival of a Mac Pro that has two separate 250GB drives. I plan on running Parallels because there are certain Windows apps that I need to access periodically--but not enough to open up Boot Camp separately. Someone suggested the following, but I need help in figuring out how this works:
    +"...install Boot Camp on another internal drive (Since you have 4 drive sleds build into the Mac) and run Parallels from that Boot Camp volume. This way you have a dedicated drive for Windows, so its faster and its not using the boot drive at all. You can boot to it natively if you really need the speed and power for gaming or just use Parallels when your in OS X."+
    So in other words, if I already have two drives, I can have my main drive running normal Mac apps, and then if I need to run Windows, I install Parallels and all my Windows apps, along with Boot Camp and Windows XP, on the second drive and use it from there whenever I need to run Windows??

    I don't think BootCamp allows an installation on another drive, but Parallels and other software will.
    You might repost this in the BootCamp forum where there are many more users running Winders under all kinds of 3rd party software.
    Here's the link:
    http://discussions.apple.com/category.jspa?categoryID=237

  • Why is my sql running parallel ?

    Hi,
    NOTE: first, I thought sql developer tool is causing this and I opened a thread on that category, thanks to @rp0428's warnings and advises, I realized that something else is happening. so reopened this thread in that category, I also need an admin to delete other one:
    https://forums.oracle.com/forums/thread.jspa?threadID=2420515&tstart=0
    thanks.
    so my problem is:
    I have table partitioned by range (no subpartition) on a DATE column per months. It has almost 100 partitions. I run a query on that table based on partition column:
      select *
      from   hareket_table
      where islem_tar between to_date('01/05/2012', 'dd/mm/yyyy') and to_date('14/07/2012', 'dd/mm/yyyy') -- ISLEM_TAR is my partition column.so, when I run this query from sql developer, query works parallel. I didnt just get execution plan via sql developer interface, first I used "EXPLAIN PLAN FOR" statement (which I always do, I dont use developer tools interfaces generally) then used developer interface (just to be sure) but I didnt satisfied and then I run the query and and get real execution plan via:
    select * from table(dbms_xplan.display_cursor(sql_id => '7cm8cz0k1y0zc', cursor_child_info =>0, format=>'OUTLINE'));and the same execution plan again with PARALLELISM. so INDEXES and TABLE has no parallelism (DEGREE column in DBA_INDEXES and DBA_TABLES is set to 1).
    as I know, if I'm wrong please correct me, there is no reason to oracle run this query as parallel (I also did not give any hint). so I worried and run the same steps in "plsql developer" and query runs noparallel (inteface, explain plan for, dbms_xplan.display_cursor). sqlplus autotrace was the same( just autotrace, didnt try others dbms_xplan etc.) Based on that, I decided sql developer is causing to this (*edit: but I was wrong TOAD did same thing*).
    so I focused on sql developer and I disabled parallel query using:
    alter session disable parallel query;then run the statement again and there were no Parallelism (expectedly).
    so looked for execution plans:
    I run query twice. one with normal, one with session disabled parallel query. and look for executed execution plan for both. (child 0 and 1)
    -- WHEN PARALLEL QUERY IS ENABLE, SESSION DEFAULT
    -- JUST CONNECTED TO DATABASE
      select * from table(dbms_xplan.display_cursor('7cm8cz0k1y0zc', 0, 'OUTLINE'));
    | Id  | Operation            | Name          | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT     |               |       |       |  2025 (100)|          |       |       |        |      |            |
    |   1 |  PX COORDINATOR      |               |       |       |            |          |       |       |        |      |            |
    |   2 |   PX SEND QC (RANDOM)| :TQ10000      |  7910K|  1267M|  2025   (2)| 00:00:01 |       |       |  Q1,00 | P->S | QC (RAND)  |
    |   3 |    PX BLOCK ITERATOR |               |  7910K|  1267M|  2025   (2)| 00:00:01 |    90 |    92 |  Q1,00 | PCWC |            |
    |*  4 |     TABLE ACCESS FULL| HAREKET_TABLE |  7910K|  1267M|  2025   (2)| 00:00:01 |    90 |    92 |  Q1,00 | PCWP |            |
    Outline Data
      /*+
          BEGIN_OUTLINE_DATA
          IGNORE_OPTIM_EMBEDDED_HINTS
          OPTIMIZER_FEATURES_ENABLE('11.2.0.2')
          DB_VERSION('11.2.0.2')
          OPT_PARAM('query_rewrite_enabled' 'false')
          OPT_PARAM('optimizer_index_cost_adj' 30)
          OPT_PARAM('optimizer_index_caching' 50)
          OPT_PARAM('optimizer_dynamic_sampling' 6)
          ALL_ROWS
          OUTLINE_LEAF(@"SEL$1")
          FULL(@"SEL$1" "HAREKET_TABLE"@"SEL$1")
          END_OUTLINE_DATA
    Predicate Information (identified by operation id):
       4 - access(:Z>=:Z AND :Z<=:Z)
           filter(("ISLEM_TAR">=TO_DATE(' 2012-05-14 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND "ISLEM_TAR"<=TO_DATE('
                  2012-07-14 00:00:00', 'syyyy-mm-dd hh24:mi:ss')))
    --WHEN DISABLED PARALLEL QUERY
    --AFTER CONNECTED, EXECUTED "ALTER SESSION DISABLE PARALLEL QUERY"
    select * from table(dbms_xplan.display_cursor('7cm8cz0k1y0zc', 1, 'OUTLINE'));
    | Id  | Operation                | Name          | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT         |               |       |       | 36504 (100)|          |       |       |
    |   1 |  PARTITION RANGE ITERATOR|               |  7910K|  1267M| 36504   (2)| 00:00:04 |    90 |    92 |
    |*  2 |   TABLE ACCESS FULL      | HAREKET_TABLE |  7910K|  1267M| 36504   (2)| 00:00:04 |    90 |    92 |
    Outline Data
      /*+
          BEGIN_OUTLINE_DATA
          IGNORE_OPTIM_EMBEDDED_HINTS
          OPTIMIZER_FEATURES_ENABLE('11.2.0.2')
          DB_VERSION('11.2.0.2')
          OPT_PARAM('query_rewrite_enabled' 'false')
          OPT_PARAM('optimizer_index_cost_adj' 30)
          OPT_PARAM('optimizer_index_caching' 50)
          ALL_ROWS
          OUTLINE_LEAF(@"SEL$1")
          FULL(@"SEL$1" "HAREKET_TABLE"@"SEL$1")
          END_OUTLINE_DATA
    Predicate Information (identified by operation id):
       2 - filter(("ISLEM_TAR">=TO_DATE(' 2012-05-14 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
                  "ISLEM_TAR"<=TO_DATE(' 2012-07-14 00:00:00', 'syyyy-mm-dd hh24:mi:ss')))
    as you can see, when I've just connected to database (no any statements run) OPT_PARAM('optimizer_dynamic_sampling' 6) is in my stats.
    when I disable parallel query on the session, this is not in stats...
    value of optimizer_dynamic_sampling is 2 in DB. so why is that query runs parallel ? I don't want that.
    thanks for answers

    >
    NOTE: first, I thought sql developer tool is causing this and I opened a thread on that category, thanks to @rp0428's warnings and advises, I realized that something else is happening. so reopened this thread in that category, I also need an admin to delete other one:
    https://forums.oracle.com/forums/thread.jspa?threadID=2420515&tstart=0
    as you can see, when I've just connected to database (no any statements run) OPT_PARAM('optimizer_dynamic_sampling' 6) is in my stats.
    when I disable parallel query on the session, this is not in stats...
    value of optimizer_dynamic_sampling is 2 in DB. so why is that query runs parallel ? I don't want that.
    >
    I answered this question in that other thread, that is now gone. I pointed you to, and quoted from, a blog that tells you EXACTLY why that is happening. And I also gave you a link to an article by Oracle ACE and noted author Jonathan Lewis. You either didn't see the links or didn't read them.
    Maria Colgan is an Oracle developer and a member of the optimizer developer team. She has many article on the net that talk about the optimizer, how it works, how to use it.
    The one I pointed you to, and quoted from, is titled 'Dynamic sampling and its impact on the Optimizer'
    https://blogs.oracle.com/optimizer/entry/dynamic_sampling_and_its_impact_on_the_optimizer
    >
    For serial SQL statements the dynamic sampling level will depend on the value of the OPTIMIZER_DYNAMIC_SAMPLING parameter and will not be triggered automatically by the optimizer. The reason for this is that serial statements are typically short running and any overhead at compile time could have a huge impact on their performance. Where as we expect parallel statements to be more resource intensive, so the additional overhead at compile time is worth it to ensure we can be best execution plan.
    In our original example the SQL statement is serial, which is why we needed to manual set the value for OPTIMIZER_DYNAMIC_SAMPLING parameter. If we were to issue a similar style of query against a larger table that had the parallel attribute set we can see the dynamic sampling kicking in.
    You should also note that setting OPTIMIZER_FEATURES_ENABLE to 9.2.0 or earlier will disable dynamic sampling all together.
    When should you use dynamic sampling? DS is typically recommended when you know you are getting a bad execution plan due to complex predicates. However, you should try and use an alter session statement to set the value for OPTIMIZER_DYNAMIC_SAMPLING parameter as it can be extremely difficult to come up with a system-wide setting.
    When is it not a good idea to use dynamic sampling? If the queries compile times need to be as fast as possible, for example, unrepeated OLTP queries where you can't amortize the additional cost of compilation over many executions.
    >
    If you read the article and particularly the first two paragraphs above Maria expalins why dynamic sampling was used in your case. And for a table with as many partitions as yours Oracle chose to use sampling level six (256 blocks, see article); a level of two would only sample 64 blocks and you have 90+ partitions. Oracle needs a good sample of partitions.
    The Jonathan Lewis article is titled 'Dynamic Sampling'
    http://jonathanlewis.wordpress.com/2010/02/23/dynamic-sampling/
    This article can also shed light on sampling as he shows how it appears that sampling isn't being used and then shows that it actually is
    >
    We can see that we have statistics.
    We can see that we delete 9002 rows
    We can see that we have 998 rows left
    We can see that the plan (and especially the cardinality of the full tablescan) doesn’t change even though we included a table-level hint to do dynamic sampling.
    Moreoever – we can’t see the usual note that you get when the plan is dependent on a dynamic sample (” – dynamic sampling used for this statement”).
    It looks as if dynamic sampling hasn’t happened.
    However, I “know” that dynamic sampling is supposed to happen unconditionally when you use a table-level hint – so I’m not going to stop at this point. There are cases where you just have to move on from explain plan (or autotrace) and look at the 10053 trace.
    So the optimizer did do dynamic sampling, but then decided that it wasn’t going to use the results for this query.

  • Will the new time capsule back up Windows on an iMac running Parallels Desktop?

    Will the new time capsule back up Windows on an iMac running Parallels Desktop?

    Windows home version MSBackup, cannot backup to network drives.
    That was a little bonus from Bill for those who didn't fork out for Pro or Ultimate.
    Like people with home versions would never need to backup to network drives.. oh no.. never!!
    You need to mount the hard disk in windows for it to work.
    It will help a lot if you load the airport utility for windows into your windows OS.
    http://support.apple.com/kb/dl1547
    Open windows explorer and type the network address of the TC.
    \\TCname.local (where TCname is the correct network name of the TC).
    The TC should have all names that are windows compatible.. ie
    Fred Blog's Airport Time Capsule is just wrong. It is too long, it has spaces and it has apostrophe which is illegal.
    A good name for the TC is TC
    The default hard disk share name of data is fine. It should not be Time Capsule or anything again that is over long .. has spaces or is otherwise incompatible with windows.
    A good name for the TC wifi is TCwifi
    Then you can mount it \\TC
    typing that directly into the address bar of windows explorer.
    There are still issues with windows naturally and running in parallels I have no idea what other issues might come up.
    Tell me if you have issues.. but you will need most likely to check the network.
    Open a command window and ping the TC by name and by IP address. If IP address works just mount by IP.
    \\10.0.1.1 for example .. and that is the default TC IP address when in router mode.
    If you still cannot access the TC my recommendation is to use a USB drive and use that.. it is 10x easier and more reliable than mixing Mac and windows backups on the TC.

  • Im running parallels on my mac book pro. How do you get cds to come up on the mac side instead of the windows?

    I am currently running parallel on my mac book pro every time I put in a cd the windows side takes over. I want it to come up in the mac side. Can you tell me how to change the settings to accomplish that. Everything else like thumb drives etc. the computer will ask what side I want to use.

    Have you deleted it from your gmail account in google
    http://email.about.com/od/macosxmailtips/qt/et090204.htm

  • Is it better to run parallels alone or bootcamp?

    I had an older MBP and at first i was running bootcamp alone with my autodesk inventor software. Then i happened to buy and install parallels and everything ran perfect!
    Within the last week I upgraded to a new MBP with a faster processor and twice the ram. This time I did not run boot camp, just installed parallels alone... Now my inventor software is lagging and seems much slower to respond to commands. If i partition my drive with bootcamp and run parallels with it will it speed things back up? I am new to the parallels software so I'm not sure what would be the best choice. I just know I love using parallels, makes my life much easier when things run up to speed..

    New computer means your Windows OS needs to be prepped or a new install - new hardware = new activation license.
    Using a partition gives you option to dual boot. Also you are not using a VM image file which is limiting.
    Most people want to run 3D and processor/graphic intense software natively rather than in a VM but if Parallels suits you, fine.
    Were you using Parallels 10 and 10.10 before? I think you should upgrade to the new version as the older versions of Parallels are not optimized for Yosemite which also plays a big role and another reason it is sluggish.
    I believe in clean install - any OS, whether Mac or Windows, the end result is a more stable, faster, performs better with fewest possible bugs or glitches.
    When you used Boot Camp you also had to install Boot Camp Apple drivers for 'that' Mac which might still be there, but missing the drivers for your newer rMBP too.

  • Can I  run parallels in the new MBA?

    I am interested in buying the new released MBA but I was wondering if the new machine has enough power to run parallels.

    Yes it will run parallels, even the old model will run parallels. The only limitation in the past was hard drive space. The only current limitation is the amount of RAM available.

  • Copying data files from Mac to Windows on MacBook running Parallel

    How can I copy .doc files from Mac folders to Windows folders?
    I am running Parallel but I cannot access the Mac folders and files when I am running Windows.
    I cannot access flash drives from Windows either.
    Can anyone help?
    Thank you
    MacBook Black   Mac OS X (10.4.9)  

    Theres a feature called shared folders that works
    quite nicely. I cant quite remember the specifics but
    I have done it before. Or if you've got a few small
    ones copy and pasting between work spaces now works.
    Cheers, Arthur
    Now all I need do is figure out how to turn on the sound when using Windows. Everything is as it should be on my Xp setup but no sound. Mac must be controlling this but I do not know where to look to solve this situation.
    Have a great week,
    Robert
    MacBook Black   Mac OS X (10.4.9)  

  • Running parallels and Quick Books on a MacBook. MacProtector messed me up last week but I got it off Now I can't get Quick Books to open. Can anyone help?

    I am running Parallels and Quickbooks on my macbook. After an unfortunate encounter with macprotector (I didn't install it) which I was able to get off my computer, I now cannot access Quickbooks. It is trying to open it (unsuccessfully) in my Disk Utility. Any suggestions?

    I figured this out. There is an extra step now which I assume is from the iTunes update.  There is an option below where you check to sync Audiobooks to 'Include Audiobooks from Playlists'. I checked the playlist f and now my book is all the way on my phone instead of just pretending.
    Seems redundant but what do I know...At least I can listen to my book finally.

  • Precision Changes when running parallel queries in Oracle?

    I am trying to speed up our SQL queries and database draws by running parallel queries. However, we are noticing a slight difference in one of our queries. We have identified two possible reasons. One of those reasons is parallel queries for some reason have either less or more precision than what we were doing.
    Has this ever been reported before? Is it even possible? Thanks for any help.

    One of those reasons is parallel queries for some reason have either less or more precision than what we were doing.What do you mean? Show us an example of that happening and exactly what you mean.

  • If I have mountain lion would and am trying to run parallels would I have to run Windows 7 or can I just run Windows Vista?

    If I have mountain lion would and am trying to run parallels would I have to run Windows 7 or can I just run Windows Vista?

    It's the other way round: first, you install Parallels, and then you can install Windows 7, 8, Vista, whatever you want. Or Linux. For more information visit the Parallels website.

  • A KDE3 session runs parallel to my KDE4 one [ALMOST SOLVED]

    In the process of installing Quanta (KDE3), I appended '/opt/kde' to my $KDEDIRS global variable so I could have Quanta's .desktop entry in my menu ... but this has created an annoying side effect: a KDE3 session begins alongside my KDE4 one.  As I write this, I have both KDE3 and -4 panels along the bottom of my screen, and pressing <Alt><F2> runs KDE3's application launcher instead of KRunner (it's been so long since I used KDE3, I don't remember what the thing is called).
    Does anybody have a solution in which I may have both KDE4 and -3 .desktop entries in my application menu, without running parallel sessions?
    Last edited by deltaecho (2009-02-27 20:13:58)

    Well, I sorta' solved the problem -- by removing '/opt/kde' from $KDEDIRS, and symlinking '/opt/kde/share/applications' to '/usr/share/applications/kde3', the applications were registered in my menu, and KDE3 was prevented from running alongside KDE4.  However, their icons do not display since the .desktop files only give the names of the icons, excluding the paths ... does anybody know where KDE keeps its icon cache config (so I can tweak it to cache my KDE3 icons too)?
    Last edited by deltaecho (2009-02-27 20:14:57)

  • Queries run PARALLEL but no parallel parameters or table DOP set

    I've just taken over a new system and am seeing something that seems to me to be a bit unusual.
    Queries are running parallel, but I've checked and all tables have a DOP of 1 and none of the user queries have a parallel hint. Yet I see queries running parallel in OEM.
    The DB is 11.1.0.7 EE. It does have PARALLEL parms set at the DB level, such as max servers and min servers.
    I showed this to another DBA and they hadn't seen it, either.
    The docs state that, for a query to run parallel, a DOP > 1 must be set at the table level or in the query with a hint. Of course, these days, the docs are frequently very wrong and out of date. If this were 11.2, I would think the new Automatic DOP was involved.
    Appreciate any ideas on how to investigate this.

    pdp0617 wrote:
    I've just taken over a new system and am seeing something that seems to me to be a bit unusual.
    Queries are running parallel, but I've checked and all tables have a DOP of 1 and none of the user queries have a parallel hint. Yet I see queries running parallel in OEM.
    The DB is 11.1.0.7 EE. It does have PARALLEL parms set at the DB level, such as max servers and min servers.
    I showed this to another DBA and they hadn't seen it, either.
    The docs state that, for a query to run parallel, a DOP > 1 must be set at the table level or in the query with a hint. Of course, these days, the docs are frequently very wrong and out of date. If this were 11.2, I would think the new Automatic DOP was involved.
    Appreciate any ideas on how to investigate this.Well, its not certainly an unusual behavior. I have seen it already once but I am not sure that you have the same case but let's try. Can you tell that whether your query is using any indexes and what's the output of this query if the index is in use?
    select index_name,degree,instances from all_indexes where index_name='indexname';HTH
    Aman....

  • Need to reset Imac running parallels to earlier time and date

    I have a 21.5 IMac running 10.5.8 OSX. I use this computer to run parallels and MagicInfo(WIndows program) for digital signage. Magic Info crashed and I need to see if I can reset the IMac to a day prior to the crash and restore the program? Or do I need to go into the virtual windows and reset?

    This is an iMac forum, I would recommend looking for a Parallels forum and reposting your question.

Maybe you are looking for

  • Problem connecting DB to struts app

    Hi, I have made a struts app to get data from mysql DB i am getting follwoing erer java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool      at java.lang.Class.getDeclaredConstructors0(Native Method)      at java.lang.Class.

  • How to display  image efficiently in JPanel.............

    i have following piece of code used to load and display image on jpanel when application starts. the problem is that image is not loaded efficiently, also it covers other panels added in frame. and scrollbar of panel does not work to show parts of im

  • Target Unreachable, 'null' returned null

    Hello, I have an ADF application developed with JDeveloper 11.1.2.2 and now mi client is asking me to upgrade to ADF 12. I have make an test to evaluate if this version improve the previous and likes that yes, thus I have started to update it. I have

  • Upgrade from FCE?

    So i got a version of Final Cut Pro HD (upgrade from final cut express), but when I type in the serial number from FCE (which i got from choosing "about FCE" from the menu bar) it won't highlight the OK button for me to enter the code... i checked th

  • How to add video for ipod touch

    I am unable to synch videos from my laptop to the ipod using itunes..It does not get synched to the itunes video library..what is the solution??please help