Cost Vs Timing
Hi all,
I want to know what should be given more importance in the performance of a query.
Cost or the Execution time.
I have two queries which return the same rows.
Their statistics are:
Cost ---------------------------------------------------------- Execution Time
1. 84 --------------------------------------------------------- ' 00:00:03.95'
2. 8591 ---------------------------------------------------------- ' 00:00:01.45'
If i were to tell which is the best amongst the two which should i pick?
And also what does cost signify?
Thanks,
Anand
Cost is a metric used by the optimizer to choose the most efficient execution plan for a given query, so it is a measure of efficiency as calculated by the optimizer based on statistics available. It is in theory linked with execution time, but in practice one isn't a reliable indication of the other. For example, consider the "first_rows_n" type of requirement where you want the first page of results quickly despite the overall cost being higher. It is also possible that the stats are not correct, or of course the CBO's formula itself could be missing something (particularly likely when dealing with second-order cardinalities as a result of conditional joins - how many distinct values of z will it have after joining x and y with a filtering condition and an EXISTS subquery?)
Typically end users care more about elapsed time than internal costing metrics.
Similar Messages
-
With no official release date stated by Apple, and now many preorders have been scheduled to arrive at homes on Wednesday (including some in Australia that have already been delivered), can we expect to pick up our reservations before the BestBuy.com originally stated October 24?
It would be disappointing to have to wait an extra couple of days when many others are already using them openly. So long as they are at the store tomorrow or Thursday, can we pick them up? Rather than wait for the 24th when Best Buy may be waiting till to sell it on the floor?Hello shinnsd-
Best Buy strives to ship with the intent of having a pre-order product arrive on release day, however, vendor agreements and product availability can impact when those units ship out, along with the shipping method chosen. You can find more information on Shipping Costs and Timing here.
When your unit ships, you should get an email with your UPS tracking information. Assuming that UPS has updated their tracking website, you should be able to see your estimated arrival date. The best way to potentially ensure release day availability would be to choose Express shipping or pre-order for in-store pickup (when available).
I hope that this helps!
Bill|Senior Social Media Specialist | Best Buy® Corporate
Private Message -
Does best buy not do release date delivery? I can't believe that with all of their competitors offering that. What is the point of PREordering a game if you don't recieve until a week after it releases?
Hello disgruntled76,
While I’m not a gamer myself, I do have a quite a few of them in my family so I understand wanting games as soon as they come out. A pre-order is a great way to ensure that you get your hands on a copy of the game; however, it’s disheartening to hear you haven’t received your preorder yet despite yesterday’s release date. I’m sorry for any disappointment this may have caused.
We try to get pre-orders to our customers as soon as possible with the ideal day of arrival being its release date. After looking through your account using your email address attached to the forum, I see that while your order started to ship to you a day prior to release, standard shipping was selected at the time of purchase. According to our Shipping Costs and Timing policy, we do ask for 4 to 8 business days to deliver your order. To ensure earlier delivery of future orders, you might consider our store pick-up option like Dxtra30 mentioned or choosing expedited shipping at the time of placing the order.
Having said this, I see your order’s tracking number shows USPS is scheduled to have your order delivered by the end of today, so make sure you are keeping an eye out for it.
On a side note, I think your comment about making delivery of games on their release date standard for gamer’s club unlocked members is a great idea! One way to make sure ideas like yours are heard is to post them on our IdeaX board. IdeaX is where our customers may voice their opinions about how to improve our business as a whole. While I can’t guarantee we’ll bring them to life, there are a few suggestions we’ve implemented from the site.
If you have any further questions or concerns, please don’t hesitate to let me know. I’ll be glad to help.
Best Wishes,
Alex|Social Media Specialist | Best Buy® Corporate
Private Message -
Unhappy customer - shipping issue - wrong items received
I completed my follow up survey but wanted someone to be aware of my issue. I have ordered many items over the years from bestbuy.com and have never had an issue until last week.
I ordered a new digital camera and when it arrived I opened up a box of ink cartrdges, not at all what I had ordered. The invoice showed the doigtal camera is being inside the box. I contacted customer service and the camera has since been reshpped.
My complaint is that it was sent standard shipping??? Why was it not shipped expedited since it was an error on best buy's part? This was extremely disppaointing because I ordered the camera early enough to be received in time to be used on specific day which is now in the past. I am also leary of future problems since I anticpate being double billed for two cameras even though I expect to receive just one ( assuming the camera and not more ink cartridges shows up later this week).
Poor customer service with reagrds to this shipping error............Hello cpools,
Online ordering should be a quick and easy way to purchase what you need, but certainly doesn’t work if we don’t provide you what you ordered. I can only imagine how frustrating it would be to find ink cartridges instead of the camera I purchased, so I’m sure waiting any longer than necessary for the correct item is absolute torture, and I’m sorry for the unexpected wait.
If a reshipment is necessary for one reason or another, we typically reship based on the shipping option that was originally selected. As your order was processed through standard shipping, we do ask for 4 to 8 business days to deliver your order according to our Shipping Costs and Timing policy. Having said this, I looked at your recent reshipment using your email address attached to the forum, and according to the tracking number, UPS should have your camera delivered by end of day today. Please know though that a signature is required to accept the delivery.
Once again, I’m sorry for the delay. If you have any additional questions or concerns, please don’t hesitate to let me know.
Best Wishes,
Alex|Social Media Specialist | Best Buy® Corporate
Private Message -
I believe with this huge fiasco with bestbuy not delivering the NOTE4 with shortage stock, they should give people who pre-orders an incentive.
Waiving activation sounds like it would be within reasonable bounds.
Extending this offer out for two weeks seems like Bestbuy got the short end of the stick with stock. Now, they're just giving everyone the regurgitated answer of "Please wait for your email" to cover up the whole fiasco instead of the truth.
What is everyone else's thoughts?Hello slowtrtle/b-dub-
We do not have any control over product availability for Note 4 pre-orders, as this can be impacted by manufacturer availability or shipping concerns. A pre-order with Best Buy does not guarantee availability of a product on street date, only that you will have the ability to purchase it before our walk-in customers when inventory is available. As such, we would not be able to provide any compensation or incentive for pre-orders that have yet to be fulfilled.
Expedited shipping simply means that we will ship your order to arrive within 2 business days; it does not impact processing time, which can take longer due to product availability. We would not be able to refund the expedited shipping cost unless the order does not arrive with 2 business days of being shipped. You can find more information on our Shipping Costs and Timing here.
To be able to benefit from the Note 4 $200 trade-in offer, you did have to pre-order in-store. Orders placed through BestBuy.com for shipping or in-store pickup do not qualify for the promotion.
Thanks for your feedback,
Bill|Senior Social Media Specialist | Best Buy® Corporate
Private Message -
Target costs not updated timely when order TECO'd
In June 27 I displayed process order xxx in COR3 - Cost analysis report with the status of TECO but the column Total target Cost has no values. In June 29, I again displayed the same but already find an entry in the Total Target Costs. Please advise why there was a delay in populating the target costs.
Hi vijay,
Is it normal that the variance calculation will take 2 days to finish the activity? Will you please specify what activity you mean as well.
Thank you so much. -
Hi,
in KE41, vprs is not defined and also in spro, 'define access to actual costing/material ledger' has no entry.
with the above not being defined, may i know how the standard cogs and actual cogs being flown to copa?
how can i see the standard cogs and actual cogs and its variance in copa?
thanksHi,
In SAP, since actual COGS can not be determined until period end settlement, the actual COGS posted real-timely is based on the std cost estimate (std COGS) multiply the actual quantity in billing. At period end, after you calculate the actual overhead and settle the variance, the variance between actual product cost and std product cost(std cost estimate) is settled to COPA.
In KE4R you assigned each cost component of cost estimate to value field, and in KEI1 you defined PA transfer structure for variance settlement by variance categories and assigned to relevant value fields. So you can define your own COGS report or variance report in COPA(Tcode: KE30) based on these value fields.
Regards -
SQL Azure - Intermittent The wait operation timed out
I have a website engine which runs a few hundred "white label" sites. It's hosted on Azure with a SQL Azure Business database. Generally everything is fine - it all works and runs at a good speed.
However, throughout the day I get maybe 40 or 50 of the error:
System.ComponentModel.Win32Exception: The wait operation timed out
Please don't refer me to the connectivity blog at http://blogs.msdn.com/b/sqlazure/archive/2010/03/22/9982979.aspx as this seems to refer to problems where you just can't connect. My problem is that it's fine most of the time, but I still get these
intermittently.
This is sometimes on the main database, but we're also using a database for sessions and this gets the errors too. Both databases are on the same server.
I also get errors like:
An existing connection was forcibly closed by the remote host
and:
System.Data.SqlClient.SqlException: The service has encountered an error processing your request. Please try again. Error code 40143. A severe error occurred on the current command. The results, if any, should be discarded.
and, when evil bots are hammering the site:
System.Data.SqlClient.SqlException: Resource ID : 1. The request limit for the database is 180 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.
Each website can potentially have a Google footprint of around 10,000 pages. The result it that bots are hitting the sites regularly, indexing lots of pages for hundreds of sites. I also have some worker roles doing data work. The database is clearly busy!
I am hoping to add 2 or 3 times the number of sites that I currently have to the "engine".
I am looking at efficiency where possible, but the sites are clearly under a fair load from bots and visitors.
My question is, will one of the upgrades from Business to S2, P1, P2 or P3 resolve these problems? The financial cost of these database instances stagger greatly so I wouldn't want to update and find I'm left with the same problems but am paying many times
more each month.
Thank you in advance.Hello,
For Web/Business edition database, the maximum limit of concurrent requests is 180. Beyond this limit, you will receive error.
The Max woker threads for Standard(S2) is 100, you should upgrade your database to Permium tier.
The concurrent requests limit of premium database varies depending on the reservation size of a premium database. For example, for P1, the max worker threads is 200.
Reference:Azure SQL Database Resource Governance
Azure SQL Database Service Tiers and Performance Levels
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
Hey Good People,
I have a client who is having problems with the calculation o Cost of sales.
The Client is a retailer who imports most of his products for local sale. Import and pricing is handled in foreign Currency - USD or EUR, whilst sales is in Local currency
The Company places and Sales Order say for 10 Items at 10 Dollars Each = 100 Dollars.
At time of Purchase order (01.02.09) and GRN (28.02.09) the Local Currency Monthly Exchange rate to the dollar is say 10. Therefore the Equivalent in Local currency (LC) at the time of placing the order is 10 items at 100 (LC) = 1000 (LC). At the GRN Stage, landed Costs are recorded in Local currency = Total is 500 (LC)
Thus the total Item cost in Local currency is Purchase Price (1000) + Landed Costs (500) divided by qty (10) = 15 LC Per Item
All this is recorded within SAP. The problem occurs on Purchase invoicing and recoding/adjustment of Cost of Sales (Delivery/Invoice Item Cost).
As the goods are already in the store, they begin sales 01.03.09 - sales price marked up appropriately to 25 (LC).4 items are sold and the Cost of Sale for this Sales Delivery/Invoice is 6*15 = 80 (LC). 4 Remain in Stock
The client is then sent the Purchase Invoice to pay on the 05.03.09 - here the Exchange Rate has risen to 11. Thus the Invoice is for 1100 (LC) - Equivalent to 100 USD as the order and GRN. This is paid with no problem and SAP Makes Appropriate adjustments - This will reflect in the P& L and the variance reduces overall profitability
The problem that exists is the Sales Analysis Gross Profitability Report in SAP - by Items and by Customer. This takes the Values in the Invoices/Deliveries whose COS cannot can never be adjusted.
The only option would be to spread the additional cost to the other Items and this would result in some items being sold at a loss.
Take the Example above
4 items remain in stock - additional Cost due to Exchange differences is 100, Spread evenly to products = equals 25 added to Costs = New Cost is thus 40 (Old Item Cost plus revaluation). The selling price cannot be adjusted (need to remain competitive/consistent). Thus the remaining four are sold at a loss.
Has anyone encountered this problem ? Can anyone propose any Solutions/Workaround
Your input will be greatly appreciated
Regards,
Michael Mbiyu
SAP B1 Consultant
EIM Solutions, KenyaHi Micheal
Your problem is not uncommon, and one cannot expect a system to allow you to change the cost on sales afterwards as this would involve a lot of adjustments. This is normal behavior and the only workarounds would be to block imported goods from sale until the invoice has been processed, or to keep the exchange rate the same from the Goods Receipt to the invoice and allow the exchange rate difference to be absorbed when paying the invoice at the final exchange rate. This can be achieved by using the same date for the invoice as was used for the Goods Receipt.
Is there a reason why the dates of the GRPO and Invoice differ? Usually with imports a Pro Forma Invoice is issued in order to get bank and forex approvals prior to importing goods.
Let me know so I can better understand the timing difference in invoicing.
Kind regards
Peter Juby -
Problem during creation of shipment document and shipment cost document
Hi
My client facing problem during creation of shipment document and shipment cost document at the time of Batch Job
Delivery no 897654: goods issue on 30.11 at 13:22. Shipment on 30.11 (VT01N).
Shipment costs on 1.12 (VI01).
the problem is the shipment document get created on 30.11.2010 but the shipment cost document get created on 1.12.2010
pleas advice.Hi,
Please check the batch job processing log.
As per my understanding, business requires to generate the Shipment & Shipment cost documents immediatley.
However there is some time between the documents creation time. I dont see any issue in the data or problem in the delivery docs Because system will not generate the shipment docs after 1 or 2 days if there is an issue with the data . There must be problem in the Batch Job.
Analyse the batch jobs and timing of the job process.
Let us know your feedback...
Best Regards,
MKumar -
ITunes connection timed out problem. Please help
Hey guys, I've purchased an iPod Touch 4th Gen recently but a problem I've had after installing iTunes is connecting to the internet. I haven't even got the software on the iPod Touch due to an error - "iTunes could not connect to the iTunes store. The network connection timed out. Make sure your internet settings are correct and your network connection is active, then try again"
Here's a similar error message which comes up -
http://turbo.inquisitr.com/wp-content/2009/11/itunes-connection-timed-out.jpg
The frusterating thig is that know one has a clue about the problem or the solution. I've tried everything you name it, from disabling the firewall, disabling the anti-virus, disabling any other programs which may affect iTunes. I've tinkered with the different internet setting, looked out programs allowed in the firewall and iTunes is definitely allowed. And my internet connection is perfect and very very fast. I don't use wireless but an Ethernet cable. There are absolutely NO problems with my internet connection WHATSOEVER.
So I was thinking whether the time I decided to install is the problem? Maybe it was peak time (I tried it at 17:00pm UK Time) and now its 22:25pm UK time. Maybe it's a time where many users are online? But if that was the case surely I would have been successful atleast once?
Please help, I'm getting really really desperate. Thanks you ever so muchYou need to place the iPod in recovery mode and then connect it to your new computer and restore it via iTunes. Note that you will lose all content on the iPod. You can redownload apps at no additional cost provided you are signed into the same iTunes account that originally purchased the apps.
-
Connection Timed Out while creating Shopping cart
Hi,
When i am creating a shopping cart and click on the cost assignment tab i am getting a time out error. Find the error message below, i am able to open other tabs and able to create the shopping cart also. Please let me know what would be the issue with.
400 Session timed out - please log in again
Error: -11
Version: 7000
Component: ICM
Date/Time: Wed Mar 04 13:24:47 2009
Module: icxxthr.c
Line: 1705
Server: srv215_EBD_00
Error Tag: {-}
Detail: Session does not exist
Rgds
GGLYou would need to define secondary RFC Destination. Follow these steps to the end.
1.Create a secondary RFC user and an authorization in the backend(ECC)
1a)In Transaction SU01, create a new user (on the 'Logon data' tab,
you should select user type 'Dialog' or 'Service').
1b) Call Transaction PFCG for the role maintenance and create your own
role.
1c) In the role, select the 'Authorizations' tab and and choose the
button to change the authorization.
1d) Do not select ANY template on the dialog box.
1e) Choose 'Manual' ; then enter authorization object S_RFC and confirm
the entry.
1f) Expand the authorization object and choose the pencil symbol for
the 'Name of RFC to be protected'.
1g)Choose the pencil symbol for the 'Type of RFC object to be
protected', select the 'Function group' checkbox and save the
change.
1h)Generate and save the authorizations. Then return to the role.
1i)On the 'User' tab, enter the user you have created and carry out a
user comparison.
2. Define an secodary RFC destination in SRM server with the RFC user you have created
3. Supplier Relationship Management -> SRM Server -> Technical Basic Settings -> Define Backend Systems
In the Logical system entry of your backendsytem :Enter the secondary RFC destination into RFC(Dialog) field of the
4.Also make sure that the end user(Person creating shopping cart) has authorization object M_BBP_SHLP.
Let me know if this helps.
Thanks,
Surya -
Is there a way to associated a different Vendor when using unplanned delivery costs? My problem is we went to moving average price and in order to value my inventory correctly I need to include freight charges. I know that I can put it in the conditions on the PO but for one I do not know the exact costs and two I may have up to four Vendors involved with this since alot of our materials comes from overseas and they change frequently.
Is there a way to enter the freight at the time of invoicing with a different Vendor other than the material and reference the material or the PO?Hi Gregory,
Not directly addressing your question - but a suggestion as to how you may be able to account for the different expenses incurred in moving the material from overseas locations to your offices.
Have you thought about configuring multiple 'Third-Party Freight' Conditions. This way you would be able to accrue expenses individually for the different legs involved in transporting the material as shown below - all you would need to know at the time of creating the PO is the number of parties involved in the process.
==================================================
Cond.Typ / Leg / Vendor
==================================================
ZFR1 / Sea Freight - Local Currency / Vendor 1
ZFR2 / Sea Freight - Alternative Currency / Vendor 1
ZFR3 / Port to Sorting Yard / Vendor 2
ZFR4 / Sorting Yard to Branch Office / Vendor 3
==================================================
Planning the costs this way ensures your Material valuation accurately reflects the actual costs involved in procuring the materials. Depending on the timing of the Invoice from the Vendor, you may also be able to hold of on performing the GR and update an values in the PO to correctly reflect the values in the Invoice from the Vendor.
Hope this helps.
Ravelle -
HOW TO DIVIDE THE COST PER MONTH IN CONTRACT WHICH IS PER YEAR
Dear all,
i am triggring a project with reference to a quotation and i get the planned cost in
of the project in my quotation.So this cost of the quotation is for a year assuming the duration of the project is one year.
i am copying a contract document from this quotation in which the monthly billing
plan is there.here it is again multiplying for 12 months whereas i want it to divide it
by 12.can some body throw light for me to get a solution for this problem.
Assured reward points for timely support
Best regards,
R.SrinivasanI think the answer is very simply that you should be using a 'milestone' billing plan rather than a 'periodic' billing plan. The milestone billing plan divides the total net value of the line into the milestones determined by the milestones in your WBS element, network, manually maintained in billing plan screen, or from a reference milestone billing plan. The periodic billing plan instead creates a billing periodically for the entire net value which in essence multiplies the amount by the number of billings in your plan.
You mentioned cost. If you want to divide cost across the term of the contract, you will need to look at CO functionality such as networks, service orders, RA, or other cost planning and accrual tools.
If you are trying to bill in accordance with your costs, you need to use resource related billing which can be integrated with milestone billing. -
Timed out Problems to using the Solar_project_admin transaction
Hello everyone!
I'm trying to create a project in the Solution Manager using SOLAR_PROJECT_ADMIN transaction but we receive the timed out error message and the process is stopped.
Could help me ?Ok
check this sizing guide
https://websmp202.sap-ag.de/~sapdownload/011000358700000255562007E/Sizing_Guide_SM_70_SP15.pdf
Also this standard tool by SAP
https://websmp202.sap-ag.de/quicksizing
Note this tool is free of Cost
This will clear ur basic doubt and do the needful.
Edited by: Prakhar Saxena on Apr 29, 2009 6:03 PM
Edited by: Prakhar Saxena on Apr 29, 2009 6:07 PM
Maybe you are looking for
-
Is it possible to check the serial number of an ipod shuffle I bought about two years ago?
A friend of my daughter's took her iPod shuffle. My daughter saw it at her friends house and asked her about it and the friend quickly snatched it back and said I had given it to her. I never did. I asked her mum about it via text and said there must
-
Problem with MIGO Transaction, while posting PO with quantities 0
When I try to post a PO using MIGO, with one or more quantites 0, the output type is not appearing in VL03N. An output type "OPOD( Proof of Delivery)" will appear if all the quantities of the posted PO is greater than 0 !! How can I resolve this ?
-
I gave my mom I old iPhone 4s when I got the new one, I didn't wipe it because it was some stuff on there she wanted. I erased my email account from the phone but she still receives my emails. Where do I need to go to stop her from getting them?
-
Since I "upgraded" to FF 4, I have constant crashes (I tried updating my graphics drivers--it did not help) and now all of my bookmarks have disappeared. When I try to restore them, I get this error message "Unable to process the backup file". I have
-
Where can I get a sitemap from my muse website that is acceptable to Google webmaster?
I went to the domain www.albuquerquepoolcovers.com/sitemap.xml and that returned a string which I tried to submit to Google webmaster tools but it is rejected. Not really sure why. Does anybody know what to do to get a suitable sitemap for Google? Sh