Problem dropping extended statistics

I created some extended statistics on a table, but now I can't delete them. I want to delete the statistics/virtual column represented by SYS_STUDDJ802H#C$E$W27NW$#B7DO.
SQL> SELECT *
      2 FROM   dba_stat_extensions
      3 WHERE  table_name = 'T_E2_TRANS_INFO'
OWNER      TABLE_NAME           EXTENSION_NAME                 EXTENSION                                     CREATO DRO
INTERFACE  T_E2_TRANS_INFO      SYS_NC00063$                   (TRUNC("TRANSACTION_DATE"))                   SYSTEM NO
INTERFACE  T_E2_TRANS_INFO      SYS_STUDDJ802H#C$E$W27NW$#B7DO ("PARTITION_ID",TRUNC("TRANSACTION_DATE"))    USER   YES
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(partition_id, trunc(transaction_date))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(partition_id, trunc(transaction_date))'); END;
ERROR at line 1:
ORA-20000: extension "(partition_id, trunc(transaction_date))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, trunc(TRANSACTION_DATE))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, trunc(TRANSACTION_DATE))'); END;
ERROR at line 1:
ORA-20000: extension "(PARTITION_ID, trunc(TRANSACTION_DATE))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, TRUNC(TRANSACTION_DATE))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, TRUNC(TRANSACTION_DATE))'); END;
ERROR at line 1:
ORA-20000: extension "(PARTITION_ID, TRUNC(TRANSACTION_DATE))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','("PARTITION_ID", TRUNC("TRANSACTION_DATE"))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','("PARTITION_ID", TRUNC("TRANSACTION_DATE"))'); END;
ERROR at line 1:
ORA-20000: extension "("PARTITION_ID", TRUNC("TRANSACTION_DATE"))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1Anybody run into this?
Thanks!

I tried to get such a situation with no luck. How did you get the ("PARTITION_ID",TRUNC("TRANSACTION_DATE"))?
I tried on a partition table but I never get a "PARTITION_ID" into the function.
drop table ex_stats_test purge;
create table ex_stats_test
(mnr number,
mvol number)
PARTITION BY range (mnr)
(PARTITION PARTITION_000000  VALUES LESS THAN (MAXVALUE));
insert into EX_STATS_TEST values (1,2);
commit;
SELECT DBMS_STATS.CREATE_EXTENDED_STATS('ANDY','EX_STATS_TEST','(TRUNC("MVOL"))') FROM DUAL;
select * from  dba_stat_extensions where owner='ANDY';
exec DBMS_STATS.DROP_EXTENDED_STATS ('ANDY','EX_STATS_TEST','(TRUNC("MVOL"))');

Similar Messages

  • Extended statistics issue

    Hello!
    I have a problem with extended statistics on 11.2.0.3
    Here is the script I run
    drop table col_stats;
    create table col_stats as
    select  1 a, 2 b,
    from dual
    connect by level<=100000;
    insert into col_stats (
    select  2, 1,
    from dual
    connect by level<=100000);
    -- check the a,b distribution
    A
        B
    COUNT(1)
    2
        1
      100000
    1
        2
      100000
    -- extended stats DEFINITION
    select dbms_stats.create_extended_stats('A','COL_STATS','(A,B)') name
    from dual;
    -- set estimate_percent to 100%
    EXEC dbms_stats.SET_TABLE_prefs ('A','COL_STATS','ESTIMATE_PERCENT',100);
    -- check the changes
    select dbms_stats.get_prefs ('ESTIMATE_PERCENT','A','COL_STATS')
    from dual;
    -- NOW GATHER COLUMN STATS
    BEGIN
      DBMS_STATS.GATHER_TABLE_STATS (
        OWNNAME    => 'A',
        TABNAME    => 'COL_STATS',
        METHOD_OPT => 'FOR ALL COLUMNS' );
    END;
    set autotrace traceonly explain
    select * from col_stats where a=1 and b=1;
    SQL> select * from col_stats where a=1 and b=1;
    Execution Plan
    Plan hash value: 1829175627
    | Id  | Operation         | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |           | 50000 |   683K|   177 (2)| 00:00:03 |
    |*  1 |  TABLE ACCESS FULL| COL_STATS | 50000 |   683K|   177 (2)| 00:00:03 |
    Predicate Information (identified by operation id):
       1 - filter("A"=1 AND "B"=1)
    How come the optimizer expects 50000 rows?
    Thanks in advance.
    Rob

    RobK wrote:
    SQL> select * from col_stats where a=1 and b=1;
    Execution Plan
    Plan hash value: 1829175627
    | Id  | Operation         | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |           | 50000 |   683K|   177 (2)| 00:00:03 |
    |*  1 |  TABLE ACCESS FULL| COL_STATS | 50000 |   683K|   177 (2)| 00:00:03 |
    Predicate Information (identified by operation id):
       1 - filter("A"=1 AND "B"=1)
    How come the optimizer expects 50000 rows?
    Thanks in advance.
    Rob
    This is an expected behavior.
    When you create extended statistics then it creates histogram for column groups(and it is virtual column).
    The query predicate "where a=1 and b=1" is actually out-of-range predicate for that virtual column. In such cases optimizer should be estimate
    selectivity as 0 (so cardinality 1) but in such cases optimizer uses density(in our case actually used Newdensity) of column(or your virtual columns).
    Let see following information(this is exact your case)
    NUM_ROWS
      200000
    COLUMN_NAME                                           NUM_DISTINCT     DENSITY            HISTOGRAM
    A                                                                  2                         .00000250            FREQUENCY
    B                                                                  2                          .00000250           FREQUENCY
    SYS_STUNA$6DVXJXTP05EH56DTIR0X          2                          .00000250           FREQUENCY
    COLUMN_NAME                    ENDPOINT_NUMBER               ENDPOINT_VALUE
    A                                          100000                                      1
    A                                          200000                                      2
    B                                          100000                                      1
    B                                          200000                                      2
    SYS_STUNA$6DVXJXTP05EH56DTIR0X          100000             1977102303
    SYS_STUNA$6DVXJXTP05EH56DTIR0X          200000             7894566276
    Your predicate is "where a=1 and b=1" and it is equivalent with "where SYS_STUNA$6DVXJXTP05EH56DTIR0X = sys_op_combined_hash (1, 1)"
    As you know with frequency histogram selectivity for equ(=) predicate is (E_endpoint-B_Endpoint)/num_rows. Here predicate value has located
    between E_endpoint and B_Endpoint histogram buckets(endpoint numbers). But sys_op_combined_hash (1, 1) = 7026129190895635777. So then how can
    i compare this value and according histogram endpoint values?. Answer is when creating histogram oracle do not use exact sys_op_combined_hash(x,y)
    but it also apply MOD function, so you have to compare MOD (sys_op_combined_hash (1, 1), 9999999999)(which is equal 1598248696) with endpoint values
    . So 1598248696 this is not locate between any endpoint number. Due to optimizer use NewDensity as density(in this case can not endpoint inf)  
    In below trace file you clearly can see that
    BASE STATISTICAL INFORMATION
    Table Stats::
      Table: COL_STATS  Alias: COL_STATS
        #Rows: 200000  #Blks:  382  AvgRowLen:  18.00
    Access path analysis for COL_STATS
    SINGLE TABLE ACCESS PATH
      Single Table Cardinality Estimation for COL_STATS[COL_STATS]
      Column (#1):
        NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
      Column (#2):
        NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
      Column (#3):
        NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
      ColGroup (#1, VC) SYS_STUNA$6DVXJXTP05EH56DTIR0X
        Col#: 1 2    CorStregth: 2.00
      ColGroup Usage:: PredCnt: 2  Matches Full: #1  Partial:  Sel: 0.2500
      Table: COL_STATS  Alias: COL_STATS
        Card: Original: 200000.000000  Rounded: 50000  Computed: 50000.00  Non Adjusted: 50000.00
      Access Path: TableScan
        Cost:  107.56  Resp: 107.56  Degree: 0
          Cost_io: 105.00  Cost_cpu: 51720390
          Resp_io: 105.00  Resp_cpu: 51720390
      Best:: AccessPath: TableScan
             Cost: 107.56  Degree: 1  Resp: 107.56  Card: 50000.00  Bytes: 0
    Note that NewDensity calculated as 1/(2*num_distinct)= 1/4=0.25 for frequency histogram!.
    CBO used column groups statistic and estimated cardinality was 200000*0.25=50000.
    Remember that they are permanent statistics and RDBMS gathered they by analyzing actual table data(Even correlation columns data).
    But dynamic sampling can be good in your above situation, due to it is calculate selectivity in run time using sampling method together real predicate.
    For other situation you can see extends statistics is great help for estimation like where a=2 and b=1 because this is actual data and according information(stats/histograms) stored in dictionary.
    SQL>  select * from col_stats where a=2 and b=1;
    Execution Plan
    Plan hash value: 1829175627
    | Id  | Operation         | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |           |   100K|   585K|   108   (3)| 00:00:02 |
    |*  1 |  TABLE ACCESS FULL| COL_STATS |   100K|   585K|   108   (3)| 00:00:02 |
    Predicate Information (identified by operation id):
       1 - filter("A"=2 AND "B"=1)
    and from trace file
    Table Stats::
      Table: COL_STATS  Alias: COL_STATS
        #Rows: 200000  #Blks:  382  AvgRowLen:  18.00
    Access path analysis for COL_STATS
    SINGLE TABLE ACCESS PATH
      Single Table Cardinality Estimation for COL_STATS[COL_STATS]
      Column (#1):
        NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
      Column (#2):
        NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
      Column (#3):
        NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
      ColGroup (#1, VC) SYS_STUNA$6DVXJXTP05EH56DTIR0X
        Col#: 1 2    CorStregth: 2.00
    ColGroup Usage:: PredCnt: 2  Matches Full: #1  Partial:  Sel: 0.5000
      Table: COL_STATS  Alias: COL_STATS
        Card: Original: 200000.000000  Rounded: 100000  Computed: 100000.00  Non Adjusted: 100000.00
      Access Path: TableScan
        Cost:  107.56  Resp: 107.56  Degree: 0
          Cost_io: 105.00  Cost_cpu: 51720365
          Resp_io: 105.00  Resp_cpu: 51720365
      Best:: AccessPath: TableScan
             Cost: 107.56  Degree: 1  Resp: 107.56  Card: 100000.00  Bytes: 0
    Lets calculate:
    MOD (sys_op_combined_hash (2, 1), 9999999999)=1977102303 and for it (e_endpoint-b_enpoint)/num_rows=(200000-100000)/200000=0.5
    and result card=sel*num_rows(or just e_endpoint-b_enpoint)=100000.

  • ContinuousQueryCache and dropped extend connection

    Hi Guys,
    It seems that CQC won't automatically recover from a dropped extend connection. This is a problem as we have listeners attached to the CQC which don't get fired if the proxy to which it is connected fails.
    CQC also doesn't resync if you access a different remote cache on the same proxy connection.
    I've tried adding <heartbeat-interval> to <tcp-initiator> which does nothing.
    The only thing that appears to work is to poll cqc.size() on a background thread. At which point it looks from the events received as though the CQC is repopulated form scratch - can you confirm?
    Surely there's a better way? If we've added a heartbeat, could we at least have a connection listener so we know if we need to wake up CQCs?
    Thanks, Paul

    Steps to resolve:
    1) Get a reference to your NamedCache using standard coherence API's
    2) Create your CQC using the namedCache.
    3) Register a member listener for that namedCache so you can detect when the tcp extend connection has gone away, and subsequently returned. When the connection has returned just call cqc.size() to force cqc to reconnect/repolulate.
    namedCache.getCacheService().addMemberListener(new MemberListener() {
    public void memberJoined(final MemberEvent memberEvent) {
    if (memberEvent.isLocal()) {
    try{ cqc.size() } catch(Ex....){}
    public void memberLeft(MemberEvent memberEvent) {
    //could take some action here if needed.
    }

  • Problems with extended features.  I can no longer fill out my documents in the fields provided.  The

    Problems with extended features.  I can no longer fill out my documents in the fields provided.  The error message I get is "This document enabled extended features in Adobe Reader.  The document has been changed since it was created and use of extended features is no longer available.  Please contact the author for original version of this document."

    Yes.  I don't have the version you pay for.  I also tried the free version
    of EchoSign.  Maybe that caused the problem.
    Any more suggestions would be greatly appreciated.
    Estelle Oliansky
    Estelle OlianskyRealtor, SRESCell (734) 748-2329
    *3DX Real Estate *| www.3dxonline.com* | (v) 888.304.1447 ext.
    102 | (f) 888.304.1456 | 42705 Grand River Ave. Ste. 201 | Novi, MI 48375*
    P Please consider the environment before printing this e-mail
    This electronic mail message and any attachments contain information
    that(a) is or may be LEGALLY PRIVILEGED, CONFIDENTIAL, PROPRIETARY IN
    NATURE, OR OTHERWISE PROTECTED BY LAW FROM DISCLOSURE, and (b) is intended
    only for the use of the Addressee(s) named herein.  If you are not the
    intended recipient, an addressee, you are hereby notified that reading,
    using, copying, or distributing any part of this message or any information
    transmitted herewith is strictly prohibited.  If you have received this
    electronic mail message in error, please contact us immediately and take
    the steps necessary to delete the message completely from  your computer
    system.

  • Problem while extending and modifying the ISA B2B app on SAP J2EE 6.4

    We are facing some problem with extending and modifying the ISA B2B 4.0 application.
    First Let me clarify you the whole scenario.
    Previously we had ISA B2B 4.0 SP03 deployed on SAP J2EE 6.20 Engine.
    We had used eclipse 3.0 to extend and modify the application as NWDS does not support SAP J2EE 6.20.
    We had used ant buildtool to build the modified application which comes along with the ISA Software Archive.
    We had successfully done all the modifications and application was running fine...
    Now we have upgraded the overall J2EE infrastructure and using J2EE 6.4 Engine which supports NWDS.
    We have successfully deployed the ISA B2B  application which comes along with the Support Package.
    We are using Support Package ISAWAC40SP11P_7-20000529.SAR E-Selling 640. The application is working fine after all
    the configuration done in XCM and SAP CRM 4.0 system.
    Now for modification and extension i have created another b2b enterprise archive with name "b2b_client.ear" using ant buildtool.
    I've done the modification and extension .. added some Z classes and JSP pages. Now when i try to deploy the application using
    SDM 6.40, I got an error message stating
    <b>"com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater."</b>
    I think this error is due to the incompatible sda_build.xml used in the build process but we have used the same xml file bundled with the above mentioned ".sar" file..
    Please help or suggest someone who can help me out from this...
    Thanks & Regards.
    Sandeep Solanki

    Hi Alkis.
    First, you need to specify the fully qualified class name of your based-RequestProcessor class in the config.xml file like
    <controller  contentType="text/html;charset=UTF-8"  locale="true"  nocache="true"
      processorClass="com.mycompany.struts.framework.MyRequestProcessor"/>
    If you review the source code of the ActionServlet and RequestProcessor classes, you can see that overwritten methods (by you) are executed every time the client makes a request to the struts based application.
    I hope you can run your approach. And it will be excellent you can shared how you will do it.
    Kindest regards.

  • JDE worldsoft 9.1 Facing the problem of extending cost is calculating wrong

    IN JDE worldsoft 9.1 we are facing the problem of extending cost is calculating wrongly.
    at the time of shipment confirmation in table F42119 it is calculated with 100 that means with decimals if the extended cost i( Qunatity 1 * cost 100 = Extended cost should be100 but here it is showing 10000 )
    Can any one help on this.

    If I understand your problem correctly I would suggest looking into Sar# 8948245.
    Nichelle

  • Hover problem on Extended Textbox

    Good Day
    Experts:
    We are having a problem with Extended TextBoxes and are nearing a deadline.
    When we 'hover' over an Extended Text box that contains multiple lines of text
    in "OK" mode (not in update mode) a long single line text box can appear with the 1st part of the data from the box. When this happens the data in the box will be 'hidden'. The text will reappear if you 'click' on the box.
    Is there a way to either :
    1 - Prevent the text from being 'hidden' when this occurs
    or
    2 - Prevent the ''long single line text box' overlay from appearing. This will
    probably prevent the data in the text box from being 'hidden'.
    Thanks,
    Ed

    It is a bug in the client... The bug was fixed in SBO2005A SP01 PL18 as far as i can remember

  • Where can I find the "choose problem" drop down menu

    Where can I find the "choose problem" drop down menu to report an incorrect billing in my account?

    http://www.apple.com/support/itunes/contact/

  • Problems after extend VO

    Hi
    Problems after extend VO!
    I´m extended some VO in a CRM system (add column) and created personalization. Its work. But sometimes extending not deploying in runtime and occurs error (column not found). Really, on page "about" i'm see old VO. After next login page work normal. Then error occurs again...
    my jpx:
    <?xml version="1.0" encoding='windows-1251'?>
    <Substitutes>
    <Substitute OldName ="oracle.apps.ar.hz.components.party.organization.server.HzPuiOrgOverviewVO" NewName ="croc.oracle.apps.ar.hz.components.party.organization.server.crocHzPuiOrgOverviewVO" />
    </Substitutes>

    Looks like you are having a load balanced multiple server implementation and your deployment is on only one server. Please confirm that.
    --Shiv                                                                                                                                                                                                                                                                                                   

  • Performance Problems - Index and Statistics

    Dear Gurus,
    I am having problems lossing indexes and statistics on cubes ,it seems my indexes are too old which in fact are not too old just created a month back and we check indexes daily and it returns us RED on the manage TAB.
    please help

    Dear Mr Syed ,
    Solution steps I mentioned in my previous reply itself explains so called RE-ORG of tables;however to clarify more on that issue.
    Occasionally,ORACLE <b>Cost-Based Optimizer</b> may calculate the estimated costs for a Full Table Scan lower than those for an Index Scan, although the actual runtime of an access via an index would be considerably lower than the runtime of the Full Table Scan,Some Imperative points to be considered in order to perk up the performance and improve on quandary areas such as extensive running times for Change runs & Aggregate activate & fill ups.
    Performance problems based on a wrong optimizer decision would show that there is something serious missing at Database level and we need to RE_ORG  the degenerated indexes in order to perk up the overall performance and avoid daily manual (RSRV+RSNAORA)activities on almost similar indexes.
    For <b>Re-organizing</b> degenerated indexes 3 options are available-
    <b>1) DROP INDEX ..., and CREATE INDEX …</b>
    <b>2)ALTER INDEX <index name> REBUILD (ONLINE PARALLEL x NOLOGGING)</b>
    <b>3) ALTER INDEX <index name> COALESCE [as of Oracle 8i (8.1) only]</b>
    Each option has its Pros & Cons ,option <b>2</b> seems to be having lot of advantages to
    <b>Advantages- option 2</b>
    1)Fast storage in a different table space possible
    2)Creates a new index tree
    3)Gives the option to change storage parameters without deleting the index
    4)As of Oracle 8i (8.1), you can avoid a lock on the table by specifying the ONLINE option. In this case, Oracle waits until the resource has been released, and then starts the rebuild. The "resource busy" error no longer occurs.
    I would still leave the Database tech team be the best to judge and take a call on these.
    These modus operandi could be institutionalized  for all fretful cubes & its indexes as well.
    However,I leave the thoughts with you.
    Hope it Helps
    Chetan
    @CP..

  • Problem using extended JPanel

    Hi, I'm using JDeveloper 10.1.3.3. I've extended JPanel and named it TestPanel, and then have added few textboxes, one checkbox and one combobox. It was created as runnable panel. When I run that panel, everything worked fine. I used it in custom JFrame instead of dataPanel:
    TestPanel dataPanel = new TestPanel();
    Whatever I did, I couldn't see components on that custom panel. I tried to rebuild, run frame, I couldn't see it.
    Then I've tried to create another panel in original dataPanel (JPanel, BorderLayout), and use TestPanel that way. Didn't work. Does anyone know what might be the problem?

    Colleague helped me.
    Created custom panel is placed in Components View as ADF Swing Regions -> view.TestPanel, so it can be dragged and dropped.
    If creating panel in code, after creating custom JPanel
    TestPanel dataPanel = new TestPanel();
    There must be this line in jbInit() method:
    testPanel1.bindNestedContainer(panelBinding.findNestedPanelBinding("TestPanelPageDef1"));

  • Extend Statistics: ThroughputInbound, ThroughputOutbound

    Hi,
    We have a cluster that has 2 Extend proxies with 8 storage-enabled nodes that write-though to an RDBMS. Cache data is MACHINE-SAFE. The cluster is running on 1Gb LAN; I believe the DB is also. Extend clients may run on either 1Gb or 100Mb. I see the following Statistics for the ExtendTcpProxyService MBean and I am unsure just how to interpret the values.
    Presumably the throughput numbers I'm seeing are some kind of averages over time rather than peak throughput? I'm concerned that the throughput numbers seem low and therefore might indicate a problem.
    Throughput inbound/outbound measured relative to what? The proxy node relative to both Extend clients plus the storage-enabled cluster, or the proxy node relative to Extend clients only?
    How large is a message? Is a message a "piece of string" depending upon the size of a cache entry, or are messages of fixed size?
    Connections=98, Cpu=214826ms (0.0%), Messages=15565844, Throughput=72457.914msg/sec, AverageActiveThreadCount=0.02479306, Tasks=14267255, AverageTaskDuration=3.5923638ms, MaximumBacklog=5, BytesReceived=29.8GB, BytesSent=268GB, ThroughputInbound=117Kbps, ThroughputOutbound=1.05Mbps
    Connections=90, Cpu=194426ms (0.0%), Messages=8823167, Throughput=45380.594msg/sec, AverageActiveThreadCount=0.0100068785, Tasks=8539157, AverageTaskDuration=2.4227173ms, MaximumBacklog=5, BytesReceived=13.9GB, BytesSent=185GB, ThroughputInbound=54.6Kbps, ThroughputOutbound=750Kbps
    Many Thanks,
    Simon

    Hi Vishy,
    Here's a sample code snippet. I tested this with Coherence 3.7:
    INamedCache cache = CacheFactory.GetCache("near-cache");
    ICacheStatistics cacheStats = ((NearCache) cache).CacheStatistics;
    cache.Add("foo", "bar");
    System.Console.WriteLine("Total puts: " + cacheStats.TotalPuts);Hope this helps,
    Patrick

  • Problems wirelessly extending 5Ghz network with Time Capsule

    Summary:
    My Time Capsule wirelessly extends a 5Ghz "n" network provided by my Airport Extreme, but the Time Capsule frequently fails and stops providing Internet access to connected computers. I'm not sure if the problem is with the Time Capsule or with the Airport Extreme it's connecting to.
    Setup:
    Airport Extreme (dual band) connected to cable modem. It provides a 5Ghz "n" network and a 2.5Ghz "b-g-n" network. This is in the bedroom.
    Time Capsule (non-dual band) joins the 5Ghz network and extends it. This is in the office, maybe 40 feet away, line-of-sight. There is a laser printer connected to the Time Capsule via ethernet.
    My MacBook is set to join the 5 Ghz network, and since it's in the office, it ends up joining via the Time Capsule. This is the desired behavior, as connecting through the Time Capsule seems to result in the fastest possible backup speed.
    There are no wireless devices, such as cordless phones, in the house. The microwave is NOT in use when the problems arise.
    *The Problem:*
    Frequently, the MacBook loses its Internet connection, though it is still connected to the 5Ghz network through the Time Capsule. When this happens, it can only see the Time Capsule it's connected through (and other devices that are connected to it) but no other devices on the network.
    When this happens, other devices that are connecting to the 5Ghz network through the Airport Extreme can no longer see the Time Capsule or any devices connected to it, such as the laser printer or my MacBook. This includes the living room computer, which has never been able to complete a backup due to this problem.
    The Time Capsule's and the Airport Extreme's indicator lights both stay green.
    If I change the Macbook's connection to the 2.5Ghz network, it can see the devices connected to the Airport Extreme, but can no longer reach the Time Capsule.
    *Unsuccessful Solutions:*
    This was happening in a previous incarnation of the network, when I had a non-dual band Airport Extreme providing the main network, the Time Capsule connected via 5Ghz, and an Airport Express connected via ethernet to the Time Capsule to provide a b-g network.
    I replaced the Airport Extreme with a new dual-band unit to simplify the setup, but it did not solve the problem.
    Since the Time Capsule seemed to be the weak link in the network, I reported the problem and got the unit replaced, but the problem still persists.
    I've reset both the Airport Extreme and the Time Capsule to their factory settings numerous times, and set them up again from scratch (no imported settings). I've gone in and made sure that there were no WDS settings leftover from the earlier configuration, as the 5Ghz network does not need it to extend itself.
    *Plea for help:*
    Is anyone else experiencing a similar problem?

    Update
    The other day, I modified the setup so that the Time Capsule doesn't extend the wireless network wirelessly, only through Ethernet (so the attached printer will work, but the computers will connect directly to the AEBS. The Time Capsule stayed connected long enough for me to do a full backup (125GB) from the downstairs computer.
    I thought I had it "solved" (though extending the 5Ghz network would be preferable so the office computers can have faster backup speeds.)
    But yesterday, I went to print to the Ethernet-attached printer, and it got only one page out before it disappeared off the network again, and the print job failed. I noticed it did it again, today.
    So the problem is not tied to wirelessly extending the network.

  • Problem with extending an extended class

    Hi JDC
    I have to use a scrolled list several times among my program so I create a class named ScrolledList that extends Jpanel and an inner class that extends ScrolledLIst.
    The problem shows up when I?m trying to add an item inside the inner class, the code pass compilation, it even enter the addItem() but its dont add item
    public class ScrolledList extends JPanel{
      DefaultListModel dlm = new DefaultListModel();
      JList list = new JList();
      JScrollPane js = new JScrollPane(list);
      ScrolledList(){
        setLayout(new BorderLayout());
        add(js,BorderLayout.CENTER);
    }here is the class i use whenever i need this scrolled list:
    public class innerClass extends ScrolledList{
      public void addItem(String item){
        System.out.println("addItem invoked...");
        this.dlm.addElement(item);
      public static void main(String[] args) {
            JFrame frame = new JFrame("InnerClass");
            frame.addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {System.exit(0);}
            frame.getContentPane().add(new innerClass(),
                                       BorderLayout.CENTER);
            frame.setSize(400, 125);
            frame.setVisible(true);
            innerClass ic = new innerClass();
            ic.addItem("Shay");
    }what im doing wrong(code example please)?
    Thanks

    Hi
    i tried this , its still dont add item to the list:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ScrolledList extends JPanel{
      //List variables
      private DefaultListModel dlm = new DefaultListModel();
      private JList clientsList = new JList(dlm);;
      private JScrollPane clientScroll = new JScrollPane(clientsList);
      public final  boolean PRINTLN=true;
      public  void p(String out){
        if(PRINTLN)
          System.out.println(out);
      public ScrolledList() {
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      private void jbInit() throws Exception {
        this.setLayout(new BorderLayout());
        this.add(clientScroll);
       public void addClient(String client){
        p("addClient invoked....");
        dlm.addElement(client);
      public static void main(String[] args) {
        JFrame frame = new JFrame();
        frame.getContentPane().add(new ScrolledList());
          frame.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
              System.exit(0);
          frame.setSize(300,300);
          frame.setVisible(true);
          ScrolledList s  = new ScrolledList();
          s.addClient("Shay");
    }thanks

  • Sharing Problems---dropping files in "drop box" renders them locked

    Hi,
    I have a few macs on my home network and often share files between them. I sometimes use my iPod but since it's getting full, I also just connect to the other machines (file sharing is on) and drop it in the public>drop box folder.
    I hadn't done this in a while, but I've definitely noticed this after the 10.4.4 update (can't say one way or another of 10.4.3 gave me troubles or not), certain folders that I drop into another machine's drop box say that I do not have the correct permissions to open them. Sometimes they have the "no read/no write" folder icon on them, othertimes they have a "blue arrow" write only icon on them...on the file's native machine, they have all permissions allowed. I noticed that if i get info on such a folder to view permissions, it says the owner is "nobody" and that it is locked-- I can unlock them using my admin password, which is fine because then i can use the files... but I'd rather not have to go through every single shared folder and unlock them individually just to open a few files.

    Apple doesn’t routinely monitor the discussions. These are mostly user to user discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

Maybe you are looking for