Reduce the size of the BD
25 USDRemove SQL by request in phpmyadmin.The type of request is:
Delete from cscart_order_data WHERE cscart_order_data.order_id < 69000;
Where cscart_order_data is the name of our table
69000 - the order number to which to delete these data (we leave some of the latter)
And then it doesn’t stop:
Optimize the table cscart_order_data
This will allow you to leave orders on the site, but will remove from them no necessary information about the way of delivery, the way of payment, etc.You may know other solutions to this problem.The BD is now about 20GB.
Проблема состоит в том что для установки модуля необходимо обновить версию движка.
При обновлении создается резервная копия, но она зависает на Резервной копии таблицы cscart_order_data (вчера было запущенно в 19:30 обновление, до 3х утра пыталось создать копию таблицы) , скорее всего из-за большого кол-ва заказов и веса. На форуме этого движка пишут что это частая проблема даже если заказов 10000, а на нашем сайте их более 70000. Их не удалять т.к. ведется статистика и на их основании предлагает товары тем кто уже покупал что либо.
Решение проблемы пишут
Удалить SQL запросом в phpmyadmin.
Запрос типа такого:
DELETE FROM cscart_order_data
WHERE cscart_order_data
.order_id
< 69000;
Где cscart_order_data - название нашей таблицы
69000 - номер заказа, до которого удалить эти данные (оставляем какое-то количество из последних)
Ну и потом не помешает:
OPTIMIZE TABLE cscart_order_data
Это позволит оставить заказы на сайте, но удалит из них не нужную уже информацию про способ доставки, способ оплаты и п.р.
Возможно знаете другие решения этой проблемы, т.к. БД сейчас занимает почти 20гб
Client's feedback on cooperation with Oleg G.
Reduce the size of the BDEverything is as always very fast, and done even better and faster than I expected. thank you)
Freelancer's feedback on cooperation with Maksim Tohtarits
Reduce the size of the BDI am pleased with the project and cooperation.
-
197 23 0 Good day . I can help you. I'm waiting for access and ready to start.
Добрый день. Могу вам помочь. Жду доступы и готов приступить.
Current freelance projects in the category Databases
Viber community parser
25 USD
write a parser for Viber communities following the example of the parser's work on the website https://promouser.com/ as a result, we get a file with phone numbers of community members Databases, Data parsing |
[TM] BA Analyst - create 30 SQL queries for dataset
120 USD
Good day, there is a dataset consisting of 3 tables, need to create 30 SQL queries for it. Domain - ecommerce 5 simple queries for each table 2 complex queries with aggregations for each table 4 queries for table pairs with aggregation 5 queries for all tables at once I need… Databases, Data processing ∙ 3 proposals |
Web applicationIt is necessary to expand the functionality of the existing web application (TypeScript, React, and Next.js) by adding a fuzzy search module. The databases are large, Elasticsearch or Manticore Search should be implemented for data indexing. Databases, Web programming ∙ 5 proposals |
Loading products into an online store in Wordpress
54 USD
Loading products - wigs and accessories. Variative - 273 products, several photos for each product, + color variations. Non-variative 33 products. Option 1: upload products from Excel document to my Wordpress online store www.wigs.lv, 3 languages. Sample document attached.… Databases, Data parsing ∙ 6 proposals |
Develop a mobile application. Backend + Frontend Android/iOSA design has been developed. An application-catalog with user registration, filters, search, the ability to add to saved and comparison. cracking of requests from the state website (most likely parsing), a feed of recommendations based on interests, push notifications. A… Databases, Hybrid mobile apps ∙ 18 proposals |