Very similar FLWOR queries with very dissimilar performances

Hello,
I have two queries which seem to me to be equivalent but have very different performances (<1s vs >30s)
Sample xml data
<MARQUE>
<CodeApp>080000000</CodeApp>
</Wares>blah blah blah</Wares>
</MARQUE>
Query #1, with acceptable performances
query 'for $m in collection("canada/db") where $m/MARQUE/CodeApp >= "080000000" and $m/MARQUE/CodeApp <= "0801000000"
return $m/MARQUE/Wares'
Query #2, with bad performances
query 'for $m in collection("canada/db") where $m/MARQUE/CodeApp >= "080000000" and $m/MARQUE/CodeApp <= "0801000000"
return <wares>{$m/MARQUE/Wares}</wares>'
I would expect the second query to be simply adding formatting around the results, but it takes on a very different approach in the query plan. Basicaly, when I "setVerbose 2 2" I see two lines of debugging for the first one:
Query - canada/db - R(CodeApp,>=,'080000000',<=,'0801000000') : [1002] 538279 ...
Query - canada/db - n(R(CodeApp,>=,'080000000',<=,'0801000000'),P(Wares)) : [1002] 538279...
But the second query gives me 1000 of these:
Query - canada/db - P(Wares) : [786982] 2 3 4 5 6 7 8 9 10 11 ...
It seems the first query is fetching all of the document and then giving me what I want and the second one is getting the ids of the documents and then asking for the wares of each of the 1000 documents returned.
Anyone knows how I can reformulate my second query to make it faster?
Alex
ps:
indices:
Index: node-element-presence-none node-element-equality-string for node {}:CodeApp
Index: edge-element-equality-string node-element-presence-none for node {}:Wares
query plans:
plan for #1
<XQuery>
<Navigation>
<QueryPlanFunction result="collection" container="canada/db">
<OQPlan>n(R(node-element-equality-string,CodeApp,>=,'080000000',<=,'080100000'),P(edge-element-equality-string,prefix,MARQUE.Wares))</OQPlan>
</QueryPlanFunction>
<DbXmlFilter>
<Navigation>
<Step axis="child" name="MARQUE" nodeType="element"/>
<Step axis="child" name="CodeApp" nodeType="element"/>
<DbXmlCompare name="greater_than_equal">
<Sequence>
<AnyAtomicTypeConstructor value="080000000" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlCompare>
</Navigation>
</DbXmlFilter>
<DbXmlFilter>
<Navigation>
<Step axis="child" name="MARQUE" nodeType="element"/>
<Step axis="child" name="CodeApp" nodeType="element"/>
<DbXmlCompare name="less_than_equal">
<Sequence>
<AnyAtomicTypeConstructor value="080100000" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlCompare>
</Navigation>
</DbXmlFilter>
<Step axis="child" name="MARQUE" nodeType="element"/>
<Step axis="child" name="Wares" nodeType="element"/>
</Navigation>
</XQuery>
plan #2
<XQuery>
<FLWOR>
<ForBinding name="m">
<Navigation>
<QueryPlanFunction result="collection" container="canada/db">
<OQPlan>R(node-element-equality-string,CodeApp,>=,'080000000',<=,'080100000')</OQPlan>
</QueryPlanFunction>
<DbXmlFilter>
<Navigation>
<Step axis="child" name="MARQUE" nodeType="element"/>
<Step axis="child" name="CodeApp" nodeType="element"/>
<DbXmlCompare name="greater_than_equal">
<Sequence>
<AnyAtomicTypeConstructor value="080000000" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlCompare>
</Navigation>
</DbXmlFilter>
<DbXmlFilter>
<Navigation>
<Step axis="child" name="MARQUE" nodeType="element"/>
<Step axis="child" name="CodeApp" nodeType="element"/>
<DbXmlCompare name="less_than_equal">
<Sequence>
<AnyAtomicTypeConstructor value="080100000" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlCompare>
</Navigation>
</DbXmlFilter>
</Navigation>
</ForBinding>
<DOMConstructor type="element">
<Name>
<Sequence>
<AnyAtomicTypeConstructor value="wares" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</Name>
<Children>
<Navigation>
<Variable name="m"/>
<Step axis="child" name="MARQUE" nodeType="element"/>
<Step axis="child" name="Wares" nodeType="element">
<OQPlan>P(edge-element-equality-string,prefix,MARQUE.Wares)</OQPlan>
</Step>
</Navigation>
</Children>
</DOMConstructor>
</FLWOR>
</XQuery>

Hi John, thank you for your answer.
Unfortunately, I am positive about my times. Both my queries were eager (setLazy off). I tried outputing the 1000 hits to the screen with the sub-second query and it added roughly the time to display it on the console that is approximately 3 seconds. We are still very far off from the more than 30 seconds it takes to run the second query (without printing even! add another 3 seconds to print that one too).
Although you say that the logging is misleading, the differences in the query plan are a hint to me that something is a miss in my second query. The first queryplan uses both indexes
<OQPlan>n(R(node-element-equality-string,CodeApp,>=,'080000000',<=,'080100000'),P(edge-element-equality-string,prefix,MARQUE.Wares))</OQPlan>
in the early Navigation part of the query plan, where the other one seems to use just the CodeApp part in the Navigation and the Wares part only at the DOMConstructor phase...
Alex

Similar Messages

  • I have a very similar problem (5506) in that I changed my appleID loginid and now none of my home shares work. All itunes have been re-authorized/authenticated with the new appleID string. Yet I still receive this error. I too am looking for suggestions.

    I have a very similar problem in that I changed my appleID loginid and now none of my home shares work (5506) . All itunes have been re-authorized/authenticated with the new appleID string. Yet I still receive this error. I too am looking for suggestions.

    If you no longer have the computer(s) you want to deauthorise,
    Log in to iTunes,  go to "view your account info" on the itunes store,  deauthorise all five, (Please Note: this can only be done Once every 12 months)  and then re-authorize your current Computer(s) one at a time.
    Authorise / Deauthorise About
    http://support.apple.com/kb/HT1420

  • App works differently when connected to two very similar databases

    Hi,
    I have a simple oracle forms application that runs oracle reports. I also have two very similar datasbes one is for a test envrionment and the other is for a conversion environment. I have been connecting to the test one from the start but recently have tried connecting to the conversion environment.
    Some of the reports return blank results from the conversion environment that returned values in the test environment. when I run the queries from the reports in the conversion envronment in SQLPLUS they return the same values as the test environment. Does anyone know why this might be happening?
    Gerald

    I ran this report from the reports builder application.
    the report only gets two parameters passed to it. I ran it connecting to database one and database two for exatly the same report. Database one works fine but database two says that there is a problem with the paramaters passed to the report.
    Is it something with the system parameters and how they are getting passed to the report, is there something that I need to set up on database two regarding the reports server setup?

  • Very simple: Does anyone with the 2.16GHz have the whine?

    I'm starting to notice something. Of all of the users who are (rightfully) complaining about the whine problem, it seems that none of them are those with the 2.16GHz upgrade. I recently ordered my MacBook Pro (and therefore do not have it), but a quick glance over the forums affirms my suspicion.
    I could be completely wrong; I didn't have the time to completely delve into the many "whine" threads, so this topic will solve this matter fairly quickly!
    I have a 2.0 iMac Core Duo. Soon to add a nice, shiny MacBook Pro.   Mac OS X (10.4.5)  

    I'm starting to notice something. Of all of the users
    who are (rightfully) complaining about the whine
    problem, it seems that none of them are those with
    the 2.16GHz upgrade. I recently ordered my MacBook
    Pro (and therefore do not have it), but a quick
    glance over the forums affirms my suspicion.
    I could be completely wrong; I didn't have the time
    to completely delve into the many "whine" threads, so
    this topic will solve this matter fairly
    quickly!
    I have a 2.0
    iMac Core Duo. Soon to add a nice, shiny MacBook Pro.
      Mac OS X (10.4.5)  
    I Just recieved my 2.16GHz MBP today, and it does not have to LCD inverter buzz. I do however have a slight CPU whine but it is not terrible. Furthermore, I don't care much for notebook trackpads and am using a bluetooth mouse. The Mac Book is silent when the mouse is connected. I've read on these forums, that Apple knows of the CPU whine issue and a software update will be released. So far this is a very cool machine. I am calibrating the battery so I haven't tried out everything yet. By the way, I am using The MouseBT by Chwang Yi (formally MacMice) and I like it so far. I like that it's very similar to the Mighty Mouse which I use on my G4. Good Luck with your MacBook!
    Power Mac G4 APG Graphics   Mac OS X (10.4.5)  
    Power Mac G4 APG Graphics   Mac OS X (10.4.5)  
      Mac OS X (10.4.5)  

  • First query very slow, subsequent queries fine

    In our 9i application when we first do a query it is extremely slow. If the database has not been used for sometime. This happens for sure after overnight, but also after an hour or so of inactivity during day.
    After the initial query eventually completes, subsequent queries seem fast and no problem. Is just problem with first query.
    This does not happen with all data. Just a particular group of data in our database.
    any suggestions?
    Thanks
    John

    Hi John !
    For mee, it looks like a data cache effect.
    A database need to manipulate data and use a data cache to avoid reading/writing data too much.
    So if the request don't find data in the cache, the database have to read it from disk and put it in the data cache (for me, your fist request). But if data are already in the cache, there is no need to reed them from disk. So the request time is very far better (for me, following requests).
    So if this is a very important problem what can you do ?
    - Check your query exec plan and try to need few data reads (avoid full scans tables for exemple...)
    - Rise the size of your db cache (check the cache hit ratio (1))
    - You can place data permanently in the cache (for table CACHE option) but only if these data sets are small (check dba_segments, [dba_tables after statistics]). If data sets are important, these data can eject other data from cache, so your request time will be good but other requests very bad.
    It could be a library cache effect too (same kind of problem: entries are made for querys already parsed, so the same query can avoid a hard parse) if, for exemple, you handle queries with 5,000 bind variables .
    You can check the library hit ratio too (2)
    To be sure of your problem, I think the best is to trace your request
    1) when executed first (cold request)
    2) and when executed 4th time (hot request)
    Tkprof the two traces and look where is the difference. There is 3 phases: parse, execute and fetch.
    Data cache problem is a high fetch, library, high parse. You will also find for your query the state which implies disk reads read (on execution plan)
    You can posts here cache query results and times for your 1st request and following requests. Even your trace files, if you want me to check your resolution.
    Regards,
    Jean-Luc
    (1)
    Cache hit ratio.
    Warning1: calculated from your last startup (so if your last startup is few weeks ago, you need to shutdwon, wait for a good sample of your batches executed, and try the following request)
    Warning2: There is no ">98 % is good" and "<90 % is bad". It depends on yours applications. For exemple, if same data is frequently acceded in a transactionnal database, you have rise it as high you can.
    But imagine databases for clients and clients who needs their data 1 time a day or a week (database or schema of client information like this very forum [Good exemple because I suspect them to use Oracle databases you know :)]). You can accept to have a high response time, lots of disk reads, and so a HR < 90.
    Cache hit ratio :
    select round((1-(pr.value/(bg.value+cg.value)))*100,2) cachehit
    from v$sysstat pr, v$sysstat bg, v$sysstat cg
    where pr.name = 'physical reads'
    and bg.name = 'db block gets'
    and cg.name = 'consistent gets';
    (2)
    Same warnings than (1)W1
    but not (1)W2: Library HR is generaly higher than cache hit ratio >98
    Library cache hit ratio :
    select round(sum(pinhits)/sum(pins) * 100,2) efficacite from v$librarycache;

  • Solaris 8 rebooting with very little info as to why.

    I have a Sun E-250 with 2 400MHz CPUs and 1GB of memory. Lately my box will reboot without warning. I get a panic message in the logfile /var/adm/messages with very little other information. Those messages are as follows:
    Feb 22 10:48:01 storrs SUNW,UltraSPARC-II: [ID 727572 kern.warning] WARNING: [AFT1] EDP event on CPU0 Instruction access at TL=0, errID 0x00000262.3179c556
    Feb 22 10:48:01 storrs AFSR 0x00000000.80400008<PRIV,EDP> AFAR 0xffffffff.ffffffff
    Feb 22 10:48:01 storrs AFSR.PSYND 0x0008(Score 95) AFSR.ETS 0x00 Fault_PC 0x100db82c
    Feb 22 10:48:01 storrs UDBH 0x0000 UDBH.ESYND 0x00 UDBL 0x0000 UDBL.ESYND 0x00
    Feb 22 10:48:01 storrs SUNW,UltraSPARC-II: [ID 868619 kern.info] [AFT2] errID 0x00000262.3179c556 No error found in ecache (No fault PA available)
    Feb 22 10:48:01 storrs unix: [ID 836849 kern.notice]
    Feb 22 10:48:01 storrs ^Mpanic[cpu0]/thread=30001fa8f00:
    Feb 22 10:48:01 storrs unix: [ID 249780 kern.notice] [AFT1] errID 0x00000262.3179c556 EDP Error(s)
    Feb 22 10:48:01 storrs See previous message(s) for details
    Has anyone ever seen this before? Anybody have a clue as what to look into?
    Also, this box seems to be very slow in performing relatively simple commands. It gets hung up on "format" and "pkgadd". So it appears that anything I do which may affect or use the kernal hangs for a long period of time and then most times the system reboots.
    Please help if you can.

    I'm not quite sure what the error is about, but check the version of Solaris your running on the server. If it's less than Solaris 8, check that the server was built using the "Special Operating Environment CD".
    This CD has to be used when installing solaris 2.5, 2.6 or 2.7 ( I think ) on the new hardware like E220, E250, E420 etc.

  • JRockit for applications with very large heaps

    I am using JRockit for an application that acts an in memory database storing a large amount of memory in RAM (50GB). Out of the box we got about a 25% performance increase as compared to the hotspot JVM (great work guys). Once the server starts up almost all of the objects will be stored in the old generation and a smaller number will be stored in the nursery. The operation that we are trying to optimize on needs to visit basically every object in RAM and we want to optimize for throughput (total time to run this operation not worrying about GC pauses). Currently we are using hugePages, -XXaggressive and -XX:+UseCallProfiling. We are giving the application 50GB of ram for both the max and min. I tried adjusting the TLA size to be larger which seemed to degrade performance. I also tried a few other GC schemes including singlepar which also had negative effects (currently using the default which optimizes for throughput).
    I used the JRMC to profile the operation and here were the results that I thought were interesting:
    liveset 30%
    heap fragmentation 2.5%
    GC Pause time average 600ms
    GC Pause time max 2.5 sec
    It had to do 4 young generation collects which were very fast and then 2 old generation collects which were each about 2.5s (the entire operation takes 45s)
    For the long old generation collects about 50% of the time was spent in mark and 50% in sweep. When you get down to the sub-level 2 1.3 seconds were spent in objects and 1.1 seconds in external compaction
    Heap usage: Although 50GB is committed it is fluctuating between 32GB and 20GB of heap usage. To give you an idea of what is stored in the heap about 50% of the heap is char[] and another 20% are int[] and long[].
    My question is are there any other flags that I could try that might help improve performance or is there anything I should be looking at closer in JRMC to help tune this application. Are there any specific tips for applications with large heaps? We can also assume that memory could be doubled or even tripled if that would improve performance but we noticed that larger heaps did not always improve performance.
    Thanks in advance for any help you can provide.

    Any suggestions for using JRockit with very large heaps?

  • InDesign CC 2014 is very very slow when working with a table.

    InDesign CC 2014 is very very slow when working with a table. Every 1/2 - 1 hour it nearly falls back, impossible to work with. While this project must be finshed quite soon..
    What the hell is the matter with this Creative Cloud. I havea very fast iMac form 2014. I closed all other programmes, even cannot listen to music now. More people with this problem??
    Martien

    @Martien – How complex is your table?
    How many cells? Merged ones as well?
    Complex formatting of texts inside the cells?
    Complex formatting rules of table rows and/or columns?
    Many images inserted?
    If yes, and the table is running through many text frames of many pages, I fear, you can do nothing against slowness.
    Nothing but: Greek text, not showing the page contents in the Pages Panel, in short: anything you can do to get better performance in redrawing of the screen.
    If you have the chance to break up one big table in several parts, do that and edit its parts one after another isolated. Pehaps in different documents.
    Then merge the parts in one table, if you want to flow it from page to page.
    Uwe

  • What are the down sides with very big SGA?

    Hi
    I have a heavy 9.2.0.8 64-bit database with very high dataloading and reporting having 24G SGA, 80 dual core CPU solaris 9. I would like to figure out what are the down sides of very big SGAs, and/or if increases the SGA.
    Thanks

    user5797895 wrote:
    My question was not for a particular performance issue. I am thinking in different possibilities to improve to the best performance. I have statspack configured and we do tuning according to the stats.
    Are you able to anlyze few spreport and give me your comments?Usually you have one or more particular issues that are worth to look into, e.g. particular standard reports that take longer than expected, batch runs that don't complete within the given timeframe, end-users complaining about ad-hocs reports taking too long, transactions that start to time out during peak workloads etc. etc.
    If you're just interested in someone checking the current state/health of your system it's probably worth a try to post the most important parts of some statspack reports that you determine to be most representative for your system load. There are definitely some contributers here participating that should be able to provide some valuable insights.
    I think it's always good to remember that the most significant performance improvement of a system is achieved by letting it do less work resp. avoid unnecessary work. So if you're e.g. able to reduce the logical I/O performed by the top n SQLs that put the most workload on your system significantly you usually gain much more than by just adding more and more memory/CPU to your system. Of course this is not the case if this kind of tuning has already been performed thoroughly but there is usually much room for improvement in this field.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Can i use my blackberry torch charger to charge my iPod4s? The charger looks very similar to the 5W USB power adaptor that Apple sells to charge the iPod?

    can i use my blackberry torch charger to charge my iPod4s? The charger looks very similar to the 5W USB power adaptor that Apple sells to charge the iPod?

    Actually, the bb charger is a 5V, 750 mA charger (which would make it a 3.75W charger vs the 5W that Apple sells for the iPod). Therefore, I would think that my bb charger should work for both bb and iPod, but would charge the iPod at a slower rate, with little harm done to the gadget, but I defer to any opinion that would suggest otherwise?

  • Very low 3DMarks03 benchmark with MSI Ti4200TD 4x GPU

    Very low 3DMarks03 benchmark with MSI Ti4200TD 4x GPU
    I have download the lastest demo version of 3DMarks03 from futuremark.com and have downloaded the latest DirectX 9.0 from Microsoft.
    After downloading both applications, I have update my DirectX 9.0 first before installin 3DMarks03 in my com.
    After all installation is done, I have test the Benchmark for my AGP card which is MSI's Ti-4200TD 4x 128MB and the results was worse than expectations.
    The first test was ok and I managed to hit rather high points of nearly 200fps for it, but the problems starts at the second test onwards... I managed to only hit at the highest point of 15fps only!!! Therefore at the end of the Test I only managed to score 1018points... ;(   and my screen starts to flicker on occasions... but I have switched to 75Hz for my refresh rate... :O
    And the very funny thing is that I have no problems driving games like Unreal Tournament 2003...  ?(
    My first query here is whether there's anything to do with DirectX 9.0(I have de-activate and re-activate directdraw after each restart) or is it because that I did not reinstall the Card driver as in Settings> Advanced Options> DirectX version still shows DirectX 8.1 or better... By the way, the driver was the latest version which I've download from MSI website and I have switch of SBA already...
    My next query is whether because 3DMarks03 or DirectX 9.0 is not yet digitally signed as DxDiag has prompt me to get my drivers signed or DirectX 9.0 and 3Dmarks03 are not updated yet to run on nVidia based cards as I know that all Radeon 9500Pro/9700 series comes with direct 9.0 drivers and not for nVidia cards?
    Hope someone could assist me... Thanks!!!
    Intel Pentium 4 2.4B Ghz with SSE2 533FSB
    Abit SA7 SIS 654D 533FSB
    512MB DDR333 Kingston Ram
    5 Fans cooler system
    400watts PSU
    Maxtor 80GB Fluid Bearing with 2MB Buffer 7200RPM HDD
    Seagate 10.2GB 5400RPM HDD
    SAMSUNG CDRW ROM
    MSI DVD ROM
    PCI 56kbps Modem
    SAMSUNG SyncMaster 753DF 75Hz refresh
    nVidia driver version: 6.13.10.4107
    VGA BIOS version: 4.25.00.29.00
    MSI Ti-4200DT 128MB 4x AGP
    SBA: disabled
    Anti-Aliasing: 2x
    Anisotropic - Filitering Off
    Performance: Balanced

    I've load and install all my motherboard drivers, SIS AGP driver ver 1.4 since my last format and before the installation of DirectX 9.0 and 3DMarks03...
    Do I have to reinstall everything again? ?(

  • I am having a problem with very slow start up after expanding RAM on my 2009 Mac Pro.

    I am having a problem with very slow start up after expanding RAM on my 2009 Mac Pro (8 Core 2.93GHz). When I run the Mac Pro with 2 x 2Gb RAM it takes 4 seconds before the gray screen, chime and spinning wheel appear.However when I expand the RAM to 20GB the grey screen and chimes appear after a long 20+ second black screen.
    The RAM modules are paored  2 x 4GB Crucial CT51272BA1339.M18FMR and  6 x 2GB SAMSUNG M391B5673FH0-CH9, all DDR3 ECC.
    Reading articles on the internet, I thought it may be damaged RAM modules, but I have completed memtest and all are okay. I have tried changing the pairs around and if I use any paired 2 modules the Mac Pro starts normally, only when I try running more than 2 modules the delayed start up happens. (black screen 20 Seconds)
    I also have tried PRAM and SMU resets after changing the RAM setups, and the issues always occurs when I have more than 2 modules. As you can see I have 6 SAMSUNG modules and even with identical modules the issue happens, when increasing the RAM to more than 2 modules.
    The Mac Pro runs fine after the start up screen and can see all the modules, but has anyone else come across this issue, or have any ideas as to why my Mac Pro is taking 20 seconds to start up with 20 GB RAM?

    Hi there. Thanks for your comments.
    I have tried all the different combinations of RAM setup, and as stated in my initial topic, the Mac Pro boot up time only slows when I have more that 2 modules. Where I place these does not seem to make a difference.
    I have taken the Mac Pro to an Apple Reseller technician yesterday and they where not able to find any RAM errors. Apparently the boot up time is within Apple's acceptable parameters for this set up.
    Could anyone that is running a Mac Pro 2009 with more that 4 modules of RAM, please let me know if the boot up time is normal. ( the time it takes from pressing the power button to seeing the gray screen around 16 - 20 seconds)
    Or is anyone else having the same issues?
    thanks for your responce

  • I will type in google let say tree the search will click on to one of the searches and instead of tree web page showing up a ad page will come up this happens with very thing can you help.

    I will type in google let say tree the search will click on to one of the searches and instead of tree web page showing up a ad page will come up this happens with very thing can you help.

    You (or your kids) inadvertently installed adware. You do not need to download or install anything to fix it.
    Any tips on how to stop it from happening?
    Yes. To learn how to avoid it in the future read How to install adware.
    If you require them, Apple's removal instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.

  • I am receiving bills from my carrier with very high data usage. I read books from apple store. Do ibooks use gb once purchased?

    I am receiving bills from my carrier with very high data usage. I read books from apple store. Do ibooks use gb once purchased?

    To reduce data usage, you should put iPad on Aeroplane Mode to stop all background activities when not using iPad.
    Message was edited by: Diavonex

  • Files with "alien" names in directories with very long path names

    Hi all,
    first of all - I dont know if this is the right forum for my Question,
    but I could not find any better ;-)
    I have a problem with some files with "alien" names with MIXED characters from different foreign countries
    (e.g. "Φέτα (τυρί) 只有沙盒或您的用户页可以用作測試ורת המבחנים בחינוך פור.txt").
    Sometimes - whenn those files are exists in a directory with a very long path name,
    then the windows api fails to handle these files.
    For example GetFileAttributesW() returns error 2
    and ntQueryDirectoryFile does not return this file in the list (etc. pp.)
    I have this behaviour not with other files in those directories (e.g. "abc.txt")
    and also not when those names are a little bit shorter
    or the directorys name is not too long.
    So I guess, there is a bug either in the API or in the file system...?!
    I know that such a file name is a generic one,
    but I have a situation where I have to handle any file with any name -
    even in directories with very long path names...
    So please no suggestions like "use shorter paths" or "convert it to a short name"....
    thx in advance and Best regards,
    dp.

    No need to call, your MSDN subscription has few free support incidents.
    Chat with the rep to submit an incident.
    Or find their phone number
    here.
    Good luck,
    -- pa

Maybe you are looking for

  • Mountain Lion 10.8.2. - such a dissappointment

    When I bought a mid-2010 21,5" iMac in March 2011, I thought all problems with computers are past. So they were, I had no problems with pre-installet Snow Leopard, which I ketp up-to date continuously. All updates were installed, and I never had any

  • Auto fill form from web page content

    I need to fill a field in a PDF form (version 8 or newer) with a value provided by a web page.  The webpage is a counter to provide a unique, sequetial number. I have been able to do this with Get() when using FormCalc, however I need more logic cont

  • User-Defined Aggregate Function in oracle

    Somebody knows if in oracle 10g is possible to create a User-Defined Aggregate Function? Sometingh like my_sum, that aggregate the values in a way that i want... select manager, my_sum(salary) group by manager In internet i've found rellay notingh fo

  • Problem recognizing wireless scanner

    I have an iMac that runs SnowLeopard 10.6.8. I use the Brother MFC All-in-One as a wireless scanner and printer. This has worked successfully for some time. Suddenly, although I can still print wirelessly, the computer doesn't recognize the wireless

  • Mt_shm_init: can't create virtual segment

    Hi, I'm running informix5 on solari26. I installed informix7 on the same system. When I tried to startup inf7, I got the following error: 16:31:38 shmat: [EMFILE][24]: out of shared memory segments, check system SHMSEG 16:31:38 mt_shm_init: can't cre