Running New-MailBoxExportRequest a second time to same PST(s)

Originally asked in SBS 2011 forum yesterday - Now asking here: I recently moved a small accounting firm (18 staff) from SBS 2003 to SBS 2011. Having purchased SBS 2011 Standard over a year ago knowing end-of-support for Exchange 2003 SP3 was 8th April
2014. Today its 11th May and everything is working fairly well - except the usual suspects (WSUS) & daily network report errors (I read how to suppress those - cool - will do so soon). So, for a few dollars I have AD, Exchange 2010 SP3, wsus and this setup
is perfect for this small company. Other 2012 servers do LOB apps. SBS does Exchange. Excellent.
This was not a migration (too many things to go wrong IMHO). So I did a controlled train wreck by building a *new* Virtual Server SBS 2011 standard on one of 2 new Windows 2012 physical servers with plenty of grunt 12 TB 64 GB RAM (2 physical servers
for redundancy.) These run on the same subnet and are not domain joined - that's what I want. They are 'aloof' and I can toss VMs around at will using Hyper-V. Just thought I would describe that as it works great. I export the critical VM's monthly. Fabulous
way of backing up / disaster recovery IMHO.
As ExMerge said "are you joking!" when I tried to write out one of the partners mailboxes (7 GB lol). I had to manually export each staff member using Outlook 2010. It worked - took A WHILE. :-) But was
robust. So, over Easter I was able to import all staff PST's to Exchange 2010 SP3 on SBS 2011 - again using Outlook - logging on as each user with reboots etc.
New-MailExportRequest scripts cycling through users. OK, I can do that, and there are nice vintage 2011 PowerShell scripts for this BUT it takes TWO Hours & would wear out the HDD and probably ruin an SSD in a couple of years running this daily.
OK, my question. Having searched the internet for a couple of days I can't seem to find out what happens when I
simply run the (7 GB partners) Mailbox export to the same location the next day. Is the file overwritten? Does the script silently abort as (OMG) the PST file exists! Or, does it SYNC the PST file with all
changes (new email sent /rec / calendar updates etc.). I mean, wouldn't that be fabulous! That would be so cool as a default. Can anyone help me by explaining what a "double export" wil do to the existing PST file?
I know I can filter just todays email for an export at say 2 AM for each user. But then I need to manage little PST files all over the place - until, say, next Sunday when I do a full export again. Like incremental backups in the old days.
Sorry for the wordy post but I wanted to explain this issue. A great answer, I would venture to say, would help many 'admins' in this exact predicament.
Many thanks,
Ken
KeBugCheck(42);

Troy, I would expect to indeed write out two new files. The 2nd one overwriting the first one; both times, with exactly the range asked for. After all, these files are used for legal purposes. If the date range contained history items simply
because the IT admin didn't erase the earlier export, that would be poor functionality.
When I did the first export of this company, the whole process took 1 hour and 50 mins. It now just takes 40 minutes. Other factors though! The VM disk is self expanding on the Backup VM. So it would have had to grow the first time.
If I get a chance I will do your test, but I would then be looking at reporting this as a
bug to Microsoft! If the file just updated!
Not specifying a date range (with export to same PST file) should be covered in the documentation. One would expect the file to be "re-done". However watching the target file, it just sits there around 8.4 GB with just a few KB being added on the
second run through. It 'looks' like it is being updated intelligently. That is, existing items are not overwritten. With the PST file structure being fairly complicated (not just a linear file), we need someone who knows to chime in and let us know what is
happening.
I haven't tried doing just this mailbox. I will do that on one of the exported SBS 2011 sets of Hyper-V files. I will run that up on an isolated virtual private network and do some tests.
The bottom line though is because I am asking about an undocumented 'feature' :-) I was hoping someone who knew exacty what was going on could answer this. Thanks for your thoughts.
Ken
KeBugCheck(42);

Similar Messages

  • KQED radio app .. downloaded but every time I try to open it it quickly says downloading but never opens.  Any suggestions?  Tried downloading a second time.  Same result.

    downloaded but every time I try to open it it quickly says downloading but never opens.  Any suggestions?  Tried downloading a second time.  Same result.
    Any ideas?  I'm pretty much a novice on the iPhone.  Have 4S.  Thanks

    Is it giving you any option to sign in or license this software. If yes click on sign in/License this software to proceed further and activate it. If it is perpetual license activate by entering your serial key and signing in and if it is a subscription then just sign in with your Adobe it an dit will get activated.

  • How to run a thread for second time ?

    I have a written a ThreadPool, but I found that basically a thread is not running for the second time. i.e First i call run() method and call stop(). If i call again run() method for the same thread, it is not running. What should I do, If i want to run the thread for the second time ?
    class NewThread implements Runnable {
    String name;
    NewThread(String a) {
    name=a;
    public void run() {
    try{
    for(int i=0;i<5;i++) {
    System.out.println("Thread :" + name + " #" +i);
    Thread.sleep(5);
    catch (Exception e) {
    e.printStackTrace();
    class threadRunnableTest {
    public static void main (String args[]) {
    Runnable runnable=new NewThread("BaSkAr");
    Thread thread = new Thread(runnable);
    try{
    System.out.println("First Thread is starting !!!");
    thread.start();
    Thread.sleep(2000);
    System.out.println("First Thread it to be stopped!!");
    thread.stop();
    System.out.println("Second Thread is starting !!!");
    thread.start();
    Thread.sleep(2000);
    System.out.println("Second Thread it to be stopped!!");
    thread.stop();
    catch (Exception e) {
    e.printStackTrace();

    baskark wrote:
    I have a written a ThreadPool, but I found that basically a thread is not running for the second time. i.e First i call run() method and call stop(). If i call again run() method for the same thread, it is not running. What should I do, If i want to run the thread for the second time ?
    class NewThread implements Runnable {
    String name;
    NewThread(String a) {
    name=a;
    public void run() {
    try{
    for(int i=0;i<5;i++) {
    System.out.println("Thread :" + name + " #" +i);
    Thread.sleep(5);
    catch (Exception e) {
    e.printStackTrace();
    class threadRunnableTest {
    public static void main (String args[]) {
    Runnable runnable=new NewThread("BaSkAr");
    Thread thread = new Thread(runnable);
    try{
    System.out.println("First Thread is starting !!!");
    thread.start();
    Thread.sleep(2000);
    System.out.println("First Thread it to be stopped!!");
    thread.stop();
    System.out.println("Second Thread is starting !!!");
    thread.start();
    Thread.sleep(2000);
    System.out.println("Second Thread it to be stopped!!");
    thread.stop();
    catch (Exception e) {
    e.printStackTrace();
    It's usually helpful to check the documentation:
    [http://java.sun.com/javase/6/docs/api/java/lang/Thread.html#start()|http://java.sun.com/javase/6/docs/api/java/lang/Thread.html#start()]
    start
    public void start()Causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread.
    The result is that two threads are running concurrently: the current thread (which returns from the call to the start method) and the other thread (which executes its run method).
    It is never legal to start a thread more than once. In particular, a thread may not be restarted once it has completed execution.
    So, make a new java.lang.Thread

  • Error While running the prgram in Second time...Frank Could u pls check th

    Hi,
    I am using JDeveloper 11g.
    I have created a web application using ADF Business Components. Here I created a Bar Graph. When I am running the first it works fine. But when I try to run the second time it is giving some errors like Error 500 - Internal Server Error.
    Kindly help me...
    Thanks in Advance
    Regards,
    Jithesh.

    Hi Timo,
    Thanks a lot for the response.
    I am searched as per your advise but still ma problem is there... I am not getting any proper solution for this
    In the setDomainEnv.cmd file I am unable to find the PermGen size as you said...In the file I got the following line.
    set MEM_PERM_SIZE=-XX:PermSize=48m
    Is this I hv to change or something else. I am attaching the same file contents. Kindly help me....
    set ORACLE_HOME=C:\Oracle\Middleware\jdeveloper
    set WL_HOME=C:\Oracle\Middleware\wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    set BEA_JAVA_HOME=
    set SUN_JAVA_HOME=C:\Oracle\Middleware\jdk160_05
    if "%JAVA_VENDOR%"=="BEA" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Sun
              set JAVA_HOME=C:\Oracle\Middleware\jdk160_05
    @REM We need to reset the value of JAVA_HOME to get it shortened AND
    @REM we can not shorten it above because immediate variable expansion will blank it
    set JAVA_HOME=%JAVA_HOME%
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
    set SAMPLES_HOME=%WL_HOME%\samples
    set DOMAIN_HOME=C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    set LONG_DOMAIN_HOME=C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    if "%DEBUG_PORT%"=="" (
         set DEBUG_PORT=8453
    if "%SERVER_NAME%"=="" (
         set SERVER_NAME=DefaultServer
    set POINTBASE_FLAG=false
    set enableHotswapFlag=
    set PRODUCTION_MODE=
    set doExitFlag=false
    set verboseLoggingFlag=false
    for %%p in (%*) do call :SET_PARAM %%p
    GOTO :CMD_LINE_DONE
         :SET_PARAM
         for %%q in (%1) do set noQuotesParam=%%~q
         if /i "%noQuotesParam%" == "nodebug" (
              set debugFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "production" (
              set DOMAIN_PRODUCTION_MODE=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "notestconsole" (
              set testConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noiterativedev" (
              set iterativeDevFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
              set logErrorsToConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "nopointbase" (
              set POINTBASE_FLAG=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "doExit" (
              set doExitFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "noExit" (
              set doExitFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "verbose" (
              set verboseLoggingFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "enableHotswap" (
              set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
              GOTO :EOF
         ) else (
              set PROXY_SETTINGS=%PROXY_SETTINGS% %1
         GOTO :EOF
    :CMD_LINE_DONE
    set MEM_DEV_ARGS=
    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
         set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
    if "%PRODUCTION_MODE%"=="true" (
         set debugFlag=false
         set testConsoleFlag=false
         set iterativeDevFlag=false
    @REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
    @REM Please uncomment the following lines and add a valid value for the environment variables
    @REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
    @REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
    @REM set PATCH_PATH=[myPatchPath] (windows)
    @REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
    @REM PATCH_LIBPATH=[myPatchLibpath] (unix)
    @REM PATCH_PATH=[myPatchPath] (unix)
    call "%WL_HOME%\common\bin\commEnv.cmd"
    set WLS_HOME=%WL_HOME%\server
    set MEM_ARGS=-Xms256m -Xmx512m
    set MEM_PERM_SIZE=-XX:PermSize=48m
    set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=128m
    if "%JAVA_VENDOR%"=="Sun" (
         if "%PRODUCTION_MODE%"=="" (
              set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
    @REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
    if "%JAVA_VENDOR%"=="Sun" (
         set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="HP" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    @REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
    if NOT "%USER_MEM_ARGS%"=="" (
         set MEM_ARGS=%USER_MEM_ARGS%
    set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
    @REM To use Java Authorization Contract for Containers (JACC) in this domain,
    @REM please uncomment the following section. If there are multiple machines in
    @REM your domain, be sure to edit the setDomainEnv in the associated domain on
    @REM each machine.
    @REM
    @REM -Djava.security.manager
    @REM -Djava.security.policy=location of weblogic.policy
    @REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
    @REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
    @REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl
    set EXTRA_JAVA_PROPERTIES=-Ddomain.home=%DOMAIN_HOME% -Doracle.home=%ORACLE_HOME% -Doracle.security.jps.config=%DOMAIN_HOME%\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
    set ARDIR=%WL_HOME%\server\lib
    pushd %LONG_DOMAIN_HOME%
    @REM Clustering support (edit for your cluster!)
    if "%ADMIN_URL%"=="" (
         @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
    ) else (
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
    if NOT "%LOG4J_CONFIG_FILE%"=="" (
         set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
    @REM Clear the pre_classpath here in case an application template wants to set it before the larger pre_classpath is invoked below
    set PRE_CLASSPATH=
    set JAVA_DEBUG=
    if "%debugFlag%"=="true" (
         set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
    ) else (
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
    if NOT exist %JAVA_HOME%\lib (
         echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
         echo Please edit your environment and set the JAVA_HOME
         echo variable to point to the root directory of your Java installation.
         popd
         pause
         GOTO :EOF
    if "%POINTBASE_FLAG%"=="true" (
         set DATABASE_CLASSPATH=%POINTBASE_CLASSPATH%
    ) else (
         set DATABASE_CLASSPATH=%POINTBASE_CLIENT_CLASSPATH%
    set POST_CLASSPATH=
    set POST_CLASSPATH=%ORACLE_HOME%\modules\features\adf.share_11.1.1.jar;%POST_CLASSPATH%
    set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%;%ARDIR%\xqrl.jar
    @REM PROFILING SUPPORT
    set JAVA_PROFILE=
    set SERVER_CLASS=weblogic.Server
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
    @REM -- Setup properties so that we can save stdout and stderr to files
    if NOT "%WLS_STDOUT_LOG%"=="" (
         echo Logging WLS stdout to %WLS_STDOUT_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
    if NOT "%WLS_STDERR_LOG%"=="" (
         echo Logging WLS stderr to %WLS_STDERR_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
    @REM ADD EXTENSIONS TO CLASSPATHS
    if NOT "%EXT_PRE_CLASSPATH%"=="" (
         set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
    if NOT "%EXT_POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
    if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    @REM SET THE CLASSPATH
    set CLASSPATH=%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%;%POST_CLASSPATH%;%WLP_POST_CLASSPATH%
    set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    Jithesh.

  • Cannot run a jsp a second time in WebLogic Portal 10.3

    I have an index.jsp that has bunch of links that build pdfs.
    here's the code from the jsp that builds the links
    <netui:anchor action="openDocumentForView" target="new">view
         <netui:parameter value="${container.index}" name="id"/>
    <netui:parameter value="${container.item.documentType}" name="type"/>
    <netui:parameter value="${container.item.imageToken}" name="imageToken"/>
    <netui:parameter value="${container.item.tokenId}" name="
    </netui:anchor>
    the idea is that it opens a new window and streams a pdf.
    The action in the jpf does the forward like this
         URI uri = new URI("showImage.jsp");
         System.out.println("uri = " + uri.toString());
         return new Forward(uri, true);
    the showImage.jsp looks like this:
    <%@ page import="java.io.*, java.util.*"%>
    <%
    System.out.println("showImage.jsp ran....");
    response.setContentType("application/pdf");
    byte[] pdf = (byte[]) request.getSession(false).getAttribute("imageObject");
    request.getSession(false).removeAttribute("imageObject");
    response.getOutputStream().write(pdf);
    response.getOutputStream().flush();
    response.getOutputStream().close();
    %>
    What happens is:
    I click on one link
    the new window opens
    in the controller the pdf is built & put in the session
    in the new window, showImage.jsp is loaded and the pdf is displayed.
    Then I close the showImage.jsp window, in the first window I click another link
    in the controller the new pdf is built & put in the session
    in the new window the previous pdf is sent to the user.
    the jsp doesn't run a second time ( there's a print statement that never runs, so I know the jsp never runs, and a few other tests).
    It's not cached in the browser, I've used response.setHeader to prevent other caching.
    so I'm stumped.
    Does anyone know how to get this jsp to run everytime it's called?
    Thanks
    John
    Edited by: user11142479 on Mar 9, 2011 12:51 PM

    I don't recall the product shipping a facet called Mobility Framework. This might have come from another product called WebLogic Mobility Server. I do not believe that this product exists anymore since the Oracle purchase of BEA. This product came from a partner called MobileAware and I think you can still purchase it from them if you require it.
    However, you might want to read about the native capabilities in WLP for handling multiple devices. Read:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portals/multichannel.html to see if this is sufficient for your requirements.
    Brad

  • Error While running the prgram in Second time..Frank Could u pls check this

    Hi,
    I am using JDeveloper 11g.
    I have created a web application using ADF Business Components in JSF pages(Created the Bar Graph). When I am running the first it works fine. But when I try to run the second time it is giving some errors like Error 500 - Internal Server Error.
    Kindly help me...
    Thanks in Advance
    Regards,
    Jithesh.

    So what do you find in the log files, or console output?
    --olaf                                                                                                                                                                                               

  • Server side function not get called after dispatching cairngorm event second time on same page

    Hi All,
    I am facing a urgent issue regarding cairngorm event. Actually my page contain 3 button add,delete,save
    and  clicking of any button I do the respected functionality. For ex:
    I click the add button & on clicking of add button I fire a cairngorm evnt & after getting response from server side that the record is added
    I displayed a message that the record is added & update the data source.
    After addition of the record , with out going to other page if I perform the same functionaly(Like adding another record) on same page the cairngorm
    event not call the server side function  -  after debugging I find out that cairngorm event  reach to the corresponding excutecommand function & called that function  but it is not calling my server side function & I also din't get any error message .
    I dont know why  the server side function not get called?. similarly if I try for delete or update case the same things happend. Only for the first time it works properly but not for the second  time.
    Could any of  you please tell me why the cairngorm event not calling the server side function.
    Thank you for your kind assistance.
    Regards,
    Ujjwal

    Okay, well I think I've worked out the problem.
    In ASP.NET we would typically bind repeating controls such as DataLists and Repeaters manually using <i>Control</i>.DataBind(), because we're usually using a separate class library containing collections for our objects. Seems the SAP Table control doesn't like this approach.
    I changed the code so that the databinding is specified on the control, and call the Page's DataBind() method and it all worked fine.
    One tip: because the collection I used to bind to is in a separate class library, I receieved a <i>BC306523: Reference required to assembly MyAssemblyName...</i> message, even though I had a reference to the assembly in my project and the DLL is being properly deployed. To fix this, you must include the following directive at the top of the component's ASCX file:
    <%@ Assembly Name="AssemblyName" %>

  • Stock Count MI01 for new,refurbish and second tyre - using same material no

    Hi Everyone
    Please assist me how do you differentiate between the new, refirbish and second tyre when you create a new count document - MI01
    Susan

    hii
    U people will be using same material code for the all the three different categories ??
    1. New tyre, 2. Refurnish 3. second..
    Because material code is very much inportant in Physical inventory.
    So can u check the material codes for the same .
    U should use different ruight , if not u have mantion / maintain some text fo the same while doing physical inventory count.
    Revert now any clarification
    Thanks
    SAP-MM

  • Can I download ML a second time on same computer ?, can I download ML a second time on same computer ?

    Can I download ML a second time on originil computer,after I erase it ? Do I have to pay $A20.99 a second time ?
    I know about > command R and how to download ML.         richard

    Yes, but you must first install Snow Leopard unless you still have an active download button on your Mountain Lion purchase entry in App Store.

  • Query runs much slower the second time!

    I am doing a simple SELECT on a fairly complex view:
    select * from balances where day = date'2011-08-15';The results are correct, and they arrive in about 3 seconds. However, immediately repeating the exact same query takes about 3 minutes!
    Using a different SELECT list and/or WHERE clause gives a quick result, but only once; repeating any past query triggers the big slowdown.
    Doing ANALYZE TABLE on any of the tables involved in the view seems to reset things and the queries become fast again, but still only once for each specific query.
    This view worked fine on 9i and has only started doing this since we moved to 11g.
    Weird, eh?

    Here's EXPLAIN PLAN, which is the same before the fast query, before the slow query, and after the slow query.
    | Id  | Operation                         | Name                  | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                  |                       |   184K|    11M|       |   364K  (1)| 01:12:52 |
    |   1 |  HASH GROUP BY                    |                       |   184K|    11M|    13M|   364K  (1)| 01:12:52 |
    |*  2 |   FILTER                          |                       |       |       |       |            |          |
    |   3 |    NESTED LOOPS OUTER             |                       |   184K|    11M|       |   361K  (1)| 01:12:17 |
    |   4 |     NESTED LOOPS                  |                       |  3071 | 82917 |       |    27   (0)| 00:00:01 |
    |   5 |      TABLE ACCESS BY INDEX ROWID  | GL_DAYS               |     1 |    12 |       |     2   (0)| 00:00:01 |
    |*  6 |       INDEX UNIQUE SCAN           | GL_DAYS_DAY           |     1 |       |       |     1   (0)| 00:00:01 |
    |*  7 |      TABLE ACCESS FULL            | GL_ACCOUNTS           |  3071 | 46065 |       |    25   (0)| 00:00:01 |
    |   8 |     VIEW                          |                       |    60 |  2340 |       |   118   (0)| 00:00:02 |
    |*  9 |      FILTER                       |                       |       |       |       |            |          |
    |* 10 |       TABLE ACCESS BY INDEX ROWID | GL_ENTRIES            |    60 |  1380 |       |    28   (0)| 00:00:01 |
    |* 11 |        INDEX RANGE SCAN           | GL_ENTRIES_BY_ACCOUNT |    46 |       |       |     2   (0)| 00:00:01 |
    |  12 |       NESTED LOOPS                |                       |     1 |    15 |       |     3   (0)| 00:00:01 |
    |  13 |        TABLE ACCESS BY INDEX ROWID| GL_VOUCHERS           |     1 |     7 |       |     2   (0)| 00:00:01 |
    |* 14 |         INDEX UNIQUE SCAN         | GL_VOUCHERS_PK        |     1 |       |       |     1   (0)| 00:00:01 |
    |* 15 |        TABLE ACCESS BY INDEX ROWID| GL_PERIODS            |   104 |   832 |       |     1   (0)| 00:00:01 |
    |* 16 |         INDEX UNIQUE SCAN         | GL_PERIODS_PK         |     1 |       |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(TO_DATE(' 2011-08-15 00:00:00', 'syyyy-mm-dd hh24:mi:ss')<CURRENT_DATE+730)
       6 - access("D"."DAY"=TO_DATE(' 2011-08-15 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
           filter("D"."DAY"<CURRENT_DATE+730)
       7 - filter("A"."HAS_SUB"=0)
       9 - filter("D"."FISCAL_YEAR"= (SELECT "P"."FISCAL_YEAR" FROM MFA4."GL_PERIODS" "P",MFA4."GL_VOUCHERS"
                  "V" WHERE "V"."ID"=:B1 AND "P"."ID"="V"."PERIOD_ID" AND "P"."PERIOD_NO"<13))
      10 - filter("E"."ENTRY_DATE"<="D"."DAY")
      11 - access("E"."ACCOUNT_ID"="A"."ID")
      14 - access("V"."ID"=:B1)
      15 - filter("P"."PERIOD_NO"<13)
      16 - access("P"."ID"="V"."PERIOD_ID")As for the trace file, did you want the raw .trc file or the tkprof output?

  • Satellite C665D - Second time the same HDD problem.

    I have a C665D laptop. Eight months after i purchase it I got hdd problem (reallocated sector count -> value around 2000 !!).
    So I send it to service, and got with new hard drive.
    And now, after 7 months got the same problem, (hard drive fault).
    So my questions is why it happen twice, this same fault?
    Did somebody had this same problem?
    Is any problem with this series of laptops?
    Can I do something to prevent damage to the disk the next (third one)?
    Thank you for any help.

    Thank you for your reply.
    > Any HDD will die sooner or later
    I understand this and agree with that, but what is the average of usage the HDD ?
    My HDD seems to die very soon (power on 105 days 9 hours )
    > Also moving the notebook while HDD is in use would affect the HDD functionality.
    I'm also understand this, but believe me or not, but I'm very careful when moving the laptop. That is why I don't understand why my disk is gone so quickly. From SMART table of HDD I could see that the value of G-sense error is only 14.
    On my wife's laptop's HDD is perfekt, no bad sectors etc. and G-sense errors is over 300. No one is special careful with this laptop, using as normal way, and nothing happen with HDD.
    > By the way: HDD issues have nothing to do with the notebook series
    I thought that may be in some way laptop itself is damaging (or not protecting) hard drive - is it possible ?
    Or may be if not with laptop, there is some issue (problem) with this series of HDD?
    > ...tool called HDD protection utility.
    Thank you for that. I didn't know about this kind of software. Will try it as well.

  • Can't buy iCloud storage for second time on same card (accidentally missed .99c payment). Payment information won't accept  my country:region and will  not let me hit complete. Please help!!

    Please help! I've cannot update/amend my payment info after accidently missing the payment for more icloud storage. I would like to purchase it again using the same card and it wont let me. Any help or suggestions greatly appreciated!

    Look, I understand I still need a card attached to the account. The problem is, it won't accept my card because I only have 87 cents in my bank account right now.
    If I had known there would be so much trouble with the iTunes card, I would have just put the cash in my bank account in the morning instead of buying an iTunes card (I didn't expect the banks to be open on Thanksgiving of course).
    Apple will only accept cards that have a balance. The balance is so small in my account that it won't accept it as a valid card.
    I'm going to have to contact Apple anyway to reset the security questions. That's obvious. Your answers were not exactly helpful. You didn't tell me anything I don't already know, but thanks for trying to be helpful.

  • Is it safe to run migration assistant a second time?

    When I ran migration assistant a few days ago, my documents didn't migrate.
    Is this normal/ expected?
    If it is normal/expected, how do I copy documents from one machine to the other?
    if it is not normal, can I safely run migration assistant once again to try and migrate these documents?
    Ta, muchly!

    It's safe. Turn off both Macs and start the migration again by Ethernet or FireWire. See > http://support.apple.com/kb/HT4889?viewlocale=en_US&locale=en_US

  • Power supply freezes after running vi second time

    Hello,
    I am just starting my adventures in brave new world of LabView and I run into a problem with my first serious vi which is controling CPX400DP power supply and DPO4104 oscyloscope.
    What my vi should be doing:
    First it sets current levels of both channels of power supply (e.g. 5V on first, 0V on second) and size of the jump (e.g. 0.5V). Then vi should change both current levels by size of the jump and repeat till the current levels of both channels would be reverse to the start value (in this case, 0V on first channel, 5V on second). Also before every current change the vi would save to file mean of measurements out of the waveform from oscyloscope.
    What my vi is doing:
    At first run it seems that it's doing everything in order (new text file with resonable numbers is created). However, when I try to run the vi a second time my power supply freezes short after few current changes. I can stop the execution of the vi in LabView (it does take a while though) but to successfully run the vi again I must reset my power supply (turn it off and on).
    I tried to go around this problem by modyfing the vi in a way that it would do what I want multiple times during running the vi only once but unfortunately that didn't work.
    If anyone would have any suggestions about what I am doing wrong or how to help fix this problem feel free to share I don't bite... much  But seriously, I'm stuck with this problem for over a week and I'll be glad for any tips 
    Thanks!
    Waldek.
    PS Sorry if I am not clear somewhere but I'm not used to talk about programing in English
    PSS In attachments are my main vi and two sub vis.
    Solved!
    Go to Solution.
    Attachments:
    controling_power_supply_NEW.vi ‏29 KB
    current_changer.vi ‏17 KB
    waveform_reader_saver.vi ‏21 KB

    Revan-Ghost wrote:
    Thanks for a suggestion Bill but could you elaborate a bit on "try inserting ;*OPC? after every setup command"? I understand what that would do, concept wise, but as a new user I don't know how to do that in LabView. And Good Uncle Google doesn't say anything about " ;*OPC? " and insist on talking about OPC servers instead.
    I'm sorry - I was looking at the manual and failed to realize that the missing subVIs from your code were actually drivers for your power supply, so you may not be able to implement this (unless the drivers themselves have the "Operation Complete" capability - hopefully the drivers came with documentation).  Else, you may be stuck having to hardcode waits after each command.
    If you wrote your own drivers, this is how you would send the command to set output 1 to 1 Volt:
    V1 1;*OPC?
    The V1 1 sets your voltage to 1 Volt.  To tack on another command, you use the semicolon.  The *OPC? command forces it to return send a "1."  SInce the commands are acted upon sequentially, the power supply can't send the "1" until it is done processing the command to set it to 1 Volt.  After that command is complete, the "1" is sent, you read the 1 out of the buffer and move on.  This avoids issues where you pile on too many commands at once.  I checked the manual and it supports this feature.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Sometimes my computer takes too long to connect to new website. I am running a pretty powerful work program at same time, what is the best solution? Upgrading speed from cable network, is it a hard drive issue? do I need to "clean out" the computer?

    Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy.  It is a Macbook Pro  osx 10.6.8 (late 2010).

    Almost certainly none of the above!  Try each of the following in this order:
    Select 'Reset Safari' from the Safari menu.
    Close down Safari;  move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
    Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
    Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
              defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false

Maybe you are looking for

  • I can't read my External drive

    I bought a 3.5" hard drive enclosure from FRY'S (a Thermaltake) and put an old PATA 160gig HD in it. I just got my first Mac last week (MacBook Pro 15") and reformatted the drive and backed up the laptop with Time Machine. I then proceeded to install

  • Airplay is broken

    I have an iMac, macbook air (mid 2013), iphone 5 and just bought ipad air 2. They are running OSX yosemite and ios 8.1 respectively. I just cannot find the airplay button on the ios devices or the mac. They are all on the same network. My Denon recei

  • Changing xml in LiveCycle to enable pdf email submit

    I've read quite a a bit about my question.  Which is:  can I change the xml code in LiveCycle of an interactive pdf to make it work when displayed in a browser?  I've read Form submit / eMail demystified, but quite honestly I cannot quite grasp it. 

  • Satellite A660 - Camera device failed to initialize after BIOS update

    I bought a Satellite A660 PSAW3A-07P00R last December. Yesterday I updated to BIOS version 1.9 (did not record what version before the update). Running Windows 7 Home Premium. After the update, I got this message when I want to use the built-in webca

  • TS1702 ea game codes opo-up when redeeming "Before you can make purchases, you must tap Continue to sign in, then verify your payment info"

    Hi there, Not an urgent question, however I would like some help. EA Games ran a great promotion over the holidays that offered free iphone/ipod and ipad games. I won a few but have not been able to access the games due a weird bug. Everytime I attem