No. of Transactions Per Sec.

Hi,
Please let me know the various constraints relating to transaction rate that an Oracle Server on WINNT or Solaris can support. Basically I would like to know its
dependency on the Memory available, CPU speed, Table Size, no of sql statements in a single transaction etc. Also if some pointer on some document can be provided it will be very great.
TIA,
Tuhin

Hi
I am working with r/3 version 4.6 B . I ma using gui_upload to read the data froma text file from desktop. the text file contains tow columns of data separated by tab space. when i pass this to the gui_upload the two columns data is going into first column of the internal table. the code is shown below
DATA : BEGIN OF itab_bdc OCCURS 0,
        konob LIKE table-konob,
        matnr LIKE table-matnr,
       END OF itab_bdc
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = p_file1
       filetype                      = 'ASC'
       has_field_separator           = 'X'
  HEADER_LENGTH                 = 0
    read_by_line                  = 'X'
  DAT_MODE                      = ' '
  CODEPAGE                      = ' '
  IGNORE_CERR                   = ABAP_TRUE
  REPLACEMENT                   = '#'
  CHECK_BOM                     = ' '
  VIRUS_SCAN_PROFILE            =
  NO_AUTH_CHECK                 = ' '
IMPORTING
  FILELENGTH                    =
  HEADER                        =
      TABLES
        data_tab                      = itab_bdc
EXCEPTIONS
  FILE_OPEN_ERROR               = 1
  FILE_READ_ERROR               = 2
  NO_BATCH                      = 3
  GUI_REFUSE_FILETRANSFER       = 4
when i see the internal table itab_bdc the field konob contains both the columns data of the text file. It is not splitting the konob and matnr data into two different columns. what shd i do ??
thanks
sankar

Similar Messages

  • Monitor Transactions Per second

    Some times I see my SQL Server is running less than 2000 Transactions per second (from the "Transactions /sec" Perfmon counter) and some times I see there are 17000 Transactions per second.
    If I want to find out which application is executing these transactions or which query is executing these transactions, is there a way to find this out?

    If its a prod and a busy server, running the profiler *for few hours* wont be a good idea. You may opt to run the sever side traces with only specific events.
    http://msdn.microsoft.com/en-us/library/cc293613.aspx
    If you are using SQL server 2012 you can use extended events
    http://msdn.microsoft.com/en-IN/library/bb630282.aspx
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Select Query failing on a  table that has per sec heavy insertions.

    Hi
    Problem statement
    1- We are using 11g as an database.
    2- We have a table that is partitioned on the date as range partition.
    3- The insertion of data is very high.i.e. several hundreds records per sec. in the current partitioned.
    4- The data is continuously going in the current partitioned as and when buffer is full or per sec timer expires.
    5-- We have to make also select query on the same table and on the current partitioned say for the latest 500 records.
    6- Effecient indexes are also created on the table.
    Solutions Tried.
    1- After analyzing by tkprof it is observed that select and execute is working fine but fetch is taking too much time to show the out put. Say it takes 1 hour.
    2- Using the 11g sql advisior and SPM several baseline is created but the success rate of them is observed also too low.
    please suggest any solution to this issue
    1- i.e. Redisgn of table.
    2- Any better way to quey to fix the fetch issue.
    3- Any oracle seetings or parameter changes to fix the fetch issue.
    Thanks in advance.
    Regards
    Vishal Sharma

    I am uploading the latest stats please let me know how can improve as this is taking 25 minutes
    ####TKPROF output#########
    SQL ID : 2j5w6bv437cak
    select almevttbl.AlmEvtId, almevttbl.AlmType, almevttbl.ComponentId,
      almevttbl.TimeStamp, almevttbl.Severity, almevttbl.State,
      almevttbl.Category, almevttbl.CauseCode, almevttbl.UnitType,
      almevttbl.UnitId, almevttbl.UnitName, almevttbl.ServerName,
      almevttbl.StrParam, almevttbl.ExtraStrParam, almevttbl.ExtraStrParam2,
      almevttbl.ExtraStrParam3, almevttbl.ParentCustId, almevttbl.ExtraParam1,
      almevttbl.ExtraParam2, almevttbl.ExtraParam3,almevttbl.ExtraParam4,
      almevttbl.ExtraParam5, almevttbl.SRCIPADDRFAMILY,almevttbl.SrcIPAddress11,
      almevttbl.SrcIPAddress12,almevttbl.SrcIPAddress13,almevttbl.SrcIPAddress14,
      almevttbl.DESTIPADDRFAMILY,almevttbl.DestIPAddress11,
      almevttbl.DestIPAddress12,almevttbl.DestIPAddress13,
      almevttbl.DestIPAddress14,  almevttbl.DestPort, almevttbl.SrcPort,
      almevttbl.SessionDir, almevttbl.CustomerId, almevttbl.ProfileId,
      almevttbl.ParentProfileId, almevttbl.CustomerName, almevttbl.AttkDir,
      almevttbl.SubCategory, almevttbl.RiskCategory, almevttbl.AssetValue,
      almevttbl.IPSAction, almevttbl.l4Protocol,almevttbl.ExtraStrParam4 ,
      almevttbl.ExtraStrParam5,almevttbl.username,almevttbl.ExtraStrParam6,
      IpAddrFamily1,IPAddrValue11,IPAddrValue12,IPAddrValue13,IPAddrValue14,
      IpAddrFamily2,IPAddrValue21,IPAddrValue22,IPAddrValue23,IPAddrValue24
    FROM
           AlmEvtTbl PARTITION(ALMEVTTBLP20100323) WHERE AlmEvtId IN ( SELECT  * FROM
      ( SELECT /*+ FIRST_ROWS(1000) INDEX (AlmEvtTbl AlmEvtTbl_Index) */AlmEvtId
      FROM AlmEvtTbl PARTITION(ALMEVTTBLP20100323) where       ((AlmEvtTbl.Customerid
      = 0 or AlmEvtTbl.ParentCustId = 0))  ORDER BY AlmEvtTbl.TIMESTAMP DESC) 
      WHERE ROWNUM  <  602) order by timestamp desc
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.10       0.17          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch       42   1348.25    1521.24       1956   39029545          0         601
    total       44   1348.35    1521.41       1956   39029545          0         601
    Misses in library cache during parse: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 82 
    Rows     Row Source Operation
        601  PARTITION RANGE SINGLE PARTITION: 24 24 (cr=39029545 pr=1956 pw=1956 time=11043 us cost=0 size=7426 card=1)
        601   TABLE ACCESS BY LOCAL INDEX ROWID ALMEVTTBL PARTITION: 24 24 (cr=39029545 pr=1956 pw=1956 time=11030 us cost=0 size=7426 card=1)
        601    INDEX FULL SCAN ALMEVTTBL_INDEX PARTITION: 24 24 (cr=39029377 pr=1956 pw=1956 time=11183 us cost=0 size=0 card=1)(object id 72557)
        601     FILTER  (cr=39027139 pr=0 pw=0 time=0 us)
    169965204      COUNT STOPKEY (cr=39027139 pr=0 pw=0 time=24859073 us)
    169965204       VIEW  (cr=39027139 pr=0 pw=0 time=17070717 us cost=0 size=13 card=1)
    169965204        PARTITION RANGE SINGLE PARTITION: 24 24 (cr=39027139 pr=0 pw=0 time=13527031 us cost=0 size=48 card=1)
    169965204         TABLE ACCESS BY LOCAL INDEX ROWID ALMEVTTBL PARTITION: 24 24 (cr=39027139 pr=0 pw=0 time=10299895 us cost=0 size=48 card=1)
    169965204          INDEX FULL SCAN ALMEVTTBL_INDEX PARTITION: 24 24 (cr=1131414 pr=0 pw=0 time=3222624 us cost=0 size=0 card=1)(object id 72557)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                      42        0.00          0.00
      SQL*Net message from client                    42       11.54        133.54
      db file sequential read                      1956        0.20         28.00
      latch free                                     21        0.00          0.01
      latch: cache buffers chains                     9        0.01          0.02
    SQL ID : 0ushr863b7z39
    SELECT /* OPT_DYN_SAMP */ /*+ ALL_ROWS IGNORE_WHERE_CLAUSE
      NO_PARALLEL(SAMPLESUB) opt_param('parallel_execution_enabled', 'false')
      NO_PARALLEL_INDEX(SAMPLESUB) NO_SQL_TUNE */ NVL(SUM(C1),0), NVL(SUM(C2),0)
    FROM
    (SELECT /*+ IGNORE_WHERE_CLAUSE NO_PARALLEL("PLAN_TABLE") FULL("PLAN_TABLE")
      NO_PARALLEL_INDEX("PLAN_TABLE") */ 1 AS C1, CASE WHEN
      "PLAN_TABLE"."STATEMENT_ID"=:B1 THEN 1 ELSE 0 END AS C2 FROM
      "SYS"."PLAN_TABLE$" "PLAN_TABLE") SAMPLESUB
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.01          1          3          0           1
    total        3      0.00       0.01          1          3          0           1
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 82     (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=3 pr=1 pw=1 time=0 us)
          0   TABLE ACCESS FULL PLAN_TABLE$ (cr=3 pr=1 pw=1 time=0 us cost=29 size=138856 card=8168)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                         1        0.01          0.01
    SQL ID : bjkdb51at8dnb
    EXPLAIN PLAN SET STATEMENT_ID='PLUS30350011' FOR select almevttbl.AlmEvtId,
      almevttbl.AlmType, almevttbl.ComponentId, almevttbl.TimeStamp,
      almevttbl.Severity, almevttbl.State, almevttbl.Category,
      almevttbl.CauseCode, almevttbl.UnitType, almevttbl.UnitId,
      almevttbl.UnitName, almevttbl.ServerName, almevttbl.StrParam,
      almevttbl.ExtraStrParam, almevttbl.ExtraStrParam2, almevttbl.ExtraStrParam3,
       almevttbl.ParentCustId, almevttbl.ExtraParam1, almevttbl.ExtraParam2,
      almevttbl.ExtraParam3,almevttbl.ExtraParam4,almevttbl.ExtraParam5,
      almevttbl.SRCIPADDRFAMILY,almevttbl.SrcIPAddress11,almevttbl.SrcIPAddress12,
      almevttbl.SrcIPAddress13,almevttbl.SrcIPAddress14,
      almevttbl.DESTIPADDRFAMILY,almevttbl.DestIPAddress11,
      almevttbl.DestIPAddress12,almevttbl.DestIPAddress13,
      almevttbl.DestIPAddress14,  almevttbl.DestPort, almevttbl.SrcPort,
      almevttbl.SessionDir, almevttbl.CustomerId, almevttbl.ProfileId,
      almevttbl.ParentProfileId, almevttbl.CustomerName, almevttbl.AttkDir,
      almevttbl.SubCategory, almevttbl.RiskCategory, almevttbl.AssetValue,
      almevttbl.IPSAction, almevttbl.l4Protocol,almevttbl.ExtraStrParam4 ,
      almevttbl.ExtraStrParam5,almevttbl.username,almevttbl.ExtraStrParam6,
      IpAddrFamily1,IPAddrValue11,IPAddrValue12,IPAddrValue13,IPAddrValue14,
      IpAddrFamily2,IPAddrValue21,IPAddrValue22,IPAddrValue23,IPAddrValue24 FROM 
           AlmEvtTbl PARTITION(ALMEVTTBLP20100323) WHERE AlmEvtId IN ( SELECT  * FROM
      ( SELECT /*+ FIRST_ROWS(1000) INDEX (AlmEvtTbl AlmEvtTbl_Index) */AlmEvtId
      FROM AlmEvtTbl PARTITION(ALMEVTTBLP20100323) where       ((AlmEvtTbl.Customerid
      = 0 or AlmEvtTbl.ParentCustId = 0))  ORDER BY AlmEvtTbl.TIMESTAMP DESC) 
      WHERE ROWNUM  <  602) order by timestamp desc
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.28       0.26          0          0          0           0
    Execute      1      0.01       0.00          0          0          0           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.29       0.27          0          0          0           0
    Misses in library cache during parse: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 82 
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       1        0.00          0.00
      SQL*Net message from client                     1        0.00          0.00
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       13      0.71       0.96          3         10          0           0
    Execute     14      0.20       0.29          4        304         26          21
    Fetch       92   2402.17    2714.85       3819   70033708          0        1255
    total      119   2403.09    2716.10       3826   70034022         26        1276
    Misses in library cache during parse: 10
    Misses in library cache during execute: 6
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                      49        0.00          0.00
      SQL*Net message from client                    48       29.88        163.43
      db file sequential read                      1966        0.20         28.10
      latch free                                     21        0.00          0.01
      latch: cache buffers chains                     9        0.01          0.02
      latch: session allocation                       1        0.00          0.00
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse      940      0.51       0.73          1          2         38           0
    Execute   3263      1.93       2.62          7       1998         43          23
    Fetch     6049      1.32       4.41        214      12858         36       13724
    total    10252      3.78       7.77        222      14858        117       13747
    Misses in library cache during parse: 172
    Misses in library cache during execute: 168
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                        88        0.04          0.62
      latch: shared pool                              8        0.00          0.00
      latch: row cache objects                        2        0.00          0.00
      latch free                                      1        0.00          0.00
      latch: session allocation                       1        0.00          0.00
       34  user  SQL statements in session.
    3125  internal SQL statements in session.
    3159  SQL statements in session.
    Trace file: ora11g_ora_2064.trc
    Trace file compatibility: 11.01.00
    Sort options: default
           6  sessions in tracefile.
          98  user  SQL statements in trace file.
        9111  internal SQL statements in trace file.
        3159  SQL statements in trace file.
          89  unique SQL statements in trace file.
       30341  lines in trace file.
        6810  elapsed seconds in trace file.
    ###################################### AutoTrace Output#################  
    Statistics
           3901  recursive calls
              0  db block gets
       39030275  consistent gets
           1970  physical reads
            140  redo size
         148739  bytes sent via SQL*Net to client
            860  bytes received via SQL*Net from client
             42  SQL*Net roundtrips to/from client
             73  sorts (memory)
              0  sorts (disk)
            601  rows processed

  • How to find Transactions per time in 11gr2 ?

    In 11gr2, Any sql query, to know the how many transaction per time/second happening?

    In 11gr2, Any sql query, to know the how many transaction per time/second happening?count number of COMMIT in REDO log file

  • Calculate transaction per second

    Dear Friends ,
    I have run the Oracle 10g with AIX unix server . I want to know "How many Transaction is occured per minute or second" in PEAK hour into my production server . How can I find it ? Give me some suggestions plz ... ..

    An Oracle "transaction" isn't the same as Business "transaction". If you are getting "transactions per second" to report to management (even if it is IT management), you better be sure you identify which transactions you are counting.
    If I run a PLSQL loop that does
    loop 1 to 1000
      insert into table ...
      commit ;
    end loopI get 1,000 "transactions" and 1000 INSERT "executions" being reported by Oracle.
    On the other hand if I run
      loop 1 to 1000
        insert into table ...
    end loop
    commit;I get only 1 "transaction" and 1000 INSERT "executions" being reported by Oracle.
    Next, if I run
      insert into table ... select ... 1000 rows ..
    commit;I get 1 "transaction" and 1 INSERT "execution".
    Any database application will have a mix of "transactions" of different sizes being executed by different users / application server processes / clients.
    If you take the aggregate "transactions" count you are going to be sorely disappointed and disappointing your managers !

  • No Of Transaction Per Schema Or Table

    Hi all,
    Is there any way to know how many transaction made on specific schema (insert,update,delete,query)
    Regards,

    Helios- Gunes EROL wrote:
    Just an idea, you may create trigger for DML and count them But what would the number mean?
    For example, the number is a 1000 transactions (commits) done for the day that updated/inserted/deleted rows in the INVOICES table as part of the transaction.
    It does not say how may rows from the INVOICES were affected. It does not say how much redo was consumed. It does not give an idea of the duration of the transaction. It does not say anything about how many other tables were affected by the transaction. It does not say anything about the amount of read and write I/O were spend by these transactions. That number of a 1000 transactions is meaningless.
    So a simple way to get the number of transactions per table is to use the following SQL:
    select table_name, round(dbms_random.value(:1,:2)) as TRANSACTIONS from user_tables order by 1;
    where
      :1 = minimum expected transactions (or roll 1d20 and multiply by 5)
      :2 = maximum expected transactions (or roll 1d20 and multiply by a 1000)Click here for proof.

  • Exchange 2013 counter to collect messages completed per sec

    I need to find a way to report number messages completed delivery per sec. Is there away to pull that information or can exchange 2013 do some self reporting for this counter?

    Try this command :
    Get-MessageTrackingLog -Start “07/20/2013 00:00:00″ -end “07/20/2013 11:59:00″ -ResultSize unlimited  -Eventid “deliver”  -Sender [email protected] | Group-Object -Property Sender | Select-Object name,count | sort count -desc | select -first 10
    | ft -auto
    You can view the full list of the return values byusing this command and select what you demand for, here is an example of DisplayName and LastLogonTime:
    Get-MailboxStatistics | Select -DisplayName,LastLogonTime
    Alternatively, you could also try this application to provide you an automate system to do this.

  • Difference between "Physical Read Total IO Requests Per Sec" and "Physical Read IO Requests Per Sec"

    What is the difference between "Physical Read Total IO Requests Per Sec" and "Physical Read IO Requests Per Sec" metrics in dba_hist_sysmetric_summary?

    From docs (Reference, Statistics Descriptions)   :
    physical read IO requests : Number of read requests for application activity (mainly buffer cache and direct load operation) which read one or more database blocks per request. This is a subset of "physical read total IO requests" statistic.
    physical read total IO requests : Number of read requests which read one or more database blocks for all instance activity including application, backup and recovery, and other utilities.

  • Counting # of samples generate per sec - please help

    Hi all
    I am trying to find out how many times my this attached program can excute the calculation in the formula node in 1 sec. The most I can get is 1200000. This number is too low for me and do anyone know how I can speed up my this program? My processor speed is 1.73GHz
    Please use the below parameter:
    Span = 50
    Upper limit = 200
    Lower limit = -200
    start freq = 0
    Thanks alot..
    Zhi Hong
    Attachments:
    Sweep rate and Span check using tick count to determine no. of samples per sec1.vi ‏32 KB

    Please keep the discussion to the original thread.

  • Memory pages per sec is too high

    Hi,  I see the value 5000 in monitor "Memory Pages Per Second" in the tab "Threshold Comparison>Specify Threshold value to compare".  Is this value in MB or pages/sec that system writes/reads.
    Please make me understand.
    -Satya

    I don't think 5000 is a value in MB.
    Taken from
    http://blogs.technet.com/b/askperf/archive/2008/01/29/an-overview-of-troubleshooting-memory-issues-part-two.aspx
    Please check the underlined part below -
    Pages/sec is the rate at which pages are read from or written to disk to resolve
    hard page faults. This counter is a primary indicator of the kinds of faults
    that cause system-wide delays.  It is the sum of Memory \ Pages Input/sec and
    Memory \ Pages Output/sec.  It is counted in numbers of pages, so it can be
    compared to other counts of pages, such as Memory \ Page Faults/sec, without
    conversion. It includes pages retrieved to satisfy faults in the file system
    cache (usually requested by applications) non-cached mapped memory files.
    Thanks, S K Agrawal

  • Transaction per second report

    Hi All,
    Anyone has a quick solution to generate report for transaction/sec?
    I have many transactions defined in .web test. During load test, the transaction table doesn't show me transaction/sec details.
    I know this detail is captured, as I can add this to a graph by dragging down the transactions.
    I have 20+ transactions and manually dragging this to a graph and then exporting to excel is killing time,...
    I am not so much used to the load test database reference...Appreciate, if anyone of you can give me a best possible solution. Thanks!!

    Hi Shiv_p,
    The better workaround is that you could read the data from the load test database, or a way as you have achieved it, export the result to excel after you add it manually to the graph.
    In the summery, it seems that it just shared the simple result like transactions/sec
    If they are not the workarounds you want to get, maybe you could submit a feature request here:
    http://visualstudio.uservoice.com/forums/121579-visual-studio.
    The Visual Studio product team is listening to user voice there. You can send
    your idea there and people can vote.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How many images per sec can I get from ImageIO.read(url) ??????

    Hello,
    In my program I read images from a url...I'm wondering how many images I can get with ImageIO.read(url) per second..
    Hereby is the code that I'm using:
    import java.awt.*; //Contains all of the classes for creating user interfaces and for painting graphics and images
    import java.awt.event.*;//Provides interfaces and classes for dealing with different types of events fired by AWT components
    import java.awt.image.*;//Provides classes for creating and modifying images
    import java.io.*;//Provides for system input and output through data streams, serialization and the file system
    import java.net.URL;
    import javax.imageio.*;//The main package of the Java Image I/O API.
    import javax.swing.*;//Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
    import java.text.*;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class getPic extends Component{
    private BufferedImage img;
        static int n=0;
        private URL url;
        private DateFormat dateFormat;
        private Date date;
        private String s;
        private String str1= ".jpeg";
        private String str2="C:\\Users\\";
        private String str3;
        private String str4;
          public getPic() {
         try {
                  url = new URL("http://"); //a url that gives a real-time image
                  img = ImageIO.read(url);
                } catch (IOException e) {
               System.err.println("Unable to read file");
    public void savePic(){
    try{
    n++;
    str3=str2.concat(Integer.toString(n-1));
                        str4=str3.concat(str1);
                        ImageIO.write(img, "jpeg" , new File(str4));
                    } catch(IOException e) {
                      System.err.println("Unable to output results");
    @Override
        public Dimension getPreferredSize() {
            if (img == null) {
               return new Dimension(100,100);
            } else {
               return new Dimension(img.getWidth(), img.getHeight());
        @Override
          public void paint(Graphics g) {  //http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Paint.html
            g.drawImage(img, 10, 10, null);//http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Graphics.html
        public static void main(String[] args) throws IOException {
           JFrame f = new JFrame(" Image without processing!!");
           f.addWindowListener(new WindowAdapter(){//http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/WindowListener.html
                @Override
                    public void windowClosing(WindowEvent e) {
                        System.exit(0);
        int i=0;
        for( ; ; ){
            i++;
            getPic pi = new getPic();
            pi.savePic();
            f.add(pi);
            f.pack();  //Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.
            f.setVisible(true);
         try
            Thread.sleep(1000);
            }catch (InterruptedException ie)
            System.out.println(ie.getMessage());
    }Thank you in advance for your answers
    Joan

    Finally I solved my problem(getting as many images as possible from a url infinitely) using the above code:
    import java.net.*;
    import java.io.*;
    public class UserApplication {
        private static int n=0;
        String url;
      public void UserApplication(){
        public static void main(String[] args) throws Exception {
            UserApplication app= new UserApplication();
            for(;;){
            app.urlStr();
        private void urlStr(){
            try{
                url= "http://mplamplampla/frame.php/";
                HttpURLConnection con=(HttpURLConnection) ((new URL(url).openConnection()));
                BufferedOutputStream out = new BufferedOutputStream( new FileOutputStream("C:\\Users\\mpla\\Desktop\\" + n + ".jpeg"));
                con.setDoInput(true);
                con.setDoOutput(false);
                con.setRequestMethod("GET");
                BufferedInputStream in = new BufferedInputStream(con.getInputStream());
                int bt = 0;
                byte[] buffer = new byte[4096];
                while ((bt = in.read(buffer, 0, 4096)) > -1) {
                  out.write(buffer, 0, bt);
                in.close();
                out.close();
                System.out.println("Image " + n + " saved");
                n++;
                } catch (Exception e) {e.printStackTrace();}
    }

  • Can't get iChat AV to go above 1 frame per sec

    My local connection starts fine at 15 frames/sec & and 250 Kbps. Within the next 20 seconds it gradually ramps down and bottoms out at 1 frame/sec & around 45 Kbps and stays there. Mean while the remote side of the video connection maintainsholds a steady 15 frames/sec & around 170 Kbps throughput. If you log off and log on again ... it just repeats the same pattern. My camera works fine during the preview session. I've checked the upload & download rates on my cable internet (before & during) and they hold at around 300 Kbps and 2500 Kbps respectively. I've got the latest firmware. I've got Virex 7.5, but it's not turned on. I've read through most of the iSight discussions and tried implementing the other help suggestions that seemed applicable ... problem still persists. Don't know what to try next.
    Any suggestions?

    Hi Ralph,
    We'll, since we last talked I've tried a couple different things ... one or the combination of which fixed my problem ... yahooo. The iChat video session using my iSight now stays at 15 fr/sec & around 280 Kbps throughput. I just got off a video session with my Dad in North Dakota ... worked slick.
    I stepped through your Trouble Shooting tips under iChat ... there were three things that applied (that I hadn't already done): adjusting the Quick Time streaming, erasing all Virex files, and looking at my router. I have a D-Link DI-524 wireless router, although my iMac G5 is hardwired with a direct ethernet connection to the router. I only use the wireless for my printer and my old iMac blue. I downloaded the latest firmware from D-Link, then restarted the router. I had previously turned off Virex, but this time I used Spotlight as you suggested and erased all its files. I also set the QuickTime streaming rate to 512 Kbps (previously on Automatic).
    Out of curiousity, after I got everthing to work ... I went back and set the QT streaming back to Automatic to see if it had contributed to the fix. The frame rate dropped only slighly (0.5 frm/sec). That leads me to believe it was either the firmware upgrade on the router and/or deleting Virex files that fixed the problem.
    Thank you for your help ... and all that you contribute to the Apple Discussions.
    Thks ... Jason

  • Control the transaction per second ( TPS ) to down stream system through Oracle SOA

    Hi,
      As part of our business flow,  BPEL calling down stream system via OSB.
    However the down stream system can accept only 5 request per second.
    1. Tried implementing DB poller to invoke down stream system each second with 5 records.
    The flow is as follows .
    DB --> Poller --> ParentBPEL --> Down Stream System
    In this case Poller can able to poll 5 records from DB and push it to "DownStreamSystem" via "ParentBPEL" process.
    But here the contraint is , the "DownStreamSystem" strickly can able to process only 5 requests per second.
    If the "DownStreamSystem" is processed 4 request and processing 1 request  at first second, then in the next second the fusion should push only 4 request . Since the number records in processing state should be 5 at a time.
    Please help me out to solve this scenario or suggest me if there is any other alternative to achieve the solution.
    Thanks in Advance ...

    maybe throttling in the osb is of any help ?
    Throttling
    since you really have hard specs on the "currently processed messages" you could add some coherence cache and use that as sort of lookup to see what messages are getting processed at which time. (it's just some guessing, since i don't have any experience with the situation you're describing)

  • My camcorder plays a 'fluid' 50 stills per sec, FCP not as smooth at 25fps?

    Hi,.. I'm obviously still new to Final Cut Studio 2 and understand some basics, however I still haven't got my head around a simple issue with FCP that's bugging me a little and no doubt it's something ridiculously simple and is going to make me look stupid.
    I'm using a Sony TG3E/TG1 camcorder, ok it's a consumer camcorder but its both 'tiny' in size and the 1080i video and 5.1 audio is shockingly good, no actually its amazing! However having a tiny camcorder fitted my requirement.
    My original AVCHD video footage form the Sony TG3E/TG1 camcorder is incredibly smooth and lifelike in it's motion. I was able to verify this by being able to pause the picture and was able to display '50' separate still pictures/frames one by one within a one second time period or time line, by naturally advancing the 'frame/still advance button' forward one at a time until the next 'minute' was reached in the timeline on the camera display and each still looked very good and clear.
    However once logged and transfered into FCP, the browser window showed 25fps and does not appear to have that 'real lifelike fluidity motion' when played back in either FCP clip browser viewer or the timeline sequence, as that played back from original AVCHD from the camcorder to external LCD panel.
    I had previously set the 'sequence preset' within the 'Audio and Video Settings' for FCP's timeline to 1920x1080i 50 and I'm assuming that the '50' denotes fifty separate fields/stills (frames?) per second, or does it really mean each of the 25fps have two separate interlaced fields and thus producing 50 separate fields and giving the effect of 50 frames per second, as it did in practice from camcorder to external monitor. However I don't see this on playback, nor when advancing still picture by still picture when on pause. Whatever the process, the result is that I'm only getting 25fps in the FCP timeline and I can't seem to work out how to get the 50 separate stills per second on playback viewing, as I'm only able to advance 25 stills per second in the timeline and playback just hasn't got that fluid motion smoothness magic as experienced from camcorder.
    Any advice is welcome and appreciated, thanks.

    cool, thanks..
    It's safe to assume then, that once the final edit has been completed and outputted/exported to disk, the played back version on HD TV from a blu-ray player (or other) will be displayed at the super smooth 50 fields/stills per second?
    I have to admit that when I was 'pausing' the picture previously on either the camcorder or on the blu-ray player (both giving the mentioned 50 stills per seconds), the actual quality appeared deceptively good and I wouldn't have guest I was viewing only half the vertical resolution at a mere 540 pixels. Impressive! Unless of course the LCD TV is doing its own upscaling routine to improve each field's quality when receiving an interlaced source..
    Just for reference sake (and worth noting), 'blu-ray' player playback of original AVCHD footage is possible by transferring the AVCHD footage including its correct file structure (as normally stored within the camcorder's storage media) straight onto a regular single layer DVD, then it can be actually decoded and played back on a blu-ray player in it's HD detail.. a neat little trick and nice to know. The Sony VRD-MC5 Multi-Function DVD Recorder makes transferring the AVCHD footage direct from camcorder to DVD possible and a breeze (no I DON'T work for Sony)..

Maybe you are looking for

  • Direct Upgrade to 12.0.4

    Hi Vikki Does Maintenance wizard support a direct upgrade to 12.0.4 (i.e. bypass the upgrade to 12.0 and then the application of the RUP 4maintenance pack)? Thanks Frank

  • HT5129 My pics are no longer syncing with iCloud...

    I'm so frustrated. What is going on with iPhoto? It has always been syncing via iCloud with all of my other devices. Now I got a message stating that MobileMe is no longer avaiable.. I know that! How can I get my iCloud to sync photos again? Thank yo

  • Batch Input. Transaction KSU5 and KOK4

    Hi, I would like to execute transactions KSU5 and KOK4 in background. The system generates this error message 00344: "No batch input data for screen..." When the batch input session is processed online the error does not occur. Regards.

  • A never ending loop...not sure why?

    When I run my current procedure, it seems to be getting caught in a never ending loop, not entirley sure what the problem is...? I'm not quite the expert so if possible, the more detail in the explaniation the better...thanks!! --The cursors cursor k

  • Activating project 2010 on windows 8.1

    I bought a new computer with windows 8.1. I downloaded and installed MS project 2010. when I tried to activate the product it came back and said key had been used the set number of times. I got a new key but am unable to reenter it. How do I enter a