Performance of BETWEEN Operator

Hello Friends
Can anyone of u guys advise me how to overcome performance problem of BETWEEN operator.
I am trying to run the following query,
SELECT MEF436_TMP_DEVICE.JOB_KEY_DESC
FROM MEF325_CUT200FT,
MEF436_TMP_DEVICE,
MEF320_FEATURE_ASG,
MEF321_FEATURE_MRT
WHERE MEF436_TMP_DEVICE.MTR_DEVICE_NUM
=MEF325_CUT200FT.MTR_DEVICE_NUM
AND MEF436_TMP_DEVICE.RELATED_TO_NUM = MEF325_CUT200FT.PARENT_MTRDEV_NUM
AND MEF320_FEATURE_ASG.FEATURE_GROUP_CODE = MEF325_CUT200FT.FEATURE_GROUP_CODE
AND MEF320_FEATURE_ASG.FEATURE_MRT_CODE = MEF321_FEATURE_MRT.FEATURE_MRT_CODE
AND MEF321_FEATURE_MRT.FTR_MRT_CD_SEQ_NUM = MEF320_FEATURE_ASG.FTR_MRT_CD_SEQ_NUM
AND MEF320_FEATURE_ASG.FEATURE_MRT_CODE IN ('TIME_TYPE_CODE','EOI_PULSE_FLAG')
AND MEF325_CUT200FT.DOWNLOAD_SEQ_NUM BETWEEN 1 AND 10000
If I execute the above query it takes me 21 seconds to retrieve data. The larget table in above is MEF325_CUT200FT which can have upto 100,000 rows, rest of the tables can have a max of 10,000 rows.
I tried executing using >= and <= the query ran in 19 sec.
Is there any solution to make the query run faster??
Thanks in advance,
Sarika Murthy

Hello Friends
Can anyone of u guys advise me how to overcome performance problem of BETWEEN operator.
I am trying to run the following query,
SELECT MEF436_TMP_DEVICE.JOB_KEY_DESC
FROM MEF325_CUT200FT,
MEF436_TMP_DEVICE,
MEF320_FEATURE_ASG,
MEF321_FEATURE_MRT
WHERE MEF436_TMP_DEVICE.MTR_DEVICE_NUM
=MEF325_CUT200FT.MTR_DEVICE_NUM
AND MEF436_TMP_DEVICE.RELATED_TO_NUM = MEF325_CUT200FT.PARENT_MTRDEV_NUM
AND MEF320_FEATURE_ASG.FEATURE_GROUP_CODE = MEF325_CUT200FT.FEATURE_GROUP_CODE
AND MEF320_FEATURE_ASG.FEATURE_MRT_CODE = MEF321_FEATURE_MRT.FEATURE_MRT_CODE
AND MEF321_FEATURE_MRT.FTR_MRT_CD_SEQ_NUM = MEF320_FEATURE_ASG.FTR_MRT_CD_SEQ_NUM
AND MEF320_FEATURE_ASG.FEATURE_MRT_CODE IN ('TIME_TYPE_CODE','EOI_PULSE_FLAG')
AND MEF325_CUT200FT.DOWNLOAD_SEQ_NUM BETWEEN 1 AND 10000
If I execute the above query it takes me 21 seconds to retrieve data. The larget table in above is MEF325_CUT200FT which can have upto 100,000 rows, rest of the tables can have a max of 10,000 rows.
I tried executing using >= and <= the query ran in 19 sec.
Is there any solution to make the query run faster??
Thanks in advance,
Sarika Murthy

Similar Messages

  • Query performance - Difference between OPERATOR - Exists and IN

    Hi,
    I Have Two Tables VD,ID .Each table containg one lakh rows.
    CREATE TABLE VD (
    SRNO NUMBER(12) ,
    UNIT Varchar2(2) ,
    CREATE TABLE ID ( SRNO NUMBER(12),
    PID Varchar2(2) ,
    Sid Varchar2(20)
    In my Application i need to display Column(SRNO) from table VD If the Column(SRNO)exists in Table ID
    for the given PID and SID.
    Which query has better performance in below Queries ?
    Select SRNO from VD Where SRNO in( Select SRNO From ID Where PID = :A
    And Sid = :B )
    Select SRNO from VD V Where Exists( Select 'X' From ID Z Where Z.PID = :A
    And Z.Sid = :B
    And Z.SRNO = V.SRNO )
    Version : Oracle 10g
    Thanks ....
    Sathi

    user10732947 wrote:
    pls refer to :-)
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:953229842074
    And which part are you referring to specifically?
    It backs up what Toon already mentioned....
    ops$tkyte@ORA10GR2> SELECT /* EXISTS example */
      2           e.employee_id, e.first_name, e.last_name, e.salary
      3    FROM employees e
      4   WHERE EXISTS (SELECT 1 FROM orders o                  /* Note 1 */
      5                    WHERE e.employee_id = o.sales_rep_id   /* Note 2 */
      6                      AND o.customer_id = 144);
    Execution Plan
    Plan hash value: 551415261
    | Id  | Operation                    | Name      | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT             |           |    67 |  4087 |    49   (3)|
    |   1 |  NESTED LOOPS                |           |    67 |  4087 |    49   (3)|
    |   2 |   SORT UNIQUE                |           |    67 |  1139 |    14   (0)|
    |*  3 |    TABLE ACCESS FULL         | ORDERS    |    67 |  1139 |    14   (0)|
    |   4 |   TABLE ACCESS BY INDEX ROWID| EMPLOYEES |     1 |    44 |     1   (0)|
    |*  5 |    INDEX UNIQUE SCAN         | EMP_PK    |     1 |       |     0   (0)|
    Predicate Information (identified by operation id):
       3 - filter("O"."CUSTOMER_ID"=144)
       5 - access("E"."EMPLOYEE_ID"="O"."SALES_REP_ID")
    ops$tkyte@ORA10GR2>
    ops$tkyte@ORA10GR2> SELECT /* IN example */
      2           e.employee_id, e.first_name, e.last_name, e.salary
      3      FROM employees e
      4     WHERE e.employee_id IN (SELECT o.sales_rep_id         /* Note 4 */
      5                               FROM orders o
      6                              WHERE o.customer_id = 144);
    Execution Plan
    Plan hash value: 551415261
    | Id  | Operation                    | Name      | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT             |           |    67 |  4087 |    49   (3)|
    |   1 |  NESTED LOOPS                |           |    67 |  4087 |    49   (3)|
    |   2 |   SORT UNIQUE                |           |    67 |  1139 |    14   (0)|
    |*  3 |    TABLE ACCESS FULL         | ORDERS    |    67 |  1139 |    14   (0)|
    |   4 |   TABLE ACCESS BY INDEX ROWID| EMPLOYEES |     1 |    44 |     1   (0)|
    |*  5 |    INDEX UNIQUE SCAN         | EMP_PK    |     1 |       |     0   (0)|
    Predicate Information (identified by operation id):
       3 - filter("O"."CUSTOMER_ID"=144)
       5 - access("E"."EMPLOYEE_ID"="O"."SALES_REP_ID")Two identical Execution plans...

  • Huge performance differences between a map listener for a key and filter

    Hi all,
    I wanted to test different kind of map listener available in Coherence 3.3.1 as I would like to use it as an event bus. The result was that I found huge performance differences between them. In my use case, I have data which are time stamped so the full key of the data is the key which identifies its type and the time stamp. Unfortunately, when I had my map listener to the cache, I only know the type id but not the time stamp, thus I cannot add a listener for a key but for a filter which will test the value of the type id. When I launch my test, I got terrible performance results then I tried a listener for a key which gave me much better results but in my case I cannot use it.
    Here are my results with a Dual Core of 2.13 GHz
    1) Map Listener for a Filter
    a) No Index
    Create (data always added, the key is composed by the type id and the time stamp)
    Cache.put
    Test 1: Total 42094 millis, Avg 1052, Total Tries 40, Cache Size 80000
    Cache.putAll
    Test 2: Total 43860 millis, Avg 1096, Total Tries 40, Cache Size 80000
    Update (data added then updated, the key is only composed by the type id)
    Cache.put
    Test 3: Total 56390 millis, Avg 1409, Total Tries 40, Cache Size 2000
    Cache.putAll
    Test 4: Total 51734 millis, Avg 1293, Total Tries 40, Cache Size 2000
    b) With Index
    Cache.put
    Test 5: Total 39594 millis, Avg 989, Total Tries 40, Cache Size 80000
    Cache.putAll
    Test 6: Total 43313 millis, Avg 1082, Total Tries 40, Cache Size 80000
    Update
    Cache.put
    Test 7: Total 55390 millis, Avg 1384, Total Tries 40, Cache Size 2000
    Cache.putAll
    Test 8: Total 51328 millis, Avg 1283, Total Tries 40, Cache Size 2000
    2) Map Listener for a Key
    Update
    Cache.put
    Test 9: Total 3937 millis, Avg 98, Total Tries 40, Cache Size 2000
    Cache.putAll
    Test 10: Total 1078 millis, Avg 26, Total Tries 40, Cache Size 2000
    Please help me to find what is wrong with my code because for now it is unusable.
    Best Regards,
    Nicolas
    Here is my code
    import java.io.DataInput;
    import java.io.DataOutput;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    import com.tangosol.io.ExternalizableLite;
    import com.tangosol.net.CacheFactory;
    import com.tangosol.net.NamedCache;
    import com.tangosol.util.Filter;
    import com.tangosol.util.MapEvent;
    import com.tangosol.util.MapListener;
    import com.tangosol.util.extractor.ReflectionExtractor;
    import com.tangosol.util.filter.EqualsFilter;
    import com.tangosol.util.filter.MapEventFilter;
    public class TestFilter {
          * To run a specific test, just launch the program with one parameter which
          * is the test index
         public static void main(String[] args) {
              if (args.length != 1) {
                   System.out.println("Usage : java TestFilter 1-10|all");
                   System.exit(1);
              final String arg = args[0];
              if (arg.endsWith("all")) {
                   for (int i = 1; i <= 10; i++) {
                        test(i);
              } else {
                   final int testIndex = Integer.parseInt(args[0]);
                   if (testIndex < 1 || testIndex > 10) {
                        System.out.println("Usage : java TestFilter 1-10|all");
                        System.exit(1);               
                   test(testIndex);               
         @SuppressWarnings("unchecked")
         private static void test(int testIndex) {
              final NamedCache cache = CacheFactory.getCache("test-cache");
              final int totalObjects = 2000;
              final int totalTries = 40;
              if (testIndex >= 5 && testIndex <= 8) {
                   // Add index
                   cache.addIndex(new ReflectionExtractor("getKey"), false, null);               
              // Add listeners
              for (int i = 0; i < totalObjects; i++) {
                   final MapListener listener = new SimpleMapListener();
                   if (testIndex < 9) {
                        // Listen to data with a given filter
                        final Filter filter = new EqualsFilter("getKey", i);
                        cache.addMapListener(listener, new MapEventFilter(filter), false);                    
                   } else {
                        // Listen to data with a given key
                        cache.addMapListener(listener, new TestObjectSimple(i), false);                    
              // Load data
              long time = System.currentTimeMillis();
              for (int iTry = 0; iTry < totalTries; iTry++) {
                   final long currentTime = System.currentTimeMillis();
                   final Map<Object, Object> buffer = new HashMap<Object, Object>(totalObjects);
                   for (int i = 0; i < totalObjects; i++) {               
                        final Object obj;
                        if (testIndex == 1 || testIndex == 2 || testIndex == 5 || testIndex == 6) {
                             // Create data with key with time stamp
                             obj = new TestObjectComplete(i, currentTime);
                        } else {
                             // Create data with key without time stamp
                             obj = new TestObjectSimple(i);
                        if ((testIndex & 1) == 1) {
                             // Load data directly into the cache
                             cache.put(obj, obj);                         
                        } else {
                             // Load data into a buffer first
                             buffer.put(obj, obj);                         
                   if (!buffer.isEmpty()) {
                        cache.putAll(buffer);                    
              time = System.currentTimeMillis() - time;
              System.out.println("Test " + testIndex + ": Total " + time + " millis, Avg " + (time / totalTries) + ", Total Tries " + totalTries + ", Cache Size " + cache.size());
              cache.destroy();
         public static class SimpleMapListener implements MapListener {
              public void entryDeleted(MapEvent evt) {}
              public void entryInserted(MapEvent evt) {}
              public void entryUpdated(MapEvent evt) {}
         public static class TestObjectComplete implements ExternalizableLite {
              private static final long serialVersionUID = -400722070328560360L;
              private int key;
              private long time;
              public TestObjectComplete() {}          
              public TestObjectComplete(int key, long time) {
                   this.key = key;
                   this.time = time;
              public int getKey() {
                   return key;
              public void readExternal(DataInput in) throws IOException {
                   this.key = in.readInt();
                   this.time = in.readLong();
              public void writeExternal(DataOutput out) throws IOException {
                   out.writeInt(key);
                   out.writeLong(time);
         public static class TestObjectSimple implements ExternalizableLite {
              private static final long serialVersionUID = 6154040491849669837L;
              private int key;
              public TestObjectSimple() {}          
              public TestObjectSimple(int key) {
                   this.key = key;
              public int getKey() {
                   return key;
              public void readExternal(DataInput in) throws IOException {
                   this.key = in.readInt();
              public void writeExternal(DataOutput out) throws IOException {
                   out.writeInt(key);
              public int hashCode() {
                   return key;
              public boolean equals(Object o) {
                   return o instanceof TestObjectSimple && key == ((TestObjectSimple) o).key;
    }Here is my coherence config file
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>test-cache</cache-name>
                   <scheme-name>default-distributed</scheme-name>
              </cache-mapping>
         </caching-scheme-mapping>
         <caching-schemes>          
              <distributed-scheme>
                   <scheme-name>default-distributed</scheme-name>
                   <backing-map-scheme>
                        <class-scheme>
                             <scheme-ref>default-backing-map</scheme-ref>
                        </class-scheme>
                   </backing-map-scheme>
              </distributed-scheme>
              <class-scheme>
                   <scheme-name>default-backing-map</scheme-name>
                   <class-name>com.tangosol.util.SafeHashMap</class-name>
              </class-scheme>
         </caching-schemes>
    </cache-config>Message was edited by:
    user620763

    Hi Robert,
    Indeed, only the Filter.evaluate(Object obj)
    method is invoked, but the object passed to it is a
    MapEvent.<< In fact, I do not need to implement EntryFilter to
    get a MapEvent, I could get the same result (in my
    last message) by writting
    cache.addMapListener(listener, filter,
    true)instead of
    cache.addMapListener(listener, new
    MapEventFilter(filter) filter, true)
    I believe, when the MapEventFilter delegates to your filter it always passes a value object to your filter (old or new), meaning a value will be deserialized.
    If you instead used your own filter, you could avoid deserializing the value which usually is much larger, and go to only the key object. This would of course only be noticeable if you indeed used a much heavier cached value class.
    The hashCode() and equals() does not matter on
    the filter class<< I'm not so sure since I noticed that these methods
    were implemented in the EqualsFilter class, that they
    are called at runtime and that the performance
    results are better when you add them
    That interests me... In what circumstances did you see them invoked? On the storage node before sending an event, or upon registering a filtered listener?
    If the second, then I guess the listeners are stored in a hash-based map of collections keyed by a filter, and indeed that might be relevant as in that case it will cause less passes on the filter for multiple listeners with an equalling filter.
    DataOutput.writeInt(int) writes 4 bytes.
    ExternalizableHelper.writeInt(DataOutput, int) writes
    1-5 bytes (or 1-6?), with numbers with small absolute
    values consuming less bytes.Similar differences exist
    for the long type as well, but your stamp attribute
    probably will be a large number...<< I tried it but in my use case, I got the same
    results. I guess that it must be interesting, if I
    serialiaze/deserialiaze many more objects.
    Also, if Coherence serializes an
    ExternalizableLite object, it writes out its
    class-name (except if it is a Coherence XmlBean). If
    you define your key as an XmlBean, and add your class
    into the classname cache configuration in
    ExternalizableHelper.xml, then instead of the
    classname, only an int will be written. This way you
    can spare a large percentage of bandwidth consumed by
    transferring your key instance as it has only a small
    number of attributes. For the value object, it might
    or might not be so relevant, considering that it will
    probably contain many more attributes. However, in
    case of a lite event, the value is not transferred at
    all.<< I tried it too and in my use case, I noticed that
    we get objects nearly twice lighter than an
    ExternalizableLite object but it's slower to get
    them. But it is very intersting to keep in mind, if
    we would like to reduce the network traffic.
    Yes, these are minor differences at the moment.
    As for the performance of XMLBean, it is a hack, but you might try overriding the readExternal/writeExternal method with your own usual ExternalizableLite implementation stuff. That way you get the advantages of the xmlbean classname cache, and avoid its reflection-based operation, at the cost of having to extend XMLBean.
    Also, sooner or later the TCMP protocol and the distributed cache storages will also support using PortableObject as a transmission format, which enables using your own classname resolution and allow you to omit the classname from your objects. Unfortunately, I don't know when it will be implemented.
    >
    But finally, I guess that I found the best solution
    for my specific use case which is to use a map
    listener for a key which has no time stamp, but since
    the time stamp is never null, I had just to check
    properly the time stamp in the equals method.
    I would still recommend to use a separate key class, use a custom filter which accesses only the key and not the value, and if possible register a lite listener instead of a heavy one. Try it with a much heavier cached value class where the differences are more pronounced.
    Best regards,
    Robert

  • Error 58 The specified server cannot perform the requested operation

    Hello,
    I will try to explain the situation as brief as possible. Next to our current existing MDT environment (MDT2010 on Windows 2008 R2) we are no building a new system (MDT2013 on WIndows 2012 R2). We have multiple sites and the MDT deployment share is setup
    in DFRS share so every site is getting the same deployment information and replication is done automatically. This has been working firn for 3 years with the old system and also with the new environment it was working fine in our own subnet. But when after
    i have setup the remote MDT and WDS servers it is not working in these remote sites. The images are loading fine but for some reason the win PE is not connecting to the shares on the windows 2012 server in our site. When i manuualy connect from a remote win
    PE to our server i always get the error: system error 58 has occured. The specified server cannot perform the requested operation.
    I have been doing some troubleshooting and it seems i only got this issue when i connect from win PE 5.0 to a windows 2012 R2 server in a remote subnet.
    When i use win PE 5.0 and connect to a windows 2012 R2 share in the same subnet it connects fine. 
    When i use win PE 5.0 and connect to a windows 2008 R2 share in a remote subnet it connects fine
    When i use an older win PE and i connect to a windows 2012 R2 share in a remote subnet it connects fine
    When i use win PE 5.0 and connect to a windows 2012 R2 share in a remote subnet it does NOT connect and gives the above error
    The problem is that this problem also does not occure in Windows 7, after the machine was build by MDT and get into the OS i can connect without a problem to the windows 2012 R2 shares.
    Checking the event viewer on the 2012 R2 server that is hosting the shares i see that the following events are created:
    4624: An account was successfully logged on.
    Subject:
    Security ID:
    NULL SID
    Account Name:
    Account Domain:
    Logon ID:
    0x0
    Logon Type: 3
    Impersonation Level: Impersonation
    New Logon:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Logon GUID:
    {8e360e91-001b-c726-84a6-e7281a4bcac8}
    Process Information:
    Process ID:
    0x0
    Process Name:
    Network Information:
    Workstation Name:
    Source Network Address:
    x.x.x.x
    Source Port:
    60077
    Detailed Authentication Information:
    Logon Process:
    Kerberos
    Authentication Package:
    Kerberos
    Transited Services:
    Package Name (NTLM only):
    Key Length:
    0
    This event is generated when a logon session is created. It is generated on the computer that was accessed.
    The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
    The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
    The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
    The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
    The impersonation level field indicates the extent to which a process in the logon session can impersonate.
    The authentication information fields provide detailed information about this specific logon request.
    - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
    5140: 
    A network share object was accessed.
    Subject:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Network Information:
    Object Type:
    File
    Source Address:
    x.x.x.x
    Source Port:
    60077
    Share Information:
    Share Name:
    \\*\Captures
    Share Path:
    \??\D:\Captures
    Access Request Information:
    Access Mask:
    0x1
    Accesses:
    ReadData (or ListDirectory)
    4634: 
    An account was logged off.
    Subject:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Logon Type: 3
    This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.
    Anyone an idea why this is happening?

    Hi,
    We can refer to the following blog for MDT troubleshooting:
    http://blogs.technet.com/b/askcore/archive/2012/05/08/mdt-2010-amp-2012-my-deployment-failed-what-and-where-are-logs-i-should-review.aspx
    Best Regards,
    Vincent Wu
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Performing Window Leveling operation on an Image

    I need help for performing window leveling operation on an image. Which has to be triggered using Mouse Drag Event. I have been working on it for past 4days . I need help badly.
    Thanks in advance
    Prasad

    Intensity range is defined as Window & distance between the two ends is called Window width. Intensity of the Pixels above or below the window is mapped to balck or white.I hope i was clear.
    By adjusting this we can adjust the Brightness & contrast of the Image.
    Prasad

  • Between operator

    Hi
    We used between operator for varchar2 column.it is caused any performance problem n query execution.
    My sql statement is AND gcc_c.segment3 BETWEEN '&&3' AND '&&4'
    AND gcc_c.segment4 BETWEEN '&&5' AND '&&6'
    where segment3 and segment4 as varchar2 columns.now program is running some times very fast and some times take more hours to execute the sql satement.
    Plz give any one solutions.how to write the between operator for varchar2 columns.
    Thank's

    Is there any correlation between the range between the two values specified and the time it takes the query to execute?
    For instance one might expect this
    select *
    from big_table
    where col23 between 'BBB' and 'XXX'
    /to take longer to execute than this...
    select *
    from big_table
    where col23 between 'MMM' and 'MNO'
    /In fact, you might well want a completely different execution for the first case and the second case (full table scan, preferably with parallel query VS indexed range scan).
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • BETWEEN operator or = and =

    From a performance point of view, Which is better? BETWEEN operator or >= and <= . And why?

    A simple test..
    SQL> explain plan for
      2   select * from emp
      3   where sal between 1000 and 3000;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     9 |   333 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| EMP  |     9 |   333 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       1 - filter("SAL"<=3000 AND "SAL">=1000)
    13 rows selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • "The specified server cannot perform the requested operation" when rpc from server 2003 to Windows 7

    I am having problems where all my Windows 2003 servers cannot rpc to 2 of my Windows 7 workstations, error message is "The specified server cannot perform the requested operation".
    All the machines are in workgroup environment.
    Windows 7 workstations: desk1, desk2, desk3, desk4, desk5, desk6
    Windows 2003 servers: server1, server2, server3, server4, server5
    Windows 2008 server: server6
    From any Windows 7 workstation I can rpc to any other machines,
    \\desk1\d$, no problem
    From any Windows 2003 server I can rpc to all the machines exception desk4 and desk5, they give the "The specified server cannot perform the requested operation". However, desk4 and desk5 can rpc to any other machines (including the Windows 2003
    servers), no problem
    From Windows 2008 rpc to desk4 and desk5 also no problem.
    I also have no problem rpc between any of the Windows 2003 servers,
    \\server2\d$ from server3, no problem.
    I turned off the firewall at desk5 and desk4, just to try, but didn't help, same problem. This show firewall is not the cause of the problem.
    Desk4 and Desk5 used to run Windows 2012 for 1 year and recently I downgraded them Windows 7 Professional x64. When they were running as Windows 2012, those Windows 2003 servers have no problem rpc to desk5 and desk4.
    The issue is thus lying between desk4 and desk5 with Windows 2003 only\
    Any suggestions?
    Valuable skills are not learned, learned skills aren't valuable.

    Hi,
    I found a related thread and a hotfix for similar issue:
    Problems Accessing Administrative Shares Remotely - Windows cannot access \\Servername\ShareName
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/9807a799-bea3-46ad-92a5-732779135f98/problems-accessing-administrative-shares-remotely-windows-cannot-access-servernamesharename?forum=winserver8gen
    You cannot access an administrative share on a computer after you set the SrvsvcDefaultShareInfo registry entry to configure the default share permissions for a network share
    https://support.microsoft.com/kb/971277/en-us
    Also please check if it is caused by security program such as antivirus program. 
    If you have any feedback on our support, please send to [email protected]

  • Installing SCCM 2012 R2 "Attempted to perform an unauthorized operation"

    Hi all.
    I'm a student with a mission of reviewing SCCM 2012 R2 for a company in a lab environment. I have access to a bladesystem with 4 physical servers. On these I have 7 virtual machines: 2 DCs, 2 servers for SCCM and SQL and 3 clients. The SCCM installation
    is supposed to be a single standalone primary server with the SQL database on another physical server.
    When I try to install the SCCM i get to the point where I have to submit my SQL information, but I keep getting the error message:
    "Attempted to perform an unauthorized operation".
    I've searched the internet for 2 days now and I'm near a mental breakdown...
    I've installed the SQL server, made my admin account (which I use everywhere for simplicity) member of all the admin groups (schema, domain, enterprise etc.), I've extended the AD schema and the SPNs are set, I have full connectivity between the all servers
    with ping and nslookup both returning correct values, the servers are not clustered, I have installed all required features, all firewalls are disabled.
    Please, if anyone knows whats wrong give me a hand, all help is appreciated! :)

    Well I'm installing the trial version downloaded directly from Microsoft, I'm not sure if that's what you mean by reviewing, but I'm performing the acutal install in a lab environment. I do install the SCCM on another server than the SQL, both are virtual
    machines on different physical servers within the same bladesystem. I could try to install them on the same machine, but I have limited amounts of RAM and hard drive space. I'd prefer to keep them separate but if it's too hard to find the source of the error,
    I could have a look if I have enough for the install on the same machine. How much RAM and hard drive space would you recommend if I install it on the same server?

  • Is there a performance difference between Automation Plug-ins and the scripting system?

    We currently have a tool that, through the scripting system, merges and hides layers by layer groups, exports them, and then moves to the next layer group.  There is some custom logic and channel merging that occasionally occurs in the merging of an individual layer group.  These operations are occuring through the scripting system (actually, through C# making direct function calls through Photoshop), and there are some images where these operations take ~30-40 minutes to complete on very large images.
    Is there a performance difference between doing the actions in this way as opposed to having these actions occur in an automation plug-in?
    Thanks,

    Thanks for the reply.    I ended up just benchmarking the current implementation that we are using (which goes through DOM from all indications, I wasn't the original author of the code) and found that accessing each layer was taking upwards of 300 ms.  I benchmarked iterating through the layers with PIUGetInfoByIndexIndex (in the Getter automation plug-in) and found that the first layer took ~300 ms, but the rest took ~1 ms.  With that information, I decided that it was worthwhile rewriting the functionality in an Automation plug-in.

  • Error while using between operator with sql stmts in obiee 11g analytics

    Hi All,
    when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
    can anyone help me out in resolving this issue.

    Hi All,
    Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
    If I use the condition as
    "WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
    all the data will be grouped with the two columns which I'm considering in the condition.
    my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
    please could anyone help me on this, my release date is fast approaching.

  • Attempted to perform an unauthorized operation error while installing SQL Server 2008 R2 Enterprise edition on Windows Server 2012 R2 standard VM server

    I've been trying fresh installation of SQL Server 2008 R2 enterprise on Windows Server 2012 R2 standard VM server several times for two weeks, but always get the error "Attempted to perform an unauthorized operation". At first, I attempted
    to install all features, but failed several times. So I decided to try install just Database Engine service, and still fail at the SqlBrowserConfigAction_Install_ConfigNonRC_Cpu32, with the error "Attempted to perform an unauthorized operation".
    I remote login to server with my admin domain account. This account is in server local Administrators group. I
    1. Right-click on setup.exe file | properties | Compatibility tab | select compatibility to Windows 8.Then click OK.
    2. Right-click on setup.exe file | Run as Administrator, to start the Installation Center.
    I have the document of my installation steps and zip file of the installation logs, if you need to take a look.
    Appreciate for any help!
    ntth

    Hi ntth,
    "Attempted to perform an unauthorized operation"
    The above error is always related to the Windows account SID mapping. I recommend you login into Windows using another Windows account which has administrative privileges and run SQL Server setup using that Windows account.
    Besides, please note that we need to apply SQL Server 2008 R2 Service Pack 2 or a later update when installing SQL Server Windows Server 2012 R2. For more information, please review this
    KB article.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Error occurred in deployment step 'Add Solution': Attempted to perform an unauthorized operation.

    Hello,
    I'm new to SharePoint development. I just created a empty sharepoing app in VS2010, added a webpart and in .cs file of this webpart, add hello inside RenderContents. Its compiling fine. but giving following error while deploying
    Error occurred in deployment step 'Add Solution': Attempted to perform an unauthorized operation.
    My VS 2010 is running under Administrator privileges & I'm admin to this machine.
    Comments?

    Hi, just had the same problem (on a 2013 enviroment) and was able to solve it partly by this post.
    Also experience a problem with dublicate ports, see here: http://technicaltrix.blogspot.dk/2014/11/error-occurred-in-deployment-step-add.html
    http://technicaltrix.blogspot.dk/

  • Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation.

    Hi,
    I'm unable to deploy a custom workflow/ visual web part or anything using Visual Studio.
    Here is the Output trace:
    ------ Build started: Project: TestWorkflow, Configuration: Debug Any CPU ------
    TestWorkflow -> E:\Codes\TestWorkflow\TestWorkflow\bin\Debug\TestWorkflow.dll
    Successfully created package at: E:\Codes\TestWorkflow\TestWorkflow\bin\Debug\TestWorkflow.wsp
    ------ Deploy started: Project: TestWorkflow, Configuration: Debug Any CPU ------
    Active Deployment Configuration: Default
    Run Pre-Deployment Command:
    Skipping deployment step because a pre-deployment command is not specified.
    Recycle IIS Application Pool:
    Recycling IIS application pool 'SharePoint - 1111'...
    Retract Solution:
    Retracting solution 'Testworkflow.wsp'...
    Deleting solution 'Testworkflow.wsp'...
    Add Solution:
    Adding solution 'TestWorkflow.wsp'...
    Deploying solution 'TestWorkflow.wsp'...
    Activate Features:
    Activating feature 'Feature1' ...
    Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation.
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
    Points to be noted:
    I have opened the visual studio using the System Account and "Run as Administrator".
    I checked the User policy for the particular web app and it has Full read and Full control for the System account
    I checked SharePoint administration under services and verified the system account credientials.
    Can you please help me solving this.
    Thanks,
    Sachin

    Please try giving permissions
    pen the SharePoint 2010 Central
    Administration.
    - Go to Application Management
    –> Change site collection administrations
    - Select the correct site
    collection and type your windows account as the secondary site collection administrator.
    - Try deploying now, it should work.
    or 
    You can grante permissions in "SITE ACTIONS > SITE PERMISSIONS"
    Ref :http://learnsharepointwithme.blogspot.in/2013/04/error-occurred-in-deployment-step.html
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Win 8.1 sfc /scannow returns Windows Resource Protection could not perform the requested operation.

    I am running Windows 8.1 Pro.
    I have been experiencing problems that lead me to believe the my component store is corrupted.
    When I run sfc /scannow sfc immediately comes back with "Windows Resource Protection could not perform the required operation.
    Here are the entries in the CBS file
     TI: --- Initializing Trusted Installer ---
    2014-01-21 10:45:59, Info                  CBS    TI: Last boot time: 2014-01-21 10:28:05.492
    2014-01-21 10:45:59, Info                  CBS    Starting TrustedInstaller initialization.
    2014-01-21 10:45:59, Info                  CBS    Ending TrustedInstaller initialization.
    2014-01-21 10:45:59, Info                  CBS    Starting the TrustedInstaller main loop.
    2014-01-21 10:45:59, Info                  CBS    TrustedInstaller service starts successfully.
    2014-01-21 10:45:59, Info                  CBS    No startup processing required, TrustedInstaller service was not set as autostart
    2014-01-21 10:45:59, Info                  CBS    Startup processing thread terminated normally
    2014-01-21 10:45:59, Info                  CBS    Starting TiWorker initialization.
    2014-01-21 10:45:59, Info                  CBS    Ending TiWorker initialization.
    2014-01-21 10:45:59, Info                  CBS    Starting the TiWorker main loop.
    2014-01-21 10:45:59, Info                  CBS    TiWorker starts successfully.
    2014-01-21 10:45:59, Info                  CBS    TiWorker: Client requests SFP repair object.
    2014-01-21 10:45:59, Info                  CBS    Universal Time is: 2014-01-21 16:45:59.014
    2014-01-21 10:45:59, Info                  CBS    Open of SC_BOOT_SERVICING_DONE event failed 2
    2014-01-21 10:45:59, Info                  CBS    Loaded Servicing Stack v6.3.9600.16470 with Core: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.16470_none_fa2491fd9b3cfcb2\cbscore.dll
    2014-01-21 10:45:59, Info                  CSI   
    00000001@2014/1/21:16:45:59.016 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffa54fd5929 @0x7ffa55266bda @0x7ffa55269a06 @0x7ff74300d25f @0x7ff74300dc17 @0x7ffa800d2385)
    2014-01-21 10:45:59, Info                  CBS    SQM: Initializing online with Windows opt-in: False
    2014-01-21 10:45:59, Info                  CBS    SQM: Cleaning up report files older than 10 days.
    2014-01-21 10:45:59, Info                  CBS    SQM: Requesting upload of all unsent reports.
    2014-01-21 10:45:59, Info                  CBS    SQM: Failed to start upload with file pattern: C:\WINDOWS\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005
    - E_FAIL]
    2014-01-21 10:45:59, Info                  CBS    SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
    2014-01-21 10:45:59, Info                  CBS    SQM: Queued 0 file(s) for upload with pattern: C:\WINDOWS\servicing\sqm\*_all.sqm, flags: 0x6
    2014-01-21 10:45:59, Info                  CBS    SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
    2014-01-21 10:45:59, Info                  CBS    NonStart: Set pending store consistency check.
    2014-01-21 10:45:59, Info                  CSI   
    00000002@2014/1/21:16:45:59.020 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffa54fd5929 @0x7ffa652e7fc0 @0x7ffa652e80f2 @0x7ff74300c9a5 @0x7ff74300dc2e @0x7ffa800d2385)
    2014-01-21 10:45:59, Info                  CSI    00000003 No store version format found; DLL store format 0.0.0.6
    2014-01-21 10:45:59, Error                 CSI   
    00000004@2014/1/21:16:45:59.027 (F) base\wcp\componentstore\storelayout.cpp(3854): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression:
    (null)
    [gle=0x80004005]
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140121102547.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140114224141.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140104132548.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131220204514.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131215075547.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
    2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2014-01-21 10:45:59, Info                  CBS    Failed to get CSI system store [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2014-01-21 10:45:59, Info                  CBS    CSI store consistency check fails. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2014-01-21 10:45:59, Info                  CBS    Failed to load component store [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2014-01-21 10:45:59, Info                  CSI    00000005 No store version format found; DLL store format 0.0.0.6
    2014-01-21 10:45:59, Error                 CSI   
    00000006@2014/1/21:16:45:59.051 (F) base\wcp\componentstore\storelayout.cpp(3854): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression:
    (null)
    [gle=0x80004005]
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140121102547.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140114224141.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140104132548.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131220204514.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131215075547.cab to WER report.
    2014-01-21 10:45:59, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
    2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2014-01-21 10:47:59, Info                  CBS    Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
    2014-01-21 10:47:59, Info                  CBS    TiWorker signaled for shutdown, going to exit.
    2014-01-21 10:47:59, Info                  CBS    Ending the TiWorker main loop.
    2014-01-21 10:47:59, Info                  CBS    Ending the TrustedInstaller main loop.
    2014-01-21 10:47:59, Info                  CBS    Starting TiWorker finalization.
    2014-01-21 10:47:59, Info                  CBS    Starting TrustedInstaller finalization.
    2014-01-21 10:47:59, Info                  CBS    Ending TrustedInstaller finalization.
    2014-01-21 10:47:59, Info                  CBS    Ending TiWorker finalization.
    Is there a way to rebuild the component store?
    Thanks,
    Glen

    Hey Glen,
    This log shows the exact same error that is mentioned in the comments of
    this blog post, and the response is:
    joscon [Microsoft]
    joscon [Microsoft]
    Thanks.  Unfortunately, this isn't good news.  The CanonicalData key is missing.
    2013-08-05 11:08:32, Error                 CSI    00000004@2013/8/5:09:08:32.471 (F) base\wcp\componentstore\storelayout.cpp(3617): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey
    expression: (null)
    [gle=0x80004005]
    Unfortunately, its a small, but unrecreatable subset of data.  If this is missing, servicing is broken on the machine and the system will need to be restored from backup or PBR.
    So you will need to try a refresh or a re-install of Windows, unfortunately.
    Hope this helps,
    David
    Windows Outreach Team - IT Pro
    The Springboard Series on TechNet

Maybe you are looking for

  • N97, blue screen of death when connected to PC

    I recently had my phone in to have the touch screen fixed. Today I tried to connect it to my PC using the USB for the first time since getting it back, after adding a few music albums to the mass storage I keep getting the blue screen of death on my

  • [solved]xorg configuration issues, either no mouse or flickering

    Hey all, ok well a little while ago I was having trouble with hda-intel and trying to get a decent frame rate on my card, it was never solved, now after an upgrade the problem seems to have solved itself, that is except now it flickers when playing a

  • UNreadable text and missing images in sync'd pdf documents in iBooks

    Hi, i was quite excited when i heard that iBooks 1.1 was going to be able to open pdf documents, so following an update to 1.1, i loaded up a number of pdfs onto the iPad, the majority worked perfectly, however i noticed that a couple, (when opened),

  • EIS - Essbase Dim build

    We are using EIS to build and load a cube from some duzey Oracle tables. Anyway - the specification (from "Consultants R Us") is that within the Accounts Dimension GL Codes will role up into report lines by aggregation - EXCEPT for some Departments w

  • Iphone 4s ime number send

    plz send ime number in india