Answers-Perf

Hi,
Can Any one tell me the performance tuning techniques we can do in OBIEE Answers side?not RPD

Answers performance is always tied directly to database performance. I'd start by taking a look at the physical SQL being generated, and try to find ways to improve that. You'll most likely hit one of several scenarios:
1. SQL is not optimal - which means your RPD setup is not correct
2. SQL is optimal, but performance still too slow - unfortunately means hardware isn't up to the task
You do have several options to fix #2 that don't involve buying better database hardware. You could create summary tables, and/or turn on Answers caching (perhaps with queries to pre-populate common runs). However, both of these have issues. Creating summary tablesis great - but if a user asks a question that isn't answered by the summary, then they get kicked back to the "slow" full table. Caching queries is helpful - but only if the users run queries that have already been run. If they ask a "new" question it won't hit the cache.
Unfortunately, on almost every OBIEE installation I've seen...the BI server sits there almost unused, waiting for results to come back from the databases.
Hope this helps,
Scott

Similar Messages

  • Perfis de Usuários do SAP R/3, GRC e PI

    Pessoal,
    Estou iniciando um projeto de NF-e (com B2B) em um novo cliente e estão solicitando todos os perfis de usuários para criação dos mesmos, alguém já passou por isso e poderia ajudar? basicamento serão para os usuários:
    - De Comunicação entre R/3 e o GRC
    - De Comunicação entre o GRC e o R/3
    - De Comunicação entre o GRC e o PI
    - De Comunicação entre o PI e o GRC
    - Usuários que utilizarão o Monitor Web do GRC.
    No aguardo, obrigado.
    Danilo

    Para os usuarios de comunicacao, verifique o item 3.3.5. Communication User Details desse link: SAP GRC NFE 1.0 - New Solution Introduction & Implemention Best Practices
    Com relacao aos usuarios dos monitores, vc pode filtrar o acesso (que notas eles conseguem ver) pelo CNPJ.
    Para isso, crie uma role Z como copia da /XNFE/TAXNUMBER e nessa role Z, coloque o numero do CNPJ do emissor (filial ou matriz) das notas que esse usuario pode ver no activity respecitvo.
    Att,
    Henrique.

  • Why do more empty, localstore.rdf and perf.js files appear in my profile everytime I open and close Firefox?

    I have hundreds of empty localstore{xxx}.rdf and perf{xxx}.js files in my profile folder. Where {xxx} denotes a number. New, higher numbered files appear every time I open/close firefox. There ate two pref files (perf.js and perf1.js) which are not empty. There is one localstore.rdf file which is not empty. All other files are zero byte files.
    Also, my toolbar customizations will not stay put. I have to re-customize the toolbar regularly. Erasing all of the localstore and perf files in case of a corrupt file does not help.

    That suggests something is preventing Firefox from modifying those files. This usually happens when anti-virus software keeps a lock on the files.
    ''localstore.rdf'' is the file that keeps your toolbar customizations. Since Firefox can't modify it, your toolbar customizations are lost.
    * [[How to fix preferences that won't save]]
    * [[Profiles - Where Firefox stores your bookmarks, passwords and other user data|What information is stored in my profile?]]
    A less likely cause is a Read-Only attribute or permissions issue.
    * [http://windows.microsoft.com/en-us/windows/what-are-permissions What are permissions? | Microsoft Support]
    * [http://windows.microsoft.com/en-US/windows-vista/What-is-a-read-only-file-or-folder What is a read-only file or folder? | Microsoft Support]

  • HIGH memory usage in Perf Counters but LOW by SQL components

    Hi all,
    Our SQL Server has the following specs:
    OS: Windows Server 2008 R2 Enterprise Edition SP1+Cumulative Updates
    RAM: 128GB
    SQL Server: 2012, Enterprise (SP2), Core-based Licensing (64-bit)
    Max Memory Setting: Limited to 123GB
    I used performance counters to see memory usage by SQL Server:
    SQLServer:MemoryManager:TargetServerMemory(KB)=125,952,000
    SQLServer:MemoryManager:TotalServerMemory(KB)=125,634,000
    SQLServer:BufferManager:PageLifeExpectancy=104,000
    When I use SSMS report (Memory Consumption) and navigate to "Memory usage by components", the sum of "Allocated memory (KB)" is about 34GB and is not equal to TotalServerMemory perf counter. 
    Please help me to understand relation between this report and perf counters mentioned above. 
    Many thanks in advance.
    Leila

    Process/System Counts                    Value
    Available Physical Memory                1490161664
    Available Virtual Memory                 8599063212032
    Available Paging File                    12067610624
    Working Set                              128870092800
    Percent of Committed Memory in WS        100
    Page Faults                              240261318
    System physical memory high              1
    System physical memory low               0
    Process physical memory low              0
    Process virtual memory low               0
    (10 row(s) affected)
    Memory Manager                           KB
    VM Reserved                              191481084
    VM Committed                             125669808
    Locked Pages Allocated                   0
    Large Pages Allocated                    0
    Emergency Memory                         1024
    Emergency Memory In Use                  16
    Target Committed                         125952008
    Current Committed                        125669808
    Pages Allocated                          44388280
    Pages Reserved                           1928
    Pages Free                               77023672
    Pages In Use                             16043264
    Page Alloc Potential                     103611136
    NUMA Growth Phase                        0
    Last OOM Factor                          0
    Last OS Error                            0
    (16 row(s) affected)
    Memory node Id = 0                       KB
    VM Reserved                              191479484
    VM Committed                             62784472
    Locked Pages Allocated                   0
    Pages Allocated                          20930080
    Pages Free                               39219960
    Target Committed                         62975992
    Current Committed                        62784472
    Foreign Committed                        1118440
    Away Committed                           0
    Taken Away Committed                     0
    (10 row(s) affected)
    Memory node Id = 1                       KB
    VM Reserved                              1536
    VM Committed                             62885316
    Locked Pages Allocated                   0
    Pages Allocated                          23458200
    Pages Free                               37803712
    Target Committed                         62975992
    Current Committed                        62885320
    Foreign Committed                        92596
    Away Committed                           0
    Taken Away Committed                     0
    (10 row(s) affected)
    Memory node Id = 64                      KB
    VM Reserved                              0
    VM Committed                             20
    Locked Pages Allocated                   0
    (3 row(s) affected)
    MEMORYCLERK_SQLGENERAL (node 0)          KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          184448
    (6 row(s) affected)
    MEMORYCLERK_SQLGENERAL (node 1)          KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          464
    (6 row(s) affected)
    MEMORYCLERK_SQLGENERAL (Total)           KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          184912
    (6 row(s) affected)
    MEMORYCLERK_SQLBUFFERPOOL (node 0)       KB
    VM Reserved                              51979512
    VM Committed                             3382604
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          14168056
    (6 row(s) affected)
    MEMORYCLERK_SQLBUFFERPOOL (node 1)       KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          18436712
    (6 row(s) affected)
    MEMORYCLERK_SQLBUFFERPOOL (Total)        KB
    VM Reserved                              51979512
    VM Committed                             3382604
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          32604768
    (6 row(s) affected)
    MEMORYCLERK_SQLQUERYEXEC (node 0)        KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          18056
    (6 row(s) affected)
    MEMORYCLERK_SQLOPTIMIZER (node 0)        KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          1736
    (6 row(s) affected)
    MEMORYCLERK_SQLUTILITIES (node 0)        KB
    VM Reserved                              14656
    VM Committed                             14656
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          10256
    (6 row(s) affected)
    MEMORYCLERK_SQLUTILITIES (node 1)        KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          7952
    (6 row(s) affected)
    MEMORYCLERK_SQLUTILITIES (Total)         KB
    VM Reserved                              14656
    VM Committed                             14656
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          18208
    (6 row(s) affected)
    MEMORYCLERK_SQLSTORENG (node 0)          KB
    VM Reserved                              19712
    VM Committed                             19712
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          19016
    (6 row(s) affected)
    MEMORYCLERK_SQLSTORENG (node 1)          KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          12824
    (6 row(s) affected)
    MEMORYCLERK_SQLSTORENG (Total)           KB
    VM Reserved                              19712
    VM Committed                             19712
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          31840
    (6 row(s) affected)
    MEMORYCLERK_SQLCONNECTIONPOOL (node 0)   KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          1824
    (6 row(s) affected)
    MEMORYCLERK_SQLCONNECTIONPOOL (node 1)   KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          1144
    (6 row(s) affected)
    MEMORYCLERK_SQLCONNECTIONPOOL (Total)    KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          2968
    (6 row(s) affected)
    MEMORYCLERK_SQLCLR (node 0)              KB
    VM Reserved                              12606272
    VM Committed                             33460
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          82736
    (6 row(s) affected)
    MEMORYCLERK_SQLCLRASSEMBLY (node 0)      KB
    VM Reserved                              5096
    VM Committed                             5096
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          0
    (6 row(s) affected)
    MEMORYCLERK_SQLSERVICEBROKER (node 0)    KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          3088
    (6 row(s) affected)
    MEMORYCLERK_SQLHTTP (node 1)             KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    (6 row(s) affected)
    MEMORYCLERK_SNI (node 0)                 KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          128
    (6 row(s) affected)
    MEMORYCLERK_SNI (node 1)                 KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          112
    (6 row(s) affected)
    MEMORYCLERK_SNI (node 64)                KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    (6 row(s) affected)
    MEMORYCLERK_SNI (Total)                  KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          256
    (6 row(s) affected)
    MEMORYCLERK_FULLTEXT (node 0)            KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          384
    (6 row(s) affected)
    MEMORYCLERK_SQLXP (node 0)               KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    (6 row(s) affected)
    MEMORYCLERK_BHF (node 0)                 KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          224
    (6 row(s) affected)
    MEMORYCLERK_BHF (node 1)                 KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          112
    (6 row(s) affected)
    MEMORYCLERK_BHF (Total)                  KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          336
    (6 row(s) affected)
    MEMORYCLERK_SQLQERESERVATIONS (node 0)   KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          2064
    (6 row(s) affected)
    MEMORYCLERK_XE_BUFFER (node 0)           KB
    VM Reserved                              3072
    VM Committed                             3072
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          0
    (6 row(s) affected)
    MEMORYCLERK_XE_BUFFER (node 1)           KB
    VM Reserved                              1536
    VM Committed                             1536
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          0
    (6 row(s) affected)
    MEMORYCLERK_XE_BUFFER (Total)            KB
    VM Reserved                              4608
    VM Committed                             4608
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          0
    (6 row(s) affected)
    MEMORYCLERK_XTP (node 0)                 KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    (6 row(s) affected)
    MEMORYCLERK_HOST (node 1)                KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          320
    (6 row(s) affected)
    MEMORYCLERK_SOSNODE (node 0)             KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          87696
    (6 row(s) affected)
    MEMORYCLERK_SOSNODE (node 1)             KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          58688
    (6 row(s) affected)
    MEMORYCLERK_SOSNODE (node 64)            KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          2600
    (6 row(s) affected)
    MEMORYCLERK_SOSNODE (Total)              KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          148984
    (6 row(s) affected)
    MEMORYCLERK_SOSOS (node 0)               KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          192
    (6 row(s) affected)
    MEMORYCLERK_SOSMEMMANAGER (node 0)       KB
    VM Reserved                              265288
    VM Committed                             265176
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          0
    (6 row(s) affected)
    MEMORYCLERK_FULLTEXT_SHMEM (node 0)      KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              768
    SM Committed                             768
    Pages Allocated                          0
    (6 row(s) affected)
    MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (node 0) KB
    VM Reserved                                    0
    VM Committed                                   0
    Locked Pages Allocated                         0
    SM Reserved                                    0
    SM Committed                                   0
    Pages Allocated                                320
    (6 row(s) affected)
    MEMORYCLERK_FSAGENT (node 0)             KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          24
    (6 row(s) affected)
    MEMORYCLERK_FILETABLE (node 0)           KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          72
    (6 row(s) affected)
    MEMORYCLERK_XE (node 0)                  KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          6368
    (6 row(s) affected)
    MEMORYCLERK_SQLLOGPOOL (node 0)          KB
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8328
    (6 row(s) affected)

  • Interview  Questions. Help me to get the answers

    Hi,
    The interview questions are,
    1) Oracle installation under Unix and WindowsNT? Differences
    2) Difference between UTLXPLP.SQL and UTLXPLS.SQL
    3) If Database size is 1TB can the SGA size be 1024MB
    4) Can we take logical backup? How
    5) If we update a table in a schema or any SQL statements fetching datas from datafiles and user COMMITS after issuing the statement, what happens in background? Steps please
    6) How the datas are fetched from datafiles to DB BufferCache? which process does it?
    I told it is done by Oracle. Is it correct?
    7) In TKPROF Output table it shows some datas like...
    1) select cost 1500
    2) nested loop cost 1500
    hash join cost 5000
    nested loop cost 1000
    nested loop cost 2500
    FULL TABLE SCAN
    From the above output, how to determine which physical reads is very high, and what are the datas showing " cost nnnn" ?
    Thanks in Advance
    Rajkumar.K

    1/ Windows: Hit next, next, next, next, next, next, next (maybe did I forgot 1 or 2 nexts :p )
       Unix: You must use your brain
    2/ UTLXPLP.sql : Parallel
       UTLXPLS.sql : Serial
    3/ Yes. But you're going to have some horrible perf.
    4/ Yes, with export (not recommended backup way). You can event create spool files.
    5/ RTFM. Way to long to type.
    6/ USP does it. How? Find space in DBC.pool, I/O from Disk to memory
    7/ There is no way to determine the physical reads from this output. Don't mind the FTS, all the table data can be in memory (Keep pool for example, or CACHE table). COST is the optimized estimated step weight.
    Rajkumar, you should follow answer from step 5. It's all there.
    Regards,
    Yoann.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Perf: Having 60 instances of almost empty .swf file - in IE 7 - lead to CPU perf problems

    Hello there,
    I have an almost empty swf file (it had controls but in the
    process of debugging we stripped them out) no code. I am playing 60
    instances of it in my web page.
    in IE 7 (and WindowsXP/server) the CPU utilization (open task
    manager) - goes to 20% and STAYS THERE. (which is really bad,
    because the page is idel - nothing is happening and the machine
    perf goes doen)
    Is this a known issue? - Is there anything in the settings I
    can change?
    Cheers
    -Maged

    Hello there,
    I have an almost empty swf file (it had controls but in the
    process of debugging we stripped them out) no code. I am playing 60
    instances of it in my web page.
    in IE 7 (and WindowsXP/server) the CPU utilization (open task
    manager) - goes to 20% and STAYS THERE. (which is really bad,
    because the page is idel - nothing is happening and the machine
    perf goes doen)
    Is this a known issue? - Is there anything in the settings I
    can change?
    Cheers
    -Maged

  • Event ID 2003 The configuration information of the performance library "perf-MSSQLSERVER-sqlctr11.1.3000.0.dll" for the "MSSQLSERVER" service does not match the trusted performance library information stored in the registry.

    I keep getting the above error on all my SQL 2012 deployments (standard and enterprise) on all Windows Server 2012 Standard machines. I have already tried the following commands in administrator mode to resolve without success:
    lodctr /T:perf-MSSQLSERVER-sqlctr11.1.3000.0.dll
    lodctr /T:MSSQLSERVERlodctr /R:perf-MSSQLSERVER-sqlctr11.1.3000.0.dll
    lodctr /R
    Any other suggestions?
    Diane

    Hi,
    Add the service accounts to the local server’s “Performance Monitor Users” group.
    Configure Windows Service Accounts and Permissions
    http://msdn.microsoft.com/en-IN/library/ms143504.aspx#VA_Desc

  • Unity Plugin: fixing your __//TODO: fix perf on this call. for CoordinateMapperView depthBuffer.SetData(depthPoints); by using GetDepthFrameToCameraSpaceTable

    Hey guys! Brian Chasalow here. Checkin in from a brief hiatus here- I've downloaded the latest SDK version and I'm happy to discover its performance is much improved from previous iterations. However in looking at the GreenScreen sample, I did discover the
    following gem that I want to work with you guys to fix:
    CoordinateMapperView:
    //TODO: fix perf on this call.
    depthBuffer.SetData(depthPoints);
    This is slow because you're using MapColorFrameToDepthSpaceUsingIntPtr and passing that giant 1920x1080x2 buffer to a DX11 shader. IIRC, you should instead be able to get the color texture, the depth texture, and the
    GetDepthFrameToCameraSpaceTable buffer, and write a shader that does the color to depth mapping yourself. I'm not trying to project a 3d point cloud in this case- just to improve the basic 2d depth-based-greenscreening effect. You'll only need to pass
    in the buffer once, because it doesn't change. Here's my trouble- I need the code to do the alignment in the shader. Here's my pseudocode, please tell me if what I'm doing is correct. I think the offsetCoords line is a little bit incorrect. Halp!
    //edit: this code is very wrong, see lower below for more sane code-
    float4 color = float4(0, 0, 0, 0);
    float depthAtThisPixelPosition = tex2D(_DepthTex, i.tex.xy).r;
    float2 offsetCoords = depthAtThisPixelPosition * DepthFrameToCameraSpaceTableComputeBuffer[i.tex.xy].xy;
    if(offsetCoords.x > 0 && offsetCoords.x < 1.0 && offsetCoords.y > 0.0 && offsetCoords.y < 1.0){
    color = tex2D(_MainTex, offsetCoords);
    }//edit: this code is very wrong-----------
    return color;
    Much thanks. 

    While that has a lot of useful info, it doesn't use the DepthFrameToCameraSpaceTable at all.
    Let's start with some known-to-be-valid shader code, for projecting vertices in 3d at the proper positions:
    vDepth = texture( uDepth, ciTexCoord0 ).r;
    pos.xy = vDepth * texture( uDepthToCameraSpace, ciTexCoord0 ).rg; //or texelFetch
    pos.z = vDepth;
    This says that
    line 1)in a vertex shader, you can fetch the depth position,
    line 2) adjust the x/y vertex positions to be the depth * the DepthToCameraSpaceTable (or sampled from a texture that contains the same table, as shown above)
    line 3) project the z vertex to the depth as usual
    Now, I want to do something similar in a pixel shader in 2d for the greenscreen effect. Logic would dictate that I would need to adjust the X/Y UV coords instead of the vertex positions. How to get there from the DepthToCameraSpaceTable is what I'm having
    trouble nailing down exactly.
    So, more succinctly: Are the values returned from vDepth*DepthToCameraSpaceTable[i].xy ==  the depth returned from _pCoordinateMapper.MapColorFrameToDepthSpaceUsingIntPtr and pDepthCoordinatesData
    I think the answer is no, because the DepthToCameraSpaceTable iirc is 512x424x2, and pDepthCoordinatesData is 1920x1080x2. Perhaps I need to do something along the lines of : 
    int colorWidth = (int)(i.tex.x * (float)512); //this was 1920 in the original code
    int colorHeight = (int)(i.tex.y * (float)424); //this was 1080 in the original code
    int colorIndex = (int)(colorWidth + colorHeight * (float)512); //this was 1920 in the original code
    float vDepth = _DepthTexture.Sample(SampleType, i.tex).r; //new code
    float2 depthCoordinates = vDepth * DepthToCameraTableBuffer[colorIndex].xy; //new code
    o = float4(0, 1, 0, 1);
    if ((!isinf(depthCoordinates[colorIndex].x) && !isnan(depthCoordinates[colorIndex].x) && depthCoordinates[colorIndex].x != 0) ||
    !isinf(depthCoordinates[colorIndex].y) && !isnan(depthCoordinates[colorIndex].y) && depthCoordinates[colorIndex].y != 0)
    // We have valid depth data coordinates from our coordinate mapper. Find player mask from corresponding depth points.
    float player = bodyIndexBuffer[(int)depthCoordinates[colorIndex].x + (int)(depthCoordinates[colorIndex].y * 512)]; //this was unchanged from the original code
    if (player != 255)
    o = _MainTex.Sample(SampleType, i.tex);
    Hope this was clear.
    Brian

  • Obiee query perf

    Hello All,
    Lately, I am running into problems with obiee perf. I am running a that takes above 6 mins in obiee table view.I ran the same obiee generated sql against underlying database( teradata) and i get the result in less than 2 mins. Itz returing 40k records but i am using a table view and i am not doing any fancy stuff in my tables not even grand totals. its just a bunch of columns querying against a bunch of tables. So i didnt know what else to do improve the obiee query performance.
    If it is taking 6 mins at the db end i ve hell lot of options to improve the query but the query returns result set in 2 mins in teradata. So please advice..
    Thanks
    Prash

    As i mentioned i am not using any CASE statements or if null functions. Itz just a simple query joining bunch of columns with bunch of tables. I am not using any kind of union operator either. wat else can we do??. All it does it returns around 42k records
    Please suggest i am pasting my query here
    select T22682."PS_BUSINESS_UNIT_ID" as c1,
    T22682."PS_ACCOUNT_ID" as c2,
    T32450."PS_BUSINESS_UNIT_ID" as c3,
    T32450."JE_HEADER_ID" as c4,
    T32450."PS_JOURNAL_DT" as c5,
    T32450."JE_LINE_NUM_ID" as c6,
    T32450."JE_LINE_DESC" as c7,
    T32450."PS_ACCOUNT_ID" as c8,
    T32450."BASE_CRNCY_AMT" as c9,
    T32450."PS_DEPT_ID" as c10,
    T32450."JRNL_LNE_STAT_I" as c11,
    T32555."JE_HEADER_DESC" as c12,
    T32555."JE_HEADER_POSTED_DT" as c13
    from
    "D_WWVW101"."GL_JE_LINE_PPI" T32450 /* Dim - Journal Line (GL_JE_LINE) */ ,
    "D_WWVW101"."GL_JE_HEADER" T32555 /* Dim - Journal Header (GL_JE_HEADER) */ ,
    "D_WWVW101"."GL_BALANCES" T22682 /* Fact - GL Balances (GL_BALANCES) */
    where ( T32450."PS_BUSINESS_UNIT_ID" = T32555."PS_BUSINESS_UNIT_ID"
    and T22682."PS_BUSINESS_UNIT_ID" = T32450."PS_BUSINESS_UNIT_ID"
    and T22682."PS_ACCOUNT_ID" = T32450."PS_ACCOUNT_ID"
    and T22682."PS_FISCAL_YEAR_ID" = T32450."PS_FISCAL_YEAR_ID"
    and T22682."PERIOD_ID" = T32450."ACCTG_PERD_NO"
    and T22682."PS_BUSINESS_UNIT_ID" = '00900'
    and T22682."PS_ACCOUNT_ID" = '1641100001'
    and T22682."PS_FISCAL_YEAR_ID" = 2009
    and T22682."PERIOD_ID" = 1
    and T32450."PS_BUSINESS_UNIT_ID" = '00900'
    and T32450."JE_HEADER_ID" = T32555."JE_HEADER_ID"
    and T32450."PS_ACCOUNT_ID" = '1641100001'
    and T32450."PS_FISCAL_YEAR_ID" = 2009
    and T32450."ACCTG_PERD_NO" = 1 )
    ) D1

  • Java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z

    I have recently upgraded from 10.1.3.1 to 10.1.3.3. The application uses form based authentication. The login worked fine in 10.1.3.1 but in the new version I get the following error when submitting the login details:
    500 Internal Server Error
    java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:94)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    I have read various threads with similar errors which suggested copying new versions of adf-faces-impl.jar, jsf-impl.jar and adfshare.jar into the project lib directory. However, I have tried this after JDeveloper started and the project was upgraded and I still get the error. Do I need to make any project or file changes in addition to copying the new libraries ?
    Thanks for any help
    Trevor

    Hi Trevor,
    weird - there is another thread related to this issue:
    Re: BUG 5930745
    Did you use the JDeveloper 10.1.3.1 Production or Preview version (see http://blogs.oracle.com/Didier/2006/10/22#a114)
    Regards,
    Didier.

  • Leopard Performance vs. Tiger perf.

    Hi - I'm running 7.2 on a G5 quad core, currently with tiger. Does anyone have any info about any possible perf. improvement in stability and speed, when running 7.2 in the latest version of Leopard??
    I know some folks running L8 on Leo, saw performance improvements in the later 10.5 releases...
    thanks,

    To be clear, if you're on 7.2.3, & 10.4.11, & are considering upgrading to 10.5.6, you shouldn't have any problems & might even notice some slight improvements.
    Having said that, there's always someone who has problems with an upgrade; but generally speaking, I don't think you'll find changes to performance an issue. I think that's what you wanted to know…

  • Where is perf.zip

    Where can I get the performance test code mention in this doc
    http://www.oracle.com/technetwork/database/berkeleydb/berkeley-db-perf-128909.pdf
    Its not here http://www.oracle.com/technetwork/middleware/ias/perf-129688.zip or here http://www.oracle.com/technology/products/berkeley-db/files/perf.zip
    TIA
    Adrian

    Hello,
    perf.zip, containing the performance code, should now be available at:
    http://www.oracle.com/technetwork/database/berkeleydb/downloads/perf-186166.zip
    Let me know if you have further problems. There have been some issues with updated links lately, so thanks for reporting this.
    Thanks,
    Sandra

  • Checkpoints perf improvment in 4.4 vs 3.2

    Hi,
    Can someone tell me wether there has been any perf improvment done in the checkpoint processing between 4.4 and 3.2 releases.
    If yes, I'm interested in getting some details/pointers onto what has been done.
    If no, are there any plans to do some perf improvments ?
    Regards,
    Jerome

    hello,
    I checked into this further and some additional information
    follows. If there is something in particular that you are
    interested in, let me know.
    In general there have been a variety of checkpoint improvements
    over the years, mostly concentrating on keeping checkpoints from
    impacting normal work processing and in avoiding writing pages
    that don't need to be written to implement transactional guarantees.
    The buffer manager was significantly rewritten in 4.1, which
    included how checkpoints work. The specific change there was to have
    the checkpoint code always complete. In previous releases the
    checkpoint could return DB_INCOMPLETE if the checkpoint thread
    could not get control of a buffer due to high traffic on that
    buffer by other threads.
    After 4.1 the buffer manager used multiple mutexes rather than a
    single mutex, so access to the buffer pool by other threads should
    be greater during a checkpoint than it was previously.
    SR 11031 addressed a problem where a mutex was held in the buffer
    manager while the fsync system call was issued locking out some types
    of accesses to the buffer pool.
    The next release will have additional changes for checkpointing. There
    are improvements in the way dirty buffers are located during a
    checkpoint which can have noticeable improvements with large buffer
    pools with a majority of clean buffers.
    thanks,
    Sandra

  • Errot: oracle.adf.share.perf.StateTracker.isActive()

    With local OC4J Standalone I got no problems but with the Oracle 10 OAS I got this kind of error:
    500 Internal Server Error
    java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:94)
    Do you have an idea ???
    Thanks.

    this problem appears if you compile your application with different version of ADF than ADF on app server. In my case I used JDeveloper 10.1.3.1 Preview to develop and deploy application and AS 10.1.3 wth ADF installed by stand-alone adf installer and this was my problem.
    solution: use JDeveloper ADF runtime installer to install ADF to AS

  • Location of Capture Process and Perf Overhead

    Hi,
    We are just starting to look at Streams technology. I am reading the doc and it implies that the capture process is run on the source database node. I am concerned of the overhead on the OLTP box. I have a few questions I was hoping to get clarification on.
    1. Can I send the redo log to another node/db with data dictionary info and run the capture there? I would like to offload the perf overhead to another box and I thought Logminer could do it, so why not Streams.
    2. If I run the capture process on one node/db can the initial queue I write to be on another node/db or is it implicit to where I run the capture process? I think I know this answer but would like to hear yours.
    3. Is there any performance atomics on the cost of the capture process to an OLTP system? I realize there are many variables but am wondering if I should even be concerned with offloading the capture process.
    Many thanks in advance for your time.
    Regards,
    Tom

    In the current release, Oracle Streams performs all capture activities at the source site. The ability to capture the changes from the redo logs at an alternative site is planned for a future release. Captured changes are stored in an in-memory buffer queue on the local database. Multi-cpu servers with enough available memory should be able to handle the overhead of capture.

Maybe you are looking for

  • Finding Public Folders in Mail App through Exchange

    I am using Outlook on the Windows side and all my Public Folders are there.  Where can I find them in the Mail App in OSX Lion?  I noticed that there are two choices to make a new account in the app.  One is Exchange, and the other is Exchange IMAP. 

  • Adding a new field in delivery schedules page

    Hi, I have a requirement for delivery schedules page of iSupplier Portal module of Oracle eBusiness Suite. I need to add a new field to the results page. However, when I check the "about this page", I see POS_SUPPLIER_INQUIRIES177_POS_PO_EXPECT_RCPTS

  • Variable transport issue

    Hi Friends, I have a variable, and when i try to transport i am getting the following error. But when i see in transport connection it is available in a transport, then how canit be deleted?. Variable ZPHMM_0PROFIT_CTR (4KP0UKBTYWHAKQGLPYL7YTVVC) was

  • PSE7 BACKUP/SYNC AGENT does not work.

    Under the Preferences box , the Backup/Sync Agent does not open. I can't alter or change anything. When I sign in , my sign in and password are both accepted ,however where the Welcome is on top, it used to say Welcome, with my first name. It does no

  • Crash when editing "Other..." CC data in piano roll

    I'm getting a really irritating crash that's happening quite frequently: I'm running Vienna Instruments and playing and editing CC 74 data in the piano roll (CC 74 is used for velocity xfading). About 50% of the time when I do this Logic crashes. Luc