Slow performance using getBlob(), how can I correct this ?

I have wav files stored in a database that range from 10M - 75M... When I make a JDBC call using ResultSet..ie a rs.getBlob for a large wav file, the performance is terribly slow. How can I improve this ? Is there a way to get the BLob is pieces or sections ?

Hi. Thanks for you response.
You are correct. I believe the code is not slow when running the result.getBlob funciton is called, it must be when I stream it to the audio player. The point where it becomes slow is when I try and play it. After clicking play the song starts about 15 seconds later.
Here is my code:
PreparedStatement stmt = conn.prepareStatement(select);
               ResultSet result = stmt.executeQuery();
               while( result.next() ) {
                    blob = result.getBlob(type);
               result.close();
               stmt.close();
               result = null;
InputStream is = blob.getBinaryStream();
               SourceDataLine line;
          AudioInputStream stream = AudioSystem.getAudioInputStream(is);

Similar Messages

  • Since last security update my MacBook is slow as ever.  How can I correct this?

    Since the last security update my old MacBook is slower than ever.  Can I undo last update or is that adviseable?

    Try a safe boot http://support.apple.com/kb/HT1564

  • My gps is not working.  I cannot use turn-by-turn navigation in google maps.  I downloaded a GPS test app and it showed my phone is not locking on any satellites.  How can I correct this?

    My gps is not working.  I cannot use turn-by-turn navigation in google maps.  I downloaded a GPS test app and it showed my phone is not locking on any satellites.  How can I correct this?

    We certainly want to make sure you get the most out of the GPS, wplaxico! Was this tested primarily outdoors? When did this begin? Any other recent apps of updates installed when this started?
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • Resizing with my mouse using touch pad mac book pro does not work. how can i correct this problem?

    resizing with my mouse using touch pad mac book pro does not work. how can i correct this problem?

    See:
    * [/questions/777886]

  • When replaying a video I took, why is it replaying in slow motion? How can I correct this?

    When replaying a video that I took, why is it replaying in slow motion? How can I correct this?

    I'm going to assume that maybe you accidentally recorded in slo-motion which is why it's playing in slo-mo

  • My husband and I both have an i phone. When I send him a message it sends the message to myself as well - the same happens when he sends to me. How can we correct this?

    My husband and I both have an i phone. When I send him a message it also sends it back to my phone. The same happens when he messages me. His messages are also picked up on my i pad.How can we correct this?

    Are you both using the same Apple ID?
    Also check Settings > Messages > Send & Receive > make sure it only contains your unique phone number and e-mail address de-select those entries belonging to your husband.
    Do the same on his phone (de-select yours)

  • My iPhone 4s will not back-up because it is over capacity due to a lg. amt. of "other" data.  I don't have a lot of other data however.  How can I correct this?

    My iPhone 4S will not do a back-up because it is over it's capacity due to an excessive amount of "other" data.  However I actually have very little other data.  How can I correct this.  As it is now I can't even take a picture!  Thanks!

    Create a manual backup in iTunes, then restore it, restoring to your iTunes backup at the end.  This will usually correct this.  If it doesn't, then the problem is contained in the backup and you'll have to save as much of your data as you can, then restore it as new without using your backupo.

  • When I click on a picture or map in i.e. Kijiji real estate pages, Firefox opens it all crunched to the right side of the page. How can I correct this?

    When I click on a picture or map in i.e. Kijiji real estate pages, Firefox opens it all crunched to the right side of the page. How can I correct this?
    For instance I view an apartment ad which has various pictures attached. It says click on the pictures to see an enlarged version. FF opens the page however most of the page is blank and the picture appears to be pushed to the right side of the page and shows as if it has been scrunched agains the right side not showing the whole picture.
    What Can I do to correct this?

    I see that you have increased some font sizes considerably.
    * font.size.fixed.x-western: 20
    * font.size.variable.x-western: 22
    This can effect margins when the website specifies these as em values and cause content to shift.
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    It is better not to increase the minimum font size, but to use an extension to set the default page zoom to prevent issues with text not being displayed properly.
    You can use the NoSquint extension to set font size (text/page zoom) and text color on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    Note that your System Details List shows multiple Flash plugins.
    * Shockwave Flash 16.0 r0
    *Shockwave Flash 12.0 r0
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    *http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins
    You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\
    Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.
    The user.js file is only present if you or other software has created this file and normally it wouldn't be there.
    You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.
    The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    You can delete this user.js and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • I've recently installed IOS 7.0.3. With the latest automatic upgrade of First Class yesterday the textfields for loggning in disappears upworth. How can I correct this.

    I've recently installed IOS 7.0.3. on my Ipad4. With the latest automatic upgrade of First Class yesterday the textfields for loggning in disappears upworth. How can I correct this.

    HALF-SOLUTION!!!! (Restoring only, basically.)
    Restore the phone via iCloud.com
    1. Go to iCloud.com , and log in.
    2. If you want a back up, make sure you back it up to itunes now!
    3. Now back to iCloud.com - select the device you want. Press "Erase iPhone" (or iPad, iPod whatever).
    You will go through a few steps. Skip the phone number and leave a message, as it isn't lost. Your phone will be restored. No need for plugging in!
    4. IMPORTANT: Just set it up as usual. Language, country blah. But then you'll get to a step where it says something like "This iPhone was erased with iCloud. Log in with the Apple ID you used to erase it". In this case, my Dad's. So please do that. Later on, the phone will ask for an Apple ID to be used for the phone. I put my own one as I didn't want my dads!!!! Lol....
    5. Plug into iTunes and back-up.
    As for updating, I'm still on 7.0.2,,, it ain't working on my phone or itunes!! :(

  • Over half my albums in iPhoto won't display the enlarged photo. How can I correct this?

    Over half my albums in iPhoto won't display the enlarged photo. How can I correct this?

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/ Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help: As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • When i try to play music on itunes it says the original file cant be found. I have music on exyernal dive and it is working . How can i correct this

    When i try to play music on itunes it says the original file cant be found. I have music on exyernal dive and it is working . How can i correct this?

    See if you have most of the songs with 'Exclamation' symbol precede the name under your music library.
    If so, double click a song with ! mark on side, you will be given an option to locate the file where the song is held. Select "locate" and direct it to your External Drive folder / file where the song is and open it.
    iTunes then will give you the option to use this process to update all of your library.  OK that as this will fix all automatically instead of doing them one by one.

  • In Mac Mail on OS 10.5.8 I am receiving bogus emails which claim to be sent by people in my address book, but actually are not.  How does this happen and how can I correct this problem

    n Mac Mail on OS 10.5.8 I am receiving bogus emails which claim to be sent by people in my address book, but actually are not.  How does this happen and how can I correct this problem

    You said:
    I am receiving bogus emails which claim to be sent by people in my address book, but actually are not.
    ...and:
    Are you saying that my address book has not been hacked into?  That others are getting these email addresses from another source?
    This confuses me.  Are you saying that you are receiving bogus e-mails from some of your contacts, or are you saying that they are receiving bogus e-mails from you?
    If the latter, there are a number of reasons that people might be getting e-mail from you.  Malware, though technically possible, is extremely unlikely.  See Someone is sending messages from my e-mail address!
    If the former, that's rather unusual.  The only decent explanation I can think of is that a bunch of your Windows-using contacts got infected with something and their machines are being used to spam everyone in their contact lists, which would include you.

  • The print is too small on various web sites that I open. How can I correct this?

    The print is too small on various web sites that I open. This has never happened on older Firefox versions. How can I correct this so every page I open, the print size is consistent and legible? I don't want to change it every time I open a new site.

    Hi Donna,
    Welcome to the HP Community Forum.
    Font Size and the scale (size) at which a document is printed is controlled within the application just before the job is sent to the printer -  this means the size is set from your browser (Firefox, Internet Explorer) or perhaps your Editor (Word).  Generally speaking, most applications use Print Preview -- or a variation of that program under a different name.
    An explanation and the use of Print Preview is avialble in the following document:
    Change Print Size with Print Preview
    Click the Kudos Thumbs-Up to show you appreciate the help.
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Click Accept as Solution when the Answer provides a Fix or Workaround!
    Kind Regards,
    Dragon-Fur

  • HT201342 My icloud email address is misspelled.  How can I correct this?

    My icloud email address is misspelled.  How can I correct this?

    You can't change an iCloud (@mac, @me or @icloud) email address without creating a new account.  You can, however, create an email alias with the correct spelling and use that.  It will be linked to your current iCloud account and receive email at the same inbox.  This guide explains how to create an alias: http://support.apple.com/kb/PH2622.

Maybe you are looking for

  • Black Bars

    Hello, I am exporting a movie from Final Cut Express using Quicktime Conversion. Everything is fine when I play the movie off of the the desktop. However, whenever I transfer the file (either burning to dvd or with an external hard drive) the file so

  • Problem use SQL query in coding report with SBO

    Hi everyone! I have problem in execute query to delete and create a report with SQL 2000 in SAP. Try         oForm.DataSources.DataTables.Item(0).ExecuteQuery("DELETE FROM rptReport") Catch ex As Exception End Try          oForm.DataSources.DataTable

  • Oracle 10g backup and recovery

    Hi Can you guys give me some resource of oracle 10g backup and recovery. I want to learn about oracle 10g backup+recovery. Plz help

  • SAP Solutions Forum Category

    Hi CRM SDNers, We opened up a SAP Solutions forum category and think that this is a better home for this forum, so we moved it here. Hope you like it, Mark.

  • 9i Discoverer Server Unable to display Charts

    We have a Sun Solaris installation. 9ias 9.0.2.0.0 9.0.2.39.1 Trying to view graphs made in plus on the viewer, we get the following errormessage. Warning Diagramm could not be generated. The Error log includes further Information. (Please contact th