Finder slow/broken using "Shared", /Volume fast

Running 10.9.5
Mounting a DFS share from a Windows 2012 server.
Macbook is joined to both an Open Directory and Active Directory domain. Authentication handled by AD.
Mounts are as follows (username/companydomain removed)
//username@companydomain/dfs on /Volumes/dfs (smbfs, nodev, nosuid, mounted by username)
//username@companydomain/dfs/home%20folders on /Volumes/dfs/home folders (smbfs, nodev, nosuid, automounted, nobrowse, mounted by username)
//username@companydomain/dfs/Docs on /Volumes/dfs/Docs (smbfs, nodev, nosuid, automounted, nobrowse, mounted by username)
If I navigate with Finder to /Volumes/dfs things are fast, snappy and wonderful.
However, if I use finder and click on "Shared" -> "companydomain" then shares are missing most of the time. If they are there, then I get errors like:
smb2_rq_credit_decrement: Timed out waiting for credits 35
smb_iod_reconnect: Reconnected share <share_name> with server <server_name>
smb_fid_get_kernel_fid: No smb2 fid found for fid 550ff6b0613adf68
smb_iod_reconnect: Reconnected share <share_name> with server <server_name>
If I navigate to either cifs://companydomain/dfs or smb://companydomain/dfs it's very hit and miss as to whether it will work.
If I configure Finder to show "Servers" on the desktop, then the "DFS" mount is fast, snappy and wonderful.
So, help, how do i configure Finder to display the correct mount that actually works?

I think those aren't simple files, though...
/Library/Preferences/SystemConfiguration/preferences.plist
and some others may hold some of them.
I think most of the problem lies in the files/folders at Root called Automount, Network, and Servers.
If you wish to try to eradicate them with sudu Terminal commands I can gelp.
I've used Xupport to turn off hiding those Hidden files so it's easier to see those things, though I've been admonished for suggesting the regular User do such things... I hate the concept of Hidden Files... well, when everything goes right, they're not a problem, but over here, when things go wrong and Apple can't fix them, then most are at a loss.

Similar Messages

  • Slow Query Using index. Fast with full table Scan.

    Hi;
    (Thanks for the links)
    Here's my question correctly formated.
    The query:
    SELECT count(1)
    from ehgeoconstru  ec
    where ec.TYPE='BAR' 
    AND ( ec.birthDate <= TO_DATE('2009-10-06 11:52:12', 'YYYY-MM-DD HH24:MI:SS') )  
    and deathdate is null
    and substr(ec.strgfd, 1, length('[CIMText')) <> '[CIMText'Runs on 32 seconds!
    Same query, but with one extra where clause:
    SELECT count(1)
    from ehgeoconstru  ec
    where ec.TYPE='BAR' 
    and  ( (ec.contextVersion = 'REALWORLD')     --- ADDED HERE
    AND ( ec.birthDate <= TO_DATE('2009-10-06 11:52:12', 'YYYY-MM-DD HH24:MI:SS') ) ) 
    and deathdate is null
    and substr(ec.strgfd, 1, length('[CIMText')) <> '[CIMText'This runs in 400 seconds.
    It should return data from one table, given the conditions.
    The version of the database is Oracle9i Release 9.2.0.7.0
    These are the parameters relevant to the optimizer:
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     1
    optimizer_features_enable            string      9.2.0
    optimizer_index_caching              integer     99
    optimizer_index_cost_adj             integer     10
    optimizer_max_permutations           integer     2000
    optimizer_mode                       string      CHOOSE
    SQL> Here is the output of EXPLAIN PLAN for the first fast query:
    PLAN_TABLE_OUTPUT
    | Id  | Operation                     |  Name               | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |                         |           |       |       |
    |   1 |  SORT AGGREGATE       |                         |           |       |       |
    |*  2 |   TABLE ACCESS FULL   | EHCONS            |       |       |       |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       2 - filter(SUBSTR("EC"."strgfd",1,8)<>'[CIMText' AND "EC"."DEATHDATE"
                  IS NULL AND "EC"."BIRTHDATE"<=TO_DATE('2009-10-06 11:52:12', 'yyyy
    -mm-dd
                  hh24:mi:ss') AND "EC"."TYPE"='BAR')
    Note: rule based optimizationHere is the output of EXPLAIN PLAN for the slow query:
    PLAN_TABLE_OUTPUT
       |       |
    |   1 |  SORT AGGREGATE              |                             |       |
       |       |
    |*  2 |   TABLE ACCESS BY INDEX ROWID| ehgeoconstru      |       |
       |       |
    |*  3 |    INDEX RANGE SCAN          | ehgeoconstru_VSN  |       |
       |       |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
    2 - filter(SUBSTR("EC"."strgfd",1,8)<>'[CIMText' AND "EC"."DEATHDATE" IS
    NULL AND "EC"."TYPE"='BAR')
    PLAN_TABLE_OUTPUT
       3 - access("EC"."CONTEXTVERSION"='REALWORLD' AND "EC"."BIRTHDATE"<=TO_DATE('2
    009-10-06
                  11:52:12', 'yyyy-mm-dd hh24:mi:ss'))
           filter("EC"."BIRTHDATE"<=TO_DATE('2009-10-06 11:52:12', 'yyyy-mm-dd hh24:
    mi:ss'))
    Note: rule based optimizationThe TKPROF output for this slow statement is:
    TKPROF: Release 9.2.0.7.0 - Production on Tue Nov 17 14:46:32 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Trace file: gen_ora_3120.trc
    Sort options: prsela  exeela  fchela 
    count    = number of times OCI procedure was executed
    cpu      = cpu time in seconds executing
    elapsed  = elapsed time in seconds executing
    disk     = number of physical reads of buffers from disk
    query    = number of buffers gotten for consistent read
    current  = number of buffers gotten in current mode (usually for update)
    rows     = number of rows processed by the fetch or execute call
    SELECT count(1)
    from ehgeoconstru  ec
    where ec.TYPE='BAR'
    and  ( (ec.contextVersion = 'REALWORLD')
    AND ( ec.birthDate <= TO_DATE('2009-10-06 11:52:12', 'YYYY-MM-DD HH24:MI:SS') ) )
    and deathdate is null
    and substr(ec.strgfd, 1, length('[CIMText')) <> '[CIMText'
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.00     538.12     162221    1355323          0           1
    total        4      0.00     538.12     162221    1355323          0           1
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 153 
    Rows     Row Source Operation
          1  SORT AGGREGATE
      27747   TABLE ACCESS BY INDEX ROWID OBJ#(73959)
    2134955    INDEX RANGE SCAN OBJ#(73962) (object id 73962)
    alter session set sql_trace=true
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        0      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.02          0          0          0           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        1      0.00       0.02          0          0          0           0
    Misses in library cache during parse: 0
    Misses in library cache during execute: 1
    Optimizer goal: CHOOSE
    Parsing user id: 153 
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.02          0          0          0           0
    Fetch        2      0.00     538.12     162221    1355323          0           1
    total        5      0.00     538.15     162221    1355323          0           1
    Misses in library cache during parse: 0
    Misses in library cache during execute: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        0      0.00       0.00          0          0          0           0
    Execute      0      0.00       0.00          0          0          0           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        0      0.00       0.00          0          0          0           0
    Misses in library cache during parse: 0
        2  user  SQL statements in session.
        0  internal SQL statements in session.
        2  SQL statements in session.
    Trace file: gen_ora_3120.trc
    Trace file compatibility: 9.02.00
    Sort options: prsela  exeela  fchela 
           2  sessions in tracefile.
           2  user  SQL statements in trace file.
           0  internal SQL statements in trace file.
           2  SQL statements in trace file.
           2  unique SQL statements in trace file.
          94  lines in trace file.Edited by: PauloSMO on 17/Nov/2009 4:21
    Edited by: PauloSMO on 17/Nov/2009 7:07
    Edited by: PauloSMO on 17/Nov/2009 7:38 - Changed title to be more correct.

    Although your optimizer_mode is choose, it appears that there are no statistics gathered on ehgeoconstru. The lack of cost estimate and estimated row counts from each step of the plan, and the "Note: rule based optimization" at the end of both plans would tend to confirm this.
    Optimizer_mode choose means that if statistics are gathered then it will use the CBO, but if no statistics are present in any of the tables in the query, then the Rule Based Optimizer will be used. The RBO tends to be index happy at the best of times. I'm guessing that the index ehgeoconstru_VSN has contextversion as the leading column and also includes birthdate.
    You can either gather statistics on the table (if all of the other tables have statistics) using dbms_stats.gather_table_stats, or hint the query to use a full scan instead of the index. Another alternative would be to apply a function or operation against the contextversion to preclude the use of the index. something like this:
    SELECT COUNT(*)
    FROM ehgeoconstru  ec
    WHERE ec.type='BAR' and 
          ec.contextVersion||'' = 'REALWORLD'
          ec.birthDate <= TO_DATE('2009-10-06 11:52:12', 'YYYY-MM-DD HH24:MI:SS') and
          deathdate is null and
          SUBSTR(ec.strgfd, 1, LENGTH('[CIMText')) <> '[CIMText'or perhaps UPPER(ec.contextVersion) if that would not change the rows returned.
    John

  • Does 'find your iPhone' use a lot of internet? My mobile data is running out ridiculously fast and I need it to slow down!

    Does 'find your iPhone' use a lot of internet? My mobile data is running out ridiculously fast and I need it to slow down! Anyone has suggestions / info?

    You should shut down all the apps running in the background and then reset your phone.  Double tap the home button to open the multitasking drawer (iOS 6.X) or the multitasking screen (iOS 7.X)  if you are on iOS 6.X press and hold one of the app icons and wait for the icon's to start to jiggle, just like when you want to delete an app.  Tap the little x that appears in the upper corner of the icons.  Repeat until all the icons are gone.
    If you are on iOS 7.X once the multitasking screen is open swipe up on all the app images until they are all closed.  Tap on the home screen to close.
    Then press and hold both the Home and Sleep buttons at the same time and wait for the Apple logo to appear then release both buttons.  The phone will restart itself. 
    If this doesn't help try doing a Reset All Settings reset, you will not lose any data or content or media.  But you will have to reset any setting you turned on or off in Settings.  This will reset all settings back to factory default.  Settings => General => Reset => Reset All Settings.

  • Snow Leopard Finder's Get Info fails to show Owner and Group for some files or folders which reside on a Shared Volume, hosted by G5 Server w/ OS 10.4 - why?

    Frustrations with file permissions abound, as certain co workers are unable to manually determine their level of permission or who to ask to make changes to files and folders belonging to others. Users of Snow Leopard desktop OS get unhelpful feedback via Finder's Get Info, seeing only the permissions listed for "Everyone" and a statement that "You have custom access".  The custom message exists, presumably, because ACL's are employed on the shared volume in an attempt to give managerial control over these volumes to specific users, even if all users can create files and folders on those volumes.
    Shared volumes are partitions of an external RAID which are set up as sharepoints on a G5 tower running Server 10.4.  Other persons in the office, using machines that are running desktop OS 10.5, can correctly see the assigned Owner and Group permissions (although the "custom access" still shows).  This at least lets the 10.5 user know who created a given file or folder, so that they can resolve permissions-restricted issues if they come up (i.e. User A wants to delete file X, but as it was created by User B, A must contact B and have them delete it.  In 10.6 it appears that A cannot determine who B is).
    I know that ACL's are functioning (enabled on the drive) since we have been making use of ACL-granted write privileges for quite a while (and the custom access seems to be evidence too).
    An error I encountered, pertaining to this, is that I used a 10.6 machine to create a working folder, then generated and saved several files in this location.  Expected permissions thus would be Owner = me (i.e. the user I was logged in as), R/W, Group = staff, R only, Everyone = R only.  However, immediately the permissions shown in Finder / Get Info consisted only of Everyone = R only, with no entry for Owner or Group.  Moreover, clicking + to add either an Owner or a Group resulted in error message that I had entered an invalid user or group, even though I typed in correct info (such as trying to add "staff" as a group).

    Frustrations with file permissions abound, as certain co workers are unable to manually determine their level of permission or who to ask to make changes to files and folders belonging to others. Users of Snow Leopard desktop OS get unhelpful feedback via Finder's Get Info, seeing only the permissions listed for "Everyone" and a statement that "You have custom access".  The custom message exists, presumably, because ACL's are employed on the shared volume in an attempt to give managerial control over these volumes to specific users, even if all users can create files and folders on those volumes.
    Shared volumes are partitions of an external RAID which are set up as sharepoints on a G5 tower running Server 10.4.  Other persons in the office, using machines that are running desktop OS 10.5, can correctly see the assigned Owner and Group permissions (although the "custom access" still shows).  This at least lets the 10.5 user know who created a given file or folder, so that they can resolve permissions-restricted issues if they come up (i.e. User A wants to delete file X, but as it was created by User B, A must contact B and have them delete it.  In 10.6 it appears that A cannot determine who B is).
    I know that ACL's are functioning (enabled on the drive) since we have been making use of ACL-granted write privileges for quite a while (and the custom access seems to be evidence too).
    An error I encountered, pertaining to this, is that I used a 10.6 machine to create a working folder, then generated and saved several files in this location.  Expected permissions thus would be Owner = me (i.e. the user I was logged in as), R/W, Group = staff, R only, Everyone = R only.  However, immediately the permissions shown in Finder / Get Info consisted only of Everyone = R only, with no entry for Owner or Group.  Moreover, clicking + to add either an Owner or a Group resulted in error message that I had entered an invalid user or group, even though I typed in correct info (such as trying to add "staff" as a group).

  • Finder search on shared volumes: Works on 10.7, not on 10.8

    In our office, we have a Mac Mini acting as a local server running OS X 10.8.3 with an external hard drive connected.  Each person in our office connects to the Mac Mini through an idividual user account, so that we can control each user's access to the folders on the external hard drive.  Some users are on OS X Lion and others are on OS X Mountain Lion.
    All of our Lion computers are able to connect to the Mac Mini and do a Finder search for any items in the shared volume.  So a filename search for ".doc" on the "Shared" scope returns all Word documents on our Mac Mini server which they have permission to access.
    That same feature is not working properly for users connecting through Mountain Lion.  When a Mountain Lion user does the same search - filename containing ".doc" - no results are returned initially, however if they toggle the search scope back and forth (like from "Shared" to "This Mac") a few times, eventually some results show up on the Shared search.
    But with this issue, we can't be confident that the results listed by any search are complete or not.  Our business generates a lot of documents and audio files each day and the search function is a crucial part of our daily workflow.
    The Mac Mini server has recently been upgraded from Lion to Mountain Lion 10.8.3, and Mountain Lion users have just upgraded from 10.8.2 to 10.8.3, however the issue is still the same: users connecting with Lion 10.7.5 can search shared volumes properly, but users connecting with Mountain Lion 10.8.3 cannot.
    Is there a solution to this that doesn't require a downgrade to Lion?

    It sounds like you are using Spotlight.
    Spotlight Alternatives
    EasyFind – Spotlight Replacement
    Find Any File
    Information.
    Spotlight – 5 things You Never Knew
    Spotlight Basics
    Spotlight – Create Good Queries
    Spotlight FAQ
    Spotlight – Narrow Search Results

  • Is is possible to use creative cloud as a shared volume for collaboration between incopy & indesign?

    I'm a designer student and as a designer, I constantly have to make decks for presentations.  I typically work in a group of six and because I'm confident with graphic design, I tend to be the leader of these tasks.  I've found the best workflow for slide creation is Indesign.  Unfortunatly, I'm just an awful writer— so when I heard about Incopy's collabrative features(saw the post from indesign's facebook page) I saw oppertunity and got very excited.  My teamates and I typically all have subscriptions to adobe cc because of this, I was wondering (since I havent used it at all) if the storage given out from adobe cc was able to be that shared volume that is required for the live link between incopy stories and indesign layouts.
    Therefore,
    Is is possible to use creative cloud as a shared volume for collaboration between Incopy & Indesign?
    If this needs any further clarification I'll gladly write a more detailed question — lastly, if this is not possible might you suggest an alternative?  Please assume that we go to school together but we work offsite also.

    You will not be able to use the Files page at https://creative.adobe.com/files for collaboration in this way. But you can share individual files in this way.
    When folder sharing is available this will be possible.

  • My HP Color LaserJet 2605dn has become slow - Used to be fast

    I know a lot of people have complained about slow printing with the 2605dn.
    My problem is that mine used to be fast. It would print a web page or Word document within one-two seconds of the print command.
    Now, it can take a minute or even more for the same print job to start.
    The printer is connected to a home network via Ethernet, with a fixed ip address, and the Macs are wirelessly connected to the network via Airport Extreme. My old PowerMac G5 has been replaced with an 8-core 3GHz MacPro with 8GB of RAM, so I doubt that the CPU is a problem.
    Are there printer caches which can get filled up? This acquired slowness is very annoying.

    I had this exact problem. I've had the printer for about a month and it was very fast at first. I really like the printer, especially the duplex ability. Over the past week or so it became excruciatingly slow. I just finished downloading the new firmware and drivers but before installing them something made me check the Ethernet cable which is plugged into my Airport Extreme 802.11n Gigabit router. It was loose and partially pulled out so I plugged it back in all the way and the printer went back to printing the way it is supposed to.
    You might want to give this a try. Perhaps try another Ethernet cable or direct connection via USB if that doesn't work.
    Frank

  • Have Mac OS 10.7.4 installed on an iMac-3.1 GHz Intel Core i5...the Finder will not find file on Windows mounted volumes...what setting should we be using...tried the same settings as our iMac 10.6.8-did not work!

    Have Mac OS 10.7.4 installed on an iMac-3.1 GHz Intel Core i5...the Finder will not find files on Windows mounted volumes...what setting should we be using...tried the same/working settings as our iMac 10.6.8...did not work for 10.7.4!

    Added note: We are tring to find files on Windows 2008 Server Standard...

  • Cant find my apps after download. they re shown on homescreen while loading than they re away. but they use data volume on my device?

    they re shown on homescreen while loading than they re away. but they use data volume on my device? i also can find them in general settings. app store shows the apps as loaded too. whats the problem. it happens with all about 100 apps ive loaded! 

    Check your restrictions.
    Settings>General>Restrictions>Apps

  • Mac pro too slow to use, spinning ball, no finder response, only hard power off, installing system stalls at 18 minutes left.

    mac pro too slow to use, spinning ball, no finder response, only hard power off, installing system stalls at 18 minutes left.
    It is taking an hour to power up and mac apple logo appear onscreen. No finder controls or "clicks" are being recognized. Spinning beachball all the time.
    Using hard power off and holding the mouse down, I was able to open the optical drive and then restart with "c" and ask the dvd to reinstall the system, but it has stalled before finishing the installation.
    This happened about 4 days ago, first it started responding slowly, and then it just keeps spinning the beachball. I can't find hardware test. I did run etrecheck, it did not have any error messages, but I can't copy or move the data anywhere.... I am not able to access the mac pro with another machine, and now I am stuck in install freeze, so I can't copy etrecheck by hand onto a piece of paper.
    Without being able to finish a reinstall, what can I try?
    After it got bad, and before it got REALLY bad, I managed to repair permissions, but it took a long time. Most of a day. When I restarted from that, things were only worse.
    Mac Pro 1,1 , 11 GB ram, 7300, 5TB hard drives, OS 10.6.8,  the drive containing the system folder is/was 700 used, 290 free. While I could get commands to respond, I put Activity monitor on the desktop and watched it.  System memory was 3.31 GB used, about 7 free, and some wired. No app was using a huge amount.
    what should I try next? I put a bid on a new/old machine so that I could move the 4 hard drives over.

    Thank you for all your suggestions. Please correct me as I articulate this.
    I have three versions( 5, 6, CC) of the Adobe Master Collection which I keep active for different clients. I have final cut and motion. I have Office 365. I have a collection of graphic apps that are individually not too big but in all, my app folder is 65GB and my bootcamp partition is 61GB. I can't fit all this on 120 ssd and a 256 will be full once I install, correct? drives should be half open?
    Somehow I did not make it clear enough that I was trying to copy onto a 2TB drive I had just initiallized in order to try and save files from my startup drive. I don't use time machine. I take a day or a few days worth of documents and physically move them to another drive at night.  If a series is finished I make two dvd's as well. The second black drive that was failing was the drive I moved my backup documents onto. At no point was I trying to backup onto the failing drives. I was trying to copy off both of them onto the other two drives, a third aux backup that has been there for a while, and a newish 2 TB which I designated as the startup drive when all this trouble started.
    I wondered if there were any good techniques for trying to get the data off the failing drive. Thanks for the suggestion of Data Rescue 3. I don't have it yet, but I will try it as soon as I get it. I was never trying to repair in place.
    I am very interested in getting a pci bracket and an ssd, but I may wait until I can afford the larger one. If I get an older bracket that is compatible with my old mac pro 1,1  ,  I'd like to be able to move it to a mac pro 3,1 if I get one. Will the larger ssd drives be compatible with the sata in a pci bracket that can work in my mac pro 1,1 ? sata 2 versus something else? If 240 or 256 is my size limit, how much more than my 65 and 61 GB partitions can I put on there? How much of a scratch disc can I make if I leave another 39 GB of headroom on my bootcamp partition? I'm filling 165 GB without making any allowance for temp files.
    You have said that 120 is enough for any system. I think I must be misunderstanding something. Are you saying that assuming that most people run office and photoshop and maybe lightroom?
    I have and use 4 HDD in this machine, mostly for document storage in two places.
    I took out all but the group of 2GB ram chips I bought a year and a half ago. The old ram had passed the hardware test the last time I had access to the hardware test. Two black drives failed, one was a year old and one was a year and a half old, and that it may have been exacerbated by the heat wave. I don't know why the video and the monitor were affected save that the startup drive was failing. I am trying to replace the card.
    With all this said, I am also looking at a used mac pro 3,1 with a better video card since a newer machine will likley be compatible through another OS upgrade. If a machine costs only a little more than a new card, it might be a better way to go.
    I don't have any sources that offer an ssd for 100. ( of a size that is useful)
    How large is your application folder?

  • Query runs slower when using variables & faster when using hard coded value

    Hi,
    My query runs slower when i use variables but it runs faster when i use hard coded values. Why it is behaving like this ?
    My query is in cursor definition in a procedure. Procedure runs faster when using hard coded valus and slower when using variables.
    Can anybody help me out there?
    Thanks in advance.

    Hi,
    Thanks for ur reply.
    here is my code with Variables:
    Procedure populateCountryTrafficDetails(pWeekStartDate IN Date , pCountry IN d_geography.country_code%TYPE) is
    startdate date;
    AR_OrgId number(10);
    Cursor cTraffic is
    Select
              l.actual_date, nvl(o.city||o.zipcode,'Undefined') Site,
              g.country_code,d.customer_name, d.customer_number,t.contrno bcn,
              nvl(r.dest_level3,'Undefined'),
              Decode(p.Product_code,'820','821','821','821','801') Product_Code ,
              Decode(p.Product_code,'820','Colt Voice Connect','821','Colt Voice Connect','Colt Voice Line') DProduct,
              sum(f.duration),
              sum(f.debamount_eur)
              from d_calendar_date l,
              d_geography g,
              d_customer d, d_contract t, d_subscriber s,
              d_retail_dest r, d_product p,
              CPS_ORDER_DETAILS o,
              f_retail_revenue f
              where
              l.date_key = f.call_date_key and
              g.geography_key = f.geography_key and
              r.dest_key = f.dest_key and
              p.product_key = f.product_key and
              --c.customer_key = f.customer_key and
              d.customer_key = f.customer_key and
              t.contract_key = f.contract_key and
              s.SUBSCRIBER_KEY = f.SUBSCRIBER_KEY and
              o.org_id(+) = AR_OrgId and
              g.country_code = pCountry and
              l.actual_date >= startdate and
              l.actual_date <= (startdate + 90) and
              o.cli(+) = s.area_subno and
              p.product_code in ('800','801','802','804','820','821')
              group by
              l.actual_date,
              o.city||o.zipcode, g.country_code,d.customer_name, d.customer_number,t.contrno,r.dest_level3, p.product_code;
    Type CountryTabType is Table of country_traffic_details.Country%Type index by BINARY_INTEGER;
    Type CallDateTabType is Table of country_traffic_details.CALL_DATE%Type index by BINARY_INTEGER;
    Type CustomerNameTabType is Table of Country_traffic_details.Customer_name%Type index by BINARY_INTEGER;
    Type CustomerNumberTabType is Table of Country_traffic_details.Customer_number%Type index by BINARY_INTEGER;
    Type BcnTabType is Table of Country_traffic_details.Bcn%Type index by BINARY_INTEGER;
    Type DestinationTypeTabType is Table of Country_traffic_details.DESTINATION_TYPE%Type index by BINARY_INTEGER;
    Type ProductCodeTabType is Table of Country_traffic_details.Product_Code%Type index by BINARY_INTEGER;
    Type ProductTabType is Table of Country_traffic_details.Product%Type index by BINARY_INTEGER;
    Type DurationTabType is Table of Country_traffic_details.Duration%Type index by BINARY_INTEGER;
    Type DebamounteurTabType is Table of Country_traffic_details.DEBAMOUNTEUR%Type index by BINARY_INTEGER;
    Type SiteTabType is Table of Country_traffic_details.Site%Type index by BINARY_INTEGER;
    CountryArr CountryTabType;
    CallDateArr CallDateTabType;
    Customer_NameArr CustomerNameTabType;
    CustomerNumberArr CustomerNumberTabType;
    BCNArr BCNTabType;
    DESTINATION_TYPEArr DESTINATIONTYPETabType;
    PRODUCT_CODEArr PRODUCTCODETabType;
    PRODUCTArr PRODUCTTabType;
    DurationArr DurationTabType;
    DebamounteurArr DebamounteurTabType;
    SiteArr SiteTabType;
    Begin
         startdate := (trunc(pWeekStartDate) + 6) - 90;
         Exe_Pos := 1;
         Execute Immediate 'Truncate table country_traffic_details';
         dropIndexes('country_traffic_details');
         Exe_Pos := 2;
         /* Set org ID's as per AR */
         case (pCountry)
         when 'FR' then AR_OrgId := 81;
         when 'AT' then AR_OrgId := 125;
         when 'CH' then AR_OrgId := 126;
         when 'DE' then AR_OrgId := 127;
         when 'ES' then AR_OrgId := 123;
         when 'IT' then AR_OrgId := 122;
         when 'PT' then AR_OrgId := 124;
         when 'BE' then AR_OrgId := 132;
         when 'IE' then AR_OrgId := 128;
         when 'DK' then AR_OrgId := 133;
         when 'NL' then AR_OrgId := 129;
         when 'SE' then AR_OrgId := 130;
         when 'UK' then AR_OrgId := 131;
         else raise_application_error (-20003, 'No such Country Code Exists.');
         end case;
         Exe_Pos := 3;
    dbms_output.put_line('3: '||to_char(sysdate, 'HH24:MI:SS'));
         populateOrderDetails(AR_OrgId);
    dbms_output.put_line('4: '||to_char(sysdate, 'HH24:MI:SS'));
         Exe_Pos := 4;
         Open cTraffic;
         Loop
         Exe_Pos := 5;
         CallDateArr.delete;
    FETCH cTraffic BULK COLLECT
              INTO CallDateArr, SiteArr, CountryArr, Customer_NameArr,CustomerNumberArr,
              BCNArr,DESTINATION_TYPEArr,PRODUCT_CODEArr, PRODUCTArr, DurationArr, DebamounteurArr LIMIT arraySize;
              EXIT WHEN CallDateArr.first IS NULL;
                   Exe_pos := 6;
                        FORALL i IN 1..callDateArr.last
                        insert into country_traffic_details
                        values(CallDateArr(i), CountryArr(i), Customer_NameArr(i),CustomerNumberArr(i),
                        BCNArr(i),DESTINATION_TYPEArr(i),PRODUCT_CODEArr(i), PRODUCTArr(i), DurationArr(i),
                        DebamounteurArr(i), SiteArr(i));
                        Exe_pos := 7;
    dbms_output.put_line('7: '||to_char(sysdate, 'HH24:MI:SS'));
         EXIT WHEN ctraffic%NOTFOUND;
    END LOOP;
         commit;
    Exe_Pos := 8;
              commit;
    dbms_output.put_line('8: '||to_char(sysdate, 'HH24:MI:SS'));
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_CUSTNO ON country_traffic_details (CUSTOMER_NUMBER)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_BCN ON country_traffic_details (BCN)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_PRODCD ON country_traffic_details (PRODUCT_CODE)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_SITE ON country_traffic_details (SITE)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_DESTYP ON country_traffic_details (DESTINATION_TYPE)';
              execDDl(lSql);
              Exe_Pos:= 9;
    dbms_output.put_line('9: '||to_char(sysdate, 'HH24:MI:SS'));
    Exception
         When Others then
         raise_application_error(-20003, 'Error in populateCountryTrafficDetails at Position: '||Exe_Pos||' The Error is '||SQLERRM);
    End populateCountryTrafficDetails;
    In the above procedure if i substitute the values with hard coded values i.e. AR_orgid = 123 & pcountry = 'Austria' then it runs faster.
    Please let me know why it is so ?
    Thanks in advance.

  • Time Machine can't connect/use shared network volume

    Hi All,
    I have a Mobius2 external USB hard drive connected to my iMac (10.9.5). It has two partitions (Disk Utility 13 does not seem to allow more that 2 partitions now), one partition is for Time Machine backups of my iMac. The 2nd partition (as required by Time Machine is a shared AFP volume). I want to backup my MacBook (10.9.5) but I can't get Time Machine to use the partition I set up for it on the Mobius2. Even though I have the volume (named "Mobius RAID 2") mounted on my MacBook desktop, and I added it to Time Machine (entering both the password to connect to the iMac the Mobius is connected to and the password to encrypt the backup with) I still keep getting the error below!
    "Time Machine couldn’t complete the backup to “Jeffrey’s iMac”.
    The network backup disk could not be accessed because there was a problem with the network username or password. You may need to re-select the backup disk and enter the correct username and password."
    I have removed the shared volume several times from Time Machine and added it back....still get the same error above, even when the volume is already mounted to my MacBooks desktop! I don't know what else to try. I used to Keychain to verify the log in password is correct and it is.
    ....I can even copy files to the (2nd) partition on the Mobius2 (connected to my iMac) when the volume is mounted on the MacBooks desktop.
    So I don't know why Time Machine keeps saying the "networked backup disk couldn't be accessed". Can anyone help? (see attached screen shots)
    Jeff
    Screen Shots:
    https://www.dropbox.com/sh/22p4f7uu5x8suoh/AABfX-t8_sW7IVSmjgVT7jB4a?dl=0

    Hi Eric,
    I was able to change the permissions for "everyone" on the iMac for the connected USB drive partition. But not on the MacBook when this partition is mounted on the MacBook desktop. I get this error saying I don't have the necessary permission to change it from "No Access" to "Read & Write":
    https://www.dropbox.com/s/aq3zme6ew7oatgg/MobiusTMbackup6.tiff?dl=0
    I don't even understand why it says "No Access" for "everyone" when I gave "everyone" Read & Write privileges on the iMac for this drive/partition!
    You said "Apple officially only supports Time Capsules as NAS backups." but on the page you sent me it says:
    "You can use Time Machine with a Time Capsule, and with USB, FireWire, and Thunderbolt disks. The backup disk can be directly connected to your computer or be on a network. If the backup disk has been divided into partitions, you can use one of the partitions."
    ....."directly connected to your computer or be on a network" = NAS?  If that's what it means Apple needs to be more clear, as my USB drive and its' partitions ARE on a my network, and I can put files on them and access them across my network.
    I am trying to get a 2nd network Time Machine backup going as the Time Machine backup of my MacBook became corrupted and I could not restore my mail, even though my mail files were in there, I could restore files but I could not access my mail directory no matter what I tried, Apple has some kind of lock on it now and hides it. I had to resort to my BackBlaze backup to restore my mail, luckily BackBlaze does not hide the mail directory.
    So it seems I have a $3000 iMac with a RAID 1 drive (with two brand new 4TB HGST drives) connected to it (that I bought just to improve my backups) and Time Machine and the vaunted "OS X" ("the world’s most advanced desktop operating system") can't handle it. Great.
    But I do appreciate your help Eric...
    Come on Apple, FIX THIS.
    Jeff

  • How to find if a SAP Application uses Shared server process ??

    Hi,
    Please find the details below wrt to SAP application:
    SAP Release : SAP ECC 6.0
    Oracle database Version : 10.2.0.4.0
    Can you please tell me how to find if my SAP application  with oracle  uses Shared server mode or Dedicated server mode for oracle database access??
    regards,
    Arul S

    Hi Nick,
    Thanks for your reply.
    I am also pasting the output of "lsnrctl services"
    LSNRCTL for HPUX: Version 10.2.0.4.0 - Production
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=R1Q.WORLD))
    Services Summary...
    Service "R1Q" has 1 instance(s).
      Instance "R1Q", status UNKNOWN, has 2 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
          "DEDICATED" established:269921 refused:0
             LOCAL SERVER
    The command completed successfully
    This looks like dedicated connection with the Oracle database..
    Can you please comment on this?
    Regards,
    Arul S

  • HT1199 I have a 3.2 GHz Intel Core i3,  27 inch, Mid 2010. It used to run fast but now it seems to have slowed down like when surfing or opening applications. I downloaded all the updates restarted but it seem slow. How do I speed it up? Thanks

    I have a 3.2 GHz Intel Core i3,  27 inch, Mid 2010. It used to run fast but now it seems to have slowed down like when surfing or opening applications. I downloaded all the updates restarted but it still seem slow. How do I speed it up? Thanks - ManongCA

    Activity Monitor – Monitor Performance Problems  
    Why is my computer slow
    Why your Mac runs slower than it should
    Things you can do to resolve slowdowns  see post by Kappy

  • How to use sharing to find a stolen laptop

    I saw a news story about a guy whose laptop was stolen. He accessed the laptop remotely and watched the activity on it. He finally saw the thief enter his name and address to register on a web site, then he sent the police to that address and they recovered the laptop. (That was a windows machine.) I saw another article - a few months ago - about a stolen Mac laptop that was recovered when the woman who owned it accessed it remotely and used the built-in camera to take a picture of the thief. Cool stuff - which I could not do!
    I use a Mac laptop as my only computer, and I travel a lot. If it got stolen, I'd like to be able to access it remotely and try to recover it. I looked at the sharing preferences, and there are ten different options that can be turned on or off. And the descriptions of each of those options are very minimal.
    After reading the news stories about people who recovered their stolen laptops, I'd really like to know how to set up sharing services on my Mac to be able to do the same thing.
    Are there any articles or web sites or support notes on the topic of "How to set up and use sharing to recover a stolen Macintosh"? If there are, can you direct me to them? If not, this would a great article or support note for somebody to write.
    What sharing services would you turn on? If there are configuration options for those services, how should the options be set? If the computer is stolen, what actions would take to track the computer and try to recover it?

    that's correct but there are ways around that too (if one knows them). physical access to the computer trumps any safeguards you can put. of course, not every thief would know how to circumvent a firmware password. Still, it's not such a great secret. the method has been discussed many times on this forum for example. I'm not trying to discourage you from buying the software. I just wanted to explain that none of this is foolproof.

Maybe you are looking for