List all hard parses

Hi gurus,
Could you give me advice how can I list all queries which are hard parse? I've check AWR report and on Top5 I have "latch: library cache" - so as I check it's because of parse statements.
best,
Lesak

SB made an excellent point. You really need to look at the total execution profile to determine if 'latch: library cache' is your problem. You need to understand where the most time is being spent.
As to 'latch: library cache', consider that when hard parsing, Oracle must also take the shared pool latch, to allocate memory in the shared pool for the new SQL being parsed. This is a more expensive operation than the library cache latch used for searching the library cache. My point being, if all you see is 'latch: library cache', but no 'latch: shared pool', the problem is almost certainly not hard parsing. It's far more likely to be excessive soft parses.
What version of Oracle are you running? What do you have 'session_cached_cursors' set to? If it's 0, trying setting to 50 or 100 to see if that has any improvement.
Hope that helps,
-Mark

Similar Messages

  • I've had a hard drive crash and put in a new one.  However iTunes has or list all of them from my old drive.  How do we re-set the directory

    I've had a hard drive crash and put in a new one.  However iTunes has or list all of them from my old drive.  How do we re-set the directory?

    You can re-download the software from Download CS5.5 products
    Install and enter your serial number when prompted.
    Find your serial number quickly

  • There is no "add tab or + tab" and no "list all tabs" button. I'm also missing the add-on bar that is supposed to be at the bottom. I'd love to try all the features but it's hard to do without these options.

    The first day I downloaded Firefox 4, I had the "+" tab at the end of the tabs but after the first day, it disappeared so to open new tabs, I have to go to the Firefox tab on the left or use ctrl+t to open new tabs.
    The "list all tabs" button appears sporadically and today is completely unavailable.
    The add-on bar has never been available.
    The "feedback" button appeared the first day or so then disappeared, never to appear again!

    Create a new profile exclusively for the Firefox 4 version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Hard Parse or Soft Parse ?

    Hi Experts,
    If we execute a SELECT statement in SQL*PLUS by passing the value using ampersand operator, whether hard parsing will occur or soft parsing ?
    SQL> select last_name from employees where department_id = &dept_no;
    Enter value for dept_no: 100
    old   1: select last_name from employees where department_id = &dept_no
    new   1: select last_name from employees where department_id = 100
    SQL> select last_name from employees where department_id = &dept_no;
    Enter value for dept_no: 110
    old   1: select last_name from employees where department_id = &dept_no
    new   1: select last_name from employees where department_id = 110
    When I am executing V$SQL, for each different value I am seeing different SQL_ID. Please explain on this.
    Many thaks in advance for your help.
    Cheers,
    Suri

    hi ,
    the best way to check for for hard parse and soft parse is by querying the data dictionar view v$sqlarea . There is a column called parse_counts(not sure of the name). the moment you execute a query , a row is reflected in this view.
    for eg , when you query
    select * from emp where empno=101,
    select * from emp where empno=102,
    select * from emp where empno=103,
    query the v$sqlarea  with a filter predicate on the sql_text . i.e  select * from v$sqlarea where sql_text like  '%select * from emp %'.
    And then try querying the emp table using bind variable,
    select * from emp where empno=:x; -- pass 101 ,102,103
    No new rows are formed in the v$sqlarea,rather the parsed_count keeps on increasing , contrary to the above queries(without using bind variables in which each query is new to the parser).
    @Gurus : in 11g , i  have observed that all queries are converted to make you of bind variables .I knew that this was the implicit behaviour of plsql ,but now have they enhanced the sql engine too ?
    Thanks
    Rahul

  • Mac does not list all folders in a SMB share

    Hi guys, this is a bit of a weird one and I've tried everything I can think of.
    In our house we have a media centre running Windows 7. It has several shares, one of which we'll call folder "X". Folder X opens correctly on the media centre, and any other Windows machine perfectly. Almost every other machine in the house is running OS X 10.6, and one of my housemates today noted that some of the folders inside of folder X were not listed on a Mac. So far we've tested it on 2 Macs and 2 Windows machines, and everytime the Windows machine lists all folders inside of X, where the Mac does not. The weird thing is, it's cutting them out alphabetically, so it's basically from D through to I that are missing, all in all there are 30 (out of 160) folders missing inside of Folder X...here's what I've tried.
    On the Windows 7 machine:
    -Restarted server service
    -Removed Share X and re-added
    -Checked share permissions on folder X
    -Checked permissions on folder X, propagated to all child folders just in case.
    -Restarted machine after every change.
    On the Macs we haven't really tried much as there's not much we can think to change. We've tried Finder, Path Finder (which I'm guessing will be exactly the same), restarting, removing from workgroup and re-adding...I can't think what would cause such a weird problem.
    To make things harder we don't know exactly when it started happening but the OSX machines definitely used to list the folders and it happens on more than one mac. which I guess makes me think it's something on the Windows client. The 30 folders are not using any nonstandard characters, some are only a few letters long.
    Ideas on a postcard!?

    Reporting the same problem.
    1. Have Windows 7 MediaCenter with file sharing set up properly (LM+NTLM Authentication allowed and 128-bit encryption disabled in security policies).
    2. Test folder ("C:\income") and all the subfolders' owner is 'Guest', full access is granted for everyone.
    3. Connecting to MediaCenter from MacBook with Finder by pressing Cmd+K and typing smb://ip-addr/income
    4. Finder connects successfully, but some sub-folders and files are not being listed.
    Workaround:
    5. You can open a not-listed folder directly by pressing Cmd+K and typing smb://ip-addr/income/some-invisible-folder
    6. Voila! You're inside invisible folder.
    In the meantime, i can see all the sub-folders on a Windows XP client machine, so i can make a conclusion that all of these 'invisible' sub-folders are actually accessible by Finder, but in some reason are just not being listed on Mac.

  • I have just installed a 2TB time capsule on my iMac i7, it see my second 1TB hard drive but the 256 SSD doesn't come up in the list of hard drives I can back up. How can I enable the time machine to see my first SSD 256gb hard drive?

    I have just installed a 2TB time capsule on my iMac i7, it see my second 1TB hard drive but the 256 SSD doesn't come up in the list of hard drives I can back up. How can I enable the time machine to see my first SSD 256gb hard drive?

    iLife is preinstalled on all the Macs. If you purchased iLife in the App Store or your computer came without DVDs, open App Store > Purchases and download the applications. If your Mac came with discs, insert the Applications DVD and install iLife applications

  • Oracle 11g - Is there a way to speed up hard parsing?

    Hi,
    I have used TKPROF to examine my slow SQL and it's pointed out it is because of the hard parsing process. Bind variables would not help in my case because the query conditions vary quite arbitrarily depending on what the user selects on the application GUI.
    I've managed to break the query into smaller ones using UNION ALL and the parsing takes much shorter. However I'm still wondering if, in general, there could be anything one could do to speed up the hard parsing process, or it is something totally internal in Oracle and there's nothing we can do about it?
    A small example of the slow query (execute 0.00s, fetch 0.04s, and parse 66.51s), nr is the primary key.
    SELECT n.nr,n.x,n.y,n.z
    FROM
    data2points n WHERE((n.nr>2595 AND n.nr<2600) OR n.nr=2601 OR (n.nr>2602 AND
      n.nr<2608) OR n.nr=2617 OR n.nr=2623 OR (n.nr>2634 AND n.nr<2637) OR
      (n.nr>6457 AND n.nr<6461) OR n.nr=6462 OR n.nr=6468 OR n.nr=6480 OR
      (n.nr>20677 AND n.nr<20680) OR n.nr=20681 OR n.nr=20683 OR n.nr=26404 OR
      n.nr=26406 OR (n.nr>26408 AND n.nr<26411) OR n.nr=26422 OR (n.nr>26423 AND
      n.nr<26426) OR (n.nr>26426 AND n.nr<26431) OR (n.nr>26432 AND n.nr<26435)
      OR n.nr=26441 OR n.nr=26443 OR (n.nr>26471 AND n.nr<26474) OR (n.nr>26474
      AND n.nr<26478) OR (n.nr>26481 AND n.nr<26486) OR (n.nr>26487 AND
      n.nr<26492) OR n.nr=26498 OR (n.nr>26504 AND n.nr<26507) OR (n.nr>26513 AND
      n.nr<26516) OR (n.nr>26516 AND n.nr<26520) OR n.nr=26522 OR (n.nr>26523 AND
      n.nr<26527) OR (n.nr>26527 AND n.nr<26530) OR (n.nr>26530 AND n.nr<26533)
      OR n.nr=26538 OR n.nr=26562 OR (n.nr>26566 AND n.nr<26570) OR (n.nr>26570
      AND n.nr<26575) OR n.nr=26580 OR n.nr=26603 OR (n.nr>26607 AND n.nr<26610)
      OR (n.nr>26610 AND n.nr<26614) OR (n.nr>26618 AND n.nr<26621) OR n.nr=26624
      OR n.nr=26627 OR (n.nr>26629 AND n.nr<26632) OR n.nr=26634 OR (n.nr>26635
      AND n.nr<26638) OR n.nr=26639 OR n.nr=26642 OR n.nr=26648 OR (n.nr>26650
      AND n.nr<26662) OR n.nr=26663 OR (n.nr>26664 AND n.nr<26668) OR (n.nr>26695
      AND n.nr<26698) OR (n.nr>26699 AND n.nr<26707) OR n.nr=26708 OR n.nr=26710
      OR (n.nr>26714 AND n.nr<26729) OR n.nr=26751 OR (n.nr>26752 AND n.nr<26755)
      OR n.nr=26757 OR (n.nr>26759 AND n.nr<26762) OR (n.nr>26762 AND n.nr<26766)
      OR n.nr=26767 OR (n.nr>26773 AND n.nr<26776) OR n.nr=26798 OR (n.nr>26801
      AND n.nr<26807) OR n.nr=26808 OR (n.nr>26813 AND n.nr<26816) OR n.nr=26817
      OR n.nr=26819 OR (n.nr>26852 AND n.nr<26855) OR (n.nr>26857 AND n.nr<26861)
      OR (n.nr>26862 AND n.nr<26865) OR (n.nr>26869 AND n.nr<26874) OR
      (n.nr>26874 AND n.nr<26881) OR (n.nr>26881 AND n.nr<26884) OR (n.nr>26902
      AND n.nr<26907) OR (n.nr>26907 AND n.nr<26910) OR (n.nr>26910 AND
      n.nr<26918) OR n.nr=26923 OR n.nr=26945 OR (n.nr>26946 AND n.nr<26949) OR
      (n.nr>26951 AND n.nr<26958) OR n.nr=26959 OR n.nr=26964 OR (n.nr>26965 AND
      n.nr<26971) OR n.nr=26972 OR n.nr=26979 OR (n.nr>26998 AND n.nr<27002) OR
      n.nr=27004 OR (n.nr>27005 AND n.nr<27008) OR n.nr=27009 OR (n.nr>27011 AND
      n.nr<27015) OR (n.nr>27019 AND n.nr<27022) OR (n.nr>27022 AND n.nr<27026)
      OR (n.nr>27042 AND n.nr<27050) OR n.nr=27051 OR (n.nr>27052 AND n.nr<27055)
      OR n.nr=27064 OR n.nr=27087 OR (n.nr>27088 AND n.nr<27096) OR (n.nr>27096
      AND n.nr<27099) OR n.nr=27100 OR n.nr=27106 OR n.nr=27130 OR n.nr=27138 OR
      (n.nr>27140 AND n.nr<27145) OR (n.nr>27145 AND n.nr<27150) OR n.nr=27152 OR
      n.nr=27154 OR n.nr=27160 OR n.nr=27182 OR n.nr=27184 OR n.nr=27186 OR
      (n.nr>27188 AND n.nr<27191) OR (n.nr>27191 AND n.nr<27194) OR n.nr=27195 OR
      (n.nr>27200 AND n.nr<27203) OR (n.nr>27204 AND n.nr<27208) OR (n.nr>27223
      AND n.nr<27226) OR (n.nr>27230 AND n.nr<27235) OR n.nr=27236 OR n.nr=27242
      OR (n.nr>27243 AND n.nr<27246) OR (n.nr>27246 AND n.nr<27249) OR n.nr=27250
      OR n.nr=27256 OR n.nr=27258 OR n.nr=27267 OR n.nr=27273 OR n.nr=27276 OR
      (n.nr>27277 AND n.nr<27280) OR (n.nr>27281 AND n.nr<27289) OR (n.nr>27299
      AND n.nr<27303) OR (n.nr>27308 AND n.nr<27312) OR (n.nr>27332 AND
      n.nr<27337) OR n.nr=27339 OR n.nr=27342 OR (n.nr>27344 AND n.nr<27351) OR
      (n.nr>27354 AND n.nr<27357) OR (n.nr>27357 AND n.nr<27362) OR (n.nr>27366
      AND n.nr<27369) OR n.nr=27370 OR (n.nr>27404 AND n.nr<27407) OR (n.nr>27407
      AND n.nr<27410) OR n.nr=27411 OR (n.nr>27412 AND n.nr<27417) OR n.nr=27422
      OR (n.nr>27423 AND n.nr<27427) OR n.nr=27431 OR n.nr=27434 OR n.nr=27437 OR
      n.nr=27446 OR n.nr=27448 OR n.nr=27454 OR n.nr=27457 OR (n.nr>27458 AND
      n.nr<27461) OR (n.nr>27464 AND n.nr<27467) OR (n.nr>27467 AND n.nr<27470)
      OR n.nr=27471 OR n.nr=27473 OR (n.nr>27478 AND n.nr<27481) OR n.nr=27486 OR
      (n.nr>27488 AND n.nr<27491) OR (n.nr>27497 AND n.nr<27501) OR n.nr=27502 OR
      (n.nr>27505 AND n.nr<27511) OR n.nr=27512 OR n.nr=27532 OR n.nr=27534 OR
      n.nr=27560 OR (n.nr>27565 AND n.nr<27571) OR (n.nr>27574 AND n.nr<27577) OR
      n.nr=27578 OR n.nr=27581 OR n.nr=27585 OR (n.nr>27600 AND n.nr<27604) OR
      n.nr=27611 OR (n.nr>27613 AND n.nr<27625) OR (n.nr>27631 AND n.nr<27636) OR
      n.nr=27639 OR n.nr=27641 OR n.nr=27655 OR (n.nr>27656 AND n.nr<27659) OR
      (n.nr>27659 AND n.nr<27663) OR (n.nr>27663 AND n.nr<27667) OR n.nr=27668 OR
      n.nr=27674 OR n.nr=27676 OR n.nr=27678 OR n.nr=27700 OR n.nr=27706 OR
      (n.nr>27707 AND n.nr<27712) OR (n.nr>27716 AND n.nr<27719) OR (n.nr>27719
      AND n.nr<27726) OR n.nr=27728 OR n.nr=27730 OR (n.nr>27755 AND n.nr<27758)
      OR n.nr=27761 OR (n.nr>27762 AND n.nr<27766) OR n.nr=27767 OR n.nr=27773 OR
      (n.nr>27774 AND n.nr<27779) OR n.nr=27782 OR (n.nr>27796 AND n.nr<27799) OR
      (n.nr>27801 AND n.nr<27808) OR n.nr=27809 OR n.nr=27812 OR (n.nr>27813 AND
      n.nr<27817) OR (n.nr>27817 AND n.nr<27823) OR n.nr=27829 OR n.nr=27847 OR
      (n.nr>27848 AND n.nr<27852) OR n.nr=27853 OR n.nr=27855 OR (n.nr>27856 AND
      n.nr<27859) OR n.nr=27860 OR n.nr=27862 OR n.nr=27864 OR (n.nr>27869 AND
      n.nr<27875) OR n.nr=27876 OR n.nr=27879 OR (n.nr>27882 AND n.nr<27885) OR
      (n.nr>27903 AND n.nr<27906) OR n.nr=27907 OR n.nr=27911 OR (n.nr>27912 AND
      n.nr<27915) OR (n.nr>27961 AND n.nr<27964) OR n.nr=27967 OR (n.nr>27968 AND
      n.nr<27974) OR (n.nr>27978 AND n.nr<27984) OR (n.nr>28016 AND n.nr<28022)
      OR (n.nr>28022 AND n.nr<28027) OR n.nr=28033 OR (n.nr>28056 AND n.nr<28059)
      OR (n.nr>28059 AND n.nr<28065) OR (n.nr>28065 AND n.nr<28068) OR n.nr=28077
      OR (n.nr>28083 AND n.nr<28086) OR (n.nr>28090 AND n.nr<28096) OR
      (n.nr>28097 AND n.nr<28103) OR n.nr=28112 OR n.nr=28114 OR (n.nr>28116 AND
      n.nr<28120) OR (n.nr>28120 AND n.nr<28123) OR (n.nr>28153 AND n.nr<28159)
      OR n.nr=28161 OR n.nr=28163 OR (n.nr>28164 AND n.nr<28167) OR (n.nr>28171
      AND n.nr<28174) OR (n.nr>28194 AND n.nr<28197) OR (n.nr>28200 AND
      n.nr<28206) OR n.nr=28207 OR (n.nr>28212 AND n.nr<28215) OR n.nr=28217 OR
      n.nr=28237 OR n.nr=28244 OR (n.nr>28245 AND n.nr<28248) OR (n.nr>28253 AND
      n.nr<28262) OR n.nr=28263 OR n.nr=28265 OR n.nr=28268 OR (n.nr>28269 AND
      n.nr<28273) OR n.nr=28291 OR n.nr=28293 OR (n.nr>28297 AND n.nr<28301) OR
      (n.nr>28301 AND n.nr<28305) OR (n.nr>28308 AND n.nr<28311) OR n.nr=28312 OR
      n.nr=28314 OR n.nr=28316 OR n.nr=28324 OR n.nr=28335 OR (n.nr>28345 AND
      n.nr<28349) OR (n.nr>28350 AND n.nr<28353) OR (n.nr>28354 AND n.nr<28360)
      OR n.nr=28361 OR n.nr=28366 OR (n.nr>28376 AND n.nr<28379) OR (n.nr>28401
      AND n.nr<28405) OR (n.nr>28405 AND n.nr<28416) OR (n.nr>28416 AND
      n.nr<28419) OR (n.nr>28422 AND n.nr<28425) OR (n.nr>28444 AND n.nr<28449)
      OR (n.nr>28449 AND n.nr<28452) OR (n.nr>28453 AND n.nr<28460) OR n.nr=28488
      OR (n.nr>28491 AND n.nr<28494) OR n.nr=28495 OR (n.nr>28496 AND n.nr<28504)
      OR (n.nr>28505 AND n.nr<28510) OR (n.nr>28510 AND n.nr<28517) OR n.nr=28531
      OR (n.nr>28535 AND n.nr<28539) OR (n.nr>28539 AND n.nr<28542) OR
      (n.nr>28547 AND n.nr<28551) OR n.nr=28552 OR n.nr=28573 OR n.nr=28576 OR
      (n.nr>28578 AND n.nr<28582) OR (n.nr>28582 AND n.nr<28587) OR (n.nr>28599
      AND n.nr<28607) OR (n.nr>28607 AND n.nr<28610) OR n.nr=28611 OR (n.nr>28613
      AND n.nr<28617) OR (n.nr>28620 AND n.nr<28624) OR (n.nr>28625 AND
      n.nr<28628) OR (n.nr>28634 AND n.nr<28639) OR n.nr=28641 OR (n.nr>28642 AND
      n.nr<28651) OR n.nr=28657 OR n.nr=28667 OR (n.nr>28668 AND n.nr<28671) OR
      (n.nr>28671 AND n.nr<28674) OR (n.nr>28680 AND n.nr<28691) OR (n.nr>28691
      AND n.nr<28694) OR n.nr=28695 OR (n.nr>28717 AND n.nr<28721) OR (n.nr>28721
      AND n.nr<28724) OR (n.nr>28724 AND n.nr<28729) OR (n.nr>28729 AND
      n.nr<28733) OR n.nr=28735 OR (n.nr>28736 AND n.nr<28747) OR n.nr=28748 OR
      n.nr=28750 OR (n.nr>28753 AND n.nr<28757) OR n.nr=28758 OR n.nr=28763 OR
      n.nr=28765 OR n.nr=28769 OR (n.nr>28771 AND n.nr<28774) OR n.nr=28775 OR
      (n.nr>28776 AND n.nr<28779) OR n.nr=28780 OR n.nr=28783 OR (n.nr>28784 AND
      n.nr<28794) OR n.nr=28808 OR (n.nr>28810 AND n.nr<28813) OR n.nr=28814 OR
      (n.nr>28815 AND n.nr<28821) OR (n.nr>28826 AND n.nr<28834) OR (n.nr>28846
      AND n.nr<28849) OR n.nr=28855 OR n.nr=28857 OR n.nr=28859 OR (n.nr>28864
      AND n.nr<28870) OR (n.nr>28871 AND n.nr<28876) OR (n.nr>28876 AND
      n.nr<28879) OR n.nr=28880 OR n.nr=28884 OR n.nr=28888 OR (n.nr>28889 AND
      n.nr<28892) OR (n.nr>28893 AND n.nr<28896) OR (n.nr>28896 AND n.nr<28901)
      OR (n.nr>28906 AND n.nr<28909) OR n.nr=28931 OR (n.nr>28937 AND n.nr<28943)
      OR n.nr=28948 OR n.nr=28953 OR (n.nr>28958 AND n.nr<28961) OR n.nr=28967 OR
      n.nr=28970 OR (n.nr>28972 AND n.nr<28975) OR (n.nr>28975 AND n.nr<28980) OR
      (n.nr>28980 AND n.nr<28984) OR n.nr=28991 OR n.nr=28993 OR n.nr=28996 OR
      (n.nr>28999 AND n.nr<29002) OR n.nr=29011 OR (n.nr>29012 AND n.nr<29018) OR
      (n.nr>29027 AND n.nr<29036) OR n.nr=29038 OR n.nr=29041 OR n.nr=29044 OR
      (n.nr>29048 AND n.nr<29051) OR n.nr=29053 OR (n.nr>29055 AND n.nr<29060) OR
      n.nr=29062 OR (n.nr>29063 AND n.nr<29069) OR (n.nr>29071 AND n.nr<29075) OR
      n.nr=29077 OR n.nr=29079 OR (n.nr>29097 AND n.nr<29100) OR (n.nr>29104 AND
      n.nr<29109) OR (n.nr>29109 AND n.nr<29112) OR (n.nr>29115 AND n.nr<29118)
      OR (n.nr>29118 AND n.nr<29122) OR n.nr=29135 OR (n.nr>29136 AND n.nr<29140)
      OR (n.nr>29143 AND n.nr<29148) OR n.nr=29149 OR n.nr=29155 OR n.nr=29157 OR
      (n.nr>29177 AND n.nr<29181) OR (n.nr>29182 AND n.nr<29191) OR n.nr=29196 OR
      n.nr=29199 OR (n.nr>29219 AND n.nr<29222) OR (n.nr>29224 AND n.nr<29229) OR
      (n.nr>29229 AND n.nr<29233) OR (n.nr>29236 AND n.nr<29239) OR (n.nr>29239
      AND n.nr<29244) OR (n.nr>29244 AND n.nr<29249) OR n.nr=29257 OR n.nr=29260
      OR (n.nr>29261 AND n.nr<29266) OR n.nr=29267 OR n.nr=29269 OR (n.nr>29270
      AND n.nr<29274) OR (n.nr>29276 AND n.nr<29279) OR n.nr=29280 OR n.nr=29282
      OR n.nr=29286 OR n.nr=29288 OR n.nr=29290 OR n.nr=29296 OR (n.nr>29297 AND
      n.nr<29300) OR (n.nr>29300 AND n.nr<29304) OR (n.nr>29305 AND n.nr<29310)
      OR (n.nr>29310 AND n.nr<29314) OR (n.nr>29319 AND n.nr<29324) OR
      (n.nr>29328 AND n.nr<29332) OR (n.nr>29335 AND n.nr<29338) OR (n.nr>29338
      AND n.nr<29343) OR (n.nr>29347 AND n.nr<29350) OR n.nr=29351 OR n.nr=29354
      OR (n.nr>29357 AND n.nr<29367) OR (n.nr>29367 AND n.nr<29371) OR
      (n.nr>29372 AND n.nr<29376) OR (n.nr>29377 AND n.nr<29385) OR (n.nr>29386
      AND n.nr<29389) OR (n.nr>29393 AND n.nr<29400) OR (n.nr>29405 AND
      n.nr<29408) OR (n.nr>29408 AND n.nr<29412) OR n.nr=29413 OR (n.nr>29414 AND
      n.nr<29417) OR n.nr=29423 OR (n.nr>29424 AND n.nr<29429) OR (n.nr>29429 AND
      n.nr<29433) OR (n.nr>29433 AND n.nr<29439) OR (n.nr>29439 AND n.nr<29443)
      OR n.nr=29444 OR (n.nr>29446 AND n.nr<29455) OR n.nr=29456 OR (n.nr>29457
      AND n.nr<29461) OR n.nr=29463 OR (n.nr>29464 AND n.nr<29467) OR (n.nr>29467
      AND n.nr<29473) OR n.nr=29474 OR n.nr=29476 OR n.nr=29478 OR (n.nr>29479
      AND n.nr<29486) OR (n.nr>29486 AND n.nr<29503) OR (n.nr>29509 AND
      n.nr<29535) OR (n.nr>29535 AND n.nr<29538) OR (n.nr>29538 AND n.nr<29541)
      OR (n.nr>29542 AND n.nr<29548) OR n.nr=29549 OR n.nr=29551 OR (n.nr>29552
      AND n.nr<29555) OR n.nr=29556 OR n.nr=29558 OR (n.nr>29560 AND n.nr<29564)
      OR (n.nr>29564 AND n.nr<29574) OR (n.nr>29574 AND n.nr<29577) OR n.nr=29578
      OR (n.nr>29579 AND n.nr<29582) OR (n.nr>29585 AND n.nr<29589) OR n.nr=29591
      OR n.nr=29593 OR n.nr=29595 OR n.nr=29597 OR n.nr=29605 OR n.nr=29607 OR
      (n.nr>29608 AND n.nr<29612) OR (n.nr>29615 AND n.nr<29623) OR n.nr=29627 OR
      (n.nr>29628 AND n.nr<29633) OR n.nr=29634 OR n.nr=29637 OR n.nr=29643 OR
      n.nr=29653 OR (n.nr>29659 AND n.nr<29664) OR (n.nr>29664 AND n.nr<29670) OR
      (n.nr>29671 AND n.nr<29677) OR n.nr=29679 OR (n.nr>29682 AND n.nr<29686) OR
      (n.nr>29686 AND n.nr<29689) OR (n.nr>29691 AND n.nr<29694) OR (n.nr>29697
      AND n.nr<29702) OR (n.nr>29702 AND n.nr<29705) OR (n.nr>29709 AND
      n.nr<29713) OR n.nr=29714 OR n.nr=29716 OR (n.nr>29736 AND n.nr<29741) OR
      n.nr=29742)Edited by: 808239 on Apr 19, 2011 7:01 AM
    Edited by: 808239 on Apr 19, 2011 7:02 AM

    To add on to what Girish Sharma posted, you can may need more than one temp table and a bit more complex SQL.
    You can improve your parsing time ( 66 seconds is really a lot) by restructuring your statement and using temp tables. I assume that you cannot use PL/SQL - if you can you might be able to get more elegant solution with PL/SQL collections.
    Store all literal values in where clause in temp tables (by temp table I mean a table that is deleted before and after the query– the specific physical implementation is up to you). Use bind variables/bulk load to load the data in the temp tables.
    Select * from temp_1
    val
    2601
    2617
    2623
    6462
    Select * from temp_2
    val1     val2
    2595 2600
    2602 2608
    2634 2637
    Now the query would look like this:
    SELECT n.nr,n.x,n.y,n.z
    FROM
    data2points n WHERE
    n.nr in (select val from temp_1)
    or
    exists
    (select * from temp_2 where n.nr > val1 and where n.nr < val1)

  • HT1751 After "Restoring iTunes Library Backup" it wont link to the files in the iTunes folder. I've followed the correct procedure, and iTunes lists all my music correctly (but with no artwork), but can't locate any of the files. Using Windows 7. Help ple

    After "Restoring iTunes Library backup" it wont link to the files in the iTunes folder. I've followed the procedure as described, and the iTunes folder is in the correct location. iTunes lists all my music correctly (albeit with no artwork), but can't locate any of the files.
    I've been restoring my iTunes folder from a backup hard drive to a new computer on which I've downloaded the latest iTunes (10.7). If this is a newer version than the one I backed up with could this be the problem? (I had the latest (to my knowledge) iTunes when I backed up the folder about 3 weeks ago, was this version 10.7?)
    Or is the version of iTunes (within recent updates) not an issue when restoring a library?
    Using Windows 7.
    Any help please?

    From the top of the page where the scripts live...
    The general method of use is to download the script to a folder of your choice, e.g. your Desktop, Downloads folder or create a folder at ...\iTunes\Scripts. Select a playlist or highlight some tracks in iTunes and then double-click on the script to execute it. If no specific tracks are selected the script will try to work with all tracks in the current playlist. Some scripts offer a choice of track by track confirmation of changes or fully automatic processing of the selection. Many of the scripts can optionally display a progress bar while running.
    You are strongly advised to backup your entire library, or at the very least the iTunes Library.itl file, before use. Test the behaviour of your chosen script on a small group of files first to make sure it does what you want before applying it to large numbers of files.
    Most builds of Windows will execute *.vbs scripts when you double-click them. If that doesn't happen then you might need to visit the Add/Remove Programs or Programs & Features control panel to enable the Windows Scripting Host. I can track down details if you have issues.
    Backing up and restoring data is an area that is often glossed over. Most people don't try to learn much about it until they've lost something important. (Me too )
    If your iTunes library was in the usual layout then normally copying the whole iTunes folder from the User's Music folder in the old computer to the User's Music folder in the new one will usually work fine. Ideally this is done before iTunes is installed so that there is no empty library to replace, and all settings are picked up from the old library. This post contains more details.
    tt2

  • List all fonts used in the illustrator document

    Hi All,
    Having searched google I can't seem to find what I am after but am hoping someone here might be able to help me.
    Due to a recent issue with a designer using a font that wasn't part of the brand guidelines for a particular company we would now like to list all fonts that are used in the illustrator file in a media panel on the document when it is sent for both internal and external approval.
    I know that I can go to find font, save the list, open the document and then copy and paste that list in to a text box in Illustrator, however this is quite time consuming and a bit of a faff.
    What I would like to know is:
    1. Does such a plug in exist that will create a text box in illustrator and just list all the fonts automatically, ideally updating whenever fonts are changed?
    2. If not does anyone have a script that I can run that will do the same thing and just drop a list of all fonts currently live in the document in to a text box?
    I will have the same issue when working with Indesign documents to so if anyone one know the answers to the above but all related to indesign that would also be great!
    Thanks everyone!

    I thought about AdjustObjectAIColors, and its a good way to get a bunch of them but I'm not 100% sure if it covers all colours or just those found in paths. If not, this would exclude colours on effects & overlays for symbols, found in kPluginArt (though there is a similar function for plugin art specifically) and I imagine text. Probably a few other types if we look hard enough. Granted, paths are probably 90% of colours :-) I also wondered (sinc I haven't tried it before) how comprehensive that method is -- does it hit all the colours in various effects & styles layered on path? Or does it just hit the standard stroke & fill? I assume not, but I don't know.

  • Application Builder Applications List View Detail - Parsing Schema

    When viewing all applications in the Application Builder using the View Detail option the list of applications is shown with the Parsing Schema showing APEX_040100 or APEX_040200 according to the apex version. Shouldn't it show the actual schema that the application will use?

    Prabodh wrote:
    Hi,
    How will Apex know the actual schema without getting into the code and analyzing it?
    I meant just showing the actual "parsing schema" which is set for the application, not all the possible schemas the application may actually reference. The parsing schema is one of the parameters asked for when importing an application. It is also defined in the application definition.
    A workspace can have any number of schema assigned to it, other than the Default Parsing one. So, the only other option would be to list all the assigned schema. Which in my opinion (and most probably in the mind of the designers of Apex as well ) will be an unnecessary long list.In my opinion it seems unnecessary and fairly useless to show the APEX schema (APEX040100, APEX040200) when listing a few details of the application. Just wondering if it is on purpose or an overlooked bug.

  • The SGA was inadequately sized, causing additional I/O or hard parses.

    Dear all,
    We are using 10g RAC On Solaris 5.10
    Very freuently,we are getting the below message in DB Console
    The SGA was inadequately sized, causing additional I/O or hard parses.
    Additional Information
    The value of parameter "sga_target" was "15360 M" during the analysis period.
    Under recommendations,
    I found that
    Increase the size of the SGA by setting the parameter "sga_target" to 30720 M.
    Findings Path
    Findings Impact (%) Additional Information
    The SGA was inadequately sized, causing additional I/O or hard parses. 27 Additional Information
    Wait class "User I/O" was consuming significant database time. 13.2
    Hard parsing of SQL statements was consuming significant database time. 4.9
    Contention for latches related to the shared pool was consuming significant database time. 0.6
    Wait class "Concurrency" was consuming significant database time
    Can I rely on this info alone and increase SGA.. Is there any other way I confirm this ?.
    Dear Seniors,
    Please ignore this Thread if you find this question silly..
    Please advise
    Kai

    Hi Kai,
    Can I rely on this info alone and increase SGA.. Is there any other way I confirm this ?.Yes. Oracle has specific "cache" advisors to say if your data buffers of shared pool regions are too small.
    I have my notes here:
    http://www.dba-oracle.com/art_builder_buffers.htm
    The besy way to see them is to run a STATSPACK or AWR report . . .
    if you find this question silly..It''s not silly at all, it's a VERY common question!
    http://www.dba-oracle.com/t_estimating_sga_size.htm
    If you are running Oracle on a dedicated server, it's wasteful NOT to allocate all of the RAM to Oracle, less 20% for the OS . . .
    Lastly, remember that Oracle has an insatiable appetite for RAM, but there is a point of diminishing marginal return . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • PowerShell - how to list all master pages of all sites in web application?

    Hi there,
    Is it possible to list all of the master pages along with the site URLs in my web application? There are thousands of site collections and subsites etc.
    Thanks so much.

    Apologies for formatting, reply on iPad sucks.... Use this example: http://iedaddy.com/2011/11/sharepoint-information-architecture-diagram-using-powershell-and-visio/ But in the powershell for the select, include the MasterURL property so it will write
    it out to the .csv file as well. I assume you are just looking for what are your active master pages per site are....won't report if you've hard coded the values into individual pages as it is just querying site properties.
    ieDaddy
    Blog: http://iedaddy.com
    Twit: @iedaddy

  • Avoid Hard Parsing for executing dynamic SQL using DUAL table Oracle

    I want to know if dynamic sql statements involving DUAL table can be modified to remove HARD PARSING.
    We have several SQL statements are stored in configuration table, here is sample example
    -- query 1 before replacing index values as stored in config table ---
    select count(*) from dual where  'REPLACE_VALUE_OF_INDEX_3' IN ('K')
    AND (('REPLACE_VALUE_OF_INDEX_13' IN ('1053','1095','1199') ) OR ('REPLACE_VALUE_OF_INDEX_13' IN ('1200') ))
    AND 'REPLACE_VALUE_OF_INDEX_2' IN ('6')
    AND 'REPLACE_VALUE_OF_INDEX_15' IN ('870001305')
    -- query 1 after replacing index values--
    select count(*) from dual where  'REPLACE_VALUE_OF_INDEX_10' IN ('K')
    AND (('1030' IN ('1053','1095','1199') ) OR ('1030' IN ('1200') ))
    AND '2' IN ('6')
    AND 'X' IN ('870001305')
    -- query 2 before replacing index values as stored in config table --
    select count(*) from dual where  'REPLACE_VALUE_OF_INDEX_5' IN ('361A','362A')
    AND 'REPLACE_VALUE_OF_INDEX_22' BETWEEN '200707' AND '200806'
    -- query 2 after replacing index values--
    select count(*) from dual where  '3MAA' IN ('361A','362A') AND '201304' BETWEEN '200707' AND '200806'

    If I got it right you have some (maybe lots of) conditions stored in a table (be patient - it's my interpretation)
    create table eb_conditions as
    select 1 rid,q'{:5 IN ('361A','362A') AND :3 BETWEEN '200707' AND '200806'}' cndtn from dual union all
    select 2,q'{:2 IN ('361A','362A') AND :3 BETWEEN '200707' AND '200806'}' from dual union all
    select 3,q'{:1 IN ('K') AND ((:2 IN ('1053','1095','1199') ) OR (:4 IN ('1200') )) AND :3 IN ('6') AND :5 IN ('870001305')}' from dual
    RID
    CNDTN
    1
    :5 IN ('361A','362A') AND :3 BETWEEN '200707' AND '200806'
    2
    :2 IN ('361A','362A') AND :3 BETWEEN '200707' AND '200806'
    3
    :1 IN ('K') AND ((:2 IN ('1053','1095','1199') ) OR (:4 IN ('1200') )) AND :3 IN ('6') AND :5 IN ('870001305')
    and you have to check the conditions using values stored in an array
    I used a table instead: the vl at rid = 1 representing the value of bind variable :1 in eb_conditions table and so on ...
    create table eb_array as
    select 1 rid,'K' vl from dual union all
    select 2,'1199' from dual union all
    select 3,'200803' from dual union all
    select 4,'1000' from dual union all
    select 5,'870001305' from dual
    RID
    VL
    1
    K
    2
    1199
    3
    200803
    4
    1000
    5
    870001305
    You want to check the conditions using select count(*) from dual where <condition with binds substituted fron the array>
    Judging from the title Hard Parsing represents the major problem and you cannot avoid it since every condition to be verified is different from every other condition.
    I think your best bet is not to evaluate conditions row by row - context shift cannot be avoided and there might be more than one for each iteration.
    So try to do it in a single step:
    declare
    w_cndtn varchar2(4000);
    w_clob  clob;
    w_cursor sys_refcursor;
    one number;
    two number;
    begin
      dbms_lob.createtemporary(w_clob,false);
      for rw in (select rid,
                        max(cndtn) cndtn,
                        listagg(val,',') within group (order by rn)||',' usng
                   from (select c.rid,c.cndtn,c.rn,c.bind,
                                replace(rtrim(c.bind),':'||to_char(v.rid),''''||v.vl||'''') val
                           from (select rid,
                                        cndtn,
                                        regexp_substr(cndtn,':\d+ ',1,level) bind,
                                        level rn
                                   from eb_conditions
                                 connect by level <= regexp_count(cndtn,':')
                                        and prior rid = rid
                                        and prior sys_guid() is not null
                                ) c,
                                eb_array v
                          where instr(c.bind,':'||v.rid||' ') > 0
                  group by rid
      loop
        w_cndtn := rw.cndtn;
        while instr(w_cndtn,':') > 0
        loop
          w_cndtn := replace(w_cndtn,trim(regexp_substr(w_cndtn,':\d+ ',1,1)),substr(rw.usng,1,instr(rw.usng,',') - 1));
          rw.usng := substr(rw.usng,instr(rw.usng,',') + 1);
        end loop;
        w_cndtn := 'select '||to_char(rw.rid)||' cndtn_id,count(*) from dual where '||w_cndtn||' union all ';
        w_clob := w_clob ||' '||w_cndtn;
      end loop;
      w_clob := substr(w_clob,1,instr(w_clob,'union all',-1,1) - 1);
      open w_cursor for w_clob;
      loop
        fetch w_cursor into one,two;
        exit when w_cursor%notfound;
        dbms_output.put_line(to_char(one)||':'||to_char(two));
      end loop;
      dbms_lob.freetemporary(w_clob);
    end;
    1:0
    2:0
    3:0
    Statement processed.
    Regards
    Etbin

  • How to list all the files in a FTP site?

    I am now using LV7.1 and trying to list all the files (with file name, file size and modified date) on both a local drive and a remote FTP site. I can manage to do on a local drive, but is it possible to list the files on a FTP site?
    Thanks,
    Cola

    Listing files on a local drive and listing the contents of an ftp site are two different things. Access to an ftp site uses a totally different protocol. Off the top of my head, you have a few options:
    Use a third-party tool that can map an ftp drive to a local drive letter. WebDrive is one such client. Note: I'm assuming Windows here.
    Use the Intenet Toolkit.
    Use the LabVIEW TCP/IP functions to write up your own ftp client to connect to the server, change to the desired directory, and send the command to list the contents, which you can parse and spit out as a nice little array of filenames. Check the LabVIEW examples, as I believe there's some examples on this. You should also search this board for "ftp client", as this has been brought up before, and samples have been posted.

  • Cannot list all the servers within cluster (on Resin)

    We have 10 Resin servers in the cluster, but when I try to list them I got only 9 of them listed.
    It doesn't list the local server (the one from which the servlet is actually invoked).
    Do you have any other idea how to list all the servers?
    Here is the code I use:
    for (int i = 0; i < clusterList.length; i++) {
         ClusterMXBean cluster = (ClusterMXBean) Jmx.findGlobal(clusterList.getObjectName());
         // --- retrieve all servers within one cluster
         ServerConnectorMXBean[] srunNames = cluster.getServers();
         for (int j = 0; j < srunNames.length; j++) {
              ServerConnectorMXBean server = (ServerConnectorMXBean) Jmx
                        .findGlobal(srunNames[j].getObjectName());
              String host = server.getAddress();
              int port = server.getPort();
              String state = server.getState();
    And here is the MX configuration:
    resin:type=SessionManager,Host=default,WebApp=/
    resin:type=ServerConnector,name=i
    resin:type=ServerConnector,name=h
    resin:type=ServerConnector,name=b
    resin:type=Resin
    resin:type=ServerConnector,name=j
    resin:type=ProxyCache
    resin:type=Host,name=default
    resin:type=ServerConnector,name=c
    resin:type=ServerConnector,name=e
    resin:type=Port,name=192.68.1.50-6802
    resin:type=ServerConnector,name=g
    resin:type=ServerConnector,name=a
    resin:type=ThreadPool
    resin:type=WebApp,Host=default,name=/
    resin:type=WebApp,Host=default,name=/mya
    resin:type=ConnectionPool,Host=default,WebApp=/mya,name=jdbc/mya
    resin:type=ServerConnector,name=f
    resin:type=Cluster,name=cluster1
    resin:type=ServerConnector,name=d
    resin:type=SessionManager,Host=default,WebApp=/mya
    resin:type=Server                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    kus wrote:
    There is a solution but not a very portable one, i.e. you can't use it to get a listing of files from any server that you happen to look at. But here are the steps you need to take:
    1. Use a browser (firefox, opera, etc.) to view the file listing and then view the source.
    2. Duplicate the retrieval of data from the given URL in Java (new URL(...), etc.)
    3. Parse the HTTP response and/or the HTML that the server returns to you to extract what you need.
    Step #3 is the biggest piece of work and the format you need to parse will depend on whatever the remote server hands to you. It's intended for humans, not machines; every server can decide how to format this and it even depends on the server's configuration how this data is presented to you. In any case, it's entirely up to you to make sense of whatever the server happens to throw back at you and if the server happens to present you a nice, picturesque page rather than a listing of files then your completely out of luck.He actually wasn't talking about http at all, so most of this thread has been a wild goose chase.

Maybe you are looking for

  • How can I remove my icloud pictures on my iPhone

    Hi! Since last september I have a macbook, I have connected my macbook with my iPhone. All my pictures on my macbook are now on my iPhone but I don't know how to delete them. Can you tell me how to do this? Your Sincercenly, Nynke Dijkstra

  • My iPhoto on my mac will no longer photo steam photos to my iPhone. Help please?!

    I usually add the photos i want on my phone to photo steam and the automatically upload to my photo steam album on my phone. all of a sudden its stop working. I have updated both my mac and iphoto. Its still not working

  • How to export/import data of hyperion performance scorecard?

    I have a Hyperion Performance Scorecard Environment which save data in Oracle database. Now I am trying to setup another scorecard environment which has exact the same set of data and use MS SQL Server as database. What is the best way to dump data f

  • How TO make our own EventListener ?

    Hello, I am in very difficult stage. I n a while loop , I received a String against a function call and nedd to add some action listener so that in Receiving Listener i can find what the emessage is ? Please help Thanks.

  • Import work repository

    Hi all, Can anyone help me out on this: I want to migrate my work repository from one machine to another after we have done some additional work which includes new Interfaces, but also changed properties for certain columns. Using the "import workrep