cardinality better for predicate is null

I'm using Oracle 11.2.0.3.   I have a request similar to that below. It is estimated that the cardinality is 3 times out of the real.  I tried to create extended statistics, but it's not helping.

Extended statistics cannot be used on columns of handling sucks?

Is it possible to improve the cardinality for this case.

I created random data in tmp.

col1 can take the values 1 and 2.

Col 2 can take the values 1 and 2.

COL3 is date and it's null especially when col1 = 1 and col2 = 1

I want to get the good estimation of query (select * from tmp where col1 = 1 and col2 = 1 and col3 is null)


drop table tmp;

create table tmp ( col1 number, col2 number, col3 date);

insert  into tmp
select 1 ,1 ,sysdate from dual
union all
select 1, 2, sysdate  from dual
union all
select 1 ,1 ,NUll  from dual
union all
select 1, 1, NULL  from dual
union all
select 1, 1, sysdate  from dual
union all
select 2, 2, sysdate  from dual
union all
select 1, 1, NULL  from dual

exec DBMS_STATS.GATHER_TABLE_STATS( user, 'TMP' , method_opt => 'FOR ALL COLUMNS ');

select  count(*) from tmp where col1=1 and col2 =1 and col3 is null ; 
-- gives 3 estimate is only 1

Plan hash value: 3231217655
----------------------------------------------------------------------------
| Id  | Operation          | Name | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
----------------------------------------------------------------------------
|   0 | SELECT STATEMENT   |      |        |       |     4 (100)|          |
|   1 |  SORT AGGREGATE    |      |      1 |    11 |            |          |
|*  2 |   TABLE ACCESS FULL| TMP  |      1 |    11 |     4   (0)| 00:00:01 |
----------------------------------------------------------------------------


select dbms_stats.CREATE_EXTENDED_STATS ( user, 'TMP','(col1,col2,col3)') from dual;


exec DBMS_STATS.GATHER_TABLE_STATS(user, 'TMP', method_opt => 'for columns (col1,col2,col3) ' , degree=> 16 , estimate_percent => null);


select  count(*) from tmp where col1=1 and col2 =1 and col3 is null;
-- gives 3 estimate is only 1

I have just published a modified version of your example with few details of support for how the column group seems to be ignored if one of the underlying columns has a predicate "sucks": https://jonathanlewis.wordpress.com/2015/11/05/column-groups/

Concerning

Jonathan Lewis

Tags: Database

Similar Questions

  • I am interested in pre-BETA for IOS

    I am interested in pre-beta for IOS under development for IPAD2 IOS.

    Hi, you might see a firefox version for ios in a not so distant future when even.
    Firefox is available for iPhone or iPad in my language?

  • New drivers for Qosmio X 870 and drivers BETA for Windows 8 available

    Hello

    Suite
    my previous Strip rolling and look in my endless Toshiba drivers I
    discovered that the Toshiba support site we posted divers for Qosmio X 870.

    Also rejoice
    There are drivers (in beta) for Windows 8 in 32 and 64 bit flavors. And
    not only for the X 870 and some applications of Toshiba, so just check it out.

    Link to the USA
    X 870 download page - click HERE

    Concerning

    : ^ 0

    Thanks for the link.

  • Laptop which is better for me?

    Hello!

    Eather im going to buy,

    HP Pavilion Gaming 15-ak005no Processorfamily processor Intel® Core™ i5 processor processor Intel® Core™ i5-6300HQ med Intel® HD Graphics 530 (2.3 GHz, up to 3.2 GHz, 6 MB cache, 4 karnor upp)

    or

     

    HP Pavilion Processorfamily AMD Quad-Core processor 15-ab102no a-series-processor processor AMD A10 - 8700 APU med fyra karnor och Radeon R6-grafik (1.8 GHz, 2 MB cache)

    Im going to use the computer for games and edit video in sony vegas, they have different processors and im wondering what is best for me? It is also important that I can use it as long as possible.

    Thank you!

    Generally, I prefer Intel based computers, but in this case based on the specifications you cite, the AMD model has better video and would be better for the games.

    I'm not even to try to predict the service life of each model, because it depends of so many variables. Laptops now becomes obsolete in 3-5 years anyway even if they could last longer.

    But I'm not watching the real for the 15-ak005no specifications and it shows no graphics Intel 530 but the nVidia GeForce GTX 950 M, which would average model better than the video of R7 in AMD so if that is correct, you should get the Intel model no question even if it is more expensive. The model of switchable Intel likely a graphic processor, which means that there so the 530 Intel and nVidia.

  • which operating system would you recommend better for hp laptop 14-D008AU? Window7 32/64-bit or windows 8 32/64 bit

    which operating system would you recommend better for hp laptop 14-D008AU? Window7 32/64-bit or windows 8 32/64 bit

    and what is the defferent from 32-bit and 64-bit

    Hello

    Please see this thread:
    http://h30434.www3.HP.com/T5/notebook-operating-systems-and-software/what-OS-support-HP-notebook-14-D008AU/m-p/4326752

    Kind regards

  • Makes 32-bit is better for the battery backup?

    Original title: I got windows 7 32-bit professional to give above 4 hrs battery backup. And now I have installed the 64-bit but backup is about 3 hours. Makes 32-bit is better for the battery backup?

    Don't really know why it happened then... Should I switch to 32 bit? What is the best?

    There should be no significant difference in energy between 32-bit and 64-bit, you will need to check your settings of power and performance.

    As for which is better, it depends on two basic points. 1 do you really use all that needs or benefits of 64 bit, not a lot of programs don't. Second, how much memory is installed. 32 bit is limited to 4 GB native but about 3.2 GB of technical limit. However, 64-bit requires more memory base so in fact will help only if you have more than 4 GB

  • new profiles of beta for D810

    Adobe indicates the folder to install the new beta for Nikon D810 on Windows profiles is "name of C:\Users\[user] \AppData\Roaming\Adobe\CameraRaw\CameraProfiles.»

    But I can't get to the extent of the C:\Users\[user name] Change Data - i.e. no folder called Roaming.

    Solution?

    You have activated the visualization of all the files that are hidden in Windows?

  • HP Pavilion DV7 battery 4400mAh, 6600mAh, 8800mAh, this title is better for my computer hp laptop?

    HP Pavilion DV7 battery 4400mAh, 6600mAh, 8800mAh, this title is better for my computer hp laptop?

    • hp pavilion dv7 battery
    • HP Pavilion DV7 battery

    • 30 days refund! 1 year warranty!
    • Product name: HP Pavilion DV7 battery
      HP Pavilion DV7 battery is specially designed for the 6-12 cells HP Pavilion DV7 original battery. These high quality replacement batteries are designed to meet or exceed original specifications ensuring the best performance and service life. The quality of this HP/Compaq laptop battery is high quality and certified by CE and RoHS. You can reassure to buy it!
    • Capacity: 8800mAh
    • Voltage:10.8V
    • Cell type: Li - ion
    • Color: Black
    • Weight:531 g
    • Dimensions:205 * 53 * 38 mm
    • Price: £ 54,57
    • Your basket:


    HP Pavilion DV7 battery is specially designed for the 6-12 cells HP Pavilion DV7 original battery. These high quality replacement batteries are designed to meet or exceed original specifications ensuring the best performance and service life. The quality of this HP/Compaq laptop battery is high quality and certified by CE and RoHS. You can reassure to buy it!
  • Capacity: 6600mAh
  • Voltage:10.8V
  • Cell type: Li - ion
  • Color: Black
  • Weight:450 g
  • Dimensions:205 * 53 * 38 mm
  • Price: £ 48.57
  • Your basket:
    • hp pavilion dv7 battery
    • HP Pavilion DV7 battery

    • 30 days refund! 1 year warranty!
    • Product name: HP Pavilion DV7 battery
      HP Pavilion DV7 battery is specially designed for the 6-12 cells HP Pavilion DV7 original battery. These high quality replacement batteries are designed to meet or exceed original specifications ensuring the best performance and service life. The quality of this HP/Compaq laptop battery is high quality and certified by CE and RoHS. You can reassure to buy it!
    • Capacity: 4400mAh
    • Voltage:10.8V
    • Cell type: Li - ion
    • Color: Black
    • Weight:361 g
    • Dimensions:205 * 53 * 38 mm
    • Price: £ 34,57

    The largest, 8800mAh.

  • What persistence tool is better for the purposes of consistency?

    What persistence tool is better for the purposes of consistency? TopLink and Hibernate?

    What are the advantage and disadvantage of using?

    Thank you

    TopLink Essentials, as a product of JBoss Hibernate is a framework of persistence object / relational open-source or layer is used in Java applications. While both products strives to offer a non-intrusive, highly flexible and powerful solution there are a of the key differences.

    * TopLink Essentials, derived from Oracle TopLink has been in production Java applications scale for large scale deployments and transaction volumes for more than a decade. This reliability in conjunction with a set of features has evolved through close partnerships with customers led to it a excellent performance and scaling of the solution of persistence as offering rich flexibility to configure mappings and customize the runtime behavior in support of a wide variety of database and application deployments. Customers with a certain degree of complexity in the domain model or the relationship patterns, especially where change the schema is not an option, will benefit from the flexibility and the character experienced TopLink.
    * TopLink caching solution is based on caching the entity mapped instead of breaking down the data in raw art works. This storage in the format required by the application provides huge benefits in most usage scenarios. In addition, the TopLink cache is very flexible in its configuration and its control by entity type.
    TopLink society is open to a friendly match with the forums without restrictions served by experienced and personal management development who has been with the product throughout its existence. Offers support services and Oracle TopLink to backup are qualified and offer global coverage.
    As the the TopLink JPA reference implementation provides the first implementation certified to this new standard. In addition to providing some useful value-added functionality. Moving forward this project open source will continue to innovate on the basis of contributions from Oracle, Sun and others.
    Help of TopLink Essentials will provide you with a rich ORM solution based on JPA standard. It will allow you also to seamlessly switch to offering of Oracle TopLink and benefit from many advanced ORM features.

  • use OPT_ESTIMATE or CARDINALITY tip for correct estimation of nested loops

    I'm using Oracle 11.2.0.3.  Below the execution below plan, how can I use tip OPT_ESTIMATE or CARDINALITY to teach optimization E-lines for ID 9 (Nested Loop) 30553 instead of 6.

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                                   | Name                        | Starts | E-Rows |E-Bytes| Cost (%CPU)| E-Time   | A-Rows |   A-Time   | Buffers |  OMem |  1Mem | Used-Mem |
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                            |                             |      1 |        |       |  4604 (100)|          |  30553 |00:00:02.56 |     208K|       |       |          |
    |   1 |  SORT ORDER BY                              |                             |      1 |      6 |  7044 |  4604   (1)| 00:01:05 |  30553 |00:00:02.56 |     208K|    41M|  2086K|   36M (0)|
    |*  2 |   HASH JOIN OUTER                           |                             |      1 |      6 |  7044 |  4603   (1)| 00:01:05 |  30553 |00:00:02.10 |     208K|    38M|  3120K|   39M (0)|
    |*  3 |    HASH JOIN OUTER                          |                             |      1 |      6 |  6870 |  4599   (1)| 00:01:05 |  30553 |00:00:01.97 |     208K|    38M|  3120K|   39M (0)|
    |*  4 |     HASH JOIN OUTER                         |                             |      1 |      6 |  6744 |  4591   (1)| 00:01:05 |  30553 |00:00:01.85 |     208K|    37M|  3121K|   39M (0)|
    |*  5 |      HASH JOIN OUTER                        |                             |      1 |      6 |  6570 |  4584   (1)| 00:01:05 |  30553 |00:00:01.74 |     208K|    37M|  3121K|   38M (0)|
    |*  6 |       HASH JOIN OUTER                       |                             |      1 |      6 |  6414 |  4576   (1)| 00:01:05 |  30553 |00:00:01.60 |     208K|    37M|  3121K|   38M (0)|
    |   7 |        NESTED LOOPS                         |                             |      1 |        |       |            |          |  30553 |00:00:01.44 |     208K|       |       |          |
    |   8 |         NESTED LOOPS                        |                             |      1 |      6 |  6318 |  4572   (1)| 00:01:05 |  30553 |00:00:01.31 |     182K|       |       |          |
    |   9 |          NESTED LOOPS                       |                             |      1 |      6 |  1830 |  4568   (1)| 00:01:04 |  30553 |00:00:01.11 |     124K|       |       |          |
    |* 10 |           HASH JOIN                         |                             |      1 |   2069 |   270K|  2499   (1)| 00:00:35 |  30646 |00:00:00.46 |   23738 |  6539K|  2033K| 7965K (0)|
    |* 11 |            TABLE ACCESS BY INDEX ROWID      | DSCLR                       |      1 |   5079 |   158K|   533   (1)| 00:00:08 |  91395 |00:00:00.28 |    6460 |       |       |          |
    |  12 |             BITMAP CONVERSION TO ROWIDS     |                             |      1 |        |       |            |          |    197K|00:00:00.16 |     615 |       |       |          |
    |  13 |              BITMAP AND                     |                             |      1 |        |       |            |          |      4 |00:00:00.14 |     615 |       |       |          |
    |  14 |               BITMAP OR                     |                             |      1 |        |       |            |          |      4 |00:00:00.07 |     276 |       |       |          |
    |  15 |                BITMAP CONVERSION FROM ROWIDS|                             |      1 |        |       |            |          |      2 |00:00:00.02 |      69 |       |       |          |
    |* 16 |                 INDEX RANGE SCAN            | XIF913DSCLR                 |      1 |    274K|       |    14   (0)| 00:00:01 |  68407 |00:00:00.01 |      69 |       |       |          |
    |  17 |                BITMAP CONVERSION FROM ROWIDS|                             |      1 |        |       |            |          |      4 |00:00:00.05 |     207 |       |       |          |
    |* 18 |                 INDEX RANGE SCAN            | XIF913DSCLR                 |      1 |    274K|       |    42   (0)| 00:00:01 |    209K|00:00:00.03 |     207 |       |       |          |
    |  19 |               BITMAP CONVERSION FROM ROWIDS |                             |      1 |        |       |            |          |      5 |00:00:00.06 |     339 |       |       |          |
    |* 20 |                INDEX RANGE SCAN             | XIF910DSCLR                 |      1 |    274K|       |    67   (0)| 00:00:01 |    239K|00:00:00.04 |     339 |       |       |          |
    |  21 |            NESTED LOOPS                     |                             |      1 |        |       |            |          |  21749 |00:00:00.10 |   17278 |       |       |          |
    |  22 |             NESTED LOOPS                    |                             |      1 |   3404 |   339K|  1965   (1)| 00:00:28 |  22772 |00:00:00.03 |    1246 |       |       |          |
    |  23 |              TABLE ACCESS FULL              | TMP_RPT_BD_STATE_DATA_DWNLD |      1 |   3255 |   257K|    11   (0)| 00:00:01 |   3255 |00:00:00.01 |      27 |       |       |          |
    |* 24 |              INDEX RANGE SCAN               | XIE2OCRN                    |   3255 |      7 |       |     1   (0)| 00:00:01 |  22772 |00:00:00.03 |    1219 |       |       |          |
    |* 25 |             TABLE ACCESS BY INDEX ROWID     | OCRN                        |  22772 |      1 |    21 |     1   (0)| 00:00:01 |  21749 |00:00:00.06 |   16032 |       |       |          |
    |* 26 |           VIEW PUSHED PREDICATE             |                             |  30646 |      1 |   171 |     1   (0)| 00:00:01 |  30553 |00:00:00.63 |     101K|       |       |          |
    |  27 |            WINDOW BUFFER                    |                             |  30646 |      1 |    21 |     1   (0)| 00:00:01 |  46946 |00:00:00.59 |     101K|  2048 |  2048 | 2048  (0)|
    |* 28 |             TABLE ACCESS BY INDEX ROWID     | DSCLR_FLNG                  |  30646 |      1 |    21 |     1   (0)| 00:00:01 |  46946 |00:00:00.32 |     101K|       |       |          |
    |* 29 |              INDEX RANGE SCAN               | XIE1DSCLR_FLNG              |  30646 |      2 |       |     1   (0)| 00:00:01 |  46946 |00:00:00.21 |   59862 |       |       |          |
    |* 30 |          INDEX RANGE SCAN                   | XPKH760_RGLTY_ACTN_DSCLR    |  30553 |      1 |       |     1   (0)| 00:00:01 |  30553 |00:00:00.18 |   57541 |       |       |          |
    |  31 |         TABLE ACCESS BY INDEX ROWID         | H760_RGLTY_ACTN_DSCLR       |  30553 |      1 |   748 |     1   (0)| 00:00:01 |  30553 |00:00:00.11 |   26218 |       |       |          |
    |  32 |        TABLE ACCESS FULL                    | DSCLR_ST_TYPE_TBL           |      1 |      4 |    64 |     4   (0)| 00:00:01 |      4 |00:00:00.01 |       5 |       |       |          |
    |  33 |       TABLE ACCESS FULL                     | RGLTY_RSLTN_TYPE_TBL        |      1 |     12 |   312 |     7   (0)| 00:00:01 |     12 |00:00:00.01 |      10 |       |       |          |
    |  34 |      TABLE ACCESS FULL                      | INTTR_TYPE_TBL              |      1 |     14 |   406 |     7   (0)| 00:00:01 |     14 |00:00:00.01 |      10 |       |       |          |
    |  35 |     TABLE ACCESS FULL                       | SNCTN_TYPE_TBL              |      1 |     15 |   315 |     7   (0)| 00:00:01 |     15 |00:00:00.01 |      10 |       |       |          |
    |  36 |    TABLE ACCESS FULL                        | PRDCT_TYPE_TBL              |      1 |     25 |   725 |     4   (0)| 00:00:01 |     25 |00:00:00.01 |       5 |       |       |          |
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    Query Block Name / Object Alias (identified by operation id):
    -------------------------------------------------------------
    
       1 - SEL$A8B7A3F4
      11 - SEL$A8B7A3F4 / D@SEL$13
      23 - SEL$A8B7A3F4 / OH@SEL$1
      24 - SEL$A8B7A3F4 / O@SEL$13
      25 - SEL$A8B7A3F4 / O@SEL$13
      26 - SEL$13512960 / DF@SEL$13
      27 - SEL$13512960
      28 - SEL$13512960 / DF1@SEL$14
      29 - SEL$13512960 / DF1@SEL$14
      30 - SEL$A8B7A3F4 / H7@SEL$2
      31 - SEL$A8B7A3F4 / H7@SEL$2
      32 - SEL$A8B7A3F4 / DS@SEL$9
      33 - SEL$A8B7A3F4 / RST@SEL$11
      34 - SEL$A8B7A3F4 / ITT@SEL$3
      35 - SEL$A8B7A3F4 / ST@SEL$5
      36 - SEL$A8B7A3F4 / PT@SEL$7
    
    Outline Data
    -------------
    
      /*+
          BEGIN_OUTLINE_DATA
          IGNORE_OPTIM_EMBEDDED_HINTS
          OPTIMIZER_FEATURES_ENABLE('11.2.0.3')
          DB_VERSION('11.2.0.3')
          OPT_PARAM('optimizer_index_cost_adj' 20)
          ALL_ROWS
          OUTLINE_LEAF(@"SEL$13512960")
          PUSH_PRED(@"SEL$A8B7A3F4" "DF"@"SEL$13" 11)
          OUTLINE_LEAF(@"SEL$A8B7A3F4")
          ELIMINATE_JOIN(@"SEL$2D47CDEA" "DTT"@"SEL$13")
          OUTLINE(@"SEL$14")
          OUTLINE(@"SEL$A8B7A3F4")
          ELIMINATE_JOIN(@"SEL$2D47CDEA" "DTT"@"SEL$13")
          OUTLINE(@"SEL$2D47CDEA")
          MERGE(@"SEL$3FAACB6D")
          OUTLINE(@"SEL$15")
          OUTLINE(@"SEL$3FAACB6D")
          MERGE(@"SEL$11")
          MERGE(@"SEL$A1A6E401")
          OUTLINE(@"SEL$12")
          OUTLINE(@"SEL$11")
          OUTLINE(@"SEL$A1A6E401")
          MERGE(@"SEL$9")
          MERGE(@"SEL$BFB1842A")
          OUTLINE(@"SEL$10")
          OUTLINE(@"SEL$9")
          OUTLINE(@"SEL$BFB1842A")
          MERGE(@"SEL$7")
          MERGE(@"SEL$EEDE2B8C")
          OUTLINE(@"SEL$8")
          OUTLINE(@"SEL$7")
          OUTLINE(@"SEL$EEDE2B8C")
          MERGE(@"SEL$5")
          MERGE(@"SEL$A6B38458")
          OUTLINE(@"SEL$6")
          OUTLINE(@"SEL$5")
          OUTLINE(@"SEL$A6B38458")
          MERGE(@"SEL$171BE69E")
          MERGE(@"SEL$3")
          OUTLINE(@"SEL$4")
          OUTLINE(@"SEL$171BE69E")
          MERGE(@"SEL$AF02BF1E")
          OUTLINE(@"SEL$3")
          OUTLINE(@"SEL$2")
          OUTLINE(@"SEL$AF02BF1E")
          MERGE(@"SEL$13")
          OUTLINE(@"SEL$1")
          OUTLINE(@"SEL$13")
          FULL(@"SEL$A8B7A3F4" "OH"@"SEL$1")
          INDEX(@"SEL$A8B7A3F4" "O"@"SEL$13" ("OCRN"."ORG_PK" "OCRN"."DSCLR_DSCLB_FL" "OCRN"."DSCLR_RPTBL_FL"))
          BITMAP_TREE(@"SEL$A8B7A3F4" "D"@"SEL$13" AND(OR(1 1 ("DSCLR"."FORM_TYPE_CD") 2 ("DSCLR"."FORM_TYPE_CD")) ("DSCLR"."DSCLR_TYPE_CD")))
          NO_ACCESS(@"SEL$A8B7A3F4" "DF"@"SEL$13")
          INDEX(@"SEL$A8B7A3F4" "H7"@"SEL$2" ("H760_RGLTY_ACTN_DSCLR"."FLNG_PK" "H760_RGLTY_ACTN_DSCLR"."DSCLR_PK" "H760_RGLTY_ACTN_DSCLR"."REC_SEQ_NB"))
          FULL(@"SEL$A8B7A3F4" "DS"@"SEL$9")
          FULL(@"SEL$A8B7A3F4" "RST"@"SEL$11")
          FULL(@"SEL$A8B7A3F4" "ITT"@"SEL$3")
          FULL(@"SEL$A8B7A3F4" "ST"@"SEL$5")
          FULL(@"SEL$A8B7A3F4" "PT"@"SEL$7")
          LEADING(@"SEL$A8B7A3F4" "OH"@"SEL$1" "O"@"SEL$13" "D"@"SEL$13" "DF"@"SEL$13" "H7"@"SEL$2" "DS"@"SEL$9" "RST"@"SEL$11" "ITT"@"SEL$3" "ST"@"SEL$5" "PT"@"SEL$7")
          USE_NL(@"SEL$A8B7A3F4" "O"@"SEL$13")
          NLJ_BATCHING(@"SEL$A8B7A3F4" "O"@"SEL$13")
          USE_HASH(@"SEL$A8B7A3F4" "D"@"SEL$13")
          USE_NL(@"SEL$A8B7A3F4" "DF"@"SEL$13")
          USE_NL(@"SEL$A8B7A3F4" "H7"@"SEL$2")
          NLJ_BATCHING(@"SEL$A8B7A3F4" "H7"@"SEL$2")
          USE_HASH(@"SEL$A8B7A3F4" "DS"@"SEL$9")
          USE_HASH(@"SEL$A8B7A3F4" "RST"@"SEL$11")
          USE_HASH(@"SEL$A8B7A3F4" "ITT"@"SEL$3")
          USE_HASH(@"SEL$A8B7A3F4" "ST"@"SEL$5")
          USE_HASH(@"SEL$A8B7A3F4" "PT"@"SEL$7")
          SWAP_JOIN_INPUTS(@"SEL$A8B7A3F4" "D"@"SEL$13")
          INDEX_RS_ASC(@"SEL$13512960" "DF1"@"SEL$14" ("DSCLR_FLNG"."DSCLR_PK" "DSCLR_FLNG"."BLLBL_FL"))
          END_OUTLINE_DATA
      */
    

    This plan gives you an idea of why your initial synchronization has been long - most of your readings are one-piece readings and you have read 53 724 blocks. If you estimate 1 centisecond by read (which could be on a reasonable charge system) then it is 537 seconds. to 5 milliseconds per read, it's still 268 seconds or 4 minutes and 30 seconds.

    A quick break down of some (the worst case) potential time - only you can say whether or not some of these readings will be always/often/never being cached in the file or at the SAN level.

    Line 11 - physical reads 6 400 done - it's a tree bitmap then the readings are in the order of physical table with no. rereads. Call 5ms by read-online 32 seconds. L

    | * 11 |            TABLE ACCESS BY INDEX ROWID | DSCLR                       |      1.   5079.   158K |   533 (1) | 00:00:08 |  91395 | 00:00:01.27 |    6460.   6400 |       |       |          |

    The hash join takes us from 6 400 to 11 788 because it joins, lines 21 to 25 (nested loop) in which most of the work is the random access table with some automatic caching: 26 seconds. Do a search here rather than indexed 22 000 access? Which would be faster, which would charge less.

    | * 25.             TABLE ACCESS BY INDEX ROWID | OCRN                        |  22050.      1.    21.     1 (0) | 00:00:01 |  21059 | 00:01:04.74 |   15634 |   5280.       |       |          |

    Three nested loops that introduce more readings:

    11788 9-> 26386:14 600 of the predicate view pushed which some lies but a very large index and a table of random access 73 seconds

    8 26386-> 33783:7 400 index line 30 - big clue about 37 seconds Access hides

    33783 7-> 53691:19 900 31 table access - large table line, not much caching, 100 seconds.

    In each case, you can ask if an analysis would take less time than all of these random reads.

    NOTE - all I'm pointing our here where you potentially use a lot of time so that you can ask whether or not you should do little of the query in this way, or if there is an alternative, or if the work you're doing is absolutely necessary. If you want to optimize the query you should consider the intent of the query and think your way through a reasonable join order to see if you can imagine an effective way to get the same data. I have written a few articles and presentation on an approach that begins by drawing - here is a link to an article I wrote for a group of SQL Server: https://www.simple-talk.com/sql/performance/designing-efficient-sql-a-visual-approach/

    and a video I did with Kyle Hailey, while he was working for Embarcadero:Tune in for the ultimate SQL Tune-off | Landing pages

    Concerning

    Jonathan Lewis

  • What is the difference between FF and FF beta for android tablets? My story and Add - it will transfer if I go to the beta version of Android?

    In addition, Pinterest falls when I loaded from history of the FF beta. Thank you.

    Firefox Beta is a version of Firefox for Android applicationdevelopment. Beta gets more frequent updates. They are distinct from the apps because of the way Android work they can't share data directly. You will need to create a Firefox Sync account to move your bookmarks, history and passwords on the Firefox application.

  • What MacBook Pro is better for my situation?

    Hello, guys.

    Could you please help me decide which MacBook Pro is the best for my situation?

    Currently, I chose between these models:

    • MacBook Pro 15 "2.2 GHz / RAM 16 / 256 GB of storage / Iris Pro
    • MacBook Pro 15 "(2.8) of 2.5 GHz / RAM 16 / 256 GB of storage / Iris Pro"
    • MacBook Pro 15 "2.5 GHz / RAM 16 / 512 GB of storage / AMD Radeon R9 M370X (2 GB)

    I'll use the laptop for:

    • Webdesign. I work in Photoshop all day and it was sometimes messy (major projects, many of those open simultaneously, etc..). Theoretically, I would like for my laptop to be able to handle perfectly Photoshop, Illustrator and inDesign workflow, maybe even at the same time. Of course, all will be loaded up for the most part, but it should be imperceptible to work on projects of large size in Photoshop runs alone.
    • Audio engineering. Recording/mixing/mastering audio as a hobby, which may require use of the processor 4 do. My current laptop (2.3 GHz Dual Core Intel i5 - 2410 M) cannot manage even the basics of what I need for comfort work with audio. Usually it is around 10-15 tracks, stock and third-party plugins sometimes. I omit the part that the new laptop should have completely no problems with recording audio through audio interface (no cracks, dents, noises and other things caused by lack of CPU and RAM). I guess that each of these three Mac is capable of a fluent audio recording, the question arises on the comfortable audio processing in the future.
    • Navigation. I know that sounds ridiculous, but there are times that my laptop current can't live through an intense session of navigation. About 20-25 tabs with mixed content (text for most, a couple of video opened online). I use Google Chrome, which is quite noticeable on the CPU, but it's my personal preference in terms of browser.
    • Web development. I would like to be able to make everything about web development fast and easy. That shouldn't be the problem, since even my laptop current meets my needs developing. Just let it be worth mentioning.

    Given the above information, I can make a conclusion that I need:

    • Retina display, press each tiny pixel on the screen of work related to graphic design
    • Reasonably fast CPU and RAM

    Initially, the more powerful MacBook Pro (with default 2.5 GHz and AMD video card) seemed like a logical option. However, after reading about the AMD video card I noticed that it is still lower than the average of those on the market (judging on the benchmark). Therefore, it seems that there is no reason to pay more for just a video card, comparing to the stack by default a cheaper model (the 15 "MacBook Pro 2.2 GHz/256 GB of storage). 0.3 GHz of processor is imperceptible, and the lack of hard disk space may be justified by external USB storage or by configuring the cheaper model for more storage by itself. The main difference is the video card. Please, correct me if I'm wrong on this conclusions.

    Therefore, I came to decide what configuration is best with regard to the less expensive version of the MacBook Pro 15 ", the 2.2 GHz (default) or 2.5/2.8 GHz (configured). Consider the following:

    • I'm dependent on a budget; slice of 100 dollars, in fact, issue
    • My priority is a seamless workflow without any freeze for 5 minutes and loading/closing time take up to 10 minutes, as it does now
    • It is not important if a graphic/audio project takes longer to make, but it is important to work freely during production
    • I don't mind having an external USB storage, as long as he has a decent read/write speed (external USB flash are available for Macs, right?)
    • Design or audio are not my original recipes, rather a freelance opportunities or leisure

    I'd be really grateful if you could answer some of these questions and help me decide:

    • If I had to choose between 2.2 GHz to 2.8 GHz boost or 256 GB of storage on 512 GB, which is more reasonable storage boost?
    • Is there a really significant difference in the performance of the tasks that have been mentioned between 2.2 GHz and 2.5 GHz/2.8 GHz?
    • No AMD video card makes a huge difference in terms of working with graphics? (Of course, he does, but it would be nice to take a look at the difference in the form of a chart or a reference; if it is not dramatic, then pay more for the video card makes no sense for me)
    • Then Iris Pro (which comes with 2.2 GHz cheaper option) handle some minor games like World of Warcraft or Diablo 3? Not necessary on ultra or high settings, but on those that make the game playable and enjoyable. (Is not necessary, but it would have been a considerable advantage, because even though I'm not a hardcore gamer, it's nice to play some old games favorite from time to time)

    Thanks for your opinions and suggestions!

    If you select I would recommend 512 GB drive. Media projects can become very large, and I suspect that you also like to have pictures of the reserve, textures, etc available all the time. I'm not a professional graphic designer, but I create brochures and documents as well as videos of 15-20 minutes and on a 256 GB drive I will decide on a project, move everything turned off, and then start a new project. Sometimes, when I had several projects going at the same time I had to decide which awkward solution was the best.

    Video Intel Iris Pro is better than I expected and I can play Diablo 3 on my MBP to 2015 on higher than smaller settings. I always use CS 5.5 because I refuse to rent my graphics software, so I don't know the State of the current Adobe software but I know that some users are griping on the 3D graphics and lower end GPU processors. I suggest you check out the Adobe forums.

  • Want to 750xt: GPU which is better for my 750xt want?

    I just bought a brand new 750xt want (just out of the box yesterday) and I chose to go for a GPU not supplied by HP, once I had my PC put in place. I am currently looking a Nvidia GeForce GTX 750ti and a GTX 950. I know that the 750 will work fine, but will the 950? My budget doesn't allow a former gen graphics card, but if the 950 it is better and will not my PC brand new ignite so I'll go with that one.

    I have a quad-core i7-4790 processor, 12 GB of RAM and a power of 500W.

    My monitor is in 1080 p, so even if this computer were able to 4 k resolution, which would do nothing for me, which is another reason why an older card is fine, but I always want to go with the best possible option.

    I just got the gtx 950 and put it in my hp 700-414 huge update and its an asus so it requires no pcie power pins. It is powered directly from the location pci express. the draw of the card of maximum power is 75 watts.

  • How to remove multiple Firefox beta 4 under Program Files folders. Just delete? Profile data appear to be under Beta 12 and 8 Beta for example.

    Currently under Firefox 4.0.1.
    under Program Files, there are the following folders:

    Mozilla Firefox
    Mozilla Firefox 4.0 Beta 7
    Mozilla Firefox 4.0 Beta 8
    Mozilla Firefox 4.0 Beta 12

    The first two have only 2 records each (extensions and plugins)
    the other two have a lot of folders, files .dll etc.

    Profile data is stored elsewhere, you can remove the old records of installation of Firefox if you wish.

    For info on Windows 7, profile folders are located here - default C:\Users\ < windows user name > \AppData\Roaming\Mozilla\Firefox\Profiles

  • What memories of these two is better for the NB200?

    and either will work?

    I was watching

    "target ="_blank"> http://www.play.com/PC/PCs/4-/685706...rce=9593"

    or

    http://www.play.com/PC/PCs/4-/598544...ml?source=9593

    the only difference is the lower one is 800 mhz but that suit and have better performance than the first right? how much more performance I'd get from that? I don't know because everyone seems to use the first less expensive for the upgrade (not specific to this netbook but no observations/comments etc. on the second memory and I'm not sure why...)

    Thank you

    It does not matter that one get it from the Atom processor has a 667 MHz front bus.

    If you install RAM 800 MHz, it will simply run at 667 MHz.

Maybe you are looking for

  • Remove the slide show Album name / title

    Please forgive me if this has been asked before, but I've been searching and searching without success. I have a Mini iPad and I'm trying to implement a video slide show for my portfolio show who would have three videos in loop indefinitely. I discov

  • Satellite M45: Windows XP does not start when you click on the user name

    I have a portable Satellite M45 in XP service pack 2.After starting the PC, he gets that windows journal under the screen, I click on connect my name and nothing happens. I have completely reinstalled the operating system, updated all drivers etc, an

  • How can I activate an ipad pro

    When I put my apple ID, there's always a bad apple and password and I is not another apple ID.

  • ReadyNASOS 6.5.0 - T338 (beta 2) stuck the upgrade

    6.4.2 update to 6.5.0 - T338 (beta 2) and the unit has been butchered, was updated for the last hour. Restarted and trying to start then goes directly to the FW update and crashes. Any ideas?

  • Bad script ScriptLoader messages

    The message below is part of a series that I have to close it before that Firefox opens. All started about 4 days ago. I think it has something to do with Evernote. I was watching on my phone and I captured a Web page to save into Evernote. The Evern