News:

Support the VirtueMart project and become a member

Main Menu

problem with table _onepage_moss

Started by marvays, January 19, 2023, 05:45:53 AM

Previous topic - Next topic

marvays

Hi.
I use Rupostel's one-page checkout.
Today I noticed that the _onepage_moss table is 200MB in size and takes up half of my ddatabase. Can something be done about it? Does anyone have a similar problem? Can I lubricate it?

In the table this is 22532 times:
{"prices":{"basePrice":4376.03305,"basePriceWithTax":5295,"discountedPriceWithoutTax":4376.03305,"salesPrice":5295,"taxAmount":918.96695,"salesPriceWithDiscount":0,"discountAmount":0,"priceWithoutTax":4376.03305,"subTotalProducts":0,"billTotal":5295,"3Diff":-17.1818178,"0":{"virtuemart_product_price_id":461,"virtuemart_product_id":461,"virtuemart_shoppergroup_id":"0","product_price":3966.94215,"override":"0","product_override_price":0,"product_tax_id":"0","product_discount_id":"0","product_currency":33,"product_price_publish_up":"0000-00-00 00:00:00","product_price_publish_down":"0000-00-00 00:00:00","price_quantity_start":"0","price_quantity_end":"0","created_on":"2018-06-27 20:37:43","created_by":200,"modified_on":"2022-11-15 21:53:41","modified_by":200,"locked_on":"0000-00-00 00:00:00","locked_by":"0","costPrice":3966.94215,"basePrice":3966.94215,"basePriceVariant":3966.94215,"basePriceWithTax":4800,"discountedPriceWithoutTax":3966.94215,"priceBeforeTax":3966.94215,"salesPrice":4800,"taxAmount":833.05785,"salesPriceWithDiscount":0,"salesPriceTemp":4800,"unitPrice":0,"discountAmount":-0,"priceWithoutTax":3966.94215,"variantModification":0,"DBTax":[],"Tax":[],"VatTax":{"3":["DPH 21%","21.0000","+%","0","33","","1","3"]},"DATax":[],"Marge":[],"salesPriceTt":4800,"discountedPriceWithoutTaxTt":3966.94215,"priceWithoutTaxTt":3966.94215,"discountAmountTt":-0,"taxAmountTt":833.05785,"subtotal_with_tax":4800,"subtotal_tax_amount":833.05785,"subtotal_discount":-0,"subtotal":3966.94215},"1":{"virtuemart_product_price_id":87,"virtuemart_product_id":87,"virtuemart_shoppergroup_id":"0","product_price":81.81818,"override":"0","product_override_price":0,"product_tax_id":"0","product_discount_id":"0","product_currency":33,"product_price_publish_up":"0000-00-00 00:00:00","product_price_publish_down":"0000-00-00 00:00:00","price_quantity_start":"0","price_quantity_end":"0","created_on":"2018-11-10 04:38:43","created_by":204,"modified_on":"2022-03-18 18:15:47","modified_by":200,"locked_on":"0000-00-00 00:00:00","locked_by":"0","costPrice":81.81818,"basePrice":81.81818,"basePriceVariant":81.81818,"basePriceWithTax":99,"discountedPriceWithoutTax":81.81818,"priceBeforeTax":81.81818,"salesPrice":99,"taxAmount":17.18182,"salesPriceWithDiscount":0,"salesPriceTemp":99,"unitPrice":0,"discountAmount":-0,"priceWithoutTax":81.81818,"variantModification":0,"DBTax":[],"Tax":[],"VatTax":{"3":["DPH 21%","21.0000","+%","0","33","","1","3"]},"DATax":[],"Marge":[],"salesPriceTt":494.99999,"discountedPriceWithoutTaxTt":409.0909,"priceWithoutTaxTt":409.0909,"discountAmountTt":-0,"taxAmountTt":85.90909000000001,"subtotal_with_tax":495,"subtotal_tax_amount":85.9091,"subtotal_discount":-0,"subtotal":409.0909},"salesPriceDBT":[],"taxRulesBill":[],"DATaxRulesBill":[],"toTax":5295,"salesPriceCoupon":0,"cartTax":0,"withTax":5295,"shipmentValue":0,"shipmentTax":0,"salesPriceShipment":0,"shipment_calc_id":["3"],"cost":0,"shipmentTaxPerID":{"3":0},"paymentValue":0,"paymentTax":0,"paymentTotal":0,"salesPricePayment":0,"payment_calc_id":0,"billSub":4376.03305,"billDiscountAmount":0,"billTaxAmount":918.96695,"couponCode":""},"taxes":{"VatTax":{"3":{"virtuemart_calc_id":"3","virtuemart_vendor_id":"1","calc_jplugin_id":"0","calc_name":"DPH 21%","calc_descr":"DPH 21%","calc_kind":"VatTax","calc_value_mathop":"+%","calc_value":"21.0000","calc_currency":"33","calc_shopper_published":"0","calc_vendor_published":"0","publish_up":"2013-01-02 17:38:53","publish_down":"0000-00-00 00:00:00","for_override":"0","has_categories":"0","has_shoppergroups":"0","has_manufacturers":"0","has_countries":"1","has_states":"0","calc_params":"","ordering":"2","shared":"0","published":"1","created_on":"0000-00-00 00:00:00","created_by":"0","modified_on":"2019-09-19 09:42:55","modified_by":"204","locked_on":"0000-00-00 00:00:00","locked_by":"0","calc_categories":false,"virtuemart_shoppergroup_ids":false,"calc_countries":["56"],"virtuemart_state_ids":false,"virtuemart_manufacturers":false,"taxAmount":918.9669404999997,"subTotal":5294.9999905,"shipmentTax":0,"result":918.9669404999997}},"duty":1,"payment":0,"paymentName":"<span class=\"vmpayment_name\">P\u0159edem na \u00fa\u010det \u010cesk\u00e9 spo\u0159itelny<\/span>","DBTaxRulesBill":[],"taxRulesBill":[],"DATaxRulesBill":[],"vmVat":true,"shipmentName":"<span class=\"vmshipment_name\">Bal\u00edk do ruky (nad 5.000,-)<\/span><span class=\"vmshipment_description\">kur\u00fdr DPD<\/span>"}}

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

marvays

Quote from: GJC Web Design on January 19, 2023, 10:31:59 AM
surely a question for Stan???
That's a question for anyone who has an opinion :)

GJC Web Design

lol -- then my opinion is delete it as MOSS seems to be a stupid idea that died a natural death thank goodness ..  ( but only after governments and businesses spent a fortune on implementing a system that a 12 year old could have told them would cost more than it would ever raise in revenue)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

marvays

I would very much like to delete it. I just don't know what exactly Virtuemart, or rather Rupostel, uses it for? So much data for nothing?