Consider the function result Cache

Hello

Have a question about the function result to cache.

Follow this link: http://www.oracle.com/technetwork/articles/sql/11g-caching-pooling-088320.html

I use the following version of oracle: Oracle Database 11g Express Edition Release 11.2.0.2.0

I'm doing using the feature of function result cache.

Please find the source code used, below:

create or replace function fnresultcahceg (empid employees.employee_id%type)

employees.salary%type result_cache relies_on (employees) is back

l_salary employees.salary%type;

Start

Select the wage in l_salary of employees where employee_id = empid;

DBMS_LOCK. Sleep (1);

Return l_salary;

end fnresultcahceg;

Try to run the function created above with the following:

SQL > select fnresultcahceg (200) double;

FNRESULTCAHCEG (200)

-------------------

4400

Elapsed time: 00:00:01.15

SQL > select fnresultcahceg (201) twice;

FNRESULTCAHCEG (201)

-------------------

13000

Elapsed time: 00:00:01.01

SQL > select fnresultcahceg (200) double;

FNRESULTCAHCEG (200)

-------------------

4400

Elapsed time: 00:00:01.00

SQL > select fnresultcahceg (201) twice;

FNRESULTCAHCEG (201)

-------------------

13000

Elapsed time: 00:00:01.01

SQL > select fnresultcahceg (201) twice;

FNRESULTCAHCEG (201)

-------------------

13000

Elapsed time: 00:00:01.00

SQL > exec dbms_output.put_line (fnresultcahceg (200));

4400

PL/SQL procedure successfully completed.

Elapsed time: 00:00:01.04

SQL > exec dbms_output.put_line (fnresultcahceg (201)).

13000

PL/SQL procedure successfully completed.

Elapsed time: 00:00:01.03

SQL > exec dbms_output.put_line (fnresultcahceg (201)).

13000

PL/SQL procedure successfully completed.

Elapsed time: 00:00:01.01

SQL > exec dbms_output.put_line (fnresultcahceg (201)).

13000

PL/SQL procedure successfully completed.

Elapsed time: 00:00:01.00

SQL > exec dbms_output.put_line (fnresultcahceg (201)).

13000

PL/SQL procedure successfully completed.

Elapsed time: 00:00:01.00

SQL > exec dbms_output.put_line (fnresultcahceg (201)).

13000

PL/SQL procedure successfully completed.

Elapsed time: 00:00:01.01

SQL > spool off;

We could see no improvement in time elapsed execution.

Have a doubt on the am I missed something / do wrong to the result of the setting of the cache settings.

Have you tried with the following result cache settings

ALTER SYSTEM SET result_cache_max_size = 2M RANGE = MΘMOIRE

ALTER SYSTEM SET result_cache_remote_expiration = 2;

ALTER SYSTEM SET result_cache_mode = {MANUAL |} STRENGTH} - two similar agronomic results

The wait was to reduce the execution time after its first execution if the data remains the same.

Please guide me in this regard.

Thanks in advance,

Sandeep.S

> I use the next version of oracle: Oracle Database 11g Express Edition Release 11.2.0.2.0.

PL/SQL function result Cache is only available in Oracle Database Enterprise Edition (EE).

Concerning

Tags: Database

Similar Questions

  • Using the Client result Cache

    Hi all

    I have a question about the use of the result of the client cache but first of all, here is the information on my database:

    SQL> SELECT * FROM v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0    Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    

    I installed the Oracle Client Tools on my clientmachine. There a tnsnames.ora like this:

    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = FEA11-119SRV)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl.local)
        )
      )
    
    

    The result of the Client Cache is configured in the sqlnet.ora.

    ADR_BASE = /u01/app/oracle
    OCI_RESULT_CACHE_MAX_SIZE= 2048000
    OCI_RESULT_CACHE_MAX_RSET_SIZE = 1024000
    NAMES.DIRECTORY_PATH = (EZCONNECT, TNSNAMES, HOSTNAME)
    
    

    The Databaseserver is configured like this:

    
    SQL> col name format a30
    SQL> col value format a30
    SQL> SELECT name, value
      2  FROM   v$system_parameter
      3  WHERE  name LIKE '%result_cache%';
    
    NAME                   VALUE
    ------------------------------ ------------------------------
    result_cache_mode           MANUAL
    result_cache_max_size           0
    result_cache_max_result        5
    result_cache_remote_expiration 0
    client_result_cache_size       1073741824
    client_result_cache_lag        3000
    
    

    After you set up a client's server, I try the SQL query on the clientmachine followign:

    sqlplus oracle/password@orcl
    
    set autotrace traceonly explain
    
    SELECT /*+ result_cache */ *
    FROM testtable;
    

    You cannot enable the customer with SQL result cache * more, no matter what you do with parameters. If you install the CD examples, you will find examples of code in cdemoqc.c and cdemoqc2.c that shows how with the OCI calls.

    You probably want to use the result of the server cache, there is a full demo of this here,

    Using the SQL Oracle 11g result Cache

    --

    John Watson

    Oracle Certified Master s/n

  • CBO bug or not, or else develop do not consider the function index

    SQL> create table test_fun_or as select object_id+sysdate id,object_name from        
    
      2  dba_objects;
    
    Table created.
    
    SQL> create index i_test_fun_or on test_fun_or(id,'a') nologging;   
    
    //I don't know why oracle consider it as function index
    
    Index created.
    
    SQL> create index i_test_fun_or_1 on test_fun_or(object_name) nologging;
    
    Index created.
    
    SQL> set autot trace exp
    
    SQL> exec dbms_stats.gather_table_stats(user,'TEST_FUN_OR',estimate_percent=>null,method_opt=>'for all columns size 1');
    
     
    
    PL/SQL procedure successfully completed.
    
     
    
    SQL> select * from test_fun_or where id=sysdate or object_name='aa';
    
     
    
    Execution Plan
    
    ----------------------------------------------------------
    
    Plan hash value: 3247456674
    
     
    
    ---------------------------------------------------------------------------------
    
    | Id  | Operation         | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
    
    ---------------------------------------------------------------------------------
    
    |   0 | SELECT STATEMENT  |             |     3 |    87 |   219   (3)| 00:00:03 |
    
    |*  1 |  TABLE ACCESS FULL| TEST_FUN_OR |     3 |    87 |   219   (3)| 00:00:03 |
    
    ---------------------------------------------------------------------------------
    
     
    
    Predicate Information (identified by operation id):
    
    ---------------------------------------------------
    
     
    
       1 - filter("OBJECT_NAME"='aa' OR "ID"=SYSDATE@!)
    
     
    
    SQL> select /*+ use_concat */ * from test_fun_or where id=sysdate or object_name='aa'; 
    
    //or expand don't use index i_test_fun_or
    
     
    
    Execution Plan
    
    ----------------------------------------------------------
    
    Plan hash value: 3161566054
    
     
    
    ------------------------------------------------------------------------------------------------
    
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    
    ------------------------------------------------------------------------------------------------
    
    |   0 | SELECT STATEMENT             |                 |     3 |    87 |   224   (3)| 00:00:03 |
    
    |   1 |  CONCATENATION               |                 |       |       |            |          |
    
    |*  2 |   TABLE ACCESS FULL          | TEST_FUN_OR     |     1 |    29 |   219   (3)| 00:00:03 |
    
    |*  3 |   TABLE ACCESS BY INDEX ROWID| TEST_FUN_OR     |     2 |    58 |     5   (0)| 00:00:01 |
    
    |*  4 |    INDEX RANGE SCAN          | I_TEST_FUN_OR_1 |     2 |       |     3   (0)| 00:00:01 |
    
    ------------------------------------------------------------------------------------------------
    
     
    
    Predicate Information (identified by operation id):
    
    ---------------------------------------------------
    
     
    
       2 - filter("ID"=SYSDATE@!)
    
       3 - filter(LNNVL("ID"=SYSDATE@!))
    
       4 - access("OBJECT_NAME"='aa')
    
     
    
    SQL> drop index i_test_fun_or;
    
     
    
    Index dropped.
    
     
    
    SQL> create index i_test_fun_or on test_fun_or(id,object_name) nologging;
    
     
    
    Index created.
    
     
    
    SQL> alter table test_fun_or modify object_name not null;
    
     
    
    Table altered.
    
     
    
    SQL> select /*+ use_concat */ * from test_fun_or where id=sysdate or object_name='aa';
    
     
    
    Execution Plan
    
    ----------------------------------------------------------
    
    Plan hash value: 1705821130
    
     
    
    ------------------------------------------------------------------------------------------------
    
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    
    ------------------------------------------------------------------------------------------------
    
    |   0 | SELECT STATEMENT             |                 |     3 |    87 |     8   (0)| 00:00:01 |
    
    |   1 |  CONCATENATION               |                 |       |       |            |          |
    
    |*  2 |   INDEX RANGE SCAN           | I_TEST_FUN_OR   |     1 |    29 |     3   (0)| 00:00:01 |
    
    |*  3 |   TABLE ACCESS BY INDEX ROWID| TEST_FUN_OR     |     2 |    58 |     5   (0)| 00:00:01 |
    
    |*  4 |    INDEX RANGE SCAN          | I_TEST_FUN_OR_1 |     2 |       |     3   (0)| 00:00:01 |
    
    ------------------------------------------------------------------------------------------------
    
     
    
    Predicate Information (identified by operation id):
    
    ---------------------------------------------------
    
        2 - access("ID"=SYSDATE@!)
    
       3 - filter(LNNVL("ID"=SYSDATE@!))
    
       4 - access("OBJECT_NAME"='aa')

    Jinyu wrote:
    Thanks Jonathan, I don't have 11.2.0.2 on-site, I'll test it later, I just test it on 11.2.0.1

    If you see the notes of fixed a bug fixes for 11.2.0.2 Group (Doc ID:1179583.1) it's bug 8352378 "allow index GOLD-Expansion functions.

    Concerning
    Jonathan Lewis

  • The query results cached?

    Hi guys,.

    I have this page that calls the same query (on a database link!) four times! First when an initial LOV is generated (and the page loads), again for an another LOV based on the original and finally for the generated report based on the 2 selections. It's insanely slow (30-40 seconds on each load ~) and also: when you try to sort a report interactive by clicking on the column name, and then queries the database again (I assumed that this part has been cached but apparently not). I so need to caching the results of an initial request and then just limit the results locally. How can I do this? Guides? Examples?

    Thanks for help.

    Mike

    I tried this example based on a view:

    CREATE MATERIALIZED VIEW MV_TEST2
         REFRESH COMPLETE
         START WITH SYSDATE
         NEXT  SYSDATE + 1/48
         WITH ROWID
         AS SELECT * FROM test1;
    

    DISCOUNT COMPLETE - The complete refresh recreates together materialized view.
    START WITH SYSDATE - run now
    NEXT SYSDATE + 1/48 - run again in half an hour
    WITH ROWID - I think that this option is important if you are using a partial refresh of the view.
    AS SELECT * FROM test1; -test1 is a point of view:

    CREATE OR REPLACE VIEW TEST1 AS
    SELECT st_id, st_name
        FROM aaw_solution_tree;
    

    Index of the column are still possible? I do not know:
    Indexing:! in regards to the MV about 10 gr 2 Jonathan Lewis wrote. ... you are allowed to create indexes on tables that sit under materialized views - just don't make them unique indexes

    How much freedom is there to set the refresh rate?
    What kind of discount do you need?

    Another useful link: [http://asktom.oracle.com/pls/ask/search?p_string=materialized+view | http://asktom.oracle.com/pls/ask/search?p_string=materialized+view]

    It will be useful.

    Tobias

  • Why my email is considered the functioning

    All of a sudden I can't send or receive e-mail

    Hi ALAN,

    ·         Did you the latest changes on the computer before this problem?

    ·         Which email client you are using?

    ·         Which operates the system installed?

    If you have windows mail installed, you can follow this link and check if it helps.

    Solve problems with Windows Mail

    If you use Windows Live Mail, I recommend you to ask your question to the Windows Live Mail support for assistance.

    Hope the helps of information.

  • Using the ODP client result cache still shows it as running on AWR, is the work of cache?

    Hello

    I use the Oracle 12 manged customer ODP.net connected to a database of GR 11, 2. I recently went on the cache of results with great effectiveness.

    So, I thought I would try the result to the client cache. I have the setting turned on and restarted my db, but my questions always appear in the graphs of Enterprise manager and the AWR report. I would have thought if the query has been cached on the client, that it does not show.

    How will I know if it works or not?

    Thanks in advance.

    Adrian.

    Re-reading the original question, I missed the fact that you use managed ODP.NET. The client result cache does not support managed ODP.NET. Only unmanaged ODP.NET is because it uses the capacity, within the OIC, that uses the unmanaged code.

    I apologize for the misunderstanding.

  • Oracle result Cache problem

    Hello

    In our database, we have the following settings for caching the result:

    result_cache_max_result integer 5

    result_cache_max_size great whole 256256 K

    result_cache_mode chain MANUAL

    result_cache_remote_expiration integer 0

    But we use indicators no results hidden in questions, or tables that are enabled for result caching.

    So from my understanding, caching the result should not happen.

    But we met a performance problem, and when I checked the AWR report I found this:

    latchfree.PNG

    And also I found this activity latch:

    rclatch.PNG

    However, just set result_cache_max_size = 0 fixed to all our questions. Wait no more. Performance as expected.

    But how is that possible? I thought with result_cache_mode = manual and not using indicators of result cache or table modes,.

    There should be no result at all caching? Any max_size choose?

    Can someone help me understand what is happening here?

    Thank you and greet.

    Daniel

    tylerv wrote:

    The original poster was not to the point and they actually understand the docs.

    Sorry - I'm not okay. As I went to the docs are very EXPLICIT about how to disable the cache of result. If you turn it off, then it is enabled.

    The fact that they have tried to do is that when result_cache_mode is set to the default value of the MANUAL, because they showed, it is, while according to the docs 12 c only the results of queries that use the RESULT_CACHE indicator must be stored in the cache of result

    Maybe that's where you and OP have misunderstanding. on the RESULT_CACHE_MODE parameter and the parameter values. This seems to be a common misunderstanding.perhaps, because people are not read ALL the relevant articles of the RFSO and only looking at the section for this parameter.

    There is NOTHING in the doc of 12 c for this parameter that shows ANY correlation to determine whether the cache is enabled or not.

    Refer to the section "Setting the Mode of the result Cache"

    https://docs.Oracle.com/database/121/TGDBA/tune_result_cache.htm#CDEJCGJD

    As shown in table 15-3 there are ONLY two settings: MANUAL and FORCE. No adjustment said ANYTHING on toggle or if the cache is ENABLED or DISABLED.

    ... and they were not aware of all the queries that they had used this trick on.  When you're ready to values by default and don't use don't not result_cache indicator (as much), it's odd to find the cache of your result are so full.

    OK - the USER does not use the indicator result-cache to cache the results of the queries USERS. But if the cache is enabled (size not equal to zero) that according to the quote from the doc above has NO effect on the use of Oracle to cache for queries or non-deterministic function calls.

    I think a lot of people may be jumping on the server I mentioned first that article explicitly states that you must set the size to zero to disable hide and seek only to the section on setting the parameters.

    And that the "setting mode" section is confusing as it includes a paragraph that uses the expression "If you choose to activate the result cache.

    That subsection and the r-phrase likely cause people to think that the setting and the off/on State of the cache are one and the same.

    When the result cache is enabled, the database also highlights cache queries that call non-deterministic functions of PL/SQL. When caching SELECT statements that call functions, result cache dependencies of data for PL/SQL functions and titles of database objects. However, if the function uses the data that are not followed (such as sequences, SYSDATE , SYS_CONTEXT and package variables), uses the cache of result on queries that call this function can produce stale results. In this regard, the behavior of the cache of result is identical to the caching of PL/SQL functions. So always consider the accuracy of the data, as well as performance, if you choose to activate the result cache.

    But if all associated sections are interpreted in their context, it should clear up the misunderstanding.

    If you have a support contract, you can submit a request to have the documentation changed to update mode setting (table 15-3) article to explicitly declare the parameter mode does NOT determine if the cache is enabled or not.

    .

  • Query result cache

    Today I test the query result cache, but the result is not as I expected. Please give a few advices.thank you in advance.

    SQL > create table (qrc_tab)

    Number 2);

    Table created.

    SQL > insert into qrc_tab values (1);

    1 line of creation.

    SQL > insert into qrc_tab values (2);

    1 line of creation.

    SQL > insert into qrc_tab values (3);

    1 line of creation.

    SQL > insert into qrc_tab 4;

    1 line of creation.

    SQL > insert into qrc_tab values (5);

    1 line of creation.

    SQL > create or replace function slow_function (p_id in qrc_tab.id%TYPE)

    2 back qrc_tab.id%TYPE DETERMINISTIC AS

    3 BEGIN

    4 DBMS_LOCK.sleep (1);

    5 return p_id;

    6 end;

    7.

    The function is created.

    SQL > set timing on

    SQL > select slow_function (id) in the qrc_tab;

    SLOW_FUNCTION (ID)

    -----------------

    1

    2

    3

    4

    5

    Elapsed time: 00:00:05.01

    SQL > select / * + result_cache * / slow_function (id) of qrc_tab;

    SLOW_FUNCTION (ID)

    -----------------

    1

    2

    3

    4

    5

    Elapsed time: 00:00:05.00

    SQL > select / * + result_cache * / slow_function (id) of qrc_tab;

    SLOW_FUNCTION (ID)

    -----------------

    1

    2

    3

    4

    5

    Elapsed time: 00:00:05.00

    SQL > select / * + result_cache * / slow_function (id) of qrc_tab;

    SLOW_FUNCTION (ID)

    -----------------

    1

    2

    3

    4

    5

    Elapsed time: 00:00:05.00

    I wonder why time is not fast? Help, please

    create or replace function slow_function (p_id in qrc_tab.id%TYPE)

    return qrc_tab.id%TYPE result_cache DETERMINISTIC AS

    Start

    DBMS_LOCK. Sleep (1);

    return p_id;

    end;

    /

    --

    John Watson

    Oracle Certified Master s/n

  • Result Cache in oracle 11g release 2.0.2.0

    All,

    A few months ago I tried function result Cache 11 g version 2.0.1.0. The oracle of time mentioned that they have 3 ways to use this feature by setting the parameter result_cache_mode AUTOMATIC, MANUAL or FORCE. With AUTO (result_cache_mode = AUTO) mode you can identify the queries that can benefit from the cache of the result. I would like to know what views or function I see where he captures this information.
    In 11.2.0.1.0 documentation he was making reference to certain points of view (totally forgot the names of views) and said: those that will be available in 11.2.0.2.0.

    Did anyone know about this?

    Thanks in advance.

    user2486753 wrote:
    Although doc oracle didn't tell on AUTO it is still accepts this value and caches the result of the SQL query if you add / * + cache result * / allusion to the SQL.
    I know that they mentioned in 112010 somewhere that will help users find what SQL is good candidates for caching by running the app for a while. I couldn't just fine there.

    If we add AUTO and always passing the tip, this is the same behavior as MANUAL. I'm not sure I've seen the value of anywhere and neither its there in the docs too.

    HTH
    Aman...

  • The function parameters from a non sequential fashon

    Consider the function below:

    personalfunction (String Name, int age, City: String): void
    {
    trace (name + "is" + age + "years old and lives in" + City + ".")
    }

    The settings can only (?) be passed in the order they are declared in the function, as shown below.

    personal ('John', 40, "London", 0)

    If the order is changed like: personal("London" ", John", 40), there will obviously be a type error (position 2 parameter is an integer).

    Is it possible to pass parameters to the function as: personal(city = 'London', name = John", age = 40)?

    In this way, we don't have to worry about 'order' in which parameters are passed.

    You can use:

    obj instanceof. Age number

    obj. Name instanceof String

  • TimesTen and Oracle 11 g result cache

    Oracle 11g introduces the concept of cache the result whereby the result set of frequently executed queries are stored in the cache and used later when other users ask the same query. This is different from the caching of the data blocks and exceuting the query over and over again.

    Tom Kyte calls this materialized view just-in-time, in which case the results are dynamically evaluated without DBA intervention

    http://www.Oracle.com/technology/oramag/Oracle/07-Sep/o57asktom.html

    My point is that, given utilities like result_cache and possibility to use Solid State Disks in Oracle to accelerate physics I/O etc. is necessary for a product like TimesTen? It seems to me he could asdd just another layer of complexity?

    Oracle cache there result a useful tool, but it is significantly different from TimesTen. My understanding of the Oracle result cache is caching the results for rarely changing data such as search (currencies/identification code) tables, data reference that do not change often (list of counterparties) etc. It would be pointless to cache the result set when the data changes frequently.

    There is also another argument for the cache of SQL result that if you hit high on your CPU usage and that you have enough memory, then you can cache some defined thus results save on your cycles CPU.

    In view of the arguments on the wired RDBMS and drives (SSD), we can talk all day, but with SSDS does not eliminate the consideration for physical i/o optimizer. A table scan is a table scan if the data resides on disk SCSI or SSD. SSD will be faster, but we are still running physical IOs.

    What about TimesTen, the positioning of the product is different. TimesTen is closer to average than Oracle. It is designed to work closely at the application layer, while Oracle aims much more wide. There is no way one can replace TimesTen with any RDBMS wired for volumes of moderate and real-time response. Demand for the result cache has been around for a while. In areas like trading program and data on the market when the underlying data changes quickly, TimesTen will come handy, because time real/provisional data and calculations must be made almost in real time, with fewer complications of the execution engine. I don't see how we can deploy the result cache in this scenario. Due to underlying data change, Oracle is obliged to calculate queries almost everytime and the cache of result will be just wasted.

    Hope this helps,

    Mich

  • Update statement can be used depending on the result cache?

    Hi all

    I stumbled on an interesting question. UPDATE statement is used in the following function, even if the feature is created RESULT_CACHE. It seems illogical. I was wondering, is it possible?

    If so, why RESULT_CACHE is used?  Because it means "do not execute the function, look for the result of the hash table and return the results to the user ' if the UPDATE statement, so doesn't mean it should run for each call and use with RESULT_CACHE and UPDATE/DELETE/MERGE is illogical or wrong?

    Thanks for your help.

    FUNCTION to CREATE or REPLACE plch_get_data (FULL id_in)

    RETURN VARCHAR2

    RESULT_CACHE

    IS

    BEGIN

    Dbms_output.put_line ('run');

    UPDATE plch_data

    SET nm = UPPER (nm)

    WHERE id = id_in;

    COMMIT;

    RETURN "SUPERIOR."

    END;

    /

    Yes, it's the challenge of PL/SQL quiz - and the point of the quiz is only automatic relies on parsing by Oracle only supports arrays of account that is QUESTIONED.

    The tables that are affected by DML not a query as an update do not figure in automatic invalidation of a cache.

    I was hoping that the explanations given in the questionnaire itself would not lead to a thread - rather it would provide a pleasant and clear answer. So feel free to let me know if you think otherwise.

    As to why Oracle would let you include DML not a query inside a function of caching of result, well... I can easily accept that you shouldn't do this - in general. But I don't see that we should make it impossible. It would probably be a good candidate for an another PLW (PL/SQL warning), as in:

    "Non-requetes DML in a result caching function will not affect caching and can result in unexpected results."

  • When I use the function "cut", the line of results more sharpness compared to the original files. For example, {A: "file.psd"-> cultures 4x6inch, 300 dpi-> B: "cropped file.psd} then the results are as described as a first step. What s the problem.

    When I use the function "cut", the line of results more sharpness compared to the original files. For example, {A: "file.psd"-> cultures 4x6inch, 300 dpi-> B: "cropped file.psd} then the results are as described as a first step. What s the problem. (Photoshop CC, windows7)

    I'm a Retoucher of photpfile have used the CS2 version for many years, and fuction 'Harvest' is an important and frequent tree tools myself. The result of the broke lines drive me annoying cause my feeling touch Sofete are all blown away. Please help me.

    I think you're talking about using the crop tool? If you're cropping with a size and resolution that involves interpolation of the image, the crop tool will use your preference for the Interpolation of the Image. By default, bicubic is automatic, which can easily result in a sharp file. Change your preference (in general) to bicubic and you shouldn't see any sharpening.

    I hope it works for your situation.

  • Where is the result of the following query caching?

    I run the following query statement:
    select * from hr.employees
    Where is the result of the following query caching? Is cached in the PGA? What area of PGA?

    By definition is not "cache". The blocks of data that are read to retrieve the results of the query are retrieved in the cache (DB_CACHE_SIZE or DB_BLOCK_BUFFERS component BMG) buffers so that they are accessible on several occasions by the same users or other users. However, because the buffer cache is limited in size, buffers are released when new blocks to be read. Buffers for a full table scan (as it would be for such a request) are released very probably earlier.

    Please read the Oracle database documentation, starting with the Concepts manual for the version you are using. Starting at http://tahiti.oracle.com

    Hemant K Collette

  • JavaScript - results of the function to return to a field

    Hello!

    (Again), I'm trying to understand how to work with a JavaScript function in LiveCycle Designer - without success.

    I've got this textfield and a body of numbers calculated.

    I use the textfield object calculate event to call a function and removes a returned value.

    Thus, the name of textfield is full and the calculate event code is as follows:

    Form1. #subform [0]. extenso::calculate - (JavaScript, client)
    this.rawValue = utils.porExtenso (total.rawValue);

    It is the porExtensofunction:

    Form1. #variables [0] .utils - (JavaScript, client)
    function porExtenso (c)
    {
    Return c.rawValue;
    }

    I have alreadty tested the variable c and value is received correctly inside the function, but it is not back to the field.

    Please, what am I doing wrong?

    Thanks for the tips!

    Marcos

    You would not c.rawValue because the rawValue method applies to xfa objects. c is the javascript variable that contains the value passed so you would simply use c back

    Paul

Maybe you are looking for

  • When I click on "Copy picture", when I use the dough, it's to show the image URL

    Hello I'm having a problem about the exemplary Image resource. I need to copy and paste a lot of images to work. I click on an image, holding control and then press "copy picture". But when I paste, it shows the URL of the image and not the image. I

  • Auto update not working only not xp

    I can not get an automatic update to activate in Windows XP.  Downstairs, I loaded and installed all the avaible at microsoft service date updates. I tried to restart and not luck. Help!

  • password lock screen

    I hope someone can help me, I was playing around on my phone and put a lock on my phone screen model I normally do not have a password or a pattern just unlocked after about half an hour of using my phone with this model So I went to turn off the mod

  • Update BIOS. Now fan doesn't seem to work correctly...

    I have a HP DV6226US and I have recently updated the BIOS to version F.2D (from what I remember F.14 and this BIOS version f.14 is not listed in the previous versions in the download section). I am running vista 32 os. F.2d is the version which is gi

  • The event - the print spooler log error could not load a plug-in module

    Using a HP Officejet 6500 a Plus e-All-in-One - E710n p6 - 2036c HP with Windows 7 sp1 64 bit operating system desktop.  I get the following error: Log name: Microsoft-Windows-PrintService/Admin Source: Microsoft-Windows-PrintService Date: 27/09/2012