stamenet sql tune with exists and not exists has subquerys

Hello

Please advice me how I can resolve the application below.

Database version:

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi

PL/SQL Release 10.2.0.4.0 - Production

CORE 10.2.0.4.0 Production

AMT for HP - UX: release 10.2.0.4.0 - Production

NLSRTL Version 10.2.0.4.0 - Production

Query:

Select / * + RULE * /.

VD.*

of encyc_owner.v_document vd

where rownum < =: b_max_hits and

VD.start_page = 0 and

VD.end_page = 0 and

VD.doc_type_id =: b_doc_type_id and

THERE ARE

(select 1

of encyc_owner.t_doc_user_group_xref tdugx,.

encyc_owner.t_user_group_xref tugx

where tdugx.doc_version_id = vd.doc_version_id and

tdugx.user_group_id = tugx.user_group_id and

tugx.user_id =: b_user_id and

tdugx.start_date < =: b_effective_date and

tdugx.end_date > =: b_effective_date) and

NOT EXIST

(select 1

of encyc_owner.t_doc_version tdvalt,.

encyc_owner.t_doc_user_group_xref tdugx,

encyc_owner.t_user_group_xref tugx

where tdvalt.document_id = vd.document_id and

tdvalt.version_date > vd.version_date and

tdugx.doc_version_id = tdvalt.doc_version_id and

tdugx.user_group_id = tugx.user_group_id and

tugx.user_id =: b_user_id and

tdugx.start_date < =: b_effective_date and

tdugx.end_date > =: b_effective_date)

order of vd.doc_type_label, vd.doc_type_id, vd.document_label, vd.document_id, vd.version_date, vd.version_major, vd.version_minor, vd.doc_version_id, vd.start_page, vd.end_page

Execution plan:

PLAN_TABLE_OUTPUT

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

Hash value of plan: 2201102624

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

| ID | Operation | Name                    | Lines | Bytes | Cost (% CPU). Time |

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

|   0 | SELECT STATEMENT |                         |     1.   338.   597 (1) | 00:00:08 |

|   1.  SORT ORDER BY |                         |     1.   338.   596 (1) | 00:00:08 |

|*  2 |   COUNT STOPKEY |                         |       |       |            |          |

|*  3 |    FILTER                                 |                         |       |       |            |          |

|   4.     NESTED LOOPS |                         |     1.   338.   594 (1) | 00:00:08 |

|   5.      NESTED LOOPS |                         |     1.   312.   594 (1) | 00:00:08 |

PLAN_TABLE_OUTPUT

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

|   6.       NESTED LOOPS |                         |     1.   300.   594 (1) | 00:00:08 |

|   7.        NESTED LOOPS |                         |     1.   229.   593 (1) | 00:00:08 |

|   8.         NESTED LOOPS |                         |     1.   218.   593 (1) | 00:00:08 |

|*  9 |          HASH JOIN |                         |    35.  4655.   579 (1) | 00:00:07 |

|  10.           NESTED LOOPS |                         |  1134 | 81648 |   468 (1) | 00:00:06 |

|  11.            NESTED LOOPS |                         |  1134 | 54432 |    14 (0) | 00:00:01 |

|  12.             TABLE ACCESS BY INDEX ROWID | T_DOC_TYPE |     1.    42.     0 (0) | 00:00:01 |

| * 13 |              INDEX UNIQUE SCAN | PK_DOC_TYPE |     1.       |     0 (0) | 00:00:01 |

|  14.             VIEW                          | VW_SQ_1                 |  1134 |  6804 |    14 (0) | 00:00:01 |

|  15.              UNIQUE FATE |                         |  1134 | 36288 |            |          |

|  16.               NESTED LOOPS |                         |  1134 | 36288 |    14 (0) | 00:00:01 |

PLAN_TABLE_OUTPUT

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

|  17.                TABLE ACCESS BY INDEX ROWID | T_DOC_USER_GROUP_XREF |  2036 | 48864 |    14 (0) | 00:00:01 |

| * 18.                 INDEX RANGE SCAN | I_DOC_USER_GROUP_XREF_3 |    66.       |    13 (0) | 00:00:01 |

| * 19.                INDEX UNIQUE SCAN | I_USER_GROUP_XREF_1 |     1.     8.     0 (0) | 00:00:01 |

|  20.            TABLE ACCESS BY INDEX ROWID | T_DOC_VERSION |     1.    24.     0 (0) | 00:00:01 |

| * 21.             INDEX UNIQUE SCAN | PK_DOC_VERSION |     1.       |     0 (0) | 00:00:01 |

|  22.           TABLE ACCESS BY INDEX ROWID | T_DOCUMENT | 13986.   833K |   110 (0) | 00:00:02 |

| * 23.            INDEX RANGE SCAN | I_DOCUMENT_1 | 13986.       |     8 (0) | 00:00:01 |

|  24.          TABLE ACCESS BY INDEX ROWID | T_DOC_SECTION |     1.    85.     0 (0) | 00:00:01 |

| * 25.           INDEX UNIQUE SCAN | I_DOC_SECTION_1 |     1.       |     0 (0) | 00:00:01 |

|  26.         TABLE ACCESS BY INDEX ROWID | T_DOC_LINK_XREF |     1.    11.     1 (0) | 00:00:01 |

| * 27.          INDEX RANGE SCAN | I_DOC_LINK_XREF_1 |     1.       |     0 (0) | 00:00:01 |

PLAN_TABLE_OUTPUT

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

|  28.        TABLE ACCESS BY INDEX ROWID | T_DOC_LINK |     1.    71.     0 (0) | 00:00:01 |

| * 29.         INDEX UNIQUE SCAN | PK_DOC_LINK |     1.       |     0 (0) | 00:00:01 |

|  30.       TABLE ACCESS BY INDEX ROWID | T_STORAGE |     1.    12.     0 (0) | 00:00:01 |

| * 31.        INDEX UNIQUE SCAN | PK_STORAGE |     1.       |     0 (0) | 00:00:01 |

|  32.      TABLE ACCESS BY INDEX ROWID | T_MEDIA |     1.    26.     0 (0) | 00:00:01 |

| * 33 |       INDEX UNIQUE SCAN | PK_MEDIA_TYPE |     1.       |     0 (0) | 00:00:01 |

|  34.     NESTED LOOPS |                         |     1.    51.     1 (0) | 00:00:01 |

|  35.      NESTED LOOPS |                         |     1.    27.     1 (0) | 00:00:01 |

|  36.       TABLE ACCESS BY INDEX ROWID | T_DOC_VERSION |     1.    19.     1 (0) | 00:00:01 |

| * 37 |        INDEX RANGE SCAN | I_DOC_VERSION_2 |     1.       |     1 (0) | 00:00:01 |

| * 38 |       INDEX RANGE SCAN | I_USER_GROUP_XREF_1 |     3.    24.     0 (0) | 00:00:01 |

PLAN_TABLE_OUTPUT

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

| * 39 |      TABLE ACCESS BY INDEX ROWID | T_DOC_USER_GROUP_XREF |     1.    24.     0 (0) | 00:00:01 |

| * 40 |       INDEX UNIQUE SCAN | I_DOC_USER_GROUP_XREF_1 |     1.       |     0 (0) | 00:00:01 |

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

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

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

2 filter (ROWNUM < = TO_NUMBER (:B_MAX_HITS)))

3 filter (NOT EXISTS (SELECT / * + * / 'ENCYC_OWNER' 0.)) "" T_USER_GROUP_XREF ".

"TUGX", "ENCYC_OWNER". "" T_DOC_USER_GROUP_XREF ""TDUGX","ENCYC_OWNER ". ' ' T_DOC_VERSION ' 'TDVALT' WHERE

'TDVALT '. "' VERSION_DATE ' IS NOT NULL AND"TDVALT ". "" VERSION_DATE ">: B1 AND 'TDVALT '. "DOCUMENT_ID" =: B2 AND "

PLAN_TABLE_OUTPUT

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

'TDUGX '. "" USER_GROUP_ID "=" TUGX. " "" USER_GROUP_ID "AND"TDUGX ". "" DOC_VERSION_ID "=" TDVALT. " "" DOC_VERSION_ID "AND

'TDUGX '. "" Start_date "< =: B_EFFECTIVE_DATE AND"TDUGX. " "' End_date ' > =: B_EFFECTIVE_DATE AND

'TUGX '. "USER_ID"= TO_NUMBER (:B_USER_ID)))

9 - access("TD".") DOC_TYPE_ID "=" TDT ". "" DOC_TYPE_ID "AND"TD ". «DOCUMENT_ID '=' TDV '.» DOCUMENT_ID")

13 - access("TDT".") DOC_TYPE_ID '= TO_NUMBER (:B_DOC_TYPE_ID)).

18 - access("TDUGX".") End_date"> =: B_EFFECTIVE_DATE AND"TDUGX. " ("" Start_date "< =: B_EFFECTIVE_DATE)

filter ("TDUGX". "End_date" (> =: B_EFFECTIVE_DATE) "

19 - access("TUGX".") USER_ID "= TO_NUMBER(:B_USER_ID) AND"TDUGX". "" USER_GROUP_ID "=" TUGX. " ("' USER_GROUP_ID")

21 - access ("DOC_VERSION_ID"= "TDV"." DOC_VERSION_ID')

23 - access("TD".") DOC_TYPE_ID '= TO_NUMBER (:B_DOC_TYPE_ID)).

25 - access("TDV".") DOC_VERSION_ID "=" TDS ". "" DOC_VERSION_ID "AND"TDS ". "START_PAGE"= 0 AND "TDS". "END_PAGE"= 0)

PLAN_TABLE_OUTPUT

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

27 - access("TDV".") DOC_VERSION_ID "=" TDLX. " ("' DOC_VERSION_ID")

29 - access("TDLX".") DOC_LINK_ID "=" TDL ". ("' DOC_LINK_ID")

31 - access("TDL".") STORAGE_ID "=" TS ". ("' STORAGE_ID")

33 - access("TDL".") MEDIA_ID "=" TM ". ("' MEDIA_ID")

37 - access("TDVALT".") DOCUMENT_ID "=: B1 AND"TDVALT"". "" VERSION_DATE">: B2 AND 'TDVALT '. "' VERSION_DATE ' IS NOT

NULL)

38 - access("TUGX".") USER_ID "= TO_NUMBER (:B_USER_ID))

39 - filter("TDUGX".") Start_date"< =: B_EFFECTIVE_DATE AND"TDUGX. " ("' End_date ' > =: B_EFFECTIVE_DATE)

40 - access("TDUGX".") DOC_VERSION_ID "=" TDVALT. " "" DOC_VERSION_ID "AND

'TDUGX '. "" USER_GROUP_ID "=" TUGX. " ("' USER_GROUP_ID")

Can you check if her below meets your expectations.

Select / * + RULE * /.

VD.*

of encyc_owner.v_document vd

where rownum<= :b_max_hits="">

VD.start_page = 0 and

VD.end_page = 0 and

VD.doc_type_id =: b_doc_type_id and

THERE ARE

(select 1

of encyc_owner.t_doc_version tdvalt,.

encyc_owner.t_doc_user_group_xref tdugx,

encyc_owner.t_user_group_xref tugx

where tdvalt.document_id = vd.document_id and

tdvalt.version_date > vd.version_date and

tdugx.doc_version_id = tdvalt.doc_version_id and

tdugx.doc_version_id = vd.doc_version_id and

tdugx.user_group_id = tugx.user_group_id and

tugx.user_id =: b_user_id and

tdugx.start_date<= :b_effective_date="">

tdugx.end_date > =: b_effective_date)

Tags: Database

Similar Questions

  • my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    HI - try the following steps:

    On your iPhone close application of activity and also, if it runs in the background, the health app (you can close open apps, including the app shows):

    -Double-click the Home button, and then drag upward on each of the app previews to close.

    It can help to restart your iPhone and your watch. Turn on both devices off the power together first, and then restart your iPhone before restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off;

    -To switch on: press and hold the side button until you see the Apple logo.

    If this does not resolve the problem, try next disconnect and rematching of your watch:

    -L'app shows on your iPhone shows backups automatically, including a new when the unpairing via the application.

    -Choose to restore the watch (backup restore) when provided the opportunity during the whole.

    -Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).

    - Pairing your Apple Watch and Support Apple - iPhone

    - Set up your Apple Watch - Apple Support

  • More than 1 SQL query with checkbox and error invalid number report

    Hi all

    I have two SQL query reports that each has an apex_item.checkbox and two processes for each report.  A report/process works very well.  It gives me an error of invalid number.

    In addition, another query SQL (editable report) gives me the following error when using the Multi line process, delete.

    ORA-06502: PL/SQL: digital or value error: character number conversion
    error ORA-06502: PL/SQL: digital or value error: character number conversion
    error
    Ok

    When I got a report from SQL query (with box and a process) and the query SQL (editable report) everything worked.  It stopped working when I added another SQL query report (with box and a process).

    A SQL query has the following in my query: apex_item.checkbox(3,email_id,'UNCHECKED') ""

    The other SQL query has the following: apex_item.checkbox(2,b.file_id,'UNCHECKED') ""

    Any help will be greatly appreciated,

    Sylvia

    Hi Reema,

    I've recreated the region and now it works!

    Thank you for this, looking at

    Sylvia

  • Hi, I would like my contract with photoshop and lightroom, it has been a year and I do not want to renew, how do I proceed?

    Hi, I would like my contract with photoshop and lightroom, it has been a year and I do not want to renew, how do I proceed?

    Basically, the contact support as soon as POSSIBLE.

    Cancel your membership Adobe Creative Cloud

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

    https://helpx.Adobe.com/contact.html?step=CCSN_membership-account-payment_cancel-your-memb ership_stillNeedHelp

  • SQL query with terms and calculations?

    Hello
    How do I create a query with terms and calculations?
    For example, I have this table


    Start | End |     At work |     Mandatory
    ------------------------------------------------------------------------------------
    1ST JANUARY 13 | JANUARY 11, 13.     Office |          1
    JANUARY 14, 13. 25 JANUARY 13 |     Ministry of the Interior.     0
    04-MRZ-13 | 15-MRZ-13 |     Office |          0
    FEBRUARY 11, 13. FEBRUARY 22, 13.     Office |          1


    Now, if the workplace of the column = office and required column = 0
    the new 'price' column should calculate: (end-start) * $25.00
    and if workplace = Office and required column = 1
    the 'price' column must calculate: (end-start) * $20.60
    any other $0.00

    I tried with the case statement, but I didn't know how
    to calculate my values and display in the virtual column 'price '.

    Something like
    case
    When Working_Place = 'Office' and mandatory = 1
    then...
    else ' 0.00'. "
    end PRICE
    ?????


    Or is that not possible?

    Published by: DB2000 on 12.03.2013 05:09

    Use CASE:

    select  start_dt,
            end_dt,
            working_place,
            mandatory,
            case
              when working_place = 'Office' and mandatory = 0 then (end_dt - start_dt) * 25
              when working_place = 'Office' and mandatory = 1 then (end_dt - start_dt) * 20.60
              else 0
            end price
      from  tbl
    /
    
    START_DT  END_DT    WORKING_PLA  MANDATORY      PRICE
    --------- --------- ----------- ---------- ----------
    01-JAN-13 11-JAN-13 Office               1        206
    14-JAN-13 25-JAN-13 Home Office          0          0
    04-MAR-13 15-MAR-13 Office               0        275
    11-FEB-13 22-FEB-13 Office               1      226.6
    
    SQL> 
    

    SY.

  • How to remove a user name of unwanted e-mails that appears only with firefox and not with chrome or internet explorer.

    This problem is to go to a Comcast email address wandering through the homepage of Comcast - Comcast records do not appear this username exists anywhere within their system and says it's a firefox issue. The unwanted name appears that when you use firefox to access the homepage of Comcast and drop sign-in window. When you click on the wrong user name, the message indicates the address is not recognized. Bad user name does not appear when the homepage of Comcast is implemented using chrome or internet explore. Would appreciate advice on how to remove this unwanted user name which seems to lie somewhere in the system of firefox. Grateful to all those who would try to help.

    You can use the following steps to delete the recorded data (form) in a drop-down list:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list with the mouse or the cursor key
      do not click with the mouse or press the Enter key
    3. Press the DELETE key (on a Mac: shift + del) to delete the highlighted entry
  • cannot be wound with separate and not in the clause.

    < NamesToBeAddedInHR >

    TOGETHER SET ON POSITION OFF FEEDBACK OFF ECHO OFF PAGESIZE 0 LINESIZE 400 TERMOUT OFF

    coil & 1

    Select distinct (temp.resource_name) from temp_emp_allocation temp which temp.resource_name not in (select distinct (m.resource_name) of master_emp_allocation m;)

    spool off;

    "exit";

    /

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

    passage of arguments is not a problem because this technique works with other codes of coil

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

    sqlplus test/test @ReportOperation/NamesToBeAddedInHR.sql $FILE/Names.csv

    result:

    File Names.csv has not created

    nothing of queue

    In short, nothing happens

    Remove all as and check the genarating file or not?

    -TOGETHER SET ON POSITION OFF FEEDBACK OFF ECHO OFF PAGESIZE 0 LINESIZE 400 TERMOUT OFF

    If the file genarating then go further

  • Satellite P100: Multimedia Bar with Winamp and not WMP

    Hello
    I would like to customize my Toshiba P100 multimedia bar to control Winamp instead of Windows Media Player. Somehow, the 'stop' and 'Skip fwd/bwd' buttons appear to have begun to control Winamp (although I have no idea how), but the "play/pause" button always opens the WMP, which I don't use and find it generally boring.

    Is there a way to program these buttons?
    Perhaps via the registry?

    Thank you, d.

    Hello

    It s very strange that the other keys work with Winamp.
    Generally AFAIK it of not possible to use this button with a 3rd party program.
    This button should only works with Windows media player if the CD has been inserted or WinDVD if the DVD has been inserted.

    However, in my opinion, you should check if the new version of the Toshiba controls is displayed on the page of the Toshiba driver. Try reinstalling this application.

    PS: What happens if you remove the Winamp? The buttons work properly?

  • Get all reference - modified controls: problem with LV2009 (and not LV8.6.1)

    I modified reference.vi get all the controls (http://zone.ni.com/devzone/cda/epd/p/id/2902) and it works very well in LV8.6.1.  With LV2009, I get the class conflicts of wire (for references).

    With LV8.6.1

    With LV2009

    I tried to type cast (more generic class) but it doesn't work, someone has an idea to solve the problem?

    Jean-Marc

    I agree with you,

    I made the changes as soon as this morning.  I just need the reference of the tab control itself (I don't need references from pages). I used 'generic' instead of 'control' and I catalogued to a more specific class (control) in step 5 in the block diagram.


    Thank you

    Jean-Marc

    The changed files are available at http://forums.ni.com/ni/board/message?board.id=4170&thread.id=30464 (I apologize to not upgrade this post).

  • SimplePass only works with IE and not other browsers

    SimplePass v5.20.205a should work with other browsers like Chrome or Firefox?

    On my dv7-4295us w / Win7 - 64 bit, SimplePass only works with IE8/9. Use IE, suddenly me in connects to the listed sites. With Chrome or Firefox, suddenly won't open the password manager. After scrolling to and by selecting the entry with the correct connection info, an instance of IE opens and connects me.

    If Firefox is set as the default browser, one touch opens the password manager. You select the Web site, a warning message (Firefox doesn't know how to open this address, because the Protocol (dpql) is not associated with any program.)

    If Chrome is the browser default, one touch opens the password manager. The selection of the correct entry, results in a new instance of Chrome to open to my home page.

    BTW - the link for help does not (never) bar of tasks or SimplePass inside.

    Cognizer,

    Welcome to the Forum!

    Firefox will work with your version of SimplePass, called Digital Persona.

    The limitation is that you must use a PREVIOUS Firefox version: ~ 3.6 28

    Download of Firefox 3.6.x

    If you're ready to do this (use the old version), then you can use all the sites to your connections and also use the HP connection to access your account on your computer when it starts.  This old version of Firefox also works very well with IE8/9.

    You can update Firefox to the bosom of the version 3.6.x, when they ask... just don't get excited and upgrade to the latest Firefox or Simplepass balk.  Tip: You can keep a copy of your download 3.6.x autour just in case you lose the installation or something else happens and you need to reinstall Firefox later.

    IE8 is quite Rocky.  If you have no choice, be it, immediately update IE9.

    I don't know about Chrome.  Couldn't get anything to work with it.

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

    I hope this helps!

    We work hard to help!

    Whenever you see a useful Post - click on the Star Bravo on the left as a thank you!

    Doesn't have this Post solved your problem?  Mark "accept as Solution!

    Note: You can find the box "Accept as Solution" on threads started by you.

    2012 the year of the Dragon!

    Dragon tips:

    SimplePass flavoers Digital Persona and HP SimplePass 2011 / 2012 are MATERIAL dependent.  This means that your computer hardware dictates what kind of software SimplePass, you should run on your computer.  If you run Digital Persona SimplePass style, you must continue to run such - at least for now.  The software code is different, and are the two types are not interchangeable.

  • VMware Guest works with IPv4 and not IPv6 - ideas everything?

    Well, have a little patience with me. I have a very complicated setup which works perfectly with IPv4, but does not work with IPv6. I hope that one of you superstars can help me to understand how to enable IPv6. Here are the basic configuration:


    Mac mini:

    • Mac mini (end 2012) Mavericks 10.9.5 and VMware Fusion 7.1.0 Server
      • A KDLINKS up one1 account USB 3.0 to Gigabit Ethernet adapter is installed. It is functionally identical to all other brands of USB3/Gigabit Ethernet, which is based on the 6 AX88179 chipset adapter; which is the latest version.
      • (I have another identical USB 3.0 to Gigabit Ethernet adapter, still in the box, do not set, in case this might help the solution.)
      • The most recent 6 Mac driver is installed in the Mac mini, downloaded from ASIX. (The driver on the driver of the KDLINKS Web site is a little older).

    Internet connection:

    • Our Internet connection is a regular cable modem. The cable modem is a simple bridge, Ethernet cable. He gets a public (Internet) IP address on the ISP using DHCP Ethernet interface, as you can imagine.

    VMware Fusion Guest - a firewall device:

    • The VMware Fusion guest is a firewall device. Here's its network configuration:
      • The internal interface is bridged to the Mac mini integrated Ethernet adapter. It has a private IP (10-net). It serves as a one-stop shop for all of your home LAN.
      • The external interface is bridged to the USB/Ethernet adapter. The device of host firewalls Gets the address public Internet IP from the ISP via DHCP.

    Mini Mac Network Configuration:

    • Network Configuration Mac mini (OS X System Preferences network 10.9.5,):
      • The Mac mini integrated Ethernet is configured with a fixed IP on the LAN private address and is configured to use the private IP address of the firewall device of comments as the gateway and DNS server.
      • Adapter USB/Ethernet of the Mac mini is defined as:
        • Configure IPv4: Off
        • Advanced... Configure IPv6: Link-local only
        • The goal is to ensure that the Mac mini can be reached or attacked from the Internet. All Internet traffic should be a device of host firewalls.

    Totally works with IPv4.

    Surprisingly, this all works with IPv4 without any problem whatsoever.


    IPv6 taken in charge by the provider of Internet services and tested with Time Capsule:

    There is no problems with IPv6 when I use an Apple Time Capsule as the firewall / router between the home network and the Internet, using the same cable modem. It is easy to configure, and IPv6 works inside the LAN House and all as well go to the servers on the Internet that support IPv6. Tested, working, as expected.

    I'd do it want to use this device to host VMware Fusion as our firewall router firewalls House for IPv4 and IPv6, the time Capsule not.

    THE PROBLEM:

    The device of host firewalls cannot acquire an IPv6 address of the ISP. He obtains an IPv4 address, but not an IPv6 address.

    THE QUESTION:

    What can I do to make the apparatus of host firewalls acquires an address IPv6, the same way as did the Time Capsule?

    • The Mac mini (host) does not expose its interfaces directly to the Internet.
    • The Mac mini (host) would carry its IPv6 Internet traffic via the comments, the same as its IPv4 Internet traffic firewall application.

    Any suggestions would be greatly appreciated.

    I solved my problem. It was a setting of configuration of the firewall of comments and had nothing to do with VMware Fusion. Here are the details, in case others have the same problem:

    Comments firewall device has been configured as a gateway IPv4, but not as an IPv6 gateway. As a result, the firewall received a single IPv6 address of the ISP. It was a 128, of course.

    Once I enabled the 'IPv6 Default Gateway' setting for the interface external unit of firewall of comments (which translates as the USB3/Ethernet interface to the cable modem) and rebooted the modem cable and firewall, the firewall has asked an IPv6 network block instead (a 64 network). After that, everything worked as expected.

    I know that nobody has answered this detailed query, but I know that a lot of people read it. Thanks for taking a peek. I hope this solution helps others.

  • 1. I am unable to confirm my e-mail address you: 2nd - I e-mail print layout prlblems only with Firefire and not with Internet Explorrer

    1. 1 - obviously
    2. 2 - what printingusing the system of Firefox print cut the complete line such that displayed on the screen which is a problem that does not occur with the other formats such as Internet Explorer

    File > Page Setup - try lowering the bottom margin

  • Question - create a field in a SQL query with the status not nullable

    I want to create a field that is not nullable char (2) length

    If I do CREATE TEMPORARY TABLE X

    SELECT

    "AH" AS CDTYPE

    or

    SELECT

    CAST ('AH' AS CHAR (2)) CDTYPE

    Or

    CAST (NVL(' ','AH') AS CHAR (2)) CDTYPE

    The field is always created as a nullable field of Char (2)

    Without creating a special field type, how can I dow it

    You cannot set the projections have NOT null SQL, you can only put your query clauses so that NULL values are filtered out or by default set to another value results.

    NO NULL only applies to the columns of the table (or PL/SQL parameters/variables).

  • How to extract the sql text with SID and SERIAL No.

    Hello

    I am new to oracle database and recently I started my journey in the optimization of the performance.
    I need to retrieve the sql text that is triggered by the user in function were SID and SERIAL No.

    Thanks in advance...
    Prabha

    Select
    a.SID,
    a.Serial #.
    b.sql_text
    Of
    session v$ a.
    v$ sqlarea b
    where
    a.sql_address = b.Address
    and
    SID = 43;

  • How to improve integration with to and not

    There is a previous process that fills data doc_t.id. Lines normally about 10,000. Subsequently the main process is running:
    insert into doc_t
    (SELECT DISTINCT no2, NULL, NULL, NULL 
    FROM document_t
    WHERE  no1 IN (SELECT id FROM doc_t) 
    AND    no2 NOT IN (SELECT id FROM doc_t) 
    AND    msg IN (33, 2) 
    AND    doc_time <= '31.12.2009')
    ; 
    Post-processing transfers the data of doc_t and finally truncates. doc_t Table document_t contains lines of 300Mio.

    All the work runs fine most of the time. But if him preprocess inserts 10000 s of lines in doc_t, the work goes on for hours.

    How can we improve the insertion / design? Some options: we think:
    -document_t of partition and run processes parallel (permit required)
    -transfer doc_t into a temporary table
    -calculate the statistics on the table for doc_t before insertion

    What other options should be considered? Is there a way to avoid these / not in constructions (= redesign)?

    This should be faster, check yourself.

    insert into doc_t
    (SELECT DISTINCT no2, NULL, NULL, NULL
    FROM document_t a inner join doc_t b on (a.no1 = b.id)
    WHERE  no2 NOT IN (SELECT id FROM doc_t)
    AND    msg IN (33, 2)
    AND    doc_time <= '31.12.2009')
    ;
    
    create index doct_id_index on doc_t(id);
    dbms_stats.gather_index_stats(user,'DOCT_ID_INDEX');
    

    It is important that you gather statistics during the doc_t table is in a typical/filled State.

    Published by: René Jeruschkat, January 15, 2010 08:20

    Published by: René Jeruschkat, January 15, 2010 08:24

Maybe you are looking for