Amount of data sent is unexplainable

I am using an iphone 4 and the amount of data sent by the phone in the background is unexplainable and it costs me alot. It happens even if I am not browsing on the internet or downloading anything. I there a way to restrict this? What data is sent in the background?

Have you tried double-clicking the home button and closing all the apps that use an Internet connection? Also, your preferences for Mail might have it checking and downloading automatically.
I once started a live CNN video feed on Wi-fi, then pressed the home button, put my phone to sleep and went somewhere. That night, I'd used 480 MB in one day - it was still streaming it in the background!

Similar Messages

  • How to determine amount of data sent/received by partner

    Here is our situation.  We have PI 7.0 running.  Now we want to charge back to our internal users based on the amount of data sent or received.  Does anyone know where or if the size of the messages are stored; we would like to get the data by receiver. 
    This seems like a simple thing, but I have not been able to find anything on this topic.
    Thanks,
    Rich

    Rich,
    in RWB => Performance monitoring you can filter per interface / receiver / sender / etc.
    All information is available there (size, timestamp, runtime, ...)
    Also you can easily exort data too.
    Check it.
    Regards,
    Kai
    Edited by: Kai Lerch-Baier on Mar 20, 2009 3:14 PM

  • IPhone using extremely high amounts of data when not in use

    I have a 4S on AT&T and am grandfathered in w/ the unlimited data plan. Last month I got the notification that I was in the top 5% of data users (which sounds crazy to me considering what some other people I've read about seem to use). According to AT&T's site I had used 2.09 GB with 16 days left in my billing cycle.
    Once I got that notification I logged on to see if I could find out when I was using such large amounts of data. It turns out between midnight and 1 am almost every night there was large amounts of data sent. I think this is strange since for two reasons, 1) I'm on WiFi at home in my apartment and 2) I wasn't even awake at the times these charges occurred.
    Example: January 6, 2012 at 12:40 am I was charged for 417,327kb, roughly 417MB.
    Similar data usage occurred almost every night going back to 12/28/11. On 12/29 I was charged for 468MB at 12:21am. Very unlikely this was actually data I used since I had work the next day and wasn't awake. It honestly looks like 80-85% of my data usage is coming from these occurrences. It also isn't likely that this is a total of data used throughout the day as there are other entries of smaller amounts spread out throughout the day.
    Now, if I was on a truly unlimited plan and there was no such thing as throttling I really wouldn't care about this. But the fact is that my 3G speeds are being throttled (just ran speed test at a location I used to get over 1Mbps and I am was at .07 Mbps). I have spoken to AT&T and they insisted it was an issue w/ my phone, either the hardware or the OS. So I went to apple and the "Genius" did a DFU restore for me in store and told me that would fix it. It hasn't and now I'm stuck with this constantly happening and unbearably slow 3G data speeds for the rest of the month.
    That was my last billing cycle where I was throttled down to download speeds of .07mbps. Unusable. This month I decided to closely monitor my data usage. I turned off iCloud and photostream, and turn off data whenever I'm using wifi. I turned off the sending info to apple setting.
    I checked my account on ATT.com today and noticed that yesterday morning at 7:58 am while driving to work I somehow used 247 MB. Don't ask me how, I'm not steaming anything and my phone is either locked or playing music from the iPod app. I could probably stream Netflix for 5 hours and not use that much data.
    I called AT&T to let them know (AGAIN) and got bumped up to a "Data manager" who was incredibly b*tchy and rude. She said there must be some app that's using that much data to update. I don't have any apps that are even that size so I don't see how this could possibly be the case. I tried to talk with her about how that can't really be the case and she just kept repeating that there must be some app using the data blah blah. I've gone to apple with this last month after failing with AT&T and at first they did a DFU restore and we restored the phone as new, then it kept happening so I went back they replaced my phone. AT&T said it must be a hardware or software issue last month, but this month it must be an app that's doing this. I can't get a straight answer from them and they just keep passing the ball to say it's Apple's problem.
    I really don't know what to do. I'm grandfathered in on the unlimited plan and don't really want to change that. Say I change my plan to the 3GB's at the same $30/month. What's to say this won't keep happening and I'll be over that 3GB's in 10 days then get charged an extra $10 for each additional GB?!
    I can't think of any apps I've downloaded in the past few months that would result in this change and I can't live with another 2/3 of my billing cycle being throttled down to unusable speeds.
    Has anybody else had anything similar happen? I have no idea what to do next (and sorry for the long rant but I'm fresh off the phone with AT&T and I'm ******)

    Thanks for the link. I only went through the last three pages and unfortunately it looks like there is no solution. I turn data off every night and turn it on only when I'm not in a wifi area. It seems that as soon as I turn it on, within an hour it charges me data for a backlog of whatever it didn't do when it was connected to wifi.
    I think it's absolutely disgusting that AT&T can just dismiss this and act like it's the users fault. Apps and email updating in the middle of the night to the tune of 400MB? I highly doubt it and then when I called to ask them about it they try to make me sound stupid like I have an app or two open. Just really ticked me off. The worst part about it is that there doesn't appear to be anything I can do about it aside from never using my data.

  • What's the maximal data amount to be sent by mail?

    What's the maximal data amount to be sent by mail?

    Most ISP's will spit back an attachment that's over 10MB, some less than that.

  • Azure Cloud service fails when sent large amount of data

    This is the error;
    Exception in AZURE Call: An error occurred while receiving the HTTP response to http://xxxx.cloudapp.net/Service1.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being
    aborted by the server (possibly due to the service shutting down). See server logs for more details.
    Calls with smaller amounts of data work fine. Large amounts of data cause this error.
    How can I fix this??

    Go to the web.config file, look for the <binding> that is being used for your service, and adjust the various parameters that limit the maximum length of the messages, such as
    maxReceivedMessageSize.
    http://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpbinding.maxreceivedmessagesize(v=vs.100).aspx
    Make sure that you specify a size that is large enough to accomodate the amount of data that you are sending (the default is 64Kb).
    Note that even if you set a very large value here, you won't be able to go beyond the maximum request length that is configured in IIS. If I recall correctly, the default limit in IIS is 8 megabytes.

  • What deterimes the amount of data in a waveform from a TDS 1012 scope

    Hello,
       What determines the amount of data that is in a waveform that comes out of a TDS 1012 scope? I am assuming that I will have to look at the driver vi to determine the commands sent to the scope to figure it out. I am in a situation that I need to have the y axis to have a high resolution, that results in very little data being collected from the scope.
    Regards,
    Kaspar
    Regards,
    Kaspar

    Hello,
        The amount of data that comes out of the TDS 1012 scope is determined by the data start (DATaTARt)  and data stop (DATaTOP)  commands that are defined on page 58 (2-38) in the  346 page programming manual for the scope. I found of that the data start was not set to 1, which is the beginning of the data.
        I also had a very low level signal on channel that was all most unreadable by the scope that caused me to think that I was not getting all of the data.
    Regards,
    Kaspar
    Regards,
    Kaspar

  • With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?

    With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?
    For example, in Notes, I have written three notes; however if I click on 'All On My Mac' on the side bar, I see about 10 different versions of each note I make, it saves a version every time I add or delete a sentence.
    I also noticed, that when I write an email, Mail saves about 10 or more draft versions before the final is sent.
    I understand that all this journaling provides a level of security, and prevents data lost; but I was wondering, is there a function to clean up journal logs once in a while?
    Thanks
    Roz

    Are you using Microsoft word?  Microsoft thinks the users are idiots. They put up a lot of pointless messages that annoy & worry users.  I have seen this message from Microsoft word.  It's annoying.
    As BDaqua points out...
    When you copy information via edit > copy,  command + c, edit > cut, or command +x, you place the information on the clipboard. When you paste information, edit > paste or command + v, you copy information from the clipboard to your data file.
    If you edit > cut or command + x and you do not paste the information and you quite Word, you could be loosing information.  Microsoft is very worried about this. When you quite Word, Microsoft checks if there is information on the clipboard & if so, Microsoft puts out this message.
    You should be saving your work more than once a day. I'd save every 5 minutes.  command + s does a save.
    Robert

  • Mail for large amount of data

    Hey guys,
    I just switched to Mac (and I love it ;)) and now I am searching for a mail program to host my office pop mail account. I get normally around 5000 messages / month, totalling over 3GB, mostly pictures.
    Can Mail handle the amount of data, or will it corrupt my inbox?
    Am I asking because under Windows, OE couldn't handle the amount of data, neither could Thunderbird before the update to 1.5.

    Hi Ernie,
    Thanks for your ideas.
    more below:
    Mick,
    The only place I know for sure that discusses this,
    can be found at:
    http://docs.info.apple.com/article.html?artnum=25812
    Yeah, I read this when I had a couple In Boxes blow a year or two ago. Sadly, it wasn't really up to date and I'd seen no warning or otherwise prior that this could happen. These days I try to keep the IN BOX as slim and trim as possible. Just wish I knew what the real specs were on how much is too much?
    Other than an individual xxxx.mbox folder, I know of
    no limit that would apply, either to the total size
    of the Mail folder, nor to number of messages.
    What's the limit to an individual xxxx.mbox folder?
    Having said that, I never rely solely upon the Mail
    files to archive important attachments. I also keep
    my Mail folder active on more than one Mac, and thus
    on more than one hard drive. I do not, however, sync
    general Sent messages between the various Macs, on
    the theory that other backup practices protect any
    information that I would ever attach to send. Of
    course some On My Mac mailboxes are archiving both
    received and sent messages for certain subject
    areas.
    Sent messages are important to most of the businesses I support so they all need to be there. Nice thought about archiving attachments. I wonder if it's possible to create a rule or automator flow that would do that? Any attachment over 500k would get archived and then deleted from the message. I wonder if that's possible and simple enough...
    My own Mail folder is in excess of 5 GB, and my
    largest individual xxxx.mbox barely exceeds 1 GB.
    Is each folder created "On My Mac" one mbox?
    Again, she has in excess of 20GB and I'm worried about all that weight in the program. Makes me long for the good old days of Eudora which could handle massive sizes like that.
    thanks, Ernie.
    cheers,
    Mick

  • Sending large amounts of data spontaneously

    In my normal experience with the internet connection, the bits of data sent is about 50 to 80% of that received, but occasionally Firefox starts transmitting large amounts of data spontaneously; what it is, I don't know and where it's going to, I don't know. For example, today the AT&T status screen showed about 19 MB received and about 10 MB sent after about an hour of on-line time. A few minutes later, I looked down at the status screen and it showed 19.5 MB received and 133.9 MB sent, and the number was steadily increasing. Just before I went on line today, I ran a complete scan of the computer with McAfee and it reported nothing needing attention. I ran the scan because a similar effusion of sending data spontaneously had happened yesterday. When I noticed the data pouring out today, I closed Firefox and it stopped. When I opened Firefox right afterward, the transmission of data from did not recommence. My first thought was that my computer had been captured by the bad guys and now I was a robot, but McAfee says not to worry. But should I worry anyway? What's going on, or that not having a good answer now, how can I find out what's going on? And how can I make it stop, unless I'm seeing some kind of maintenance operation that Mozilla or Microsoft is subjecting me to?

    Instead of using URLConnection open a Socket to the server port (80 probably) send a POST http request followed by the data, you may then (optional) recieve data from the server to check that the servlet is ok, this is the same protocol as URLConnection, but you have control over when the data is actually sent...
    Socket sock=new Socket(getHost(),80);
    DataOutputStream dos=new DataOutputStream(sock.getOutputStream());
    dos.writeBytes("POST servletname\r\n");
    dos.writeBytes("Content-type: text/plain\r\n");  //optional, but good if you know
    dos.writeBytes("Content-length: "+lengthOfData+"\r\n")  //again, optional, but good if you can know it without caching the data first
    dos.writeBytes("\r\n");   // gotta have a blank line before the data
      // send data now
    DataInputStream=new DataInputStream(sock.getInputStream());  //optional if you want to recieve
      // recieve any feedback from servlet if you want
    dis.close();
    dos.close();
    sock.close();im guessing that URLConnection caches the data so it can fill in "Content-length"

  • Photoshop can not print the maximum amount of data that can be spooled to a PostScript printer is 2G

    Hi all,
    This is the first time I've worked with the .psb (large format) size and I have gone to print a PDF of the file and I get the message:
    "photoshop can not print this document because the document is too large. The maximum amount of data that can been spooled to a PostScript printer is 2GB".
    The file itself is a 2700x1570mm 300dpi flatten .psb image that is 500mb in size.
    Not sure how I can get around this, where abouts do I see the image size information that is being spooled?
    Any help would be great

    There's no easy way to see the size of the image that's being spooled, but 2G limit is uncompressed, 4 bytes per pixel (either RGBX where X is a padding byte, or CMYK, depending on the image / printer), times about 1.6 because the image data is sent in ASCII85 format rather than binary.
    With your image at over 100 inches at 300 dpi, you're also perilously close to the 32k limit on the pixels in any one dimension (31,900 by my calculations) that PostScript can handle.
    The limits are 32767 pixels in either dimension, and 2GB of data total. The data that's sent at 4 bytes per pixel, and converted to ASCII85 so that it'll make it across any connection. ASCII85 gives about a 1.6 expansion factor, if I remember correctly.
    Do you really need a 10 foot image printed at 300 dpi? If not, changing down to 200 dpi will probably let this image print.

  • Ni reports crashes with large amounts of data

    I'm using labview 6.02 and am using some of the Ni reports tools to generate a report. I create, what can be, a large data array which is then sent to the "append table to report" vi and printed. The program works fine, although it is slow, as long as the data that I send to the "append table to report" vi is less than about 30kb. If the amount of data is too large Labview terminates execution with no error code or message displayed. Has anyone else had a similar problem? Does anyone know what is going on or better yet how to fix it?

    Hello,
    I was able to print a 100x100 element array of 5-character strings (~50 kB of data) without receiving a crash or error message. However, it did take a LONG time...about 15 minutes for the VI to run, and another 10 minutes for the printer to start printing. This makes sense, because 100x100 elements is a gigantic amount of data to send into the NI-Reports ActiveX object that is used for printing. You may want to consider breaking up your data into smaller arrays and printing those individually, instead of trying to print the giant array at once.
    I hope these suggestions help you out. Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • HT4528 One external app on 1st gen iPhone 5.  Cellular Network Data Sent = 1.2GB.  What could cause such a high usage?

    One external app on 1st gen iPhone 5.  Cellular Network Data Sent = 1.2GB.  What could cause such a high usage?

    I had the same issue, whilst my IPhone 5 iOS 7.0.2  was in my pocket all morning, I checked the usage on traffic monitor and it said data usage 1.1 GB.  My setting are:
    icloud:
    mail:off, contacts:on, calenders:on, reminders:on, Safari:off, Notes:on, passbook:on, photos:off, Documents & Data:on(whatsapp only), Find my Iphone:on
    itunes & apps store:
    music:off, Video:off itunes match:off Automatic downloads music:off, apps:off, books:off, update:off
    Podcasts: Auto downloads:off
    itunes wifi sync: last sync Friday 11 Oct 2013 (not this morning)
    I am using an inmarsat satelite connection if anybody knows any other settings that could cause vast amounts of data to download please advise. After thought would'nt it be nice if apple had an all in one feature(switch) that only allowed Push notifications and safari usage through. Thanks in advance.

  • Nio write problem: server data sent isn't fully read by client

    Hi everyone,
    still writing away with my nio server and once again have run into
    some problems. Essentially my main problem is that when the server
    writes to the client, the write appears to output all the bytes in the
    write operation, but the client never accepts them all, even if a
    buffer has been manually allocated to the correct size of the data.
    As background my server will accept connections. When a connection
    is established I register OP_READ on the key. When a OP_READ trigger
    occurs the server accepts the clients request, processes it, then
    attaches the output to the SelectionKey as a ByteBuffer that has
    already been encoded. At this point I then register OP_WRITE on that
    SelectionKey (as a side note i'm running this server on XP and had
    read that registering OP_READ and OP_WRITE on the same selector was
    bad, but then it looked like there was a work around to this) and wait
    for an OP_WRITE trigger.
    When an OP_WRITE occurs on that key I run a new method (with heavy
    influences from the thread: http://forum.java.sun.com/thread.jsp?forum=11&thread=530825 and the taming the nio circus thread) which will grab the attachment and attempt to send it. The code has been written that IF the send cannot complete it should re-attach the remaining bytebuffer to the key and wait for another OP_WRITE to occur so it can send the remainder.
    The problem is that whenever I write (and for this test the amount im writing is approx 10100 bytes) the server appears to send it all (by checking the int returned from socketchannel.write()), but at the client end it never reads all the data that is sent.
    If i'm using a blocking socket client, then I get a java.net.SocketException: Connection Reset exception, whilst if i'm using a non-blocking client, I get no exception, just not the whole amount of data, even when i've statically allocated a receiving bytebuffer that is big enough.
    The following code is a class that is used to do the writing from the server:
       /* code for nio write model referenced from:
         * http://forum.java.sun.com/thread.jsp?forum=11&thread=530825
        class NIOWriteHandler {
            private ByteBuffer sendBuffer;
            private SelectionKey localSelectionKey;
            NIOWriteHandler(SelectionKey currentKey) {
                localSelectionKey = currentKey;
            public void doWrite() {
                localSelectionKey.interestOps(SelectionKey.OP_READ);  //deselect write,
                sendBuffer = (ByteBuffer)localSelectionKey.attachment();
                // perform the writing
                SocketChannel writingChannel = (SocketChannel)localSelectionKey.channel();
                if (writingChannel.isOpen()) {
                    int len = 0;
                    if (sendBuffer.hasRemaining()) {
                        try {
                            System.out.println("Sending chunks o data");
                            len = writingChannel.write(sendBuffer);
                            System.out.println("value of len: " + len);
                        } catch (IOException ioe) {
                            ioe.printStackTrace();
                            // call close method
                            System.out.println("CLOSE INVOKED at POINT 8");
                            closeComplete(localSelectionKey);
                    System.out.println("Second IF coming...");
                    if (sendBuffer.hasRemaining()) {
                        // if we get here then the previous write did not fully
                        // complete, so need to save data etc
                        System.out.println("Couldn't send all data this time...");
                        localSelectionKey.interestOps(SelectionKey.OP_WRITE|SelectionKey.OP_READ);
                        localSelectionKey.attach(sendBuffer);
                    } else {
                        sendBuffer = null;
                        closeComplete(localSelectionKey);
                // write complete at this stage
        }This is the basic block client that is incredibly dumb:
    import java.net.*;
    import java.util.*;
    import java.io.*;
    import java.nio.charset.*;
    import java.nio.channels.*;
    import java.nio.*;
    import java.nio.ByteBuffer;
    public class ServerTest {
        /* args 0 - the IP of the machine to connect to
           args 1 - the port number
           Simple client that connects to a specified IP & port, takes a line
           of input via stdin, sends that to the connected machine and prints
           out the response.
           Error handling and such isn't accounted for.
       public static void main (String args[]) throws Exception{
            Socket socket = new Socket(args[0], Integer.parseInt(args[1]));
            BufferedReader buffRead = new
                BufferedReader(new InputStreamReader((socket.getInputStream())));
            PrintStream ps =
                new PrintStream(socket.getOutputStream());
            Charset charset = Charset.forName("ISO-8859-1");
            BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
            System.out.println("[CLIENT]Data to send: ");
            String data = stdin.readLine();
            ps.println(data);
            String returned = buffRead.readLine();
            while (returned != null) {
                System.out.println(returned);
                returned = buffRead.readLine();
            System.out.println("[CLIENT]End server response");
            buffRead.close();
            ps.close();
            socket.close();
    }And here is the non-blocking basic client (which dosn't actually close at the moment):
    import java.net.*;
    import java.util.*;
    import java.io.*;
    import java.nio.charset.*;
    import java.nio.channels.*;
    import java.nio.*;
    public class ServerTestNonBlock {
        /* args 0 - the IP of the machine to connect to
           args 1 - the port number
           Simple client that connects to a specified IP & port, takes a line
           of input via stdin, sends that to the connected machine and prints
           out the response.
           Error handling and such isn't accounted for.
       public static void main (String args[]) throws Exception{
            InetSocketAddress addr = new InetSocketAddress
                (args[0], Integer.parseInt(args[1]));
            SocketChannel sc = SocketChannel.open();
            sc.configureBlocking(false);
            Selector selector = Selector.open();
            System.out.println("Starting connection...");
            sc.connect(addr);
            while(!sc.finishConnect()) {
               System.out.println("1,2,3,4 I will keep on counting...");
            System.out.println("Connection established..");       
            Charset charset = Charset.forName("ISO-8859-1");
            CharsetEncoder encoder = charset.newEncoder();
            sc.register(selector, SelectionKey.OP_READ | SelectionKey.OP_WRITE);
            while (true) {
               int n = selector.select();
               if (n==0) {
                  continue;
               Set keys = selector.selectedKeys();
               Iterator it = keys.iterator();
               while (it.hasNext()) {
                  SelectionKey selKey = (SelectionKey)it.next();
                  if (selKey.isReadable()) {
                     // time to setup read
                     ByteBuffer incomingData =
                        ByteBuffer.allocateDirect(102000);
                     incomingData.clear();
                     int count;
                     while ((count = sc.read(incomingData)) > 0) {
                        System.out.println("Value of count: " + count);
                        // reading the data
                     System.out.println("Count value: " + count);       
                     int pos = incomingData.position();
                     incomingData.flip();
                     CharBuffer content = charset.decode(incomingData);
                     String inData = content.toString();
                     System.out.println(inData.trim());
                     System.out.println("[CLIENT]End server response");
                     System.out.println("Count value: " + count);       
                     System.out.println("Position value: " + pos);       
                     //sc.close();
                     //break;
                  if (selKey.isWritable()) {
                     BufferedReader stdin = new BufferedReader
                       (new InputStreamReader(System.in));
                     System.out.println("[CLIENT]Data to send: ");
                     String data = stdin.readLine();
                     ByteBuffer byteBufferOut = encoder.encode
                        (CharBuffer.wrap(data));
                     int length = sc.write(byteBufferOut);
                     System.out.println("Wrote: " + length + " bytes.");
                     selKey.interestOps(SelectionKey.OP_READ);
    }I'm kinda stuck at the moment and am making change for the sake of change without getting a good grasp of what is going on. If anyone can provide any help that'd be fantastic. If in the mean time I figgure something out i'll post a response.
    If you've gotten this far thanks a bunch for reading :)
    Cheers,
    Pete

    Hi Meesum,
    thanks for the reply :)
    I'm not convinced this is the error - as i've got two clients listed there, and the odd behaviour from both is that neither is getting through to the last of the data that is sent.
    If the null were the problem (which is only checked for in the basic dumb blocking client) i'd be expecting some sort of infinite loop or wait for more data from the server, not an abnormal termination (ala connection reset) from the server. I'll give it a shot anyhow, but I know that under a blocking write operation that that code worked fine.
    Thanks again though for the post, has got some of my cogs slowly turning :)
    Cheers,
    Pete

  • Activity monitor shows data sent when playing songs

    What's going on? Whenever I play a song on iTunesl, Activity Monitor shows data being sent, as if I'm streaming it. Am I?

    Data sent is termed uploading. Data received is termed downloading. So no, you're not streaming it.
    There are a lot of processes running on your Mac at the same time, many of which need to connect to the Internet to maintain a connection, check for data, etc. So it will send out a small amount of data, and receive some as well all the time. The amount of data transferred is usually very small, and you don't need to worry about it.

  • Copying large amount of data from one table to another getting slower

    I have a process that copies data from one table (big_tbl) into a very big archive table (vb_archive_tbl - 30 mil recs - partitioned table). If there are less than 1 million records in the big_tbl the copy to the vb_archive_table is fast (-10 min), but more importantly - it's consistant. However, if the number of records is greater than 1 million records in the big_tbl copying the data into the vb_archive_tbl is very slow (+30 min - 4 hours), and very inconsistant. Every few days the time it takes to copy the same amount of data grows signicantly.
    Here's an example of the code I'm using, which uses BULK COLLECT and FORALL INSERST to copy the data.
    I occasionally change 'LIMIT 5000' to see performance differences.
    DECLARE
    TYPE t_rec_type IS RECORD (fact_id NUMBER(12,0),
    store_id VARCHAR2(10),
    product_id VARCHAR2(20));
    TYPE CFF_TYPE IS TABLE OF t_rec_type
    INDEX BY BINARY_INTEGER;
    T_CFF CFF_TYPE;
    CURSOR c_cff IS SELECT *
    FROM big_tbl;
    BEGIN
    OPEN c_cff;
    LOOP
    FETCH c_cff BULK COLLECT INTO T_CFF LIMIT 5000;
    FORALL i IN T_CFF.first..T_CFF.last
    INSERT INTO vb_archive_tbl
    VALUES T_CFF(i);
    COMMIT;
    EXIT WHEN c_cff%NOTFOUND;
    END LOOP;
    CLOSE c_cff;
    END;
    Thanks you very much for any advice
    Edited by: reid on Sep 11, 2008 5:23 PM

    Assuming that there is nothing else in the code that forces you to use PL/SQL for processing, I'll second Tubby's comment that this would be better done in SQL. Depending on the logic and partitioning approach for the archive table, you may be better off doing a direct-path load into a staging table and then doing a partition exchange to load the staging table into the partitioned table. Ideally, you could just move big_tbl into the vb_archive_tbl with a single partition exchange operation.
    That said, if there is a need for PL/SQL, have you traced the session to see what is causing the slowness? Is the query plan different? If the number of rows in the table is really a trigger, I would tend to suspect that the number of rows is causing the optimizer to choose a different plan (with your sample code, the plan is obvious, but perhaps you omitted some where clauses to simplify things down) which may be rather poor.
    Justin

Maybe you are looking for