Reduce gets consistent - tune this sql

the executions of the query is high in my database, and gets buffer are almost 5K by running, is it possible to resolve the application

SELECT ic.issue_code_name
Of iss_code ic, iss_code_grp_map m, work_categories wc
WHERE ic.issue_code_id = m.issue_code_id AND
m.issue_code_group_id = wc.issue_code_group_id AND
IC.issue_reporting_code = 1000 AND wc. Main_id = 1 and
rownum = 1;

-------------------------------------------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
-------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | 1. 58. 27 (4) | 00:00:01 |
|* 1 | COUNTY STOPKEY |
| 2. NESTED LOOPS |
| 3. NESTED LOOPS | 1. 58. 27 (4) | 00:00:01 |
|* 4 | HASH JOIN | 101 | 2424 | 7 (15) | 00:00:01 |
|* 5 | VIEW | the index $ _join$ _003 | 73. 584. 3 (34) | 00:00:01 |
|* 6 | HASH JOIN |
|* 7 | INDEX RANGE SCAN | I_WC_Main_id_ID_IS_ACTIVE | 73. 584. 2 (50) | 00:00:01 |
|* 8 | FULL RESTRICTED INDEX SCAN FAST | I_WC_ISSUE_CODE_GROUP_ID | 73. 584. 1 (0) | 00:00:01 |
| 9. MAT_VIEW FULL ACCESS | iss_code_grp_map | 563. 4504 | 4 (0) | 00:00:01 |
| * 10 | INDEX UNIQUE SCAN | PK_iss_code | 1 | | 1 (0) | 00:00:01 |
| * 11 | MAT_VIEW ACCESS BY INDEX ROWID | iss_code | 1. 34. 1 (0) | 00:00:01 |
-------------------------------------------------------------------------------------------------------------------

Information of predicates (identified by the operation identity card):
---------------------------------------------------

1 - filter (ROWNUM = 1)
4 - access("M".") ISSUE_CODE_GROUP_ID '=' WC '. ("' ISSUE_CODE_GROUP_ID")
5 - filter("WC".") Main_id "= 1)
6 - access (ROWID = ROWID)
7 - access("WC".") Main_id "= 1)
8 - filter("WC".") ISSUE_CODE_GROUP_ID' IS NOT NULL)
10 - access("IC".") "ISSUE_CODE_ID" ="O" ISSUE_CODE_ID')
11 filter (TO_NUMBER ("IC". "ISSUE_REPORTING_CODE") = 1000) "
Statistics
----------------------------------------------------------
1 recursive calls
0 db block Gets
4349 gets coherent
physical reads 91
0 redo size
339 bytes sent via SQL * Net to client
513 bytes received via SQL * Net from client
1 SQL * Net back and forth to and from the client
0 sorts (memory)
0 sorts (disk)
0 rows processed

Enter the value for the table_name: iss_code

INDEX_OWNER INDEX_NAME COLUMN_NAME POSITION_COLONNE
------------------------------ ---------------------------------------- ---------------------------------------- ---------------
BOOKER I_IC_LEG_CONT_REA_ID LEGACY_CONTACT_REASON_ID 1
BOOKER PK_iss_code ISSUE_CODE_ID 1

Enter the value for the table_name: iss_code_grp_map

INDEX_OWNER INDEX_NAME COLUMN_NAME POSITION_COLONNE
------------------------------ ---------------------------------------- ---------------------------------------- ---------------
BOOKER I_ICGM_ISSUE_CODE_GROUP_ID ISSUE_CODE_GROUP_ID 1
BOOKER PK_iss_code_grp_map iss_code_grp_map_ID 1

Enter the value for the table_name: work_categories

INDEX_OWNER INDEX_NAME COLUMN_NAME POSITION_COLONNE
------------------------------ ---------------------------------------- ---------------------------------------- ---------------
BOOKER I_WC_ISSUE_CODE_GROUP_ID ISSUE_CODE_GROUP_ID 1

BOOKER I_WC_Main_id_ID_IS_ACTIVE Main_id 1
BOOKER I_WC_Main_id_ID_IS_ACTIVE IS_ACTIVE 2

BOOKER PK_WORK_CATEGORIES WORK_CATEGORY_ID 1

BOOKER UI_WC_NAME_Main_id NAME 1
BOOKER UI_WC_NAME_Main_id Main_id 2

I don't know why you reject to start my suggestions.

By using the clause "is not null" you indicate that the column can be null. NULL values are not indexed you force Oracle do not to use the index.

As for your second point: you say I'm a fool? The column is certainly in the where clause.
Please re-read my response.

---------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • AWR show this sql as more CPU consuming sql. Is - this need for sql tunning?

    Hello

    Awr showing this sql as the consumer of CPU above reports

    Please consider me as a newbie and help me understand this.

    Thanking you...
    SQL ordered by CPU Time            DB/Inst:  Snaps:  
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    
        CPU      Elapsed                  CPU per  % Total
      Time (s)   Time (s)  Executions     Exec (s) DB Time    SQL Id
    ---------- ---------- ------------ ----------- ------- -------------
         2,658      2,665            1     2658.18     5.7 5aawbyzqjk8by
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, ta
    s_site ts where trp.tsa_id = tti.tsa_id and tti.status = 1 and ts.site_id = trp
    .site_id and (tti.max_install != trp.pushed_rsn and ((tti.max_install = 0 and
    (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :1) or (tti.max_install
    SQL full = >
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, tas_site
    ts 
    where 
    trp.tsa_id = tti.tsa_id 
    and tti.status = 1 
    and ts.site_id = trp.site_id  
    and
    (
    tti.max_install != trp.pushed_rsn 
    and  (
           (tti.max_install = 0 and 
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :1
           ) or  
           (tti.max_install > 0 and 
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :2
           ) or   
           (tti.max_install = trp.pushed_rsn and
           tti.max_install <> 0 
           ) 
         )
    ) or 
    (trp.pushed_time != 
    (
    to_date(tti.created_date,'dd-MON-yyhh24:mi:ss') + (1/24/60) * ts.workahead_time
    ) and  
    (
      (
    to_date(sysdate,'dd-MON-yyhh24:mi:ss') + (1/24/60) * :3
      ) > trp.pushed_time
    )
    )
    get the plan of the explain for the above sql command = >
    QL> SELECT plan_table_output FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR('g6c8y31xr06vp',0,'ALL'));
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  g6c8y31xr06vp, child number 0
    -------------------------------------
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, tas_site
    ts  where trp.tsa_id = tti.tsa_id and tti.status = 1 and ts.site_id = trp.site_id  and
    (tti.max_install != trp.pushed_rsn and  ((tti.max_install = 0 and (trp.pushed_rsn -
    trp.curr_rsn) < ts.workahead_count * :1) or  (tti.max_install > 0 and (trp.pushed_rsn -
    trp.curr_rsn) < ts.workahead_count * :2) or   (tti.max_install = trp.pushed_rsn and
    tti.max_install <> 0 )  )) or (trp.pushed_time != (to_date(tti.created_date,'dd-MON-yy
    hh24:mi:ss') + (1/24/60) * ts.workahead_time) and  ((to_date(sysdate,'dd-MON-yy
    hh24:mi:ss') + (1/24/60) * :3) > trp.pushed_time))
    
    Plan hash value: 2862358316
    
    ------------------------------------------------------------------------------------------------
    | Id  | Operation               | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT        |                      |       |       |   601K(100)|          |
    |   1 |  HASH UNIQUE            |                      |     4 |   216 |   601K (10)| 02:00:14 |
    |   2 |   CONCATENATION         |                      |       |       |            |          |
    |   3 |    NESTED LOOPS         |                      |   200M|    10G|   579K  (6)| 01:55:52 |
    |   4 |     MERGE JOIN CARTESIAN|                      |  2849 | 99715 |    12   (0)| 00:00:01 |
    |   5 |      TABLE ACCESS FULL  | TAS_SITE             |     7 |    70 |     3   (0)| 00:00:01 |
    |   6 |      BUFFER SORT        |                      |   407 | 10175 |     9   (0)| 00:00:01 |
    |*  7 |       TABLE ACCESS FULL | TAS_RECEIPTS_PROCESS |   407 | 10175 |     1   (0)| 00:00:01 |
    |*  8 |     TABLE ACCESS FULL   | TAS_TSA_INFO         | 70411 |  1306K|   203   (6)| 00:00:03 |
    |*  9 |    HASH JOIN            |                      |     2 |   108 |   203   (2)| 00:00:03 |
    |* 10 |     HASH JOIN           |                      |   407 | 14245 |     7  (15)| 00:00:01 |
    |  11 |      TABLE ACCESS FULL  | TAS_SITE             |     7 |    70 |     3   (0)| 00:00:01 |
    |  12 |      TABLE ACCESS FULL  | TAS_RECEIPTS_PROCESS |   407 | 10175 |     3   (0)| 00:00:01 |
    |* 13 |     TABLE ACCESS FULL   | TAS_TSA_INFO         | 21474 |   398K|   196   (2)| 00:00:03 |
    ------------------------------------------------------------------------------------------------
    
    Query Block Name / Object Alias (identified by operation id):
    -------------------------------------------------------------
    
       1 - SEL$1
       5 - SEL$1_1 / TS@SEL$1
       7 - SEL$1_1 / TRP@SEL$1
       8 - SEL$1_1 / TTI@SEL$1
      11 - SEL$1_2 / TS@SEL$1_2
      12 - SEL$1_2 / TRP@SEL$1_2
      13 - SEL$1_2 / TTI@SEL$1_2
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       7 - filter("TRP"."PUSHED_TIME"<TO_DATE(TO_CHAR(SYSDATE@!),'dd-MON-yy
                  hh24:mi:ss')+.000694444444444444444444444444444444444445*:3)
       8 - filter("TRP"."PUSHED_TIME"<>TO_DATE(INTERNAL_FUNCTION("TTI"."CREATED_DATE"),'dd-M
                  ON-yy hh24:mi:ss')+.000694444444444444444444444444444444444445*"TS"."WORKAHEAD_TIME")
       9 - access("TRP"."TSA_ID"="TTI"."TSA_ID")
           filter(("TTI"."MAX_INSTALL"<>"TRP"."PUSHED_RSN" AND (("TTI"."MAX_INSTALL"=0 AND
                  "TRP"."PUSHED_RSN"-"TRP"."CURR_RSN"<"TS"."WORKAHEAD_COUNT"*:1) OR
                  ("TTI"."MAX_INSTALL">0 AND "TRP"."PUSHED_RSN"-"TRP"."CURR_RSN"<"TS"."WORKAHEAD_COUNT"*:2
                  ) OR ("TTI"."MAX_INSTALL"="TRP"."PUSHED_RSN" AND "TTI"."MAX_INSTALL"<>0)) AND
                  (LNNVL("TRP"."PUSHED_TIME"<TO_DATE(TO_CHAR(SYSDATE@!),'dd-MON-yy
                  hh24:mi:ss')+.000694444444444444444444444444444444444445*:3) OR
                  LNNVL("TRP"."PUSHED_TIME"<>TO_DATE(INTERNAL_FUNCTION("TTI"."CREATED_DATE"),'dd-MON-yy
                  hh24:mi:ss')+.000694444444444444444444444444444444444445*"TS"."WORKAHEAD_TIME"))))
      10 - access("TS"."SITE_ID"="TRP"."SITE_ID")
      13 - filter("TTI"."STATUS"=1)
    
    Column Projection Information (identified by operation id):
    -----------------------------------------------------------
    
       1 - "TRP"."SITE_ID"[NUMBER,22]
       2 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TRP"."TSA_ID"[NUMBER,22],
           "TRP"."SITE_ID"[NUMBER,22], "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22],
           "TRP"."PUSHED_TIME"[DATE,7], "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
       3 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TRP"."TSA_ID"[NUMBER,22],
           "TRP"."SITE_ID"[NUMBER,22], "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22],
           "TRP"."PUSHED_TIME"[DATE,7], "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
       4 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TRP"."TSA_ID"[NUMBER,22],
           "TRP"."SITE_ID"[NUMBER,22], "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22],
           "TRP"."PUSHED_TIME"[DATE,7]
       5 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22]
       6 - (#keys=0) "TRP"."TSA_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7]
       7 - "TRP"."TSA_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7]
       8 - "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
       9 - (#keys=1) "TRP"."TSA_ID"[NUMBER,22], "TTI"."TSA_ID"[NUMBER,22],
           "TS"."SITE_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7],
           "TRP"."CURR_RSN"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22]
      10 - (#keys=1) "TS"."SITE_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TRP"."TSA_ID"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7], "TRP"."CURR_RSN"[NUMBER,22],
           "TRP"."PUSHED_RSN"[NUMBER,22]
      11 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22]
      12 - "TRP"."TSA_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7]
      13 - "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
    
    
    105 rows selected.
    sizes of the objects concerned = >
    OWNER           SEGMENT_NAME                   SEGMENT_TYPE         TABLESPACE_NAME      EXTENTS           BYTES_
    --------------- ------------------------------ -------------------- -------------------- ------- ----------------
    AZD_SCHM     TAS_TSA_INFO                   TABLE                TATSU_DATA_TS             22        7,340,032
    AZD_SCHM     TAS_TSA_INFO_PK                INDEX                TATSU_DATA_TS             17        2,097,152
    --------------- ------------------------------ -------------------- -------------------- ------- ----------------
    AZD_SCHM     TAS_RECEIPTS_PROCESS           TABLE                TATSU_DATA_TS              1           65,536
    AZD_SCHM     TAS_RECEIPTS_PROCESS_IDX       INDEX                TATSU_INDEX_TS             1           65,536
    --------------- ------------------------------ -------------------- -------------------- ------- ----------------
    AZD_SCHM     TAS_SITE                       TABLE                TATSU_DATA_TS              1           65,536
    AZD_SCHM     TAS_SITE_NAME_UNQ              INDEX                TATSU_INDEX_TS             1           65,536
    AZD_SCHM     TAS_SITE_PK                    INDEX                TATSU_DATA_TS              1           65,536
    --------------- ------------------------------ -------------------- -------------------- ------- ----------------
    Please suggest how to tune this above SQL

    Above sql plan looks good


    Any comment and help is appreciated highely.

    Thank you and best regards,
    IVW

    Hello
    It is a production system?
    Are you a license to use the AWR?

    concerning

    Alan

  • Get consistent audio levels

    I have ben to do a family film on the year for the last 7 years. I'm just an amateur, but I'm a little bit better. This year I really want to improve my skills on audio.  I know the basics, like the volume control for individual items, a beach in a clip of setting and so on, let never greater than 0 db noise and so on. What I would really like some help with is how to get consistent noise levels. What I mean is this: Let's say that I have 30 clips in my calendar, I select all and set the audio to-6 db. Even if the clips now how the same audio level, clips are noisy, and some are low. What I have to go through each item and set - if so what I'd be looking to make all points to the decibel even? Use the waveforms and my eyes and try to align the shapes so that they are at the same level, or is there a simpler solution?

    -No hear/see the chronology of first hand, we can only give limited advice.  But now.

    -Each clip is saved to its own level of gain.  Some are recorded louder than the others.  0 dB means simply the level of this specific "native" clips  The gain setting on all at-6 change each clip-6 dB, it doesn't make them not all limited to-6db.  This is called a limiter filter.  So, if you want to limit each clip compared with - 3db (never press 0, stay below to about - 3 dB max), apply a limiter.

    -Do not rely on the airwaves of the timeline, they are not absolute, but relative approximations.  Go by the counters, and then by the ears.

    -Compressor filter would go a long way to limit upper and lower levels, both win.  Where a limiter limits only the higher gain level.  Beware, a compressor to reduce the dynamic range.  This means that the quiet parts and hard parts approach is at the same level, which causes an artificial sound production.

    -For the application of filters for all clips at once, with the same settings, apply to the first clip.  Copy this clip.  Select all the other clips in the timeline panel.  Use the paste attributes to put in all the other clips.  OR, put all the clips in a compound Clip, apply your effects, keyframes, filters for this compound, to all media at the same time.

    -Actually, a professional like me, takes time to work each clip, or absolute similar clips individually, groups for best results.  Any button 'make fast all at once' will achieve inferior results.

    -Here is a link to the logic manual that explains all the audio effects that are both logic and Final Cut Pro X.  Some very good information here.

    http://help.Apple.com/LogicPro-effects/Mac/10.2.3/

  • Need help to reduce the cost of my sql Query below 100 to optimize.

    Can you please suggest how to reduce the COST of my SQL query? Is it possible to get the < 100 COST?

    My goal:
    ------------------------

    To recover the data of length (a column is in normalised_event: table) corresponding to each type of call (which is to extract the column rc.abbreviation in reference_code: table) in a given range of dates. So I wrote the following as SQL below:

    ------------------------------------------------------------------------------------------------------------------
    Select nvl (sum (round(ne.duration/60,3)), 0), rc.abbreviation
    Since the rc reference_code, normalised_event not
    where to_char (rc.reference_code) = ne.full_path
    and rc.reference_type_id = 505002 AND
    trunc (don't. CHARGE_START_DATE) between trunc (to_date (January 1, 2008 "," dd-mm-yyyy hh24:mi:ss'))))
    and trunc (to_date (January 1, 2009 "," dd-mm-yyyy hh24:mi:ss'))))
    Rc.abbreviation group

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

    IAM using Toad Software which is taken in charge by oracle 9i.


    Explain the plan above query is:

    explain plan
    Set statement_id = "mp01" for
    Select nvl (sum (round(ne.duration/60,3)), 0), rc.abbreviation
    Since the rc reference_code, normalised_event not
    where to_char (rc.reference_code) = ne.full_path
    and rc.reference_type_id = 505002 AND
    trunc (don't. CHARGE_START_DATE) between trunc (to_date (January 1, 2008 "," dd-mm-yyyy hh24:mi:ss'))))
    and trunc (to_date (January 1, 2009 "," dd-mm-yyyy hh24:mi:ss'))))
    Rc.abbreviation group



    Select LPad (' ', 2 *(Level-1)). Level | '.' || NVL (position 0). ' ' ||
    Operation | ' ' || Options of | ' ' || Object_name | ' ' ||
    Object_type | ' ' || Decode (id, 0, Statement_Id |) "Cost = ' | Position)
    "Query plan.
    From Plan_Table
    Start with id = 0 and Statement_Id = 'mp01 ".
    Connect Id Parent_Id = prior
    And Statement_Id = 'mp01 ";


    ---------------------------Query Plan explained is----------------------------------------------------------

    1.555 INSTRUCTION SELECT mp01 cost = 555
    2.1 TYPE GROUP
    3.1 FILTER
    4.1 HASH JOIN
    5.1 TABLE ACCESS BY INDEX ROWID REFERENCE_CODE
    6.1 INDEX RANGE SCAN NON-UNIQUE I_REFERENCE_CODE_REF_TYPE
    5.2 PARTITION RANGE ALL THE
    6.1 TABLE ACCESS FULL NORMALISED_EVENT

    -Automatic tracking of the SQl query is:.

    recursive calls - 0
    DB block gets - 0
    compatible gets - 174
    physical reads - 0
    size - 104
    Parse count (hard) - 0
    Parse count (chess) - 0
    run the County - 2
    bytes sent via SQL * Net to dblink - 0
    bytes received via SQL * Net from dblink - 0

    I was wrong. Once again, this shows how it is dangerous to assume (I assumed that FBI was new in 10g because it is when I used them), and the power of the community to ensure that accurate information is provided.

    John

  • Everything started getting the message "this computer is not running genuine windows.

    I started getting the message "this computer is not running genuine windows.

    I tried re-activate online and still get the message.

    I tried activating by phone and still get the message.

    The message is on the screen and ran up MGADiag and got the following:

    Can anyone help?

    Diagnostic report (1.9.0019.0):
    -----------------------------------------
    Given WGA-->
    Validation status: genuine
    Validation code: 0

    Code of Validation caching: 0x0
    Windows product key: *-* - KM9W6 - FQ6CV - 676B 3
    The Windows Product Key hash: wzer4Vgu/82pZnlLT5clC4N1KMY =
    Windows product ID: 00371-OEM-9072953-34635
    Windows Product ID Type: 3
    Windows license Type: OEM System Builder
    The Windows OS version: 6.1.7601.2.00010100.1.0.048
    ID: {FB5EAF24-648F-41E9-99B4-E2F77A0E94A3} (3)
    Admin: Yes
    TestCab: 0x0
    WGA Version: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Professional
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.140303 - 2144
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    WgaER data-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    WGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 100 authentic
    2007 Microsoft Office system - 100 authentic
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3_E2AD56EA-765-d003_E2AD56EA-766-0_E2AD56EA-134-80004005_E2AD56EA-765-b01a_E2AD56EA-766-0_E2AD56EA-148-80004005_16E0B333-89-80004005_B4D0AA8B-1029-80004005

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->
    [File mismatch: C:\Windows\system32\wat\watadminsvc.exe[7.1.7600.16395]
    [File mismatch: C:\Windows\system32\wat\watux.exe[7.1.7600.16395]
    [File mismatch: C:\Windows\system32\sppobjs.dll[6.1.7601.17514]
    [File mismatch: C:\Windows\system32\sppc.dll[6.1.7601.17514]
    [File mismatch: C:\Windows\system32\sppcext.dll[6.1.7600.16385]
    [File mismatch: C:\Windows\system32\sppwinob.dll[6.1.7601.17514]
    [File mismatch: C:\Windows\system32\slc.dll[6.1.7600.16385]
    [File mismatch: C:\Windows\system32\slcext.dll[6.1.7600.16385]
    [File mismatch: C:\Windows\system32\sppuinotify.dll[6.1.7600.16385]
    [File mismatch: C:\Windows\system32\slui.exe[6.1.7601.17514]
    [File mismatch: C:\Windows\system32\sppcomapi.dll[6.1.7601.17514]
    [File mismatch: C:\Windows\system32\sppcommdlg.dll[6.1.7600.16385]
    [File mismatch: C:\Windows\system32\sppsvc.exe[6.1.7601.17514]
    [File mismatch: C:\Windows\system32\drivers\spsys.sys[6.1.7127.0]
    [File mismatch: C:\Windows\system32\drivers\spldr.sys[6.1.7127.0]
    [File mismatch: C:\Windows\system32\systemcpl.dll[6.1.7601.17514]
    [File mismatch: C:\Windows\system32\en-us\user32.dll.mui[6.1.7601.17514]

    Other data-->
    Office details: {FB5EAF24-648F-41E9-99B4-E2F77A0E94A3}1.9.0019.06.1.7601.2.00010100.1.0.048x 64*-*-*-*-676 B 300371-OEM-9072953-346353S-1-5-21-807467245-3392229789-2570558715Sony CorporationVGNZ790DINSYDER4044M320091110000000.000000 + 00022C13A07018400F804090409Eastern Standard Time(GMT-05:00)03SonyVAIO1001002007 Microsoft Office system12278FF0D99FEF5AE7Nm6Skf12U + IkMGoB/sNA1ilGbw =89451-OEM-6672725-13787 4

    Content Spsys.log: 0 x 80070002

    License data-->
    The software licensing service version: 6.1.7601.17514

    Name: Windows 7 Professional edition
    Description: operating system Windows - Windows (r) 7, channel OEM_COA_NSLP
    Activation ID: e120e868-3df2-464a-95a0-b52fa5ada4bf
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00371-00180-729-534635-02-1033-7601.0000-3622014
    Installation ID: 009885890881275631194586153296712880021192777835802025
    Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial product key: 676B 3
    License status: licensed
    Remaining Windows rearm count: 3
    Trust time: 01/04/2015-16:56:14

    Windows Activation Technologies-->
    HrOffline: 0x8004FE21
    HrOnline: 0x00000000
    Beyond: 0x000000000001EFF0
    Event timestamp: 3:30:2015 21:34
    WAT Activex: registered
    WAT administration service: registered

    --> HWID data
    Current Hash HWID: NgAAAAEAAwABAAIAAAABAAAABAABAAEAln2yeEKnUrCCCPYEgM + iYc7tZGKzbACmhIWA8UbK

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes
    Windows marker version: 0x0
    OEMID and OEMTableID consistent: Yes
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC Sony VAIO
    Sony VAIO FACP
    Sony VAIO DBGP
    HPET Sony VAIO
    Sony VAIO BOOT
    MCFG Sony VAIO
    SLIC Sony VAIO
    ASF! Sony VAIO
    SSDT Sony VAIO

    Hi Mark,

    Please contact the Microsoft community.

    This problem can be caused, if any material changes or if the chips are corrupt.

    • You did significant hardware changes to the computer?

    Please follow the method below and check if this can help:

    When you troubleshoot problems activating Windows, you may need to rebuild the Tokens.dat file.

    This article lists the steps to rebuild the Tokens.dat file.

    https://support.Microsoft.com/en-us/KB/2736303?WA=wsignin1.0

    Follow the article below for your reference and check if this can help:

    http://Windows.Microsoft.com/is-is/Windows/help/genuine/FAQ

    As it is an OEM computer, I suggest you contact Sony support if the problem persists.

    http://eSupport.Sony.com/us/p/select-System.pl?Director=driver

    Hope this information was helpful and let us know if you need more assistance. We will be happy to help.

  • Better way to write this sql?

    Hi guru, I was able to get what I want, but I find there must be a better way/more efficient way to write this sql?

    Database: Oracle 11g

    This is the create for the test database statement:

    create table sample_test (prog_id number (9) DEFAULT 0 NOT NULL, chan_rights CHAR (2) DEFAULT ' ' NOT NULL)

    This is the insert statement:

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A1')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A2')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A3')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A4')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A5')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A6')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A7')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'A1')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'A2')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'A3')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B1')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B2')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B3')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B4')

    Here's what I did to get the data:

    Select distinct a.prog_id, rt_cnt, CASE

    WHEN a.rt_cnt = 7

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A1')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = "A2")

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = "A3")

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A4')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A5')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A6')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A7')

    THEN "A_ONLY".

    else 'SINGLE '.

    end CHAN_GROUP

    from (select prog_id, count (chan_rights) rt_cnt

    of sample_test

    Prog_id group) a, b sample_test

    where a.prog_id = b.prog_id

    That appears as follows:

    PROG_ID RT_CNT CHAN_GROUP
    4956417UNIQUE
    5556337A_ONLY

    As seen:

    1 / I count how many rights is available, and in this case, each program gets a "7"

    Set 2 / from these data, for each programme, I try to make sure it belongs to the company chan_rights right, for example, "A_ONLY". Therefore, as shown, Prog_ID 495641 does not contain "A_ONLY" channels listed in the case statement and there is unique. "A_ONLY" should only contain A1 to A7 inclusive and nothing else.

    Can I create a function that returns the value "Chan_Group", but is there a better way to rewrite the statement 'BOX' like a LOOP or something? I have millions of records to go through and someone told me that using "is" slows down the database so just thought that I could ask ahead...

    Please indicate if there is a better and more efficient method to get what I need?

    Thank you

    John

    I would do something like

    select prog_id,
          rt_cnt,
          (case when rt_cnt = 7 and num_a = 7
                then 'A_ONLY'
                else 'UNIQUE'
            end) chan_group
      from (select prog_id,
                  count(chan_rights) rt_cnt,
                  sum( case when chan_rights in ('A1','A2','A3','A4','A5','A6','A7')
                            then 1
                            else 0
                        end ) num_a
              from sample_test
            group by prog_id)
    

    View of inline, I count the number of values chan_rights, as well as the number that are in your list of A1 - A7.  In the outer query, I implement the logic that checks that the two charges are 7.

    Here is an example of sqlfiddle this http://www.sqlfiddle.com/#! 4/95438/2

    Justin

  • Strange problem with this SQL

    Hello

    I'm trying to concatenate the value of SQL_TEXT in multiple lines in a single string using this SQL statement. The problem is that it works fine if I use the PIECE, but if I use SQL_TEXT I get this error ORA-30004: when you use the SYS_CONNECT_BY_PATH function, cannot have a separator in the value of the column. As you can see I tried a number of separators I know are not in SQL_TEXT but still error. And help would be great.

    I tested on 11 GR 2 11.2.0.3 but need to run it on 10.2.0.4 so I can't use LISTAGG. I'm open to other methods but I don't have the ability to place and PLSQL nto the database. It must be done in SQL.
    select 
      CURRENT_SID, 
      sys_connect_by_path(PIECE,'~') -- Works
      --sys_connect_by_path(SQL_TEXT,'') -- Does Not Work
      -- trim(max(sys_connect_by_path(SQL_TEXT,'~')) keep (dense_rank last order by CURR),'~') as FULL_SQL_TEXT -- Does Not Work
      --ltrim(max(sys_connect_by_path(PIECE,'!')) keep (dense_rank last order by CURR),'!') as FULL_SQL_TEXT -- Does Not Work
    from
      (
      select 
          S.USERNAME, S.SID as CURRENT_SID, S.SERIAL#, T.PIECE,
          T.SQL_TEXT,
          ROW_NUMBER() over (partition by S.USERNAME, S.SID, S.SERIAL# order by T.PIECE) as CURR,
          ROW_NUMBER() over (partition by S.USERNAME, S.SID, S.SERIAL# order by T.PIECE) -1 as PREV
      from 
        V$SESSION S,
        V$SQLTEXT_WITH_NEWLINES T
      where 
        S.SQL_ID is not null
        and S.SQL_ID = T.SQL_ID
        and S.SID = sys_context('USERENV', 'SID')
      order by 
        T.PIECE
      )
    group by 
      CURRENT_SID
    connect by PREV = prior CURR
    start with CURR = 1;

    Hi SY,
    Thanks for the reply that your SQL worked very well. You're right about the GROUP BY and AGGREGATIONS, I had tried so many different things, I had pasted in a version with a bit of my test which was a little strange looking.

    The key was just as you say I was looking at my current SQL contained now my ' ~ 'or'!' delimiter. Thanks for all the help!

  • PrintJob - how to get consistent print on paper positioning between browsers?

    Hey guys,.

    We are working on a project that requires a user to print a drawing on a pre-made print paper. The problem that we have, is that we reach inconsistent results wildly, print-positioning, and browsers (PC/mac), in that the prints don't align with the pre-made printing paper guides.

    We have been juggling all the properties of PrintJob (using pageHeight, paperWidth for the size of the margin and the compensation of our content on this margin, etc.), in order to align our impression. But we still have trouble getting consistent results.

    Did someone come up with a method for solid and consistent print results, between browsers and between PC/mac?

    Thank you.

    I found the best results to retrieve the settings of the printer page, creating a virtual page in flash that duplicated with these parameters and then adding design elements in flash positioned as I want.  the impression is then pixel perfect.

  • What is the most effective way to run this sql

    I have a sql like this:
    select 
    ((select q_avg24 from view1 where years=2009 and qtr=1) - (select q_avg24 from view1 where years=2010 and qtr=1)) as sub_s1_avg24,
    ((select q_avg24 from view2 where years=2009 and qtr=1) - (select q_avg24 from view2 where years=2010 and qtr=1)) as sub_s2_avg24,
    ((select q_avg24 from view3 where years=2009 and qtr=1) - (select q_avg24 from view3 where years=2010 and qtr=1)) as sub_s3_avg24,
    ((select q_avg24 from view4 where years=2009 and qtr=1) - (select q_avg24 from view4 where years=2010 and qtr=1)) as sub_s4_avg24
    from dual
    As you can see, the sql calculate a field value to another view (View1 view2 View3, view4).
    It returns the difference between the 2 years.

    In this sql, you can see she will solicit the views of the 2 x 4 = 8 times to get result table.
    Each query sql (select statement) return a result within 5 seconds, then... for total = 8 X 5 = 40secs...

    40 dry is not so big problem... but in fact, I have at least 5 games queries (select statements) with other parameters are not an entry for the calculation of this query...
    There are a lot of your time in SQL that results from: (8X5secs) x 5 = 200secs...

    I would like to know is there a solution better if we face such problems?
    Thank you!!!

    You can use as... not tested...
    But if you provide additional information on the data, I think we can think best solution

    select sum(decode(id,1,decode(yers,2009,av,0),0))-sum(decode(id,1,decode(yers,2010,av,0),0)) av1,
           sum(decode(id,2,decode(yers,2009,av,0),0))-sum(decode(id,2,decode(yers,2010,av,0),0)) av2,
           sum(decode(id,3,decode(yers,2009,av,0),0))-sum(decode(id,3,decode(yers,2010,av,0),0)) av3,
           sum(decode(id,4,decode(yers,2009,av,0),0))-sum(decode(id,4,decode(yers,2010,av,0),0)) av4
    from(
      select 1 id,q_avg24 av,years
      from view1
      where years in (2009,2010)
      and qtr = 1
      union all
      select 2 id,q_avg24,years
      from view2
      where years in (2009,2010)
      and qtr = 1
      union all
      select 3 id,q_avg24,years
      from view3
      where years in (2009,2010)
      and qtr = 1
      union all
      select 4 id,q_avg24,years
      from view4
      where years in (2009,2010)
      and qtr = 1)
    

    Published by: JAC on March 30, 2012 13:31

  • You can optimize this sql?

    Hi,

    I believe that this sql can be improved, but honestly i don't know how.

    --------
                   Select * From Ctb_Mov m Where m.CodEmp = 1 and m.Plano='G' and
                   Cg Between '211' and '211'
                   and cx between '1' and '9999999'
                   and (M.GRUPO is NULL or
                  M.GRUPO in (select m1.GRUPO
                                        from ctb_mov M1
                                        where M1.CODEMP = m.codemp and
                                                  M1.PLANO = m.plano and
                                                  M1.cg = M.cg and
                                                  M1.cx = M.cx and
                                                  M1.GRUPO = M.GRUPO and
                                                  M1.datamov <= to_date('17092009','ddmmyyyy') and
                                                  M1.GRUPO <> 9999999
                                        group by M1.CODEMP, M1.PLANO, M1.cg,
                                                      M1.CX, M1.GRUPO
                                        having sum(M1.VLD - M1.VLC) <> 0))
    -------

    Suggestions?

    Regards

    Jomar

    [HOW: publish an application for tuning SQL - model showing statement | http://forums.oracle.com/forums/thread.jspa?threadID=863295&tstart=0]

    This thread will give you a good overview on how to ask questions in this forum of the performance. After that you will get good answers!

  • How to reset AirPort Extreme 10.11.6 OS? How to work with this pinhole? I'm trying to get rid of this flashing yellow light, which began after I installed a new modem from Comcast.

    How to reset AirPort Extreme 10.11.6 OS? How to work with this pinhole? I'm trying to get rid of this flashing yellow light, which began after I installed a new modem from Comcast.

    How to work with this pinhole?

    Usually a paperclip or toothpick or ball pen.

    Stick it in the hole and reset for about 10 seconds until the front led flashes quickly.

    How to reset AirPort Extreme 10.11.6 OS?

    The software method... Unlike the above material method... is to open airport utility and select restore default settings.

    Both methods take you to the same place.

    You can also read the manual...

    Reset to a base station AirPort FAQ - Apple Support

  • When I type a url, as soon as I hit the back, the text is covered by a black bar that makes the invisible url how can I get rid of this?

    When I type a url, as soon as I hit the back, the text is covered by a black bar that makes the invisible url how can I get rid of this?

    Could you check this thread started by another user of Linux and see if that helps:

    How can I stop firefox ffrom blocking URLS

  • Suddenly, I got an error directly under the normal pane display area. How can I get rid of this

    I have a sidebar with bookmarks, then the add-on of the tree Style tabs in a sidebar. The right part of the screen was previously dedicated to the active site. Now all of a sudden it was split into 2 horizontal sections - the upper part with the site and the lower part with a pane containing warnings and error messages. How can I get rid of this component of the error, which is a real pain.

    This is the classic error consoles and not the browser which releases current Firefox have as part of the developer tools.

    Using an extension that adds this version or the error console?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • How can I get rid of this virus: Trojan JS/Medfos.A =?

    I use Microsoft Essentials security. Maybe it isn't the right one? I don't know what to use to safety or how to get rid of this miserable virus. Can you help me?

    Email removed for privacy - M

    Thanks in advance for your help,
    Shulamit

    Hello

    If you are using MSE, you must scan your computer for viruses. Do a full analysis, you can get a complete analysis of your system.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

  • When the website redirects it crashes with popup sells and plug-ins, how can I get rid of this

    When I link a hyperlink that redirects me to another website, it gets blocked with a contextual advertising. How can I get rid of this threatening Popup? I installed the add-on Adblock. I tried to install software malware spyhunter but I get 'error with the download of updates, see internet settings' how to adjust settings to allow updates. I also have McAfee firewall on.

    Appreciate any advice that you could give me. Thank you.

    Hello, you have current more hd , which is a malicious add-on. Please, try the following steps:

    1. Reset firefox (this will keep your bookmarks and passwords)
    2. then go to firefox > addons > extensions and where there are still extensions listed there, disable them.
    3. Finally, run a full scan of your system with security tools like the free version of malwarebytes and adwcleaner to ensure that adware is not present in other parts of your system as well.

    Fix Firefox problems caused by malicious software

Maybe you are looking for