Insert problem slower than 9i

i have oracle 9i i make proceduce make selete and insert 1600 row
it run in server 9i take 7 sec and in oracle 11.2.0 take 2 min know that the server 11g is 8*of 9i
have any body have new idea for this problem

it run in server 9i take 7 sec and in oracle 11.2.0 take 2 min know that the server 11g is 8*of 9i ?:|
http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
HOW TO: Post a SQL statement tuning request - template posting

Similar Messages

  • I am having problems with my burst mode on my iphone 6 plus it is slower than  the facetime camera after i updated to ios 8.3 apple please fix this issue i am fed up with all your mistakes

    i am having problems with my burst mode on my iphone 6 plus it is slower than  the facetime camera after i updated to ios 8.3 apple please fix this issue i am fed up with all your mistakes

    Gerald
    If you had taken time to read the Terms of Use you agreed on joining this Community today you would have realised that Apple is not here
    neither reading nor responding on this User Community
    http://www.apple.com/feedback/

  • Problem: Voice is lower and tempo slower than recorded

    I create a new project and slow the tempo to 95. Then I record a keyboard track. Good so far.
    Then I create a new "real instrument" track. Sing along using the built in microphone. Select the track and deselect the Follow Tempo & Pitch checkbox (checking or unchecking this box has no effect on problem).
    My problem is that my voice is lower and my pitch slower than I actually sang. Does any know what I am doing wrong or how to fix?
    Thanks in advance-

    Seriously, this problem of the recording being slower and lower than the actual pitch is a major concern. This has been happening both with the internal microphone and with a usb audio interface. From my experience with other programs, I think it has to do with the sampling rate, something like 44100Hz vs 48000Hz etc., but I have no idea how to change that in Garageband; and particularly no idea how to change it (to salvage a decent take) after I have recorded. This problem has been very frustrating and has turned an otherwise user-friendly program into a nightmare.

  • I'm having problems with Maverick, it seems to make my mac slower than ever. How do I fix it?

    I have recently download the maverick OS and my computer run slower than an 4 years old PC with tons of viruses. Someone knows why apple is making that mistakes? or how to fix the speed of my mac?

    Read the threads over on the right under the heading of More Like This
    Allan

  • PreparedStatement is About 60 times slower than Statements

    I am highly suprised that in my programme a normal statement is a lot faster than a Prepared Statement. I am posting below both the Programmes, in one I am using Prepared Statements and in another I am using normal Statements. My OS is Win NT My Database is SQL Server 7. THe progamme extracts data from a file and inserts records in the database. In the test case I had A file of about 1440 records ie. 1440 inserts are made to the database, The database table is very large ie. It has around 126 Columns.
    So for inserting 1440 record froma file the Prepared Statements take around 7 Minutes . And for reading the same file and inserting the same no of records in the same database normal Statements Take only about 7 seconds. Now the JAcva docs clearly Specify that when we need to use the same stmt many times it is better to use Prepared Satements < the results that I am Getting is clear and complete violation of what java docs say.
    Here is the code with Prepared Statements
    package mps.mpsPTLF;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.util.Calendar;
    import java.util.Date;
    import gen.genCommon.genConnectionPool.*;
    import gen.genCommon.*;
    public class PTLFProcessor
         private static clsLogFile moLogFile = new clsLogFile("");
         private gen.genCommon.genConnectionPool.SharedConnectionPool mConnPool = SharedConnectionPool.getInstance(2);
         FileReader fPTLF = null;
         BufferedReader brPTLF = null;
    //**************** Begin Constructor declaration ************************
    To intialize the class variables for new Fee
         public PTLFProcessor(String pathPTLF) throws GenException
              try
                   fPTLF = new FileReader(pathPTLF);
                   brPTLF = new BufferedReader(fPTLF);
              catch (Exception e)
                   throw new GenException("Error Accessing file : " + pathPTLF + " - " + e.toString(),e );     
    //**************** End  Constructor declaration ************************
         public void PTLFGetData() throws GenException
              char pcData[];
              int HEADERSIZE = 6;
              boolean pbEndOfFile = false;
              boolean pbisFirstBlock = true;
              int piBlocksize = 0;
              int piOffset = 0;
              int piRecordsize = 0;
              String psRecordContent = "";
              Connection pConn = null;
              try
                   String psInsSql=" INSERT INTO FILE_PTLF_IN ( " +
                                       " fpi_DAT_TIM , " +
                                       " fpi_REC_TYP , " +
                                       " fpi_CRD_LN , " +
                                       " fpi_CRD_FIID , " +
                                       " fpi_CRD_NUM , " +
                                       " fpi_MBR_NUM , " +
                                       " fpi_MER_LN , " +
                                       " fpi_MER_FIID , " +
                                       " fpi_MER_GRP , " +
                                       " fpi_MER_REGN , " +
                                       " fpi_MER_ID , " +
                                       " fpi_TERM_ID , " +
                                       " fpi_SHIFT_NUM , " +
                                       " fpi_BATCH_NUM , " +
                                       " fpi_TERM_LN , " +
                                       " fpi_TERM_FIID , " +
                                       " fpi_TERM_ID_1 , " +
                                       " fpi_TRAN , " +
                                       " fpi_TERM_ID_2 , " +
                                       " fpi_REC_FRMT , " +
                                       " fpi_MER_ID_1 , " +
                                       " fpi_CLERK_ID , " +
                                       " fpi_DATA_FLAG , " +
                                       " fpi_TYP , " +
                                       " fpi_RTE_STAT , " +
                                       " fpi_ORIGINATOR , " +
                                       " fpi_RESPONDER , " +
                                       " fpi_ISS_CDE , " +
                                       " fpi_ENTRY_TIM , " +
                                       " fpi_EXIT_TIM , " +
                                       " fpi_RE_ENTRY_TIM , " +
                                       " fpi_TRAN_DAT , " +
                                       " fpi_TRAN_TIM , " +
                                       " fpi_POST_DAT , " +
                                       " fpi_ACQ_ICHG_SETL_DAT , " +
                                       " fpi_ISS_ICHG_SETL_DAT , " +
                                       " fpi_SEQ_NUM , " +
                                       " fpi_TERM_NAME_LOC , " +
                                       " fpi_TERM_OWNER_NAME , " +
                                       " fpi_TERM_CITY , " +
                                       " fpi_TERM_ST , " +
                                       " fpi_TERM_CNTRY_CDE , " +
                                       " fpi_BRCH_ID , " +
                                       " fpi_USER_FLD2 , " +
                                       " fpi_TERM_TIM_OFST , " +
                                       " fpi_ACQ_INST_ID_NUM , " +
                                       " fpi_RCV_INST_ID_NUM , " +
                                       " fpi_TERM_TYP , " +
                                       " fpi_CLERK_ID_1 , " +
                                       " fpi_GRP , " +
                                       " fpi_USER_ID , " +
                                       " fpi_RETL_SIC_CDE , " +
                                       " fpi_ORIG , " +
                                       " fpi_DEST , " +
                                       " fpi_TC , " +
                                       " fpi_T , " +
                                       " fpi_AA , " +
                                       " fpi_C , " +
                                       " fpi_CRD_TYP , " +
                                       " fpi_ACCT , " +
                                       " fpi_RESP_CDE , " +
                                       " fpi_AMT_1 , " +
                                       " fpi_AMT_2 , " +
                                       " fpi_EXP_DAT , " +
                                       " fpi_TRACK2 , " +
                                       " fpi_PIN_OFST , " +
                                       " fpi_PRE_AUTH_SEQ_NUM , " +
                                       " fpi_INVOICE_NUM , " +
                                       " fpi_ORIG_INVOICE_NUM , " +
                                       " fpi_AUTHORIZER , " +
                                       " fpi_AUTH_IND , " +
                                       " fpi_SHIFT_NUM_1 , " +
                                       " fpi_BATCH_SEQ_NUM , " +
                                       " fpi_APPRV_CDE , " +
                                       " fpi_APPRV_CDE_LGTH , " +
                                       " fpi_ICHG_RESP , " +
                                       " fpi_PSEUDO_TERM_ID , " +
                                       " fpi_RFRL_PHONE , " +
                                       " fpi_DFT_CAPTURE_FLG , " +
                                       " fpi_SETL_FLAG , " +
                                       " fpi_RVRL_CDE , " +
                                       " fpi_REA_FOR_CHRGBCK , " +
                                       " fpi_NUM_OF_CHRGBCK , " +
                                       " fpi_PT_SRV_COND_CDE , " +
                                       " fpi_PT_SRV_ENTRY_MDE , " +
                                       " fpi_AUTH_IND2 , " +
                                       " fpi_ORIG_CRNCY_CDE , " +
                                       " fpi_AUTH_CRNCY_CDE , " +
                                       " fpi_AUTH_CONV_RATE , " +
                                       " fpi_SETL_CRNCY_CDE , " +
                                       " fpi_SETL_CONV_RATE , " +
                                       " fpi_CONV_DAT_TIM , " +
                                       " fpi_IMP_IND , " +
                                       " fpi_AVAIL_BAL , " +
                                       " fpi_LEDG_BAL , " +
                                       " fpi_AMT_ON_HOLD , " +
                                       " fpi_TTL_FLOAT , " +
                                       " fpi_CUR_FLOAT , " +
                                       " fpi_ADJ_SETL_IMPACT_FLG , " +
                                       " fpi_PBF1 , " +
                                       " fpi_PBF2 , " +
                                       " fpi_PBF3 , " +
                                       " fpi_PBF4 , " +
                                       " fpi_FRWD_INST_ID_NUM , " +
                                       " fpi_CRD_ACCPT_ID_NUM , " +
                                       " fpi_CRD_ISS_ID_NUM , " +
                                       " fpi_ORIG_MSG_TYP , " +
                                       " fpi_ORIG_TRAN_TIM , " +
                                       " fpi_ORIG_TRAN_DAT , " +
                                       " fpi_ORIG_SEQ_NUM , " +
                                       " fpi_ORIG_B24_POST_DAT , " +
                                       " fpi_EXCP_RSN_CDE , " +
                                       " fpi_OVRRDE_FLG , " +
                                       " fpi_ADDR , " +
                                       " fpi_ZIP_CDE , " +
                                       " fpi_ADDR_VRFY_STAT , " +
                                       " fpi_PIN_IND , " +
                                       " fpi_PIN_TRIES , " +
                                       " fpi_PRE_AUTH_TS_DAT , " +
                                       " fpi_PRE_AUTH_TS_TIM , " +
                                       " fpi_PRE_AUTH_HLDS_LVL , " +
                                       " fpi_USER_FLD5 , " +
                                       " fpi_LEN , " +
                                       " fpi_INFO )" +
                                       " VALUES ( " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                   pConn = mConnPool.getConnection();
                   PreparedStatement pStmt = pConn.prepareStatement(psInsSql);
                   while (!pbEndOfFile)
                        pcData = new char [HEADERSIZE];                    // Reading each Block Header
                        brPTLF.read (pcData, 0, HEADERSIZE);
                        piBlocksize = Integer.parseInt (new String (pcData));
                        piOffset = HEADERSIZE;
                        while (piOffset < piBlocksize)
                        {                      // Read the records upto end of block
                             pcData = new char [HEADERSIZE];               // Reading each Record Header
                             brPTLF.read (pcData, 0, HEADERSIZE);
                             piRecordsize = Integer.parseInt (new String (pcData));
                             piOffset += HEADERSIZE;
                             pcData = new char [piRecordsize - HEADERSIZE];     // Reading each Record Content
                             brPTLF.read (pcData, 0, piRecordsize - HEADERSIZE);
                             psRecordContent = new String (pcData);
                             piOffset += piRecordsize - HEADERSIZE;
                             moLogFile.writeToLog(psRecordContent);
                             if (pbisFirstBlock)
                                  if (!psRecordContent.startsWith ("TH"))
                                       throw new GenException ("Invalid File Format, missing 'TH'");
                                  pcData = new char [HEADERSIZE];          // Reading next Record Header
                                  brPTLF.read (pcData, 0, HEADERSIZE);
                                  piRecordsize = Integer.parseInt (new String (pcData));
                                  piOffset += HEADERSIZE;
                                  pcData = new char [piRecordsize - HEADERSIZE];// Reading next Record Content (Must be FH)
                                  brPTLF.read (pcData, 0, piRecordsize - HEADERSIZE);
                                  psRecordContent = new String (pcData);
                                  piOffset += piRecordsize - HEADERSIZE;
                                  if (!psRecordContent.startsWith ("FH"))
                                       throw new GenException ("File Header Not Found");
                                  pbisFirstBlock = false;
                             else if (psRecordContent.startsWith ("DR"))
                                  psRecordContent = psRecordContent.substring(2);
                        /*          if (psRecordContent.length() != 1820 ) // && psRecordContent.length() != 846)
                                       // insert in error table
                                       continue;
                                  if ( psRecordContent.substring(453-1, 455).equals ("000") || psRecordContent.substring(453-1, 455).equals ("001") )
                                       pStmt.setString (1, psRecordContent.substring(1-1,19));
                                       pStmt.setString (2, psRecordContent.substring(20-1,21));
                                       pStmt.setString (3, psRecordContent.substring(22-1,25));
                                       pStmt.setString (4, psRecordContent.substring(26-1,29));
                                       pStmt.setString (5, psRecordContent.substring(30-1,48));
                                       pStmt.setString (6, psRecordContent.substring(49-1,51));
                                       pStmt.setString (7, psRecordContent.substring(52-1,55));
                                       pStmt.setString (8, psRecordContent.substring(56-1,59));
                                       pStmt.setString (9, psRecordContent.substring(60-1,63));
                                       pStmt.setString (10, psRecordContent.substring(64-1,67));
                                       pStmt.setString (11, psRecordContent.substring(68-1,86));
                                       pStmt.setString (12, psRecordContent.substring(87-1,102));
                                       pStmt.setString (13, psRecordContent.substring(103-1,105));
                                       pStmt.setString (14, psRecordContent.substring(106-1,108));
                                       pStmt.setString (15, psRecordContent.substring(109-1,112));
                                       pStmt.setString (16, psRecordContent.substring(113-1,116));
                                       pStmt.setString (17, psRecordContent.substring(117-1,132));
                                       pStmt.setString (18, psRecordContent.substring(133-1,140));
                                       pStmt.setString (19, psRecordContent.substring(141-1,156));
                                       pStmt.setString (20, psRecordContent.substring(157-1,157));
                                       pStmt.setString (21, psRecordContent.substring(158-1,176));
                                       pStmt.setString (22, psRecordContent.substring(177-1,182));
                                       pStmt.setString (23, psRecordContent.substring(183-1,183));
                                       pStmt.setString (24, psRecordContent.substring(184-1,187));
                                       pStmt.setString (25, psRecordContent.substring(188-1,189));
                                       pStmt.setString (26, psRecordContent.substring(190-1,190));
                                       pStmt.setString (27, psRecordContent.substring(191-1,191));
                                       pStmt.setString (28, psRecordContent.substring(192-1,193));
                                       pStmt.setString (29, psRecordContent.substring(194-1,212));
                                       pStmt.setString (30, psRecordContent.substring(213-1,231));
                                       pStmt.setString (31, psRecordContent.substring(232-1,250));
                                       pStmt.setString (32, psRecordContent.substring(251-1,256));
                                       pStmt.setString (33, psRecordContent.substring(257-1,264));
                                       pStmt.setString (34, psRecordContent.substring(265-1,270));
                                       pStmt.setString (35, psRecordContent.substring(271-1,276));
                                       pStmt.setString (36, psRecordContent.substring(277-1,282));
                                       pStmt.setString (37, psRecordContent.substring(283-1,294));
                                       pStmt.setString (38, psRecordContent.substring(295-1,319));
                                       pStmt.setString (39, psRecordContent.substring(320-1,341));
                                       pStmt.setString (40, psRecordContent.substring(342-1,354));
                                       pStmt.setString (41, psRecordContent.substring(355-1,357));
                                       pStmt.setString (42, psRecordContent.substring(358-1,359));
                                       pStmt.setString (43, psRecordContent.substring(360-1,363));
                                       pStmt.setString (44, psRecordContent.substring(364-1,366));
                                       pStmt.setString (45, psRecordContent.substring(367-1,371));
                                       pStmt.setString (46, psRecordContent.substring(372-1,382));
                                       pStmt.setString (47, psRecordContent.substring(383-1,393));
                                       pStmt.setString (48, psRecordContent.substring(394-1,395));
                                       pStmt.setString (49, psRecordContent.substring(396-1,401));
                                       pStmt.setString (50, psRecordContent.substring(402-1,405));
                                       pStmt.setString (51, psRecordContent.substring(406-1,413));
                                       pStmt.setString (52, psRecordContent.substring(414-1,417));
                                       pStmt.setString (53, psRecordContent.substring(418-1,421));
                                       pStmt.setString (54, psRecordContent.substring(422-1,425));
                                       pStmt.setString (55, psRecordContent.substring(426-1,427));
                                       pStmt.setString (56, psRecordContent.substring(428-1,428));
                                       pStmt.setString (57, psRecordContent.substring(429-1,430));
                                       pStmt.setString (58, psRecordContent.substring(431-1,431));
                                       pStmt.setString (59, psRecordContent.substring(432-1,433));
                                       pStmt.setString (60, psRecordContent.substring(434-1,452));
                                       pStmt.setString (61, psRecordContent.substring(453-1,455));
                                       pStmt.setString (62, psRecordContent.substring(456-1,474));
                                       pStmt.setString (63, psRecordContent.substring(475-1,493));
                                       pStmt.setString (64, psRecordContent.substring(494-1,497));
                                       pStmt.setString (65, psRecordContent.substring(498-1,537));
                                       pStmt.setString (66, psRecordContent.substring(538-1,553));
                                       pStmt.setString (67, psRecordContent.substring(554-1,565));
                                       pStmt.setString (68, psRecordContent.substring(566-1,575));
                                       pStmt.setString (69, psRecordContent.substring(576-1,585));
                                       pStmt.setString (70, psRecordContent.substring(586-1,601));
                                       pStmt.setString (71, psRecordContent.substring(602-1,602));
                                       pStmt.setString (72, psRecordContent.substring(603-1,605));
                                       pStmt.setString (73, psRecordContent.substring(606-1,608));
                                       pStmt.setString (74, psRecordContent.substring(609-1,616));
                                       pStmt.setString (75, psRecordContent.substring(617-1,617));
                                       pStmt.setString (76, psRecordContent.substring(618-1,625));
                                       pStmt.setString (77, psRecordContent.substring(626-1,629));
                                       pStmt.setString (78, psRecordContent.substring(630-1,649));
                                       pStmt.setString (79, psRecordContent.substring(650-1,650));
                                       pStmt.setString (80, psRecordContent.substring(651-1,651));
                                       pStmt.setString (81, psRecordContent.substring(652-1,653));
                                       pStmt.setString (82, psRecordContent.substring(654-1,655));
                                       pStmt.setString (83, psRecordContent.substring(656-1,656));
                                       pStmt.setString (84, psRecordContent.substring(657-1,658));
                                       pStmt.setString (85, psRecordContent.substring(659-1,661));
                                       pStmt.setString (86, psRecordContent.substring(662-1,662));
                                       pStmt.setString (87, psRecordContent.substring(663-1,665));
                                       pStmt.setString (88, psRecordContent.substring(666-1,668));
                                       pStmt.setString (89, psRecordContent.substring(669-1,676));
                                       pStmt.setString (90, psRecordContent.substring(677-1,679));
                                       pStmt.setString (91, psRecordContent.substring(680-1,687));
                                       pStmt.setString (92, psRecordContent.substring(688-1,706));
                                       pStmt.setString (93, psRecordContent.substring(707-1,707));
                                       pStmt.setString (94, psRecordContent.substring(708-1,708));
                                       pStmt.setString (95, psRecordContent.substring(709-1,709));
                                       pStmt.setString (96, psRecordContent.substring(710-1,710));
                                       pStmt.setString (97, psRecordContent.substring(711-1,711));
                                       pStmt.setString (98, psRecordContent.substring(712-1,712));
                                       pStmt.setString (99, psRecordContent.substring(713-1,713));
                                       pStmt.setString (100, psRecordContent.substring(714-1,714));
                                       pStmt.setString (101, psRecordContent.substring(715-1,715));
                                       pStmt.setString (102, psRecordContent.substring(716-1,716));
                                       pStmt.setString (103, psRecordContent.substring(717-1,717));
                                       pStmt.setString (104, psRecordContent.substring(718-1,728));
                                       pStmt.setString (105, psRecordContent.substring(729-1,739));
                                       pStmt.setString (106, psRecordContent.substring(740-1,750));
                                       pStmt.setString (107, psRecordContent.substring(751-1,754));
                                       pStmt.setString (108, psRecordContent.substring(755-1,762));
                                       pStmt.setString (109, psRecordContent.substring(763-1,766));
                                       pStmt.setString (110, psRecordContent.substring(767-1,778));
                                       pStmt.setString (111, psRecordContent.substring(779-1,782));
                                       pStmt.setString (112, psRecordContent.substring(783-1,785));
                                       pStmt.setString (113, psRecordContent.substring(786-1,786));
                                       pStmt.setString (114, psRecordContent.substring(787-1,806));
                                       pStmt.setString (115, psRecordContent.substring(807-1,815));
                                       pStmt.setString (116, psRecordContent.substring(816-1,816));
                                       pStmt.setString (117, psRecordContent.substring(817-1,817));
                                       pStmt.setString (118, psRecordContent.substring(818-1,818));
                                       pStmt.setString (119, psRecordContent.substring(819-1,824));
                                       pStmt.setString (120, psRecordContent.substring(825-1,832));
                                       pStmt.setString (121, psRecordContent.substring(833-1,833));
                                       pStmt.setString (122, psRecordContent.substring(834-1,866));
                                       pStmt.setString (123, psRecordContent.substring(867-1,870));
                                       pStmt.setString (124, psRecordContent.substring(871-1,1070));
                             //          if (pStmt.executeUpdate() != 1)
                             //               throw new GenException ("Insertion failed");
                                            String psMsgType = psRecordContent.substring (184-1, 187);
                                            if (true)//updateTable (conn, pstmt, pstmt1, pstmt2, psRecordContent, out, bw))
                                                 if (psMsgType.equals ("0500") || psMsgType.equals ("0520"))
                                                           //piSettlementDR++;
                                                 if (psMsgType.equals ("0210"))
                                                           //piUpdatedDR++;
                                                 if (psMsgType.equals ("0220") || psMsgType.equals ("0320") || psMsgType.equals ("0420"))
                                                      //reversalDR++;
                                                 //validDR++;
                                  //totalDR++;
                             else if (psRecordContent.startsWith ("FT"))
                                  pcData = new char [HEADERSIZE];     // Reading next Record Header
                                  brPTLF.read (pcData, 0, HEADERSIZE);
                                  piRecordsize = Integer.parseInt (new String (pcData));
                                  piOffset += HEADERSIZE;
                                  pcData = new char [piRecordsize - HEADERSIZE];// Reading next Record Content (Must be TT)
                                  brPTLF.read (pcData, 0, piRecordsize - HEADERSIZE);
                                  psRecordContent = new String (pcData);
                                  piOffset += piRecordsize - HEADERSIZE;
                                  if (!psRecordContent.startsWith ("TT"))
                                       throw new GenException ("Total Trailer not Found.");
                                  pbEndOfFile = true;
                        } // while (piOffset < piBlocksize)
                   } // while (!pbEndOfFile)
                   brPTLF.close();
                   fPTLF.close();
                   pStmt.close();
              catch (Exception e)
                   moLogFile.printStackTrace(e);
              finally
                   mConnPool.free(pConn);
         public static void main(String args[])
              try
                   PTLFProcessor test=new PTLFProcessor("c:\\test.txt");
                   test.PTLFGetData();
              catch (Exception e)
                   clsLogFile.printStackTrace(e);
    }Here is the code with Normal statements
    //package mps.mpsPTLF;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.util.Calendar;
    import java.util.Date;
    import gen.genCommon.genConnectionPool.*;
    import gen.genCommon.*;
    public class PTLFProcessor1
         private static clsLogFile moLogFile = new clsLogFile("");
         private gen.genCommon.genConnectionPool.SharedConnectionPool mConnPool = SharedConnectionPool.getInstance(2);
         FileReader fPTLF = null;
         BufferedReader brPTLF = null;
    //**************** Begin Constructor declaration ************************
    To intialize the class variables for new Fee
         public PTLFProcessor1(String pathPTLF) throws GenException
              try
                   fPTLF = new FileReader(pathPTLF);
                   brPTLF = new BufferedReader(fPTLF);
              catch (Exception e)
                   throw new GenException("Error Accessing file : " + pathPTLF + " - " + e.toString(),e );     
    //**************** End  Constructor declaration ************************
         public void PTLFGetData() throws GenException
              char pcData[];
              int HEADERSIZE = 6;
              boolean pbEndOfFile = false;
              boolean pbisFirstBlock = true;
              int piBlocksize = 0;
              int piOffset = 0;
              int piRecordsize = 0;
              String psRecordContent = "";
              Connection pConn = null;
              int cnt=0;
              try
                   String psInsSql=" INSERT INTO FILE_PTLF_IN ( " +
                                       " fpi_DAT_TIM , " +
                                       " fpi_REC_TYP , " +
                                       " fpi_CRD_LN , " +
                                       " fpi_CRD_FIID , " +
                                       " fpi_CRD_NUM , " +
                                       " fpi_MBR_NUM , " +
                                       " fpi_MER_LN , " +
                                       " fpi_MER_FIID , " +
                                       " fpi_MER_GRP , " +
                                       " fpi_MER_REGN , " +
                                       " fpi_MER_ID , " +
                                       " fpi_TERM_ID , " +
                                       " fpi_SHIFT_NUM , " +
                                       " fpi_BATCH_NUM , " +
                                       " fpi_TERM_LN , " +
                                       " fpi_TERM_FIID , " +
                                       " fpi_TERM_ID_1 , " +
                                       " fpi_TRAN , " +
                                       " fpi_TERM_ID_2 , " +
                                       " fpi_REC_FRMT , " +
                                       " fpi_MER_ID_1 , " +
                                       " fpi_CLERK_ID , " +
                                       " fpi_DATA_FLAG , " +
                                       " fpi_TYP , " +
                                       " fpi_RTE_STAT , " +
                                       " fpi_ORIGINATOR , " +
                                       " fpi_RESPONDER , " +
                                       " fpi_ISS_CDE , " +
                                       " fpi_ENTRY_TIM , " +
                                       " fpi_EXIT_TIM , " +
                                       " fpi_RE_ENTRY_TIM , " +
                                       " fpi_TRAN_DAT , " +
                                       " fpi_TRAN_TIM , " +
                                       " fpi_POST_DAT , " +
                                       " fpi_ACQ_ICHG_SETL_DAT , " +
                                       " fpi_ISS_ICHG_SETL_DAT , " +
                                       " fpi_SEQ_NUM , " +
                                       " fpi_TERM_NAME_LOC , " +
                                       " fpi_TERM_OWNER_NAME , " +
                                       " fpi_TERM_CITY , " +
                                       " fpi_TERM_ST , " +
                                       " fpi_TERM_CNTRY_CDE , " +
                                       " fpi_BRCH_ID , " +
                                       " fpi_USER_FLD2 , " +
                                       " fpi_TERM_TIM_OFST , " +
                                       " fpi_ACQ_INST_ID_NUM , " +
                                       " fpi_RCV_INST_ID_NUM , " +
                                       " fpi_TERM_TYP , " +
                                       " fpi_CLERK_ID_1 , " +
                                       " fpi_GRP , " +
                                       " fpi_USER_ID , " +
                                       " fpi_RETL_SIC_CDE , " +
                                       " fpi_ORIG , " +
                                       " fpi_DEST , " +
                                       " fpi_TC , " +
                                       " fpi_T , " +
                                       " fpi_AA , " +
                                       " fpi_C , " +
                                       " fpi_CRD_TYP , " +
                                       " fpi_ACCT , " +
                                       " fpi_RESP_CDE , " +
                                       " fpi_AMT_1 , " +
                                       " fpi_AMT_2 , " +
                                       " fpi_EXP_DAT , " +
                                       " fpi_TRACK2 , " +
                                       " fpi_PIN_OFST , " +
                                       " fpi_PRE_AUTH_SEQ_NUM , " +
                                       " fpi_INVOICE_NUM , " +
                                       " fpi_ORIG_INVOICE_NUM , " +
                                       " fpi_AUTHORIZER , " +
                                       " fpi_AUTH_IND , " +
                                       " fpi_SHIFT_NUM_1 , " +
                                       " fpi_BATCH_SEQ_NUM , " +
                                       " fpi_APPRV_CDE , " +
                                       " fpi_APPRV_CDE_LGTH , " +
                                       " fpi_ICHG_RESP , " +
                                       " fpi_PSEUDO_TERM_ID , " +
                                       " fpi_RFRL_PHONE , " +
                                       " fpi_DFT_CAPTURE_FLG , " +
                                       " fpi_SETL_FLAG , " +
                                       " fpi_RVRL_CDE , " +
                                       " fpi_REA_FOR_CHRGBCK , " +
                                       " fpi_NUM_OF_CHRGBCK , " +
                                       " fpi_PT_SRV_COND_CDE , " +
                                       " fpi_PT_SRV_ENTRY_MDE , " +
                                       " fpi_AUTH_IND2 , " +
                                       " fpi_ORIG_CRNCY_CDE , " +
                                       " fpi_AUTH_CRNCY_CDE , " +
                                       " fpi_AUTH_CONV_RATE , " +
                                       " fpi_SETL_CRNCY_CDE , " +
                                       " fpi_SETL_CONV_RATE , " +
                                       " fpi_CONV_DAT_TIM , " +
                                       " fpi_IMP_IND , " +
                                       " fpi_AVAIL_BAL , " +
                                       " fpi_LEDG_BAL , " +
                                       " fpi_AMT_ON_HOLD , " +
                                       " fpi_TTL_FLOAT , " +
                                       " fpi_CUR_FLOAT , " +
                                       " fpi_ADJ_SETL_IMPACT_FLG , " +
                                       " fpi_PBF1 , " +
                                       " fpi_PBF2 , " +
                                       " fpi_PBF3 , " +
                                       " fpi_PBF4 , " +
                                       " fpi_FRWD_INST_ID_NUM , " +
                                       " fpi_CRD_ACCPT_ID_NUM , " +
                                       " fpi_CRD_ISS_ID_NUM , " +
                                       " fpi_ORIG_MSG_TYP , " +
                                       " fpi_ORIG_TRAN_TIM , " +
                                       " fpi_ORIG_TRAN_DAT , " +
                                       " fpi_ORIG_SEQ_NUM , " +
                                       " fpi_ORIG_B24_POST_DAT , " +
                                       " fpi_EXCP_RSN_CDE , " +
                                       " fpi_OVRRDE_FLG , " +
                                       " fpi_ADDR , " +
                                       " fpi_ZIP_CDE , " +
                                       " fpi_ADDR_VRFY_STAT , " +
                                       " fpi_PIN_IND , " +
                                       " fpi_PIN_TRIES , " +
                                       " fpi_PRE_AUTH_TS_DAT , " +
                                       " fpi_PRE_AUTH_TS_TIM , " +
                                       " fpi_PRE_AUTH_HLDS_LVL , " +
                                       " fpi_USER_FLD5 , " +
                                       " fpi_LEN , " +
                                       " fpi_INFO )" +
                                       " VALUES ";
                                       ( " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                                       " ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, " +
                   pConn = mConnPool.getConnection();
                   Statement Stmt=pConn.createStatemen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Dear Sir,
    The problem with the prepared statement is that it gets prepared once the compilation is over and the program is running in memory, what effectively this means is that at the compilation time the process of putting togather the statement has been discounted and while compiling , only the javac or compiler is in memory while at runtime the user input is required so streams are in memory and also the JVM and obviously your code.
    Anyways java is a little slower than other languages and processes your code as and when user interacts with code so it is not the fastest it you want to make it perform calculations or accept user input or as in ur case prepareStatement.
    your normal SQL statement is taken care of at compile time and is therefore faster.
    regards,
    [email protected]

  • Home Hub 3 is slower than dial up.

    I used to be on a voyager 220v router but started having connection problems. After speaking to customer support, and after they ran some tests on the line/router, they told me that the fault was with the 220v and as it was obsolete, i would need to change to a HH3.
    After receiving the HH3, im now finding that the d/l speed for webpages is slower than it was on dial-up. Ive tried running speedtester but it fails to complete and just gives an error that it cant be completed at this time and to try later. After reading another thread on this issue, i went and found the settings from the hub itself, these are posted below:-
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.5 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    4.6 dB / 10.5 dB
    Line attenuation (Down/Up):
    28.7 dB / 15.4 dB
    Output power (Down/Up):
    20.4 dBm / 11.3 dBm
    FEC Events (Down/Up):
    57086058 / 0
    CRC Events (Down/Up):
    90472 / 32
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    1331805 / 8
    Error Seconds (Local/Remote):
    1736 / 0
    is their anything amongst the above which explains why its running so slowly? 

    Bah, this is a PITA.
    Got up around 7am and the HH3 was displaying connection time of 10 hours, great, lets leave it for 24 and see what happens. Tried browsing and pages were incredibly slow to load, thats when they did actually load. I said stuff it and took the dog for a walk and left everything as is. Got back and checked again at 9.15 to find a connection time of 14 mins, so obvioulsy something has reset itself.
    Tried speedtester and quite simply, the page would not load in order for me to test it.
    Tried clean line check, sounds perfect, no noise whatsoever on it.
    Tried connecting to the test socket and now get the following results:-
    FAQ
    1. Best Effort Test: -provides background information.
    Download  Speed
    0.56 Mbps
    0 Mbps
    21 Mbps
    Max Achievable Speed
     Download speedachieved during the test was - 0.56 Mbps
     For your connection, the acceptable range of speeds is 4 Mbps-21 Mbps.
     IP Profile for your line is - 11.28 Mbps
    2. Upstream Test: -provides background information.
    Upload Speed
    0.73 Mbps
    0 Mbps
    0.83 Mbps
    Max Achievable Speed
    Upload speed achieved during the test was - 0.73Mbps
     Additional Information:
     Upstream Rate IP profile on your line is - 0.83 Mbps
    This test was not conclusive and further testing is required.This might be useful for your Broadband Service Provider to investigate the fault.
    If you wish to carry out further tests,please click on 'Continue' button.If not, please close the window using 'Exit' button and contact your ISP for further assistance with these results.
    ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    0 days, 00:08:56
    Downstream:
    12.49 Mbps
    Upstream:
    888.9 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.5 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    4.5 dB / 10.6 dB
    Line attenuation (Down/Up):
    29.1 dB / 15.5 dB
    Output power (Down/Up):
    20.4 dBm / 12.0 dBm
    FEC Events (Down/Up):
    1790482 / 0
    CRC Events (Down/Up):
    4292 / 0
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    22423 / 0
    Error Seconds (Local/Remote):
    10600 / 0

  • Mac OS internet 5x slower than Windows 7 on BootCamp

    Alright, here is my problem...
    My one and only computer is a mid 2010 iMac... I recently moved to a new place. Prior to me moving I was stuck with an awful 3Mbps download speed. (You can tell how much I hated it by looking at my username) Now that I moved, I am able to get much faster internet. So, I got a plan that offers up to 50Mbps download speeds (Xfinity Blast cable internet). I didn't want to rent my ISP's modem/router, so I purchased my own. I got a Motorola sbg6580. As soon as I got everything hooked up, it seemed perfect. I used speedtest.net to see what I was getting. I first tested on Windows 7. To my surprise, I was getting around 70Mbps. I then restarted my iMac into the Mac OS to do some speed tests. On the Mac OS, I was getting around 50-60Mbps. A bit slower than Windows 7, but still very good. The next day I decided to do a "real world" test. I downloaded a 1 Gigabyte file just to see how fast it was. Now, if I was getting 50Mbps the file should have taken just under 3 minutes to download. Instead, it took around 7 minutes. I figured it was maybe just the website I was downloading from. (the file I was downloading was the Cry Enginge SDK - http://www.crydev.net/ ) I did some research and discovered the website testmy.net - I am not sure if this is completely reliable or not, but every test I do on testmy.net I get around 10Mbps. At first I thought it was my ISP ripping me off, then I decided to do a testmy.net test on Windows 7 via BootCamp. (please note that on both Mac OSX and Windows 7 I did multiple tests over the coarse of multiple days) On Windows, I could instantly tell that the test was going much faster. The results for testmy.net on Windows 7 were 50-60Mbps. I did not completely trust the website, so I downloaded the same Cryengine SDK on Windows. It took around 3 minutes, just as it should have. I researched a bunch online trying to find info on this problem. I tried many "solutions" but none of them changed anything. (these include but are not limited to: Tried different DNS servers, Disabled ipv6, disabled sbg6580 firewall, disabled mac osx firewall, tried changing the wireless channel, and reset sbg6580. I came to the conclusion that it was the sbg6580. I thought that maybe an airport express would give me better results. So, today I bought an Airport express. With the sbg6580, I was able to disable the router features so it was just a modem. I was then able to set up the Airport express as my router. It fixed nothing. I am still getting the same results, Windows is still getting anywhere from 50-60Mbps while Mac OSX is getting around 10Mbps. I am out of ideas, if anyone could please help me that would be great. Also, if you need to know anything else please let me know. I may have missed something...
    A quick note:
    At my old house I had my iMac hooked up to a surge protector. For maximum internet performance, my iMac was connected to my router with an ethernet cable. During a bad storm one day, a lightning bolt either hit my house or very close to it. Ever since, my ethernet port has not worked. I have tried multiple eithernet cables as well as multiple routers and networks. I do not have the money for apple to completely replace my logic board. - So anyway, I am unable to test the performace with an eithernet cable.
    Extra information:
    My sbg6580 as well as my Airport extreme are both sitting on the same desk as my iMac, so it is obviously not a signal problem.
    I also own both a iPod touch 5th gen and a iPad 2nd gen. I am getting around 20-30Mbps on both of them. I am not sure what would be a "good speed" on either of these, but I figured that was pretty good for a tablet and ipod.
    The upload speeds on both windows 7 and Mac OSX are around the same 5-10Mbps.
    I am using Google Chrome on both Windows 7 and Mac OSX but, I have also tried Firefox and Safari.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Flash player 10.1 slower than 10

    At least, that's how it is on my secondary computers. On my Dell Inspiron B120, flash 10.1 latest is like a train wreck when it comes to playing Youtube videos in full screen. Disabling hardware acceleration helped a little, but this shouldn't be happening as I uninstalled 10.1 and installed an archived version of Flash 10 with much better playback AND with h/w acceleration enabled. The laptop uses XP SP3 and Firefox.
    Simply put, Flash 10.1 feels a lot slower than 10 on my Dell laptop (1.4 GHz celeron-M, intel 915g video, 512 mb ram)
    And there's another odd but minor problem I seem to be having with is flash animations on my main computer and any other computer/laptop I have using Flash 10.1. I get this alternating 'lag' every few seconds; it's like the computer is dropping frames because the CPU can't keep up. I could completely understand this, but this is happening on practically any flash animation I throw at the computer. I just tested a flash movie (SWF format) on my main computer (2.8 GHz AMD Athlon x2 240; 2 gb ram, Windows 7 x64, Firefox) and I get this irritating choppy lag here and there. Again, with the previous Flash version 10, I did NOT have this problem AT ALL. Everything was silky smooth; the only benefit I'm getting from Flash 10.1 is x264 hardware acceleration for my ATI Radeon 4200 HD. Before anyone asks, all of my computers were using the latest flash version AND video drivers prior to these tests.
    I am VERY frustrated with these problems as I've posted a similar thread twice now in the past. No one seems to be answering or helping me with this; Those that do reply simply claim that they're having the same problem.
    Adobe, please look into this problem. Eventually Youtube and several other sites will force me to upgrade my laptop to Flash 10.1.

    Has Adobe fixed the problems with version 10,1,82,76 of flash player ?
    I compared it and found nothing but problems.
    I then uninstalled 10,1,82,76 and rolled back to 10,0,12,36 which works fine on Firefox and Opera but I can't install 10,0,12,36 on Exploer or Chrome
    it keeps telling me there is a new version even when I try to install it from local drive with a archived version.
    With all the complaints about 10,1,82,76 and the lack of response from Adobe on any fixes I will not be using Adobe auto updates until I let some
    other poor guinea pigs suffer all the bugs and problems first.
    You would expect a large company to have better development and testing before imposing buggy upgardes on us.

  • PS CS3 much slower than CS2 on Intel Mac. I don't get it.

    Yes, very very strange.
    I work with very large files, so I just got a spiffy new Mac Pro. It's my first Intel machine, so I expected that CS2 would drag a little bit, due to Rosetta. In fact, moving from one processor to eight of them seems to have much more than compensated. Nevertheless, I ordered CS4 and while I wait I downloaded the demo of CS3.
    I expected that CS3 would fly (no Rosetta) but have found my test tasks taking an inordinate amount of time... much slower than CS2 on the same Xeon workstation, and slower than CS2 on my old iMac (single 2.1GHz G5)
    Since I work with extremely large files, I got a hardware RAID5 made up of four 15,000RPM SAS drives. I can't get enough RAM to avoid using scratch disk, so I attacked the biggest performance bottleneck. I did get 8GB of RAM; would have gotten more, but I read that it won't matter until CS goes 64-bit in CS5 at the earliest.
    The rest of it: dual quad-core 2.8GHz "Woodcrest" Xeon processors, NVIDIA GeForce 8800GT graphics card, OS X 10.5.5, all updates (Apple and Adobe) applied as of 6pm Wednesday October 8th.
    I'm running two tests as my benchmark: open a file (PSD created with CS2, 75" x 75" at 400ppi, two layers, RGB with one additional channel) and resize to 75" x 75" at 800ppi. Once that is done, I rotate the new, massive file counterclockwise 18.5 degrees.
    On my old setup, 2.1GHz SP G5 iMac with CS2, these tasks took 38m 30s and 1h 33m 22s respectively.
    New machine with CS2: 10m 09s and 29m 14s respectively
    New machine with CS3: 42m 38s and 1h 36m 24s
    (above tests run repeatedly: these numbers are the fastest numbers for each configuration)
    I have nothing else running for these tests, except for Activity Monitor. What I've observed with Activity Monitor: the old G5 was pegged at (or very near) 100% CPU the whole time. Mac Pro with CS2, Photoshop ran most of the time on one CPU at a time, but spiked up as high as 250% CPU usage just for Photoshop.
    I haven't seen Photoshop CS3 use more than 80% of one processor the whole time on the Mac Pro. Mostly it sits around 35%.
    One more informal test: if I open that same file and downsample from 400ppi to 200ppi, CS2 does it in 1m 40s. CS3: 6m 57s. I don't have the iMac any more so I can't tell you how long it would take there.
    In both CS2 and CS3 the scratch disk is my startup volume, but it's a RAID. I can't add any more drives except for external drives. I could have configured it to one dedicated system drive and a second scratch volume made up of the remaining three drives, but I consulted with people who know RAID better than I do who agreed that since everything is going through the SCSI controller and everything gets written to multiple drives in order to make it faster that I'd get a performance hit by splitting the RAID into two volumes, even if multiple processes are trying to get at the same drive array. Even adding a Firewire 800 drive for scratch would be slower than using the RAID. Or so I've been told.
    So, this seems absurd. CS3 is not using Rosetta, right? So it should be flying on my machine. What on earth could I have done to a fresh CS3 (demo) install to make it slower than CS2 on my old G5? Is the CS3 demo crippled? Is there a conflict having CS2 and the CS3 demo on the same machine?
    I'm stumped.

    >Ya see, this is the attitude you really, really should get over. The Photoshop CS3 (10.0.1) code is just fine... it's your system (hardware/software) which, for some reason is not providing an optimal environment.
    Jeff, I agree completely. You seem to be assuming that I actually think Adobe wrote bad code. In fact, I believe Adobe did NOT write bad code (and I wrote that) but that the condition that you are suggesting (CS3 being slowed by having having scratch and system on the same volume to a far greater extent than CS2) could only be caused by bad code by Adobe. Since I believe that, as you say, a universal difference of this magnitude between CS2 and CS3 would be noticed by huge numbers of users, I doubt that what I am seeing is the result of having scratch and system on the same volume.
    In case I'm being less than clear:
    Scratch and system were on the same volume for CS2.
    Scratch and system were on the same volume for CS3.
    On my system CS2 performs tasks three to four times faster than CS3.
    ergo, either there is some problem other than scratch and system being on the same volume (perhaps something that exacerbates the scratch/system/same volume issue, OK, I accept that possibility) or else the change has been between CS2s and CS3s handling of scratch disks.
    If for the sake of argument we rule out the possibility that CS3 handles the condition of scratch and system being on the same volume worse than CS2 does, the only possibility left is that there is SOMETHING ELSE WRONG WITH MY SYSTEM.
    I am trying to find out what that other thing is. You're the one insisting that scratch and system being on the same volume is the cause of the CS3 slowdown. Accusing me of not believing that there's something wrong with my system misses the mark entirely. I ABSOLUTELY believe there is something wrong with my system.
    > Your RAM tests sound pretty thorough, but if I had your large-files workflow I would buy two (or preferably 4) 4-GB sized matched RAM DIMMs, remove all the existing RAM, and install only the new RAM to further test whether or not the old RAM is anomalous.
    Thanks Allen,
    Actually, this is exactly what I've done, though in a different order. My system shipped with two 1GB chips. I bought two 4GB chips from OWC and installed them, and found my CS2 performance to increase significantly. It was only then that I tried installing the CS3 demo. When I found CS3 running my tests more slowly than expected, I pulled the new RAM out and tried with just the original 2GB and tested both CS2 and CS3 again. Then I took the original 2GB out, put only the new RAM in and tested CS2 and CS3 again, finding the same results. Currently I have all 10GB in the system and for the moment I'm setting aside the possibility of a problem with the RAM (or at least setting aside the possibility that the RAM chips are just plain bad) because that would indicate that both the new and the old RAM are both bad in the same way. That seems unlikely.
    So I guess I'll have to drag the system down to the Genius Bar if I don't see an improvement from rearranging my hard drives.
    The update there is that last night I backed up my system, and this morning I deleted my RAID5 set, blowing away everything on my system until I can restore from backup. The new configuration is 1 JBOD drive plus three drives attached as RAID0.
    Unfortunately, neither of the new volumes is visible when I go to restore from backup. For the moment, this little experiment has cost me my entire system. The upshot is that it may be some more time before I have any more information to share. Even when I do get it working again, I can expect restoring to take the same 12 hours that backing up did.
    I will certainly post here when I've got my system back.

  • BLOB column inserts are slow

    Hi All,
    Have a table with 7 columns where 4 columns are of Varchar2 type, 2 columns are of NUMBER type and 1 column is of type BLOB.
    Myself inserting the values to the table from JAVA program. Insertion to VARCHAR2 and NUMBER type columns are very much fast. But insertion to BLOB column is dead slow(data to BLOB column values are about 10KB).
    Please help me in this regard to insert BLOB values fastly.
    Regards/Sreekeshava S

    Sreekeshava S wrote:
    Running JAVA program in the same server as that of DB. Connecting how? IPC? TCP? Dedicated server? Shared server?
    Calling Oracle how? Doing a SQL statement prepare per insert? Reusing the SQL cursor handle? Binding variables?
    And inserting 250 records/ sec(during peak load and 50 records/sec during normal load). where each record is having size of 10K(Blob column size).And what is slow? You have NOT yet provided ANY evidence that points to the actual INSERT being slow.
    As I have already explained, there are a number of layers from client to server - and any, or all of these, could be contributing to the problem.
    Use your web browser and look up what instrumentation is. Apply it. Instrument your code. On the client. On the server. So you have evidence (call stats and metrics) to use to determine what and where the performance problem is. And not have to guess - and like most developers point your finger at the database in the false belief that your client code, client design, and client usage of the database, are all perfect.

  • To run a piece of PL/SQL code,  in TT  is much slower than   in ORACLE.

    A piece of PL/SQL code , about 1500 lines, package is named rtmon_event, function in it is named rtmon_SHOLD_CUS_RPT;
    the PL/SQL code is run in ORACLE.
    Now I want to get fast speed, I think of TT.
    I rewrite the PL/SQL code by grammer in TT.
    But the speed in TT is much slower than the speed in ORACLE.
    In ORACLE, to run the PL/SQL code, it need 80 seconds; but In TT, to run the PL/SQL code, it need 183 seconds;
    How can I resolve the problem?
    Btw: there are some joins of 2 tables, or 3 tables in rtmon_event.rtmon_SHOLD_CUS_RPT, and some complex DML in it.
    The run method is :
    declare
    a number;
    begin
    a := rtmon_event.rtmon_SHOLD_CUS_RPT ;
    end;
    Thanks a lot.

    The easiest way to view a plan is to use ttIsql and issue the command:
    explain SQL-statement;
    For example:
    explain select a.ol1, b.col2 from taba a, tab b where a.key = b.key;
    See the documentation that 'hitgon' pointed you to to help you interpret the plans.
    Chris

  • RogueWave RWSortedVector  insert is slow

    Hi,
    We have a legacy code which uses RogueWave RWSortedVector for caching some data after reading from database. The startup is taking hours because the sortedVector insert is slow as the number of items to be added are around 20K. Is there a workaround/another RogueWave which can be used to improve the performance?
    Thanks in advance,

    Hi,
    I have created two temp tables. (temp1, temp2)
    After that an index is created for temp2.
    Then insert statement is executed by using union
    operator and then inserted into the temp2 table.What sort of union? UNION or UNION ALL?
    If you just want all records from both tables then UNION ALL is what you want.
    UNION will remove duplicates (and will more than likely be sorting your data); if you know you don't have duplicates then UNION ALL is also what you want.
    Here the data inserted into the temp2 table is very
    huge around 3 millions records.3 million is not very huge, 3 billion is very huge.
    It takes nearly 5 hours to complete the insert
    statement.Too long :-)
    I think the index is affecting the performance to
    degrade.Possibly, but the culprit is more than likely elsewhere.
    Please let me know whether disabling the index untill
    the insert is completed is recommended to improve the
    performance.Please trace the transaction. You can post your scripts and trace here if you want (not everything, but the useful bits).
    Cheers,
    Colin

  • File sharing on a MacMini with Snow Leopard Server slower than on a G4

    We've decided to replace our old file server, a G4 2x450 (running Mac OS 10.4.11 (client!) with 640 MB of RAM) by a MacMini Server, running Mac OS X Server 10.6.2.
    The Mini runs the OS out of the box (I re-installed it to avoid mis-configurations). What's frustrating is that the Mini is slower than the G4.
    Attached to the Mini is a RAID 0 MacPower Taurus with 2x1,5 TB SATA drives. The G4 is sharing a 650 GB P-ATA RAiD 1 internally attached via a 64bit ACARD.
    While the G4 receives about 32-35 MB/s over the network (using a 5GB file for the test), the MiniServer doesn't exceed 25 MB/s.
    A local copy of the same file isn't much faster on the G4, but on the Mini the copying speed is more than 70 MB/s. So. on the Mini copies over the network are only little more than 1/3 of the local copy speed!
    So the problem is not the speed of the drives, the speed of the network - it's the data transfer from the network interface of the Mini to the FireWire interface.
    The network is well configured, using a HP ProCurve 1810 managed gigabit switch. Both servers were tested under same conditions in the same network.
    I would appreciate any help or idea?

    I have the same experience.
    But did you try to write to the local MacMini drive or to the Fire attached Raid?
    I found, that my internal MacMini drives are fast over the network, but as soon as it comes to Firewire drives on the MacMini over the network, it's only half speed.
    JO

  • Signed applets load slower than javascript

    I have a signed applet and i had problems with certifications but i solved them.
    Now i have a new problem with the chat , it�s when the page is load, javascript tries to get some variables from the applet but it has�n load jet and javascript stops.
    Is 1.5 slower than 1.4??
    How can i solve it'??

    In javascript you can use try and catch. When caught use setTimeout
    var varOfTheApplet = null;
    function callPublicMethodOfTheApplet(){
      try{
            varOfTheApplet = document.getElementById("idOfMyApplet").publicMethod();
       }catch(e){
            setTimeout("callPublicMethodOfTheApplet();",500);
    }

  • Zimbra 8.0.3_GA_5664.FOSS mail in and out become slow than usual.

    Hi,
    I am using zcs 8.0.3_GA_5664.FOSS. Few days back i observe that my server working slow than usual. I found that zmconfigd not runnig or sometime running but mail input and output is slow. I google the issue and some people said to change/disable the line /etc/hosts ipv6 line ":: 1     localhost.localdomain........". I did that but still slow.
    Can anyone suggest to speed it up like before.
    This topic first appeared in the Spiceworks Community

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for