Distribution status different in SQL than WMI

Hi, we have an issue where when we look into the CAS db to see the replication status messages for all package réplications in
v_DistributionStatus, we get a different result than in the console and WMI by looking into the SMS_DistributionDPStatus class
SQL gives us ID 2372 which means waiting for content with last status from 07/07/2014 and the console and WMI gives us  ID 2384 which means Content hash has been sucessfully verified and last status is from today.
This is not happening on all packages and all DPs. We can have a package that doesn't show the right info for just one DP and all the other DPs are reporting the right info.
Why isn't sql always giving us the same info?
Thks in advance and don't hesitate if you have any questions.
joeblow

I am usually using SMS_PackageStatusDistPointsSummarizer
http://msdn.microsoft.com/en-us/library/cc143014.aspx
Torsten Meringer | http://www.mssccmfaq.de

Similar Messages

  • Why is optimizer different in sql than in pl/sql?

    Hello, I am running Oracle database 9i, it is running on an On-Demand hosted server, its purpose is to serve our Oracle Payroll application.
    I have a certain query, and first tried it as a stand-alone query. It displayed the results almost immediatly.
    Then I inserted the exact same query in a pl/sql block. It took more than one hour and canceled it. By looking at the session browser in TOAD, I saw that it was stuck on that query.
    I also saw that the explain-plan for the query changed drastically from running as stand-alone sql to running inside pl/sql.
    Why is this happening? How can I avoid this?
    Please note that I do not intend to use optimizer hint since the indexes are built by oracle On-Demand and not me, so I don't know which indexes exist.
    Here is the explain plan when running from stand-alone SQL:
    Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          1           65                     
    bq. SORT AGGREGATE          1      72
    bq. bq. TABLE ACCESS BY INDEX ROWID     HR.PAY_ELEMENT_ENTRY_VALUES_F     1      13      4
    bq. bq. bq. NESTED LOOPS          1      72      65
    bq. bq. bq. bq. MERGE JOIN CARTESIAN          1      59      61
    bq. bq. bq. bq. bq. TABLE ACCESS BY INDEX ROWID     HR.PAY_ELEMENT_ENTRY_VALUES_F     1      13      4
    bq. bq. bq. bq. bq. bq. NESTED LOOPS          1      36      33
    bq. bq. bq. bq. bq. bq. bq. TABLE ACCESS BY INDEX ROWID     HR.PAY_ELEMENT_ENTRIES_F     1      23      29
    bq. bq. bq. bq. bq. bq. bq. bq. INDEX RANGE SCAN     HR.PAY_ELEMENT_ENTRIES_F_N50     44           3
    bq. bq. bq. bq. bq. bq. bq. INDEX RANGE SCAN     HR.PAY_ELEMENT_ENTRY_VALUES_F_N50     9           3
    bq. bq. bq. bq. bq. BUFFER SORT          1      23      57
    bq. bq. bq. bq. bq. bq. TABLE ACCESS BY INDEX ROWID     HR.PAY_ELEMENT_ENTRIES_F     1      23      28
    bq. bq. bq. bq. bq. bq. bq. INDEX RANGE SCAN     HR.PAY_ELEMENT_ENTRIES_F_N50     44           2
    bq. bq. bq. bq. INDEX RANGE SCAN     HR.PAY_ELEMENT_ENTRY_VALUES_F_N50     9           3
    And here is the plan when running inside pl/sql:
    Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE 1 293463
    bq. SORT AGGREGATE 1 48
    bq. bq. MERGE JOIN CARTESIAN 1 M 56 M 293463
    bq. bq. bq. MERGE JOIN CARTESIAN 78 3 K 3771
    bq. bq. bq. bq. MERGE JOIN CARTESIAN 1 34 57
    bq. bq. bq. bq. bq. TABLE ACCESS BY INDEX ROWID HR.PAY_ELEMENT_ENTRIES_F 1 17 29
    bq. bq. bq. bq. bq. bq. INDEX RANGE SCAN HR.PAY_ELEMENT_ENTRIES_F_N50 44 3
    bq. bq. bq. bq. BUFFER SORT 1 17 28
    bq. bq. bq. bq. bq. TABLE ACCESS BY INDEX ROWID HR.PAY_ELEMENT_ENTRIES_F 1 17 28
    bq. bq. bq. bq. bq. bq. INDEX RANGE SCAN HR.PAY_ELEMENT_ENTRIES_F_N50 44 2
    bq. bq. bq. BUFFER SORT 15 K 107 K 3743
    bq. bq. bq. bq. TABLE ACCESS BY INDEX ROWID HR.PAY_ELEMENT_ENTRY_VALUES_F 15 K 107 K 3714
    bq. bq. bq. bq. bq. INDEX RANGE SCAN HR.PAY_ELEMENT_ENTRY_VALUES_F_N1 15 K 39
    bq. bq. BUFFER SORT 15 K 107 K 289749
    bq. bq. bq. TABLE ACCESS BY INDEX ROWID HR.PAY_ELEMENT_ENTRY_VALUES_F 15 K 107 K 3714
    bq. bq. bq. bq. INDEX RANGE SCAN HR.PAY_ELEMENT_ENTRY_VALUES_F_N1 15 K 39
    As you can see, the cost goes way up when running inside a pl/sql block.
    Thank you very much for your help.
    Eduardo Schñadower
    Edited by: shinaco on Dec 12, 2008 4:10 PM
    Added indentation. Sorry for that, I didn't realize copy-paste didn't work well here.

    I meant to add,
    Why is optimizer different in sql than in pl/sql? It is not different, it is the same optimizer.
    If you replace bind variables with literals then you have a totally different query, with much more information available to the optimizer. If you are seeing the same statement with the same literal values get a different plan within PL/SQL than in SQL*Plus or TOAD etc then there must be something else different. Unfortunately there is a lot less diagnostic info available in 9i (and I don't have 9i around to test on). Perhaps you can get a 10053 trace from each session and see if you can see what is different.
    btw I still can't read the execution plan. There is more information in the DBMS_XPLAN output, and it needs to be formatted using ** tags or equivalent HTML.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • WT SynchManager instl. on a different Server other than SAP/SQL Server.

    Hi,
    Is it possible to move/install WebTools SynchManager on a different server other than the SAP/SQL Server? Please let us know.
    Note: 
    1. We are aware of the recommendation:  u201CInstall the SynchManager on the SAP Business One server on which the DI API is installedu201D in the "Business One Web Tools SynchManager Guide.pdf".
    2. But, SAP/SQL Server at our Client is starving of RAM due to a high number of windows services/application trying to run at the same time (although the maximum amount of RAM possible under the current configuration is installed (4GB)).
    3. So, we are evaluating as to which of these application (WebTools being one of them) can be moved to a different server.
    Thanks and Regards,
    Kafil Shumon.

    Hi Kafil,
    You can put the synchmanager on a different server as  long as the DI API is installed and that server can access the B1 licensing server.

  • Ordered an iPhone 6 Plus off contract with a credit card that has a different billing address than the account.  Does it matter and is the order going to be cancelled if it doesn't process the card correctly?

    Just don't want to find out Wednesday that my order was cancelled or delayed because the credit card has a different billing address than the account.  If they check the validity of the card at the time you pre-order I don't see it being a problem.

    Oh, should mention I ordered right at 3AM (EST) on the 12th and got a Confirmation email with a Deliver by: 9/19/14 but when you try the "Check Status page" it spits out "Expected Ship Date: Not available at this time."

  • Distribution Status Failure

    When I open the SCCM 2012 R2 Admin Console and browse to
    Monitoring | Overview | Distribution Status | Distribution Configuration Status
    , all the DPs are banged.  The MP is fine.
    When I look at the associated asset messages, each of them says...
    Upon review of that DP's smsdpmon.log file, the only thing I see wrong is...
    I log onto the MP server and launch Powershell.  I then run the following query.
    Get-WmiObject -ComputerName SRVCRPNAME -Namespace root\sccmdp -Query "select * from SMS_PackagesInContLib" | select PackageID
    Sure enough, TEI007C is in WMI but when I look in the DP’s SCCMContentLib\PkgLib folder, the matching INI file is nowhere to be found.
    I can’t find TEI0007C anywhere in SCCM so there’s no way I can redistribute that package to resolve this issue.  It looks to me like it’s just stuck in WMI but isn’t supposed to be.
    Any ideas on what I should do next?
    BTW, we’ve performed the following upgrades about a month ago.  I’m only now becoming aware of this problem as I just found this view in SCCM Console.  I might have been this way for a while I wouldn’t have known it because I'm very new to System
    Center as a whole.
    SCCM 2012 SP1 upgraded to R2
    MDT upgraded to MDT 2013
    AEK upgraded to 8.1
    Thank you for any assistance you can offer.
    Geoff Crookshanks

    Have a look Pls
    http://blogs.technet.com/b/configmgrteam/archive/2012/05/07/troubleshooting-content-mismatch-warnings-on-a-distribution-point-in-system-center-2012-configuration-manager.aspx
    http://scug.be/sccm/2013/12/12/system-center-2012-configuration-manager-troubleshooting-and-resolving-content-mismatch-warnings-on-a-distribution-point-with-powershell/
    Thanks, Prabha G

  • I forgot my iPad passcode, it has a different apple id than my laptop and I don't know how to restore it.

    I forgot my iPad passcode, it has a different apple id than my laptop and I don't know how to restore it. i don't want to lose my pictures.

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Required to take periodic backup status report from SQL server

    Dear All,
    I need to take periodic database backup status of all sql server instance in different domain. But, i am doing it by logging into all sql server manually.
    We can do it through option called ' Managed server' in sql server by connecting required server.
    But, I want to know the script and any other option in sql server to connect all sql instance in different domain group to take backup status report in single run.
    I need your help here and share the experience if you implemented ever in your environment.

    see
    http://www.mssqltips.com/sqlservertip/1601/script-to-retrieve-sql-server-database-backup-history-and-no-backups/
    You can use above scripts to capture the information
    For automated execution wrap it in a procedure with INSERT statement to dump the results onto a table and call the procedure from sql agent job to execute  it based on a predefined schedule.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • HT201622 How do I install apps on a new iPhone 6 that uses a different Apple ID than the one used to purchase the apps?

    How do I install apps on a new iPhone 6 that uses a different Apple ID than the one used to purchase the apps?

    Sign in to the iPhone or connect the phone to the computer and sign into the store using the original ID and download the apps to the phone?

  • My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If I try to add the email address that I now use (and which is my Apple ID on the computer), it won't allow me to add it.

    My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If (while on the iPad) I go to My Apple ID and try to change or add the email address that I now use (and which already is my Apple ID on the computer), it won't allow me to add it. It says : "Email address is already verified for another Apple ID"  I haven't really been aware of this as a problem until I tried (for the first time) to sync my iPad to the computer and became aware that certain things wouldn't transfer. What is the solution to this?

    What are you having problems with ?
    This post was about having updated the primary email address on an iTunes account via a computer - if you do that you might need to log out of the account on an iPad by tapping on the id in Settings > iTunes & App Store and then log back in with the updated version of the account for that email address change to be recognised on your iPad. If you don't log out and back in then an iPad (or iPhone or iPod Touch) might continue to show the old version of the iTunes account id.

  • I have apple TV and i am trying to connect it to the TV, it tells me to turn on the homesharing,  but under the home sharing shows a different email address than the actual itunes account.  how do i fixthanks it?

    i just got an Apple TV. i am trying to connect my itunes to the tv, it tells me to turn on the homesharing on my computer but when i try it show up a different email address than my itunes account, how do i fix so i can do homesharing?

    It is quite possible to have a different iCLoud AppleID from the iTunes one - have you set up maybe Phot Stream using an non-iTunes AppleID?

  • Another "This itunes account is set up to use family sharing with a different icloud account than Apple ID "

    I saw another thread on the matter but thought I would post because the circumstances are different. Here is how it happened.
    I have had an Apple Store account for years and until recently our family has only had our one Mac and my iPhone 4. Thus any purchases we have made on the Apple App Store were made only with this account.
    We recently purchased two iPhone 5S's--one for my wife and one for my daughter. Neither had Apple IDs so first we set up my wife's iPhone and created an Apple ID for her. Next we used the Family Sharing feature to set up an account for our "under age 13" daughter.
    Because I am still waiting for my iPhone 6 Plus to arrive, and because the iPhone 4 cannot upgrade to iOS 8, and because my Apple ID is the only account with any apps that have been purchased in prior years, I set up my wife as the Family Organizer but when I set up her account, I chose the option to "share purchases from a different account" and entered the information for my Apple ID.
    My daughter is able to view my prior purchases on her iPhone, but when my wife tries to view my prior purchases, she receives the message "This iTunes account is set up to use Family Sharing with a different iCloud account than <her Apple ID>."
    I hope Apple is reading this. I would be more than willing to help them on this one as this feature is one of the main reasons I put our family on iPhones.

    I had this problem. I finally figured it out yesterday. Try this:
    On the device that is having trouble seeing purchases, go to Settings>iCloud>Family Sharing> Then tap on the user of the device you are on. Under "Family Purchases" make sure it has the AppleID of the person for that device. Mine originally had my husbands AppleID in there (he is the Organizer), but I changed it to mine. That doesn't make it so that the purchases are under me. The purchases remained under my husband, but my ID had to be in this spot for it to work.
    After that, I closed settings, then I went to Settings>iTunes and App Store> click on the AppleID and Sign Out, even if it has the right AppleID in there. Then Sign In again using the AppleID of the person on that device. Again-- even if it has the right ID in there to start, still sign out and back in.
    See if they show up. If they don't show up still, try doing a restart (hold down power button and home button until it restarts).
    They should show up by then, but if they don't, at that point, try to go into iCloud and Sign Out and back in.
    I think the key is having the right ID in "Family Purchases". I hope this works for you.

  • I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    Additionally I have no idea what you are saying here
    I have found the color palettes but can't seem to incorporate them into my backgrounds palette.
    And it always helps for you to dientify the version of iPhoto that you are using
    LN

  • My Apple TV was set up with a different Apple ID than I have for my ITunes Account.  In other words I have multiple Apple ID's.  How can get these accounts to sync up?

    My Apple TV was set up with a different Apple ID than I have for my ITunes Account.  In other words I have multiple Apple ID's.  How can get these accounts to sync up?

    If you wish to use home sharing then you need to setup the Apple TV under your ID.

  • My itunes account keeps giving me this Error message. "You are signed in with a different Apple ID than previously used with podcasts. I only have one Apple ID. What do I do?

    My itunes account keeps giving me this Error message. "You are signed in with a different Apple ID than previously used with podcasts. Do you want to sync these podcasts subscriptions and stations with "gajppl""  gajppl is my only Apple ID. What do I do?

    Please sign out of the iTunes Store by selecting
    Store ▹ Sign Out
    from the iTunes menu bar. Then sign back in.

  • HT1727 I have iTunes music on my iPhone and I want to transfer the music to my iPod.  But my phone uses a different iTunes account than my old iPod.  How can I move music on my phone to my iPod?  Thank you.

    I have an old iPod that has a different Apple ID than my iPhone.  How can I put all the music on my iPod and get it off my phone?  I'm not sure how to mix the music from two different apple id's.

    Hi KathySA,
    Thanks for visiting Apple Support Communities.
    You can sync songs to your iPod from your iTunes library on a computer. You may need to authorize the computer with both of your Apple IDs:
    iTunes: Syncing media content to iPod
    http://support.apple.com/kb/HT1351
    iTunes Store: Authorize or deauthorize your Mac or PC
    http://support.apple.com/kb/ht1420
    If some music from the iTunes Store is only on your iPhone, you can transfer purchases to the computer:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    Cheers,
    Jeremy

Maybe you are looking for