Find Jobs
Hire Freelancers

Convert / Optimize a PHP code loop to update a database, in Python or similar console language

$30-250 CAD

Completed
Posted over 7 years ago

$30-250 CAD

Paid on delivery
I have a PHP loop that takes too long to update my database. The code works as it is but times out, even when settting like 20 minutes timeout in [login to view URL] I am asking for a resulting python (maybe?) script that would do the same update routine on a MySQL local database, from the console, taking as long as it needs, giving progress feedback. The source is a CSV document. The original code is poorly structured and may need optimization. Originally done in PHP / Laravel 5. I will provide a sample (shorter CSV input file), the actual code (200 line + 1 or two conversion functions) and the main database, in a shorter form. You will provide open local code that will work on a generic local mysql database.
Project ID: 12556827

About the project

7 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi there. I'm a PHP coder, not a Python coder, but I imagine I can probably optimize your PHP script to get this to run faster, perhaps using multi-threading or optimized sql statements. I'd love to chat and have a look at your script to see if there is anything I can do. Regards, Joseph cardwell
$155 CAD in 1 day
5.0 (33 reviews)
5.7
5.7
7 freelancers are bidding on average $147 CAD for this job
User Avatar
Hello. I have read your project description but I need to ask few questions. I wouldn't call myself a master but I do work smart and my first priority is to satisfy my clients. Please feel free to ping me anytime so we can have a detailed discussion.
$333 CAD in 5 days
5.0 (30 reviews)
6.2
6.2
User Avatar
Hello, I'm not totally sure by the description, would getting it optimized in PHP (instead of converting it) be an option? I have quite a bit of experience with big data on PHP/MySQL and can probably get it running properly. Thanks! Keith
$135 CAD in 3 days
4.9 (68 reviews)
6.3
6.3
User Avatar
Hi, need to look at it. Seems complex problem in query and php code .
$88 CAD in 1 day
4.9 (36 reviews)
5.4
5.4
User Avatar
Hello, I can check why your php script is taking so long, or write a new one using PHP, Python, Bash or anything else. My idea is to use the MySQL LOAD DATA INFILE, for faster processing.
$100 CAD in 1 day
4.9 (72 reviews)
5.6
5.6
User Avatar
Dear Sir or Madam, I understand that you're looking for a program that replicates your business logic and shows in the terminal the number of processed rows. I coded several years with LAMP and I work right now with Python and mysql. I used to work with big tables in Gameloft at the BI area and have experience with stored procedures, functions and temporal tables. I should read the code in order to have a better grasp of the problem. Don't hesitate to ask any doubt. Best regards, Alejandra Martini
$150 CAD in 7 days
5.0 (3 reviews)
2.3
2.3
User Avatar
A proposal has not yet been provided
$66 CAD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Mascouche, Canada
5.0
1
Payment method verified
Member since Dec 19, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.