HOW can i speed up this database search

SelectCommand="SELECT ADDR1_HSE, DISCO_DTE_SBB, DISCO_RSN_SBB, FMA_SBB, HOME_PHONE_SBB, RES_NAME_SBB, TAG_FIELD1_HSE, TAG_FIELD2_HSE, TAG_FIELD3_HSE, ZIPCODE5, SYS_SBB FROM SBB_HSE_HSL WHERE (SYS_SBB = 8773) AND upper(ADDR1_HSE) LIKE '%'|| upper(:ADDR1_HSE) || '%' AND upper(RES_STATE_HSE) = upper(:RES_STATE_HSE) AND upper(RES_CITY_HSE) LIKE upper(:RES_CITY_HSE)">
<SelectParameters>
<asp:ControlParameter ControlID="txtSearch" Name="ADDR1_HSE" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="state" Name="RES_STATE_HSE" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="city" Name="RES_CITY_HSE" PropertyName="Text" Type="String" />
</SelectParameters>

Find out how many distinct values for SYS_SBB exist.
select count(distinct(SYS_SBB)) from SBB_HSE_HSL;
select SYS_SBB, count(*) from SBB_HSE_HSL group by SYS_SBB order by SYS_SBB;If you have a large number of distinct values with a small number of rows for each value (or for most values) you could index the table on SYS_SBB
create index AN_APPOPRIATE_INDEX_NAME  on  SBB_HSE_HSL(SYS_SBB) nologging;
alter index AN_APPROPRIATE_INDEX_NAME logging;(substitute a name for "AN_APPROPRIATE_INDEX_NAME" per the Index Naming Conventions in the database / in your organisation.

Similar Messages

  • I just created a slideshow dvd in imovie, and when I hit finalize it said that it would take 7 hours to finalize.  I've only had my macbook pro for 6 months, and this is the first imovie I've done...is this normal?  If not how can I speed up this process?

    I just created a slideshow dvd in imovie, and when I hit finalize it said that it would take 7 hours to finalize.  I've only had my macbook pro for 6 months, and this is the first imovie I've done...is this normal?  If not how can I speed up this process?  Thanks in advance for all of your help!

    Hi
    Time needed can depend on several things.
    • less than 5 GB free space on Start-up (Mac OS) hard disk = Redicolous long times AND a DVD that most probably will not work OK
    Medicine - I never go under 25GB free space
    • Use of strange file formats into iDVD - can force it to de-code first then re-encode - this can take long long times
    I use
    Video - StreamingDV as from miniDV tape Cameras - or QuickTime Movies Converted to StreamingDV
    Audio - .aiff 16-bit 48 kHz - (no .mp3, .wma etc)
    • Use of old Mac - My G4 600MHz took about 24 hour per hour movie. my dG5 - about 2 hours per hour (I use Pro Quality encoding)
    • Pro Quality encoding - takes about x2 to process a movie
    Yours Bengt W

  • How can I speed up this VI? It only checks 6 channels, but updates only 20/sec

    I am measuring 6 channels of current in this VI. It will only update about 20 times per second.
    The VI is quite simple. It measures current on 6 channels, performs a running average using shift registers, and performs some math on the current to convert it to loads. It also writes all values to a file once per iteration. I ran a similar VI that only checked 4 channels and did not write to the file, but it is not much faster. I also tried to make sure all coercion dots were eliminated, but that did not help much either.
    Can anyone take a quick look and see if there is something obvious I am doing that is slowing it down? Or is this a reasonable update rate for this VI?
    The top-l
    evel VI is the one called "RunTestBed 24v loop loop.vi".
    Thanks!
    Mike
    Attachments:
    RunTestBed_24v_loop_loop.llb ‏349 KB

    You are using high lvel VI to do you I/O inside the loop.
    Take a look at the shipped example that demonstrates how to start a do a continuous acquisition.
    The example is title something like
    Continuous double buffered acquisition.
    The High VI's you are using are configuring the I/O and allocating buffers durring each iteration. THe eaxample I mentioned will do all of this one up front and then just re-use everything inside the loop.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Experiencing very slow text and image editing. How can i speed up this laggy-ness??

    Brochure template I created myself is responding terribly to editing and manipulation.  I'm thinking it could have been a problem with the amount of layers I added on PS elements 12, but I compressed the file and I'm still was having this extremely slow response.  I went through the re-installation process and troubleshooting with updates and whatnot but they proved to be unsuccessful.
    Sidenote*
    Brand new desktop PC
    All other Adobe products have been running just perfectly until Acrobat Pro
    I have worked with Acrobat 8 before and I never experienced these same problems
    Any tips to help my productivity increase tenfold?
    Thanks in advance!
    -MMM

    So what OS and what version of Acrobat? There may be an issue in the combination.

  • Using Back Up Mode is taking me quite literally days to complete! Is this at all normal? Am I doing something wrong? How can I speed up this process so that I can update my iPod touch's operating system!

    This is my first time joining the Apple Support Communities Help Line.
    Please refer to the subject line for my discussion/Question!

    Try here:
    iOS: Troubleshooting backup issues in iTunes
    Does the backup complete?

  • HT1349 It takes hours (2-3 or more) to download updates to various software.  I use my iPhone in personal hotspot mode paired to my laptop to do this.  How can i speed up the downloads.

    It takes hours (2-3 or more) to download updates to various software.  I use my iPhone in personal hotspot mode paired to my laptop to do this.  How can i speed up the downloads?

    It's a function of your iPhone's data speed, which is a function of your physical location and your carrier.  Talk to your carrier about increasing your data speed (probalby unlikely) or get dedicated internet to connect your computer to, i.e. cable, fiber, etc.

  • How Can I Speed Up My Video Like This? (Example Included)

    iMovie is currently optimizing my video so figured i'd ask this now rather than when i'm editing.
    I recorded video of myself getting a haircut and would like to speed the video up and add some music to it; similar to this video i found on youtube.
    How can I speed up the film like this and slow it down as done in this video?
    http://www.youtube.com/watch?v=-OmFShCpXSU

    Quite easy to do.
    Watch the tutorial here:
    http://www.apple.com/ilife/tutorials/#imovie-timing
    You can access these tutorials and ask questions from within iMovie Help.
    Regards,
    Z

  • Hi I like to export movies and put them on youtube. But it takes 2 hours to export i usually export 20 min of film how can i speed this up?

    Hi I like to export movies and put them on youtube. But it takes 2 hours to export i usually export 20 min of film how can i speed this up? can somebody help me thanks

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • I downloaded, installed and uninstalled firefox 24 yesterday but it had a search engine which I don't want, how can I download without this search engine.

    How can I download firefox without the search engine it automatically takes me to when I open a new tab.?

    its not search engine change homepage you like
    et a single website as your home page
    If you like to keep things simple, here’s how to set your home page in three easy steps.
    Open the website you want to set as your home page. If you want a blank home page, open a new tab.
    Click the icon to the left of the web address, drag it to the Home button, and release.
    Home page Win1
    Click Yes to set this as your home page.
    Try it out: Click the Home button and your new home page will load in the current tab. It doesn’t get much easier than that!
    Set more than one website as your home page
    This is the way to have one-click access to all of your favorite websites. For example, you can set the Firefox home button to open your email, favorite news site, and Facebook all at once.
    Open a new window and load the first web site you want in your home page.
    Click the new tab button and open the next web site. Repeat this step until you've opened all the desired sites in new tabs.
    At the top of the Firefox window, click on the Firefox button and then select Options
    Select the General panel.
    Click Use Current Pages.
    Home page Win2
    Click OK to close the Options window
    Try it out: Close all of your tabs and then click the Home button. Watch all of your chosen pages open up in tabs. Do it again! You know you want to.
    Note: Setting too many pages as your home page can make Firefox take long to start up.
    Restore the default home page
    If you want to delete your home page customizations, this is the way to do it.
    At the top of the Firefox window, click on the Firefox button and then select Options
    Select the General panel.
    In the Startup box, click Restore to Default.
    Home page Win3
    Click OK to close the Options window
    Set what pages open when Firefox starts
    This is a great feature you can use in addition to the home page settings. To save time, you can have Firefox open the pages you were visiting the last time you used it so you can continue where you left off.
    At the top of the Firefox window, click on the Firefox button and then select Options
    Select the General panel.
    In the Startup box, click the dropdown menu next to "When Firefox starts:" and select what Firefox should display when it starts up.
    Show my home page - Displays the home page(s).
    Show a blank page - Displays a blank page. This loads quickly since you don't have to wait for lots of tabs to load.
    Show my windows and tabs from last time - Opens the pages you were visiting the last time you used Firefox so you can continue where you left off. For more information, see Restore previous session - Configure when Firefox shows your most recent tabs and windows.
    Click OK to close the Options window .
    Try it out: If you really want to get fancy, you can set a group of web sites as your home page and set Firefox to open the pages you were visiting the last time you used it. That way, you can pick up your work where you left off and have one-click access to your favorite sites.
    Tying it all together
    Firefox is really flexible – "you" decide what works best. Keep it simple and set a single website as your home page or set up one-click access to your favorite web sites and save time by having Firefox pick up where you left off when it starts. What works best for you? Try and see!
    Having problems?
    We have answers:
    If you keep getting the "Firefox has just updated" tab every time Firefox starts, see the article Firefox says it's just updated every time it starts - how to fix.
    If your home page settings are not saved, see How to fix preferences that won't save.
    Share this article: http://mzl.la/NdLLhT

  • How can I speed up the extract() function queries on XML

    Hi,
    Please I need some light on xml and indexes.
    This is my case:
    I use Oracle 9i R2.
    I have a table with some rows containing some few xml documents (each row contains a big xml document).
    Given a value for an attribute of a tag, I want to extract the entire section within the tags.
    Example:
    <MYTAG number="1">
    .....big stuff here
    </MYTAG>
    <MYTAG number="2">
    .....big stuff here
    </MYTAG>
    <MYTAG number="x">
    .....big stuff here
    </MYTAG>
    So for number=2 I would like to extract from the document the xmltype
    <MYTAG number="2">
    .....big stuff here
    </MYTAG>
    I created an index and have followed all the steps from the XML Database Developers Kit manual. Then I would use extrac() as the document says.
    Now some doubts arised:
    Are these text/xml indexes only useful for getting the rowid of my document?
    I mean, if I select 'x' from the table looking for some value, then the index is used. But when I use extract in the select to get the section I look for, the query gets really low, specially when xml documents are big. I think when I have only row with one document, getting the rowid is not the problem, but the extraction from the document is.
    Is the extraction process faster because of the index?
    For what I see, the index only helps me to find the rowid, but then Oracle has to deal with the very big document inside the row. At that point Its oracle against a big text processing and index has nothing to do.
    How can I speed up the extraction of the section?
    If there any other index or tool for help extraction to be faster?
    I would appreciate to know what can I do. I need help on this.
    Thanks in advance!

    Well,
    - What indexes, if any, already exist?
    - What do the functions rl and nice do?
    - What are the current query plans?
    - How restrictive are the various predicates?
    - What version of Oracle?
    Justin

  • How Can I speed the progress of analyze/dbms_stats.GATHER_TABLE_STATS

    When I analyze a table and its index or dbms_stats.GATHER_TABLE_STATS .The speed is very low,and I can not see the progress of it ? How can I speed it ? or how can I see the progress of it ? Thanks !!

    v$session_longops is the table that contains information about long-running processes. You should be able to query that table to see how your analyze is going.
    The easiest way to speed this sort of thing up is to have it do less work. If you're computing statistics, you may be able to use estimate statistics instead, depending on how homogenous your table is. If you're generating histograms for all the columns, you may be able to get away with fewer well-chosen histograms.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • How can i print specific pages against searched word or name (in one print command) from 1000 pages

    how can i print specific pages against searched word or name (in one print command) from 1000 pages

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • How can I connect to a database from ipaq with cldc??

    how can I connect to a database from ipaq with cldc??

    Hi Again
    There is a library by Mimer which allows you do connect to a Mimer SQL Server, don't know must about it, but here is a link.
    http://developer.mimer.com/
    If that doesn't suit you, I suspect that you will have to use some sort of proxy solution. Either by creating a servlet to accept the sql string you want to send, or by creating your own custom proxy server running J2EE. The servlet or the proxy server must be able to receive an SQL String, do the query to the actual database and return the results in some sort of format to the mobile device. Maybe just a space delimited string.
    Hope this helps
    -Daur

  • How can I set the order of search engines on my Macbook?

    When I use "Manage Search Engines" to rearrange the order of my search engines, the order changes temporarily, only to revert to the order the search engine add-ons were installed, the next time Firefox is restarted. How can I set the hierarchy of search engines to suit my preference, and have it stay that way?

    It may be your preferences problem.
    Try to Reset your firefox and try it newly
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • I was getting support for my Office 2008 for Mac, and the support tech said my OS was very slow. I have latest update for Snow10.6.7. Question how can I speed up my Macbook?

    I was getting support for my Office 2008 for Mac, and the support tech said my OS was very slow. I have latest update for Snow10.6.7. Question; How can I speed up my Macbook?

    Hi
    In the first instance, I'd use Onyx and run through its sequence of maintenance and tune up tools:
    Verify, Maintenance, Cleaning.
    I'd also reset the SMC and PRAM (Google them)
    If that doesn't help then I'd look at System Preferences.. > Accounts > Login Items tab (not Login Options).  Check what processes get started at login and decide which ones you don't want.
    After that I'd use Applications/Utilities/Activity Monitor to see if any processes are using a lot of computer power or if anything else nasty might be happening.
    If none of this helped then my final step would be to reinstall OS X.
    Bob

Maybe you are looking for