Slow performance using "NOT" operator

Hello,
We are experiencing extremely poor performance using the "not" operator as follows:
AND contains(product.mycontextindex, '(music & rock) ~ hip', 1) > 0
This query may take up to two minutes whereas eliminating the "~ hip" text will complete in 3-4 seconds. The index is fairly large. Is this a common problem for Oracle Text? Is there anything we can do to speed up the query?
Thanks in advance.
David.

We are using 9i (9.2 I believe). The problem was much worse with 8i. Queries would not even return. 9i, however, hasn't really made the performance acceptable.

Similar Messages

  • Report Builder very slow when using NOt Equal

    When creating dataset I have to exclude some customers and use Not Equal option out of filters option. Everuthing is getting extremely slow.
    How to find the way to solve the problem - exclude the player and have decent performance. The reports for end-users and they are limited to drag and drop and not going to learn MDX.
    Thanks

    Hi srussky,
    According to your description, you used not equal in query of dataset and the report runs slow, right?
    When we use =, it reduces the join operation to one single matching row from each table. When we use not equal to, it massively increased the number of pairings if 99.99 % of the rows are matched.
     To troubleshoot the problem, please refer to the following steps:
    Consider replacing the not equal operator with equals (=) or inequaluity operators (>,>=,<,<=) if possible.
    Using Stored Procedures in dataset, then the query will be executed in database engine.
    Reduce the number of member siblings in the level that is being referenced in the MDX query.
    Reduce the number of member properties of the referenced member and its member siblings.
    Use Drillthrough filters in the MDX query to limit the number of rows that are returned by the MDX query.
    Use the XML/A Provider after warming the client cache of the provider.
    Use virtual dimensions.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Slow performance using getBlob(), how can I correct this ?

    I have wav files stored in a database that range from 10M - 75M... When I make a JDBC call using ResultSet..ie a rs.getBlob for a large wav file, the performance is terribly slow. How can I improve this ? Is there a way to get the BLob is pieces or sections ?

    Hi. Thanks for you response.
    You are correct. I believe the code is not slow when running the result.getBlob funciton is called, it must be when I stream it to the audio player. The point where it becomes slow is when I try and play it. After clicking play the song starts about 15 seconds later.
    Here is my code:
    PreparedStatement stmt = conn.prepareStatement(select);
                   ResultSet result = stmt.executeQuery();
                   while( result.next() ) {
                        blob = result.getBlob(type);
                   result.close();
                   stmt.close();
                   result = null;
    InputStream is = blob.getBinaryStream();
                   SourceDataLine line;
              AudioInputStream stream = AudioSystem.getAudioInputStream(is);

  • Oracle 8.1.6, slow performance using XSU

    Hi,
    We have a problem with some queries running in our production environment. When we run them directly through sqlplus they take milliseconds, however when we pass them through our wrapper to the XSU, they can take 5 or 6 seconds to return. The type of query just involves reading data from the database and returning it in XML through the XSU. The wrapper procedure we have written is shown below. Some of the XML we get back can be quite big, hence the check on the return length, but nothing greater than this length will normally be passed through the XSU. We have no issues with indexes etc, as I say the queries run fast if we don't process them through the XSU.
    We beleive that the problems may be exaggerated by the load on the database at any time, and are going to investigate this further in the production environment when we get a chance but at the moment we are a bit stumped.
    Does anyone have an idea why we are experiencing such large overheads when going through the XSU? Is there anything in our wrapper procedure which could add to the delay? Would introducing bind variables into our queries help? Any advice much appreciated.
    PROCEDURE XML_Query(p_SQL IN VARCHAR2,
    p_XML OUT LONG) IS
         v_Context          DBMS_XMLQuery.ctxType;
         v_CLOB      CLOB;
         v_Length          INTEGER;
         v_Buffer          VARCHAR2(2767);
         v_Amount          BINARY_INTEGER := 30000;
         v_Offset          INTEGER := 1;
         e_OutputTooLarge     EXCEPTION;
    BEGIN
         --Get the query context
         v_Context := DBMS_XMLQuery.newContext(p_SQL);
         --v_Context := DBMS_XMLQuery.newContext('SELECT * FROM COLL_SCHEME');
         --Set the date format
         DBMS_XMLQuery.setDateFormat(v_Context,'dd/MM/yyyy hh:mm:ss');
         --Get the XML result
         v_CLOB := DBMS_XMLQuery.getXML(v_Context);
         --Check the length of the result
         v_Length := DBMS_LOB.GETLENGTH(v_CLOB);
         --We currently have a 32767 character limit
         IF v_Length > 32767 THEN
              --Close the context
              DBMS_XMLQuery.closeContext(v_Context);
              --Raise exception
              RAISE e_OutputTooLarge;
         END IF;
         --The first output is always the XML header <?xml version = '1.0'?>
         --We dont want it, so set the Offset to 24 to skip it
         v_Offset := 24;
         --Read the result into the output parameter (max 30000 chars at a time)
         DBMS_LOB.READ(v_CLOB,v_Amount,v_Offset,p_XML);
         --If there is more, get the remaining chars (up to another 2767)
         IF v_Length > 30000 THEN
              v_Amount := 2767;
              DBMS_LOB.READ(v_CLOB,v_Amount,30000,v_Buffer);
              p_XML := p_XML || v_Buffer;
         END IF;
         --Close the context
         DBMS_XMLQuery.closeContext(v_Context);
    EXCEPTION
         WHEN e_OutputTooLarge THEN
              -- Raise the error to the calling process
              RAISE_APPLICATION_ERROR(-20000,'XML output to large. (' || TO_CHAR(v_Length) || ')');
    END XML_Query;

    Thanks Justin. I tried what you suggested. Here's the findings:
    1. increase prefetch count -- did not seem to make a significant difference;
    2. tried MicroSoft ODBC driver -- See to be a little quicker, but still way slower than native SQLnet or Net8;
    3. Use Oracle ODBC test instead of application -- Oracle ODBC test seem to restrict the max row retrieval to 100 rows -- but it still take 10 to 20 seconds, which means for 800 rows it will take the same amount of time. I checked the NT taskmanager, while retieving data there's no CPU consumption.
    4. Installed Oracle to another machine in the same location on NT/wintel box. Response time ODBC vs SQLnet is comparable (50 msec or so) on 200 rows data retrieval. The production database is in DEC alpha machine running NT.
    Based on all these testing, I am still not sure what might have caused the performance problem in production oracle. Any further suggestions?
    null

  • Slow performance when not plugged in with charger : please help

    My recently purchased Macbook pro is and everything is as i excpected and works like a dream
    That is until i disconnect the charger and suddenly everything gets incrediby clunky and slow?
    i understand after some research that the performance will drop slightly when not connect to charger but it suddenly becomes unworkable and is incredably frustrating to the point where its almost useless.
    I have hardly any programmes installed still have over 470Gb free on hard drive
    i have run tests through the utility function with no faults reported but cant seem to solve the issue
    Has anybody else experienced this? are there any quick fixes or will i have to make the journey to the apple store to get it looked at ??
    thanks for reading i would really apreciate some help
    alex 

    Hello there, LaruaGalliers.
    The following Knowledge Base article provides some great troubleshooting steps for your issue:
    iPhone and iPod touch: Charging the battery
    http://support.apple.com/kb/HT1476
    Particularly:
    Battery does not charge
    Verify that the outlet being used is working.
    Try another USB power adapter if available.
    If no other USB power adapter is available, try connecting to a high-power USB 2.0 port (not a keyboard). The computer must be turned on and not in sleep or standby mode.
    Try another USB cable if available.
    iPhone or iPod touch displays the low-battery image and is unresponsive
    If you see the image below, charge the iPhone or iPod touch with USB power adapter for at least 15 minutes.    
    You should see this image when iPhone or iPod touch begins to charge:
    If the screen still displays the low-battery icon, try turning the iPhone or iPod touch off and then on again.
    If the issue persists, follow these troubleshooting steps.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Very Slow Performance using Word

    Wondering if you can offer any advice on how to troubleshoot a problem
    I have with a G3 iBook. Just recently I have been having problems
    with Word (but only Word). It takes forever to open and forever to
    complete any command (eg open a document)- basically it hangs the machine for a few miniutes each time. The iBook is running OS X 10.2.8.
    This is a recent problem that has come out of nowhere seemingly - i.e.
    Word was working fine until a few weeks ago. Nothing has been
    installed etc that would change the computer, to my knowledge. I have
    been running Process Viewer when I open Word and it
    shows that Word is using about 50% of the RAM (she has 256MB) when it
    is "hanging". I also have an iMac with a very similar configuration (G3, same
    OS, actually less RAM (192MB), same MS Word installation) and Word runs
    fine on the iMac with Process Viewer showing only about 10% of RAM
    usage.
    Do you have any suggestions as to how I can troubleshoot this / find
    the problem / clean things up to restore Word performance?
    Thanks

    tr61:
    Welcome to Apple Discussions.
    Try this:
    • Shut down the computer.
    • Locate the following keys: Command, Option, P, and R. You will need to hold these keys down simultaneously later.
    • Turn on the computer.
    • Press and hold the Command + Option + P + R keys immediately after the startup chime.
    • Hold keys down until you hear the startup chime for the third time.
    • Release the keys and immediately hold down Shift key to start up in Safe Mode.
    • Log in and empty Trash (if any).
    • Restart normally and log in.
    Please post back with update or further questions or comments.
    Cheers
    cornelius

  • OCFS slow performance in ImpDP

    Did anyone encounter slow performance using ImpDP on OCFS ? We have Oracle RAC 10.2g running in window connecting SAN storage and was formatted to OCFS. We compared the performance of running the same import in Local Drive (NTFS) and SAN storage (OCFS) and found that the time required to complete the import is 10 times than Local Drive (NTFS). Any tuning or troubleshooting that we could do ? Thanks in Advance.

    Not aware of ocfs installing automatically when installing CRS/RAC. But then have never used Windows as a production o/s for Oracle. never mind using it to run RAC.
    ocfs2 is the latest version as per Oracle's [Open Source project list|http://oss.oracle.com/projects/]. Am not aware of "ocfs 9" for 9i or "ocfs 10" for 10g on Windows.
    What do you use ocfs for? Do you have the OCR and voting disks on the file system as files? Do you use it for Oracle datafiles too?
    As for the SAN infrastructure being "+okay+" - there's more than that to it. You need some kind of driver on the o/s to interface with the HBA card.. where cables (dual 2Gb fibre?) run into a SAN switch and where the SAN switch is connected to the physical storage system.
    A faulty cable can cause performance issue (e.g. reducing the dual path to the SAN via 2 fibre channels to a single one). There could be errors on the switch. The driver could be problematic (older version). Etc.
    So there is a number of layers, both s/w and h/w, to check before going "+okay+". Trust that your infrastructure team is jacked up in this regard.
    One method to benchmark the import problem is to use NT's performance monitor and monitor the import process. Not exactly sure how you would do it dealing with threads (as a thread in the oracle.exe executable will be servicing the import process) - but this should give you a somewhat accurate figure of the I/Os per second and bytes and blocks per second that the process is reading from the ocfs file system (assuming that you are writing it via ASM to raw devices).
    At the same time you can monitor the process for other potential performance bottlenecks.
    The only other factor that comes to mind that can impact ocfs performance is the ocfs cluster's communication layer. Like CRS that uses Interconnect for communication between nodes, so does ocfs. On a Unix system this is configured in the +/etc/ocfs2/cluster.conf+ file - and lists the number of ocfs nodes in the cluster and the network interfaces/addresses used for communication.
    If this network layer is already quite busy, using it for ocfs2's cluster communication could be a problem performance wise.
    You can test this aspect by unmounting ocfs2 (and stopping the ocfs2 cluster communication/heartbeat s/w too) on all but one node and then running the import. As there is only a single node in the ocfs2 cluster, the communication with other nodes is pretty much made redundant.
    Last comment - ocfs2 is not slow as a cluster file system. It does a pretty decent job. And its performance is directly related to the h/w it runs on, and also how it is configured. That said, it is not a s/w component that really plays a role in Oracle CRS and RAC as ASM should be used (and is the recommended option from Oracle). ocfs2 at best can serve as a cooked file system for the RAC cluster (only used via directory objects in Oracle).

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • First off, i think it's sad that i have to use my non apple device to post this question... Why has my iPad become absolutely useless after updating to iOS 8.1? I am unable to use my mini because it crashes, slow performance, major battery drain.

    First off, i think it's sad that i have to use my non apple device to post this question... Why has my iPad become absolutely useless after updating to iOS 8.1? I am unable to use my mini because it crashes, slow performance, major battery drain.

    Restore iPad to Factory Default; do not restore from backup. It may be the cause of the problem.
    Settings>General>Reset>Erase all content and settings

  • "cannot perform a DML operation inside a query" error when using table func

    hello please help me
    i created follow table function when i use it by "select * from table(customerRequest_list);"
    command i receive this error "cannot perform a DML operation inside a query"
    can you solve this problem?
    CREATE OR REPLACE FUNCTION customerRequest_list(
    p_sendingDate varchar2:=NULL,
    p_requestNumber varchar2:=NULL,
    p_branchCode varchar2:=NULL,
    p_bankCode varchar2:=NULL,
    p_numberOfchekbook varchar2:=NULL,
    p_customerAccountNumber varchar2:=NULL,
    p_customerName varchar2:=NULL,
    p_checkbookCode varchar2:=NULL,
    p_sendingBranchCode varchar2:=NULL,
    p_branchRequestNumber varchar2:=NULL
    RETURN customerRequest_nt
    PIPELINED
    IS
    ob customerRequest_object:=customerRequest_object(
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
    condition varchar2(2000 char):=' WHERE 1=1 ';
    TYPE rectype IS RECORD(
    requestNumber VARCHAR2(32 char),
    branchRequestNumber VARCHAR2(32 char),
    branchCode VARCHAR2(50 char),
    bankCode VARCHAR2(50 char),
    sendingDate VARCHAR2(32 char),
    customerAccountNumber VARCHAR2(50 char),
    customerName VARCHAR2(200 char),
    checkbookCode VARCHAR2(50 char),
    numberOfchekbook NUMBER(2),
    sendingBranchCode VARCHAR2(50 char),
    numberOfIssued NUMBER(2)
    rec rectype;
    dDate date;
    sDate varchar2(25 char);
    TYPE curtype IS REF CURSOR; --RETURN customerRequest%rowtype;
    cur curtype;
    my_branchRequestNumber VARCHAR2(32 char);
    my_branchCode VARCHAR2(50 char);
    my_bankCode VARCHAR2(50 char);
    my_sendingDate date;
    my_customerAccountNumber VARCHAR2(50 char);
    my_checkbookCode VARCHAR2(50 char);
    my_sendingBranchCode VARCHAR2(50 char);
    BEGIN
    IF NOT (regexp_like(p_sendingDate,'^[[:digit:]]{4}/[[:digit:]]{2}/[[:digit:]]{2}$')
    OR regexp_like(p_sendingDate,'^[[:digit:]]{4}/[[:digit:]]{2}/[[:digit:]]{2}[[:space:]]{1}[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}$')) THEN
    RAISE_APPLICATION_ERROR(-20000,cbdpkg.get_e_m(-1,5));
    ELSIF (p_sendingDate IS NOT NULL) THEN
    dDate:=TO_DATE(p_sendingDate,'YYYY/MM/DD hh24:mi:ss','nls_calendar=persian');
    dDate:=trunc(dDate);
    sDate:=TO_CHAR(dDate,'YYYY/MM/DD hh24:mi:ss');
    condition:=condition|| ' AND ' || 'sendingDate='||'TO_DATE('''||sDate||''',''YYYY/MM/DD hh24:mi:ss'''||')';
    END IF;
    IF (p_requestNumber IS NOT NULL) AND (cbdpkg.isspace(p_requestNumber)=0) THEN
    condition:=condition|| ' AND ' || ' requestNumber='||p_requestNumber;
    END IF;
    IF (p_bankCode IS NOT NULL) AND (cbdpkg.isspace(p_bankCode)=0) THEN
    condition:=condition|| ' AND ' || ' bankCode='''||p_bankCode||'''';
    END IF;
    IF (p_branchCode IS NOT NULL) AND (cbdpkg.isspace(p_branchCode)=0) THEN
    condition:=condition|| ' AND ' || ' branchCode='''||p_branchCode||'''';
    END IF;
    IF (p_numberOfchekbook IS NOT NULL) AND (cbdpkg.isspace(p_numberOfchekbook)=0) THEN
    condition:=condition|| ' AND ' || ' numberOfchekbook='''||p_numberOfchekbook||'''';
    END IF;
    IF (p_customerAccountNumber IS NOT NULL) AND (cbdpkg.isspace(p_customerAccountNumber)=0) THEN
    condition:=condition|| ' AND ' || ' customerAccountNumber='''||p_customerAccountNumber||'''';
    END IF;
    IF (p_customerName IS NOT NULL) AND (cbdpkg.isspace(p_customerName)=0) THEN
    condition:=condition|| ' AND ' || ' customerName like '''||'%'||p_customerName||'%'||'''';
    END IF;
    IF (p_checkbookCode IS NOT NULL) AND (cbdpkg.isspace(p_checkbookCode)=0) THEN
    condition:=condition|| ' AND ' || ' checkbookCode='''||p_checkbookCode||'''';
    END IF;
    IF (p_sendingBranchCode IS NOT NULL) AND (cbdpkg.isspace(p_sendingBranchCode)=0) THEN
    condition:=condition|| ' AND ' || ' sendingBranchCode='''||p_sendingBranchCode||'''';
    END IF;
    IF (p_branchRequestNumber IS NOT NULL) AND (cbdpkg.isspace(p_branchRequestNumber)=0) THEN
    condition:=condition|| ' AND ' || ' branchRequestNumber='''||p_branchRequestNumber||'''';
    END IF;
    dbms_output.put_line(condition);
    OPEN cur FOR 'SELECT branchRequestNumber,
    branchCode,
    bankCode,
    sendingDate,
    customerAccountNumber ,
    checkbookCode ,
    sendingBranchCode
    FROM customerRequest '|| condition ;
    LOOP
    FETCH cur INTO my_branchRequestNumber,
    my_branchCode,
    my_bankCode,
    my_sendingDate,
    my_customerAccountNumber ,
    my_checkbookCode ,
    my_sendingBranchCode;
    EXIT WHEN (cur%NOTFOUND) OR (cur%NOTFOUND IS NULL);
    BEGIN
    SELECT requestNumber,
    branchRequestNumber,
    branchCode,
    bankCode,
    TO_CHAR(sendingDate,'yyyy/mm/dd','nls_calendar=persian'),
    customerAccountNumber ,
    customerName,
    checkbookCode ,
    numberOfchekbook ,
    sendingBranchCode ,
    numberOfIssued INTO rec FROM customerRequest FOR UPDATE NOWAIT;
    --problem point is this
    EXCEPTION
    when no_data_found then
    null;
    END ;
    ob.requestNumber:=rec.requestNumber ;
    ob.branchRequestNumber:=rec.branchRequestNumber ;
    ob.branchCode:=rec.branchCode ;
    ob.bankCode:=rec.bankCode ;
    ob.sendingDate :=rec.sendingDate;
    ob.customerAccountNumber:=rec.customerAccountNumber ;
    ob.customerName :=rec.customerName;
    ob.checkbookCode :=rec.checkbookCode;
    ob.numberOfchekbook:=rec.numberOfchekbook ;
    ob.sendingBranchCode:=rec.sendingBranchCode ;
    ob.numberOfIssued:=rec.numberOfIssued ;
    PIPE ROW(ob);
    IF (cur%ROWCOUNT>500) THEN
    CLOSE cur;
    RAISE_APPLICATION_ERROR(-20000,cbdpkg.get_e_m(-1,4));
    EXIT;
    END IF;
    END LOOP;
    CLOSE cur;
    RETURN;
    END;

    Now what exactly would be the point of putting a SELECT FOR UPDATE in an autonomous transaction?
    I think OP should start by considering why he has a function with an undesirable side effect in the first place.

  • An error 1069 - )The service did not start due to logon failure) occurred while performing this service operation ...

    Hi All,
    We seem to be being plagued by the error below by our SQL Server agent. This happens almost everytime we restart the server that has been running for a day or two.
    Our SQL Server Agent uses a none expiring domain credential. I understand that this problem only happens when the profile being used by the SQL Servr Agent has changed (password change). What puzzles me is that the login is A ok and no changes has been made to it's password.
    We always resolve this problem by changing the login used in the SQL Server Agent to local and after that, returning it back to it's original domain login. Unfortunately, we cant always do this everytime something goes wrong.
    Can anyone please help us shed a light on this? We're using SQL2k with SP3a. Thanks!
    Error:
    An error 1069 - )The service did not start due to logon failure) occurred while performing this service operation on the SQLServerAgent service.
    Regards,
    Joseph

    Ran into this error, and the password was correct. What the System Event Log said:
    Code SnippetEvent Type: Error
    Event Source: Service Control Manager
    Event Category: None
    Event ID: 7041
    Date: 10/8/2008
    Time: 9:33:09 AM
    User: N/A
    Computer: ComputerName
    Description:
    The SQLSERVERAGENT service was unable to log on as DomainName\SQLAgent with the currently configured password due to the following error:
    Logon failure: the user has not been granted the requested logon type at this computer.
    Service: SQLSERVERAGENT
    Domain and account: DomainName\SQLAgent
    This service account does not have the necessary user right "Log on as a service."
    User Action
    Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user right is assigned to the Cluster service account on all nodes in the cluster.
    If you have already assigned this user right to the service account, and the user right appears to be removed, a Group Policy object associated with this node might be removing the right. Check with your domain administrator to find out if this is happening.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
    ...sure enough it had been removed from the "Logon as a service" list. Hope this helps.

  • Extremely slow performance on projects under version control using RoboHelp 11, PushOk, Tortoise SVN repository

    We are also experiencing extremely slow performance for RoboHelp projects under version control. We are using RoboHelp 11, PushOk and a Tortoise SVN repository on a Linux server. We are using a Linux server on our IT guys advice because we found SVN version control under Windows was unstable.
    When placing a Robohelp project under version control, and yes the project is on my local machine, it can take up to two hours to complete. We are using the RoboHelp sample projects to test.
    We have tried to put the project under version control from Robohelp, and also tried first putting the project under version control from Tortoise SVN, and then trying to open the project from version control in Robohelp. In both cases, the project takes a ridiculous amount of time to open. The Robohelp status bar displays Querying Version Control Status for about an hour before it starts to download from the repository, which then takes more than an hour to complete. In many cases Robohelp becomes unresponsive and we have to start the whole process again.
    If adding the project to source control completes successfully, and the the project is opened from version control, performing any function also takes a very long time, such as creating a topic. When I generated a printed documentation layout it took an astonishing 218 minutes and 17 seconds to complete. Interestingly, when I generated the printed documentation layout again, it took 1 min and 34 seconds. However when I closed the project, opened from version control, and tried to generate a printed documentation layout, it again took several hours to complete. The IT guys are at a loss, and say it is not a network issue and I am starting to agree that this is a RoboHelp issue.
    I see there are a few other discussions here related to this kind of poor performance, none of which seem to been answered satisfactorily. For example:
    Why does it take so long when adding a new topic in RH10 with PushOK SVN
    Does anybody have any ideas on what we can do or what we can investigate? I know that there are options for version control, but am reluctant to pursue them until I am satisfied that our current issues cannot be resolved.
    Thanks Mark

    Do other applications work fine with the source control repository? The reason I'm asking is because you must first rule out that there are external factors causing this behaviour. It seems that your it guys have already looked at it, but it's better to be safe than sorry.
    I have used both VSS and TFS and I haven't encountered such a performance issue. I would suggest filing it as a bug if you rule out that the problem is not related to external influences: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&loc=en
    Kind regards,
    Willam

  • Windows Resource Protection could not perform the requested operation.

    A close friend's machine was blue screening on boot so he had me take a look at it.  The error in the BSOD indicated Windows was having trouble reading from the drive.  Although the drive wasn't clicking, based on what I was seeing, it seemed pretty
    clear the drive was on its way out.  I ran chkdsk, several times, and it found plenty of bad sectors but wasn't able to really fix anything.  Fortunately I was able to
    clone the drive using gparted
    run chkdsk
    fix the master boot record, boot sector and boot configuration data store
    run chkdsk again
    Now all is well
    Upon booting I noticed the system was dreadfully out of date: Firefox, Java, Reader, Flash - the works - so I updated all that.  I also noticed it was missing something like 50-70  Windows updates so I had to straight that right away.  It
    managed to install 15-20 before failing with 80070057.  This to me isn't too uncommon so I rebooted thinking it wouldn't choke next time. Much to my chagrin, any subsequent attempts fail with error 80070057.  I even tried installing just a few updates
    at a time, even just 1, and the error persists.  My assumption is that one or more files are maybe damaged and need to be fixed.
    I ran sfc /scannow and it gets to about 27%, then fails with "Windows Resource Protection could not perform the requested operation."  I did the following:
    backed up the existing CBS log
    ran sfc /scannow again
    watched the log in powershell via Get-Content C:\Windows\Logs\CBS\CBS.log -Wait
    It started out strong
    PS C:\Windows\Logs\CBS> Get-Content C:\Windows\Logs\CBS\CBS.log -Wait
    2014-03-06 18:48:33, Info CBS Loaded Servicing Stack v6.0.6002.18005 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6
    002.18005_none_676975d87cc9b6e6\cbscore.dll
    2014-03-06 18:48:33, Info CSI 00000001@2014/3/6:23:48:33.027 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7fef0cf8c85 @0x7feff3f53ae @0x7feff3c3ed1
    @0xffa949a8 @0xffa930c9 @0xffa93578)
    2014-03-06 18:48:33, Info CSI 00000002@2014/3/6:23:48:33.045 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7fef0cf8c85 @0x7feff4386cf @0x7feff4125d9
    @0x7feff3c3feb @0xffa949a8 @0xffa930c9)
    2014-03-06 18:48:33, Info CSI 00000003@2014/3/6:23:48:33.048 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7fef0cf8c85 @0x7feff21838d @0x7feff2184ba
    @0xffa94207 @0xffa93125 @0xffa93578)
    2014-03-06 18:48:33, Info CBS NonStart: Checking to ensure startup processing was not required.
    2014-03-06 18:48:33, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDispo
    sition = @0xb8fad0
    2014-03-06 18:48:33, Info CBS NonStart: Success, startup processing not required as expected.
    2014-03-06 18:48:33, Info CSI 00000005 CSI Store 4751600 (0x00000000004880f0) initialized
    2014-03-06 18:48:38, Info CSI 00000006 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:38, Info CSI 00000007 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:39, Info CSI 00000008 Repair results created:
    POQ 0 starts:
    POQ 0 ends.
    2014-03-06 18:48:39, Info CSI 00000009 [SR] Verify complete
    2014-03-06 18:48:39, Info CSI 0000000a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:39, Info CSI 0000000b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:40, Info CSI 0000000c Repair results created:
    POQ 1 starts:
    POQ 1 ends.
    2014-03-06 18:48:40, Info CSI 0000000d [SR] Verify complete
    2014-03-06 18:48:40, Info CSI 0000000e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:40, Info CSI 0000000f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:41, Info CSI 00000010 Repair results created:
    POQ 2 starts:
    POQ 2 ends.
    2014-03-06 18:48:41, Info CSI 00000011 [SR] Verify complete
    2014-03-06 18:48:41, Info CSI 00000012 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:41, Info CSI 00000013 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:41, Info CSI 00000014 Repair results created:
    POQ 3 starts:..... and so on
    Until it hit a problem
    POQ 34 ends.
    2014-03-06 18:49:08, Info CSI 00000091 [SR] Verify complete
    2014-03-06 18:49:08, Info CSI 00000092 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:08, Info CSI 00000093 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:09, Info CSI 00000094 Repair results created:
    POQ 35 starts:
    POQ 35 ends.
    2014-03-06 18:49:09, Info CSI 00000095 [SR] Verify complete
    2014-03-06 18:49:09, Info CSI 00000096 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:09, Info CSI 00000097 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:10, Info CSI 00000098 Repair results created:
    POQ 36 starts:
    POQ 36 ends.
    2014-03-06 18:49:10, Info CSI 00000099 [SR] Verify complete
    2014-03-06 18:49:11, Info CSI 0000009a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:11, Info CSI 0000009b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:12, Error CSI 0000009c@2014/3/6:23:49:12.802 (F) d:\longhorn\base\wcp\primitiveinstallers\filehierarchy.cpp(1939): Error STATUS_INVALID_PARAMETER originated in fun
    ction FileInstaller::CFileInstallerHierarchy::PortFileInformationBetweenCdfs expression: TmpBlob.Length == sizeof(LUACDF_FILE_ENTRY)
    [gle=0x80004005]
    2014-03-06 18:49:16, Error CSI 0000009d (F) STATUS_INVALID_PARAMETER #2119209# from CFileInstaller::CommitChanges(...)[gle=0xd000000d]
    2014-03-06 18:49:16, Error CSI 0000009e (F) STATUS_INVALID_PARAMETER #2119208# from PrimitiveInstaller::CCoordinator::FinalizeChanges(...)[gle=0xd000000d]
    2014-03-06 18:58:33, Info CBS Scavenge: Package store indicates there is no component to scavenge, skipping.
    I searched for "[SR]" but I didn't see anything of great interest
    C:\Windows\system32>findstr /c:"[SR]" %windir%\logs\cbs\cbs.log
    2014-03-06 18:48:38, Info CSI 00000006 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:38, Info CSI 00000007 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:39, Info CSI 00000009 [SR] Verify complete
    2014-03-06 18:48:39, Info CSI 0000000a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:39, Info CSI 0000000b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:40, Info CSI 0000000d [SR] Verify complete
    2014-03-06 18:48:40, Info CSI 0000000e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:40, Info CSI 0000000f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:41, Info CSI 00000011 [SR] Verify complete
    2014-03-06 18:48:41, Info CSI 00000012 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:41, Info CSI 00000013 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:41, Info CSI 00000015 [SR] Verify complete
    2014-03-06 18:48:42, Info CSI 00000016 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:42, Info CSI 00000017 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:42, Info CSI 00000019 [SR] Verify complete
    2014-03-06 18:48:42, Info CSI 0000001a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:42, Info CSI 0000001b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:44, Info CSI 0000001d [SR] Verify complete
    2014-03-06 18:48:44, Info CSI 0000001e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:44, Info CSI 0000001f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:45, Info CSI 00000021 [SR] Verify complete
    2014-03-06 18:48:45, Info CSI 00000022 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:45, Info CSI 00000023 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:45, Info CSI 00000025 [SR] Verify complete
    2014-03-06 18:48:46, Info CSI 00000026 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:46, Info CSI 00000027 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:46, Info CSI 00000029 [SR] Verify complete
    2014-03-06 18:48:47, Info CSI 0000002a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:47, Info CSI 0000002b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:47, Info CSI 0000002d [SR] Verify complete
    2014-03-06 18:48:48, Info CSI 0000002e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:48, Info CSI 0000002f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:48, Info CSI 00000031 [SR] Verify complete
    2014-03-06 18:48:48, Info CSI 00000032 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:48, Info CSI 00000033 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:49, Info CSI 00000035 [SR] Verify complete
    2014-03-06 18:48:49, Info CSI 00000036 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:49, Info CSI 00000037 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:50, Info CSI 00000039 [SR] Verify complete
    2014-03-06 18:48:50, Info CSI 0000003a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:50, Info CSI 0000003b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:50, Info CSI 0000003d [SR] Verify complete
    2014-03-06 18:48:51, Info CSI 0000003e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:51, Info CSI 0000003f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:51, Info CSI 00000041 [SR] Verify complete
    2014-03-06 18:48:51, Info CSI 00000042 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:51, Info CSI 00000043 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:52, Info CSI 00000045 [SR] Verify complete
    2014-03-06 18:48:52, Info CSI 00000046 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:52, Info CSI 00000047 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:52, Info CSI 00000049 [SR] Verify complete
    2014-03-06 18:48:53, Info CSI 0000004a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:53, Info CSI 0000004b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:53, Info CSI 0000004d [SR] Verify complete
    2014-03-06 18:48:54, Info CSI 0000004e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:54, Info CSI 0000004f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:54, Info CSI 00000051 [SR] Verify complete
    2014-03-06 18:48:54, Info CSI 00000052 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:54, Info CSI 00000053 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:55, Info CSI 00000055 [SR] Verify complete
    2014-03-06 18:48:55, Info CSI 00000056 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:55, Info CSI 00000057 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:55, Info CSI 00000059 [SR] Verify complete
    2014-03-06 18:48:56, Info CSI 0000005a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:56, Info CSI 0000005b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:56, Info CSI 0000005d [SR] Verify complete
    2014-03-06 18:48:56, Info CSI 0000005e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:56, Info CSI 0000005f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:57, Info CSI 00000061 [SR] Verify complete
    2014-03-06 18:48:57, Info CSI 00000062 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:57, Info CSI 00000063 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:48:58, Info CSI 00000065 [SR] Verify complete
    2014-03-06 18:48:58, Info CSI 00000066 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:48:58, Info CSI 00000067 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:00, Info CSI 00000069 [SR] Verify complete
    2014-03-06 18:49:00, Info CSI 0000006a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:00, Info CSI 0000006b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:00, Info CSI 0000006d [SR] Verify complete
    2014-03-06 18:49:01, Info CSI 0000006e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:01, Info CSI 0000006f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:01, Info CSI 00000071 [SR] Verify complete
    2014-03-06 18:49:02, Info CSI 00000072 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:02, Info CSI 00000073 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:02, Info CSI 00000075 [SR] Verify complete
    2014-03-06 18:49:02, Info CSI 00000076 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:02, Info CSI 00000077 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:03, Info CSI 00000079 [SR] Verify complete
    2014-03-06 18:49:03, Info CSI 0000007a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:03, Info CSI 0000007b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:04, Info CSI 0000007d [SR] Verify complete
    2014-03-06 18:49:04, Info CSI 0000007e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:04, Info CSI 0000007f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:05, Info CSI 00000081 [SR] Verify complete
    2014-03-06 18:49:05, Info CSI 00000082 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:05, Info CSI 00000083 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:06, Info CSI 00000085 [SR] Verify complete
    2014-03-06 18:49:06, Info CSI 00000086 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:06, Info CSI 00000087 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:06, Info CSI 00000089 [SR] Verify complete
    2014-03-06 18:49:07, Info CSI 0000008a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:07, Info CSI 0000008b [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:07, Info CSI 0000008d [SR] Verify complete
    2014-03-06 18:49:08, Info CSI 0000008e [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:08, Info CSI 0000008f [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:08, Info CSI 00000091 [SR] Verify complete
    2014-03-06 18:49:08, Info CSI 00000092 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:08, Info CSI 00000093 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:09, Info CSI 00000095 [SR] Verify complete
    2014-03-06 18:49:09, Info CSI 00000096 [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:09, Info CSI 00000097 [SR] Beginning Verify and Repair transaction
    2014-03-06 18:49:10, Info CSI 00000099 [SR] Verify complete
    2014-03-06 18:49:11, Info CSI 0000009a [SR] Verifying 100 (0x0000000000000064) components
    2014-03-06 18:49:11, Info CSI 0000009b [SR] Beginning Verify and Repair transaction
    C:\Windows\system32>
    I've run into sfc issues in the past, and in one instance, booting the OS install DVD, and running sfc /scannow /offbootdir=c:\ /offwindir=c:\windows did fix the issue.  But I have to ask
    Is there no way to do that while in Windows?  Can't I mount some WIM and do it that way instead of booting the DVD?
    Is that the right course of action, or is/are there some other options I should explore?
    Thanks for your time & guidance.

    Hi,
    In my opinion, if you want  SFC to use a sourcepath to repair your system, you can just use in-place upgrade to do this:
    How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
    http://support.microsoft.com/kb/2255099
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support
    Thanks for taking the time to reply and for this suggestion.
    The in-place upgrade is a wonderful potential solution, but the process requires the source media.  Most systems these days don't include the OS or recovery CD's because the manufacturers want you to pay for them.  And most consumers aren't spending
    the $50-$70 dollars to get the media, which complicates things in situations like this.  So while they've purchased a machine and have a valid Microsoft COA sticker on the box, they can't do anything.
    Also, to make matters worse, I posted this in the wrong forum as this is a Vista Home Premium PC.  [My sincere apologies for that. Mods please feel free to move/reclassify]  I do have a Vista Home Premium DVD, but its the 32-bit version, not 64-bit,
    which is what this system is.  So unless I can locate a Visa Home Premium 64-bit DVD, or they upgrade to Windows 7 or 8 (which they probably should do anyway), we're sunk.

  • My Mac has been suffering a slow performance, lagging and often froze. One source recommends using Onyx. Is that a trustable source?

    I have a Macbook Pro OS X Version 10.9.4. Processor speed of 2.3 GHz Intel Core i5, memory of 4 GB 1333 MHz DDR3 and storage capacity of 203.51 GB out of 319.21 GB. I have been experiencing very slow performance and sometimes the screen will froze. The spinning wheel is very common and long. I have try to delete as many things as i could from my computer, restarting it but to no avail. One source suggests me to use Onyx. Would that help to solve my problem?

    EtreCheck version: 1.9.15 (52)
    Report generated September 29, 2014 at 7:55:53 PM EDT
    Hardware Information: ?
      MacBook Pro (13-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.3 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.9.5 (13F34) - Uptime: 0 days 0:15:5
    Disk Information: ?
      ST9320325ASG disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 319.21 GB (205.02 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      MATSHITADVD-R   UJ-8A8 
    USB Information: ?
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [loaded] com.symantec.kext.SymAPComm (12.2f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.internetSecurity (5.2f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ips (3.5f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ndcengine (1.0f1 - SDK 10.6) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.cloudpath.maccmd.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
      [failed] com.symantec.liveupdate.daemon.plist Support
      [not loaded] com.symantec.sep.migratesettings.plist Support
      [running] com.symantec.sharedsettings.plist Support
      [running] com.symantec.symdaemon.plist Support
    Launch Agents: ?
      [not loaded] com.cooliris.SetLaunchArch.plist Support
      [loaded] com.divx.dms.agent.plist Support
      [loaded] com.divx.update.agent.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] com.symantec.uiagent.application.plist Support
    User Launch Agents: ?
      [failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
      [loaded] com.divx.agent.postinstall.plist Support
      [loaded] com.facebook.videochat.[redacted].plist Support
      [failed] com.hitachigst.backup.agent.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ?
      Google Drive
      SpeechSynthesisServer
      Popup
      Notify
    Internet Plug-ins: ?
      o1dbrowserplugin: Version: 5.4.2.18903 Support
      OVSHelper: Version: 1.1 Support
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      DivX Plus Web Player: Version: 2.4 - SDK 10.5 Support
      CoolirisWebKitPlugin: Version: (null) Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.4.2.18903 Support
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Safari Extensions: ?
      Add To Amazon Wish List
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Flash Player  Support
      Flip4Mac WMV  Support
      Symantec QuickMenu  Support
    Time Machine: ?
      Time Machine not configured!
    Top Processes by CPU: ?
          3% WindowServer
          1% fontd
          1% Google Drive
          0% com.apple.WebKit.Networking
          0% systemstatsd
    Top Processes by Memory: ?
      258 MB SymDaemon
      127 MB mds_stores
      86 MB com.apple.IconServicesAgent
      82 MB Google Drive
      78 MB Mail
    Virtual Memory Information: ?
      923 MB Free RAM
      1.53 GB Active RAM
      656 MB Inactive RAM
      953 MB Wired RAM
      311 MB Page-ins
      0 B Page-outs

  • 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