Find Jobs
Hire Freelancers

Process MySQL table records without locking the table

$30-250 USD

Closed
Posted over 12 years ago

$30-250 USD

Paid on delivery
THIS IS FOR MYSQL AND PHP EXPERTS ONLY! We will evaluate each bid and the work done. If we are satisfied with the results we will need several other scripts to perform more complex tasks. We are in need of a script able to process the following MySQL table records: Table 1: ad_zone_click_id int(11) No user_id int(11) No ad_zone_id int(11) No ad_zone_view_id int(11) No camp_id int(11) No ad_zone_click_date datetime No ad_zone_click_value decimal(10,7) No ad_zone_click_ip varchar(15) No Table 2: ad_zone_id int(11) No user_id int(11) No ad_zone_click_date date No ad_zone_click_count int(11) No ad_zone_click_value decimal(10,7) No ad_zone_click_paid tinyint(1) No 0 ad_zone_click_paid_date date No payment_id int(11) No We need a script able to take all records for each ad_zone_id when the ad_zone_click_date is older than X. Calculate the total SUM(ad_zone_click_value) and COUNT(*) for each day (one row per day and per ad_zone_id) and then insert or update table 2 with a new row for that specific ad_zone_click_date and that specific ad_zone_id. Once done, delete the records that were processed (one delete per day and zone to avoid table locks). All SELECT commands to table 1 must NOT lock the table. We have another option, creating a new table and copy (without locking the table) the records to be processed to avoid table locks on SELECTS. Once again, ONLY MYSQL AND PHP EXPERTS!
Project ID: 1214736

About the project

11 proposals
Remote project
Active 13 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
11 freelancers are bidding on average $70 USD for this job
User Avatar
Please check pmb, thanks.
$80 USD in 1 day
4.9 (97 reviews)
6.6
6.6
User Avatar
Hi i can do it what you need. i have done lot of complex query. Please accept the bid. i am ready to start your work.
$55 USD in 1 day
4.9 (230 reviews)
6.3
6.3
User Avatar
Kindly have a look at PMB, Thank You
$35 USD in 3 days
4.7 (10 reviews)
5.4
5.4
User Avatar
Hello, please check private messages. Thanks! Kind regards, cicika
$70 USD in 1 day
4.7 (4 reviews)
3.9
3.9
User Avatar
I have done this. Please check PMB
$30 USD in 1 day
5.0 (7 reviews)
3.5
3.5
User Avatar
Hi apoguy, i really interested with your project.
$30 USD in 0 day
5.0 (2 reviews)
2.4
2.4
User Avatar
I am fully capable of doing this project. During my work experience I have done this kind of scrips several times.
$30 USD in 4 days
5.0 (1 review)
1.0
1.0
User Avatar
Hello, please check PMB for details. Thanks!!
$125 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
please refer PMB for details regards Babu
$88 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hello sir your task will be done with great ease. With regards vikas
$60 USD in 2 days
0.0 (1 review)
0.0
0.0
User Avatar
Hi, i can do this..Having sound knowledge & expertise in PHP and MySQL. Thanks.
$50 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of URUGUAY
Palmetto Bay, Uruguay
5.0
82
Payment method verified
Member since Oct 3, 2008

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.