Why does my query do full scan on table ...?

I have a query with sub-query that should narrow down a search of triples:
DELETE FROM XPROCESS_TPL  t WHERE t.triple.rdf_s_id
IN
( SELECT r.value_id FROM mdsys.rdf_value$ r
  WHERE  r.value_type='UR'   AND  r.vname_suffix LIKE  'ProcessAggregate_Lens Fab%' )
the inner SELECT returns 122707 rows in 41.914 seconds
However, the outer query takes ~6 hours all together...
What I thought would happen was it should first do the sub-query,get all value_id's and then use index to find data in XPROCESS_TPL
Why is that not happening and how can I optimize this query?
I created index on rdf_s_id:
CREATE INDEX "SEMANTIC"."XPROCESS_SUB_IDX" ON "SEMANTIC"."XPROCESS_TPL" ("TRIPLE"."RDF_S_ID")

The query plan is the execution plan generated by the query optimizer. One way of viewing the query plan is using explain plan through SQL*Plus:
SQL> explain plan for
select empno, ename, dname, loc
from emp e, dept d
where e.deptno = d.deptno;
  2    3    4
Explained.
Elapsed: 00:00:00.05
SQL> select plan_table_output from table(dbms_xplan.display('plan_table',null,'basic,parallel,partition,predicate'));
PLAN_TABLE_OUTPUT
Plan hash value: 2219294842
| Id  | Operation          | Name |
|   0 | SELECT STATEMENT   |      |
|*  1 |  HASH JOIN         |      |
|   2 |   TABLE ACCESS FULL| DEPT |
|   3 |   TABLE ACCESS FULL| EMP  |
Predicate Information (identified by operation id):
   1 - access("E"."DEPTNO"="D"."DEPTNO")
15 rows selected.
Elapsed: 00:00:00.47
SQL>

Similar Messages

  • INDEX UNIQUE SCAN instead of   INDEX FULL SCAN or TABLE ACCESS FULL

    I have calculated statistics in all tables and indexes
    I have a table and a view and when I put it
    SELECT *
    FROM TABLE_A A
    INNER JOIN VIEW_B B ON A.KEY_ID = B.PFK_KEY_ID          
    WHERE (B.FK_ID_XXX = 1)
    If I see the execution plan:
    In TABLE_A make a
    TABLE ACCESS BY INDEX ROWID
    INDEX UNIQUE SCAN (FIELD_A_TABLE_A_PK)
    It’s OK. I NEED IT (INDEX UNIQUE SCAN)
    But If I put
    SELECT A.Field_1, A.Field_2, A.Field_3, A.Field_4
    FROM TABLE_A A
    INNER JOIN VIEW_B B ON A.KEY_ID = B.PFK_KEY_ID          
    WHERE (B.FK_ID_XXX = 1)
    In table A make a TABLE ACCESS FULL.
    Then If I put:
    SELECT /*+ INDEX(A FIELD_A_TABLE_A_PK) */ A.Field_1, A.Field_2, A.Field_3, A.Field_4
    FROM TABLE_A A
    INNER JOIN VIEW_B B ON A.KEY_ID = B.PFK_KEY_ID          
    WHERE (B.FK_ID_XXX = 1)
    If I see the execution plan:
    In TABLE_A make a
    TABLE ACCESS BY INDEX ROWID
    INDEX UNIQUE SCAN (FIELD_A_TABLE_A_PK)
    It’s OK. I NEED IT (INDEX UNIQUE SCAN)
    Finally, If I put other tables and views in the query (I NEED IT)
    For example:
    SELECT /*+ INDEX(A FIELD_A_TABLE_A_PK) */ A.Field_1, A.Field_2, A.Field_3, A.Field_4
    FROM TABLE_A A
    INNER JOIN VIEW_B B ON A.KEY_ID = B.PFK_KEY_ID          
    INNER JOIN TABLE_C….
    LEFT JOIN VIEW_D….
    WHERE (B.FK_ID_XXX = 1)
    If I see the execution plan:
    In TABLE_A make a
    TABLE ACCESS BY INDEX ROWID
    INDEX FULL SCAN (FIELD_A_TABLE_A_PK)
    I need INDEX UNIQUE SCAN instead of INDEX FULL SCAN or TABLE ACCESS FULL.
    How can obtain it?
    What happens???
    Thanks!

    Notice the difference in cardinality between your two select statements:
    SELECT STATEMENT, GOAL = ALL_ROWS Cost=5 Cardinality=1
    SELECT STATEMENT, GOAL = ALL_ROWS Cost=10450 Cardinality=472161Apparently since the optimizer believed the first statement was going to return one row, it used an index. But in the second statement it believed it was going to return nearly the whole table (didn't you say it had around 500k rows?). Hence full table scan.

  • CMP Beans from Tables: Why does the Container try to create new tables?

    I'm trying to develop an EJB application using JDeveloper on 9iAS. I have several CMPs and have my tables that I want my CMPs to be based on already defined in my DB schema. I want to use CMP but I don't want the Container to create the tables, rather I want the Container to map my CMP EJBs to the already existing tables.
    The issue is:
    While creating these CMP EJBs in JDeveloper I chose the "New Enterprise Java Bean" EJB creation wizard using the option labeled "Container-managed Entity Beans from Tables". My assumption is that this does what I want, because the wizard prompts for a schema and table you want to map to. Then it creates the attributes & getter/setter methods, PK class, etc. all based on the table defintion automatically. Great. So why when I try to run my application do I get error messages for each EJB such as:
    Auto-creating table: create table STREET_TYPE (PK_STYP_ID NUMBER(8), STREET_TYPE VARCHAR2(20), primary key (PK_STYP_ID, STREET_TYPE))
    Warning: Error creating table: ORA-00955: name is already used by an existing object
    Huh?? I thought the idea is that the CMP EJB is mapped to the existing table in my schema. Why is the Container trying to create new tables?? Is this possible? Or am I missing something fundamental about how Containers create and manage CMPs? Or is this just a JDevelop container issue? TIA

    I presume you are getting the problem on application
    deploy? This happens when upon initialization of the application using the built-in OC4J container/app server that is part of JDeveloper. Here is the full messaging:
    [Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
    C:\OraHome1\jdk\bin\javaw.exe -ojvm -classpath C:\OraHome1\j2ee\home\oc4j.jar com.evermind.server.OC4JServer -config C:\OraHome1\jdev\system\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Copying default deployment descriptor from archive at Q:\CBTCOF\COF_APPLICATION\COF_Project\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\OraHome1\jdev\system\oc4j-config\application-deployments\current-workspace-app\classes...
    Auto-deploying file:/Q:/CBTCOF/COF_APPLICATION/COF_Project/classes/ (No previous deployment found)...
    Auto-creating table: create table STREET_TYPE (PK_STYP_ID NUMBER(8), STREET_TYPE VARCHAR2(20), primary key (PK_STYP_ID, STREET_TYPE))
    Warning: Error creating table: ORA-00955: name is already used by an existing object
    [...OTHER SIMILAR ERROR MESSAGES]
    done.
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    If so, in the application.xml file of you
    OC4J instance the is a setting autocreate-tables,
    which by default is true!
    Set it to false as below and that should clear up
    your problem.
    <orion-application autocreate-tables="false"
    default-data-Hmm. I found at least a dozen or so files with that name and set everyone that had this attriute to "false", restarted the OC4J server and still got these errors.

  • Full Scan on table

    The following query takes for ever to run and it goes into full scan on the job_det_line table which has abt 2 million records. Any suggestions on how to optimize it?
    SELECT DISTINCT to_skid_allocation.get_truck(bb.truck_locator_id) truck,
    to_char(bb.bol_id) bol,
    to_skid_allocation.get_ship_to_dest(bb.ship_to_id) dest,
    to_char(BS.SKID_ID) skidid,
    ddps.INVENTORY_ITEM_ID iid,
    to_custom_selection.get_item(102,ddps.INVENTORY_ITEM_ID) Selection,
    to_skid_allocation.get_skid_item_qty(BS.SKID_ID,ddps.INVENTORY_ITEM_ID) qty,
    to_custom_selection.get_title(jdl.inventory_item_id) Jot_title,
    ddpc.job_number djobnum,
    jdl.job_num jotjobnum
    FROM tor.job_det_line jdl,
    tor.dvd_disc_print_supply ddps,
    tor.dvd_disc_print_carton ddpc,
    tor.bulk_skid bs,
    tor.bulk_bol bb
    where bs.bol_id_ref = bb.BOL_ID
    and ddpc.skid_id_ref = bs.SKID_ID
    and ddpc.DISC_PRINT_ID = ddps.DISC_PRINT_ID
    and bb.status = 2
    and bb.ship_to_id in ( 41 , 885900)
    and ( jdl.job_num = dvd_disc_txn_pkg.get_jot_x_ref(ddpc.job_number) or jdl.job_num in
    select jdl.job_num
    FROM apps.mtl_system_items msi,
    apps.mtl_system_items msi2,
    apps.bom_bill_of_materials bbm,
    apps.bom_inventory_components bic,
    tor.job_det_line jdl
    WHERE msi.inventory_item_id = ddps.INVENTORY_ITEM_ID
    AND msi.organization_id = 102
    AND msi.organization_id = bbm.organization_id
    AND msi.organization_id = msi2.organization_id
    AND msi.inventory_item_id = bic.component_item_id
    AND bic.bill_sequence_id = bbm.bill_sequence_id
    AND bbm.assembly_item_id = msi2.inventory_item_id
    and jdl.bill_sequence_id = bbm.bill_sequence_id and
    jdl.alternate_bom_designator = bbm.alternate_bom_designator
    and jdl.inventory_item_id = msi2.inventory_item_id ) )

    Please post your query in proper format. It is very disturbing to get such unformatted code.
    Regards.
    Satyaki De.

  • Why does this query run slow ??

    hi ,
    i have the following query
    SELECT
      PT.PT_ID,
      PCD_INST.CALL_PCD_NAME,
      RC.RC_ID,
      RC.RC_TITLE,
      PCD.PCD_TITLE,
      RC.E_TYPE
    FROM
      PT,
      PCD_INST,
      RC,
      PCD,
      PCD_INST_RS
    WHERE
      ( PT.PT_ID = PCD_INST.PCD_ID  )
      AND  ( PCD.PCD_ID = PCD_INST_RS.PCD_ID  )
      AND  ( (RC.RC_NAME = PCD_INST_RS.RC_NAME) AND (RC.RC_ACTIVE_FLAG = 'A')  )
      AND  ( (PCD.PCD_ID LIKE PCD_INST.CALL_PCD_NAME || '.%') AND (PCD.PCD_AFLAG = 'A')  )
      AND  (
      ( PT.PT_AFLAG = 'A'  )
      AND  ( PT.OBS_FLAG <> 'Y'  )
      AND  ( PCD.PCD_AFLAG = 'A'  )
      AND  ( PCD.OBS_FLAG <> 'Y'  )
      AND  ( RC.RC_AFLAG = 'A'  )
      AND  ( RC.OBS_FLAG <> 'Y'  )
      AND   TO_NUMBER (PCD_INST.INST_NUM)  =  123
      AND  ( PCD_INST_RS.H = 'Y'  )
      AND  ( PCD_INST_RS.MP = 'Y'  )
      AND  PT.PSTATUS  =  'A')and the execution plan
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=228 Card=1 Bytes=205
       1    0   TABLE ACCESS (BY INDEX ROWID) OF 'PCD_INST' (Cost=
              2 Card=136 Bytes=4352)
       2    1     NESTED LOOPS (Cost=228 Card=1 Bytes=205)
       3    2       MERGE JOIN (CARTESIAN) (Cost=227 Card=3 Bytes=519)
       4    3         TABLE ACCESS (BY INDEX ROWID) OF 'PCD_INST_RS'
                     (Cost=4 Card=1 Bytes=41)
       5    4           NESTED LOOPS (Cost=141 Card=1 Bytes=143)
       6    5             MERGE JOIN (CARTESIAN) (Cost=57 Card=28 Bytes=28
              56)
       7    6               TABLE ACCESS (BY INDEX ROWID) OF 'RC' (Cos
              t=2 Card=1 Bytes=52)
       8    7                 INDEX (RANGE SCAN) OF 'RC_IDX1' (NON
              -UNIQUE) (Cost=1 Card=1)
       9    6               BUFFER (SORT) (Cost=55 Card=65 Bytes=3250)
      10    9                 TABLE ACCESS (BY INDEX ROWID) OF 'PCD' (Cos
              t=56 Card=65 Bytes=3250)
      11   10                   INDEX (RANGE SCAN) OF 'PCD_IDX_1' (NON
              -UNIQUE) (Cost=30 Card=25944)
      12    5             INDEX (RANGE SCAN) OF 'PCD_INST_RS
              _PK' (UNIQUE) (Cost=3 Card=233)
      13    3         BUFFER (SORT) (Cost=223 Card=165 Bytes=4950)
      14   13           TABLE ACCESS (FULL) OF 'PART' (Cost=86 Card=165 By
              tes=4950)
      15    2       INDEX (RANGE SCAN) OF 'PCD_INST_PK' (UNIQUE) (
              Cost=2 Card=1)what would you suggest so the performance can be much better ?
    or anything that i shld take note from the execution plan ?
    current it took > 4 hrs to retrieve abt 300 - 400k records
    tks & rdgs

    Probably all the additional brackets in the where
    clause.
    Just kidding, but it would help to see what is
    happening better if you got rid of them, e.g.
    WHERE
    ( PT.PT_ID = PCD_INST.PCD_ID  )
    AND  ( PCD.PCD_ID = PCD_INST_RS.PCD_ID  )Should be
    WHERE
    PT.PT_ID = PCD_INST.PCD_ID 
    AND   PCD.PCD_ID = PCD_INST_RS.PCD_ID  You could remove the to_number
    AND   PCD_INST.INST_NUM  =  '123'
    anything that i shld take note from the executionplan ?
    What is shld?
    retrieve abt 300 - 400k recordsHow many is abt?
    SELECT STATEMENT Optimizer=CHOOSE (Cost=228Card=1 Bytes=205)Optimizer thinks it is going to return 1 row so your
    statistics are way off.
    What is rdgs?hi ,
    i'll first remove the bracket and the to_number and try
    then
    i'll check with the DBA to see if the stats are up to date
    sorry for the short-form, i was reminded earlier not to use that but i forgot
    shld --> should
    rdgs --> regards

  • Why does the query work in SQL Developer, but not in APEX?

    Hi, guys:
    I have a silly question. I have a complicated query, and I tested it successfully with SQL developer, and result is correct. However, when I put it into APEX to generate a report, it always reports no data found. I also know the condition related to "other marks" select list in the where clause part causes this problem. It also looks strange: before I add this condition, everything works OK; after I add this condition, even I do not choose the "other marks" select list, other components do not work neither. I always got no data found result. Could anyone help me on this problem? You can also visit our developing site as http://lsg-solutions.com:8888/apex/f?p=206 to check the problem.
    Thanks a lot
    Sam
    select distinct 'MAP','Detail',so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    so.date_of_birth as "Date of Birth",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    (select sc8.description from sor_code sc8 where sc8.code_id=so.hair_color) as "Hair Color",
    (select sc9.description from sor_code sc9 where sc9.code_id=so.eye_color) as "Eye Color",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    replace(replace(nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'No Known Address'),'#'),',') as "Physical Address",
    sl.status as "Status",
    sl.jurisdiction as "Jurisdiction",
    to_char(sl.ADDRESS_LATITUDE) as "Address Latitude",to_char(sl.address_longitude) as "Address Longitude",
    to_char(sl.physical_address_latitude) as "Physical Latitude",to_char(sl.physical_address_Longitude) as "Physical Longitude",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    rox.status as "Registration Status",
    rox.registration_date as "Registration Date",
    rox.end_registration_date as "End Registration Date"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and (((select sc11.description from sor_code sc11 where sc11.code_id=so.race and sc11.description=:P5_SL_RACE) is not null ) or (:P5_SL_RACE is null))
    and (((select sc12.description from sor_code sc12 where sc12.code_id=so.sex and sc12.description=:P5_SL_SEX) is not null ) or (:P5_SL_SEX is null))
    and (((select sc13.description from sor_code sc13 where sc13.code_id=so.hair_color and sc13.description=:P5_SL_HAIR_COLOR) is not null ) or (:P5_SL_HAIR_COLOR is null))
    and (((select sc14.description from sor_code sc14 where sc14.code_id=so.eye_color and sc14.description=:P5_SL_EYE_COLOR) is not null ) or (:P5_SL_EYE_COLOR is null))
    and (( so.offender_id in(select sm.offender_id from sor_code sc15, sor_mark sm, sor_offender so1 where sm.offender_id=so1.offender_id and sc15.code_id=sm.code and sc15.description=:P5_SL_OTHER_MARKS and sm.description is not null)) or (:P5_SL_OTHER_MARKS is null))

    My suggestion would be to put some instrumentation into your query and see what values you are using.. Or even simpler take out ALL the where clauses you can until data starts to sho wup and then add them back in one at a time until you find the culprit..
    My bet would be on any date comparisons you are doing between page items and database columns..
    Thank you,
    Tony Miller
    Dallas, TX

  • Why does the Query Result display "X" as a result

    Hello All,
    I have a query in which there are 6 Characteristics and 1 calculated key figure. But when the query is executed the query result displays as "X" in the column against all the 6 characteristics.
    Can anybody provide solution as to why the result displays "X" as a result.
    Regards,
    Vikram

    Hello all,
    Everybody answered it correctly. But when i debugged the query, i did not get any calculation which is getting divided by 0 and there were no mixed units of measurements. Probably it was an erroneous transport earlier. I only created and request again and transported the query from dev and the query is running fine.
    Thanks everybody.
    Vikram

  • Why does my query only show clients when there is no criteria defined?

    My query simply wants to display different properties of a computer.  There is no limiting criteria and yet it will only display those systems that are SCCM clients. The collection is an AD OU with both clients and non-clients. Here is my query.  Thank
    you.
    select SMS_R_System.ADSiteName, SMS_R_System.DistinguishedName, SMS_R_System.IPAddresses, SMS_R_System.LastLogonUserName, SMS_R_System.Name, SMS_G_System_DESKTOP_MONITOR.Description, SMS_G_System_SYSTEM_ENCLOSURE.SerialNumber, SMS_G_System_PHYSICAL_MEMORY.Capacity,
    SMS_G_System_LOGICAL_DISK.Name, SMS_G_System_LOGICAL_DISK.Size, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_G_System_COMPUTER_SYSTEM.Model, SMS_R_System.Client from  SMS_R_System inner join SMS_G_System_PHYSICAL_MEMORY on SMS_G_System_PHYSICAL_MEMORY.ResourceID
    = SMS_R_System.ResourceId inner join SMS_G_System_LOGICAL_DISK on SMS_G_System_LOGICAL_DISK.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM_ENCLOSURE
    on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_DESKTOP_MONITOR on SMS_G_System_DESKTOP_MONITOR.ResourceId = SMS_R_System.ResourceId

    They don't negate non-client results -- your query does because it is using inner joins. Inner joins drop rows in the "left" table if there is no matching row (based on the join condition) in the "right" table.
    The SMS_G_System_DESKTOP_MONITOR probably does not have any rows for your non-client resources and so the entire row gets dropped. That's how inner joins work. If you don't want this to happen, then you need to use an outer join -- typically a left outer
    join is what you want. This is all SQL specific and has nothing to do with ConfigMgr. It also has nothing to do with SSRS.
    There are tons of great resources on both SQL and SSRS -- just use Bing.
    Jason | http://blog.configmgrftw.com

  • Why does xmlManager.query() call hang ?

    Hi There,
    The very last statement xmlManager.query() hangs indefinitely. Wondering if anyone
    would know what may cause this (possible that my previous run of a program which
    stored a doc into the same container did not close cleanly). Now I cannot get this
    piece of code to move beyond the query() stmt.
    Note that all of my code is transactional (storage code which created the container
    and documents inside it).
    String xquery = "collection('2-201.dbxml')/cust";
    XmlTransaction xmlTransaction = xmlManager.createTransaction();
    XmlQueryContext resultsContext = xmlManager.createQueryContext();
    XmlResults results = xmlManager.query(xmlTransaction, xquery, resultsContext);
    Below are my env details:
    * the Berkeley DB XML product and version you're using : 2.2.13
    * the application API : Java
    * the operating system : Windows XP
    * any core dump stack trace: none
    Appreciate your help.
    Cheers,
    Shashi

    Here is what I have traced this issue back to. Note that both query and put document steps are working with the same container.
    // 1. query
    String xquery = "collection('2-201.dbxml')/cust";
    XmlTransaction xmlTransaction = xmlManager.createTransaction();
    XmlQueryContext queryContext = xmlManager.createQueryContext();
    XmlResults results = xmlManager.query(xmlTransaction, xquery, queryContext);
    // 2. open container
    XmlContainerConfig config = new XmlContainerConfig();
    config.setTransactional(true);
    String containerName = "2-201.dbxml";
    container = xmlManager.openContainer(xmlTransaction, containerName, config);
    // 3. put document
    XmlUpdateContext updateContext = xmlManager.createUpdateContext();
    container.putDocument(txn, "uniqueId-123", "<foo>blah</foo>", updateContext);
    Sequence:
    1) query
    2) open container
    3) put document
    results in hang in 3) although steps 1) and 2) work fine.
    Sequence:
    2) open container
    1) query
    3) put document
    works fine all the way through.
    I guess, I need to open the container before performing the query. It is not clear to me as to why it wouldn't fail in the query() step as opposed to failing when writing into this container later on.
    Cheers.

  • Why does PASTE take a full second to happen?

    When I either COPY and PASTE or CUT and PASTE, from one cell to the next, it takes Numbers at least a full second to paste the data. I could COPY once, then PASTE, TAB, PASTE, TAB, etc and it takes forever. Seems like a bug to me so I was going to send Apple some feedback.

    Not a bug, just an inefficient code.
    Pasting a formula in a cell may force the recalculation of the entire sheet, even the recalculation of several sheets.
    I guessed that Numbers behaves as an Xml interpreter. Other users disagree with me.
    True or wrong, Numbers is pure mollasse.
    Yvan KOENIG (from FRANCE jeudi 24 juillet 2008 09:11:31)

  • Why does my fan blast full power after shutdown?3.4 GHz Intel Core i7/OS X 10.9/27-inch, Late 2012

    A couple of seconds after shutdown my fan at the rear of the machine starts. and does not stop until I unplug power at the socket.  The fan is almost as loud as a bathroom hand dryer..... Yup !?  Any one out ther with any ideas please help.  Mac support were sweet but pretty ineffectual.
    iMac 3.4 GHz Intel Core i7/OS X 10.9/27-inch, Late 2012
    Thanks.

    A couple of seconds after shutdown my fan at the rear of the machine starts. and does not stop until I unplug power at the socket.  The fan is almost as loud as a bathroom hand dryer..... Yup !?  Any one out ther with any ideas please help.  Mac support were sweet but pretty ineffectual.
    iMac 3.4 GHz Intel Core i7/OS X 10.9/27-inch, Late 2012
    Thanks.

  • Setting "in" and "out" - why does it export the full timeline ?

    Hi folks.
    Well, I'm scratching my head.
    I go into Premiere, onto the timeline, and set an "in" point and an "out" point. I then get Premiere to render the video. It renders out the whole timeline, eventhough I told it to render only the "work area" which of course one would think would be that area I told Premiere I wanted, because of my "in" and "out" points.
    The manual is very vague, and I just don't get it. I don't want to do any razor cuts, I just want to get Premiere to render out the video inside my "in" and "out" points I've inserted.
    Any help would be appreciated,
    Dave.

    The work area bar is different than setting in and out points. It's the bar with the (I think) blue handles at the top of the timeline. Drag those handles to the points where you want rendering to start and stop, and hit Enter.

  • Just installed FF 4 in Win 7. Why does it take a full minute to open?

    This was also true for FF 3.17. Some times it doesn't open at all, and I have to open the Task Manager and stop the FF process to get it to open.

    It sounds to me like the installation didn't perform correctly.
    What I suggest you do is to go to Add/Remove Programs and uninstall it, but don't checkmark the option to remove your bookmarks, customizations etc.
    Before you do that though, go to [http://www.mozilla.com/en-US/firefox/fx/?ref=logo Download Firefox 4.0] and download a fresh installation file.
    After you uninstall the existing installation, reboot.
    It's also wise to disable your AV before installing again. If you've got AVG, this is particularly difficult because it doesn't have an Exit option. Instead, you have to open MSCONFIG and remove the checkmark from '''AVG Watchdog '''which disables everything. Any changes to MSCONFIG requires a reboot I regret to say.

  • Why does recursive query only organize the first item in the subquery?

    Following is my recursive function and it only updates the first two item in my subquery..
    select distinct f.DISPLAY_NAME, f.id,f.parent_id, f.sub_folder_sequence
    from WWSBR_ALL_FOLDERS f, WWSBR_ALL_FOLDERS g start with f.id in
         (select g.parent_id from WWSBR_ALL_FOLDERS e
         where
              e.id = g.parent_id AND
              f.id = g.parent_id AND
              e.caid = 103 AND
    e.parent_id <> 0 AND
    e.type_id = 1 AND
    e.display_in_parent_folder <> 0)
         connect by prior f.id= f.parent_id
    order by f.sub_folder_sequence asc, f.parent_id asc, f.id desc;

    following is my result
    DISPLAY_NAME
    ID PARENT_ID SUB_FOLDER_SEQUENCE
    Home Page
    8981 1 1
    Claims
    9192 8981 1
    Advanced Search
    9168 9163 1
    DISPLAY_NAME
    ID PARENT_ID SUB_FOLDER_SEQUENCE
    Sales Chart
    9187 9173 1
    Search
    9163 1 2
    Sales
    9173 1 3
    6 rows selected.

  • Why does "SELECT * FROM [database].[schema].[table]" not work in Azure ?

    Hi all
    In Microsoft Azure I have 2 databases.
    I work since more than 10 years with T-SQL and I always use
    fully qualified object names, means "[database].[schema].[table]".
    When I now make a connection to my database "A" in Azure and
    write a Query against database "B" ("SELECT * FROM [B].[schema].[table]")
    I get an exception. Of course when I connect to database "B" it works
    but again not to database "A". When I use "SELECT * FROM [schema].[table]"
    with the right database connected, it also works in Azure.
    Hope you understand what I mean :-)
    In MS-SQL, this of course works fine.
    Well my question is: What sense does this make ??
    Do I now have to re-write everything just for azure or will this behavior changed sometimes ?
    I know MS-SQL is not the same like Azure-SQL, but hey; does Microsoft think all projects have only one database ?? :-)
    Thanks for any answer
    Frank

    Hi Frank,
    According to your description, you want to retrieval data cross database in SQL Azure, right?
    As June said, Currently cross database joins are not supported in SQL Azure. Also you cannot change database mid query so you cannot, for example, put a USE [MyDB] in your query either. Please refer to the link below to see the details.
    http://www.britishdeveloper.co.uk/2011/11/cross-database-joins-in-sql-azure.html
    If you have any concern about this behavior, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature
    in the following release after official confirmation.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for