Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!
    0
  •   was successfully added to your cart.
  • Home
  • Buy proxies
  • Extra features
  • Help
  • Contact
  • Login
  • 50% OFF
    BUY NOW!
    50
    PROXIES
    $19
    --------------------
    BUY NOW!
    BUY NOW!
    BUY NOW!
    BUY NOW!
    BUY NOW!
    $29
    $49
    $109
    $179
    $299
    --------------------
    --------------------
    --------------------
    --------------------
    --------------------
    PROXIES
    PROXIES
    PROXIES
    PROXIES
    PROXIES
    100
    200
    500
    1,000
    2,000
    TOP SELLER
    BEST VALUE
    For All Private Proxies!

I have a C# application which is used simultaneously by around 10 users. Each user updates a particular row in a table through the application each second (sometimes taking under a second too). So there are around 10-20 calls to an UPDATE statement each second.

Performance is generally ok, and the update statement takes around 50 – 100 milliseconds to execute. However, every few seconds, there is a huge delay, there the execution of the update statement takes around 10 seconds to process on one or more user machines. It then goes back to normal, and repeates this process every now and then.

The table has a few million records in it, however the UPDATE takes place based on a particular id which happens to be the primary key, so I would assume that there is no problem in this statement. The statement being executed is shown below:

UPDATE pc  SET    corrected_plate = @correctedPlate,         corrected_fk_username = @username,         corrected_timestamp = NOW(),         corrected_quality_assessment = @qualityAssessment,         unable_to_correct = @unableToCorrect,         corrected_plate_in_whitelist = @correctedPlateInWhiteList  WHERE  id = @id; 

I am calling the statement like so:

 connectionString += ";Allow User Variables=True;";          using (MySqlConnection connection = new MySqlConnection(connectionString))         {             connection.Open();              using (MySqlCommand cmd = connection.CreateCommand())             {                 cmd.CommandTimeout = 0;                  if (listParameters != null && listParameters.Count > 0)                 {                     foreach (string currentKey in listParameters.Keys)                     {                         cmd.Parameters.Add(new MySqlParameter(currentKey, GetDictionaryValue(listParameters, currentKey)));                     }                 }                  cmd.CommandText = sql;                 cmd.ExecuteNonQuery();                  return true;             }         } 

Table Schema

CREATE TABLE `pc` (   `id` bigint(20) NOT NULL DEFAULT '0',   `plate` varchar(10) NOT NULL DEFAULT '',   `seenDate` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',   `insertedDate` datetime DEFAULT NULL,   `comment` text,   `imageSlices` smallint(11) NOT NULL DEFAULT '0',   `camerauid` int(10) NOT NULL DEFAULT '0',   `gpsuid` int(10) unsigned DEFAULT NULL,   `confidence` int(10) NOT NULL DEFAULT '0',   `last_accessed_timestamp` timestamp NULL DEFAULT NULL,   `corrected_plate` varchar(45) DEFAULT NULL,   `corrected_fk_username` varchar(45) DEFAULT NULL,   `corrected_timestamp` timestamp NULL DEFAULT NULL,   `corrected_quality_assessment` varchar(200) DEFAULT NULL,   `unable_to_correct` tinyint(1) NOT NULL DEFAULT '0',   `corrected_plate_in_whitelist` tinyint(1) DEFAULT '0',   `last_accessed_fk_username` varchar(45) DEFAULT NULL,   `original_camera_id` int(10) DEFAULT NULL,   `fk_zone_for_correction` int(11) DEFAULT NULL,   PRIMARY KEY (`id`),   KEY `corrected_fk_username_idx` (`corrected_fk_username`),   KEY `corrected_plate` (`corrected_plate`),   KEY `last_accessed_fk_username_idx` (`last_accessed_fk_username`),   KEY `idx_seenDate` (`seenDate`),   KEY `corrected_timestamp_idx` (`corrected_timestamp`),   KEY `fk_original_camera_id_idx` (`original_camera_id`),   KEY `fk_camera_idx` (`camerauid`),   KEY `idx_corrected_plate_seenDate` (`corrected_plate`,`seenDate`),   KEY `zone_for_correction_fk_idx` (`fk_zone_for_correction`),   KEY `idx_corrected_plate_zone` (`fk_zone_for_correction`,`corrected_plate`),   CONSTRAINT `corrected_fk_username` FOREIGN KEY (`corrected_fk_username`) REFERENCES `users` (`username`) ON DELETE NO ACTION ON UPDATE NO ACTION,   CONSTRAINT `fk_camera` FOREIGN KEY (`camerauid`) REFERENCES `cameras` (`camera_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,   CONSTRAINT `last_accessed_fk_username` FOREIGN KEY (`last_accessed_fk_username`) REFERENCES `users` (`username`) ON DELETE NO ACTION ON UPDATE NO ACTION,   CONSTRAINT `zone_for_correction_fk` FOREIGN KEY (`fk_zone_for_correction`) REFERENCES `zones` (`zone_number`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 

Any ideas what can be done to solve this problem? Keeping in mind that the statement takes a few milliseconds to process normally, but every few seconds experiences a big spike which takes around 10 seconds to process, essentially blocking the respective user.

✓ Extra quality

ExtraProxies brings the best proxy quality for you with our private and reliable proxies

✓ Extra anonymity

Top level of anonymity and 100% safe proxies – this is what you get with every proxy package

✓ Extra speed

1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!

50 proxies

$19/month

50% DISCOUNT!
$0.38 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

100 proxies

$29/month

50% DISCOUNT!
$0.29 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

200 proxies

$49/month

50% DISCOUNT!
$0.25 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

500 proxies

$109/month

50% DISCOUNT!
$0.22 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

1,000 proxies

$179/month

50% DISCOUNT!
$0.18 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

2,000 proxies

$299/month

50% DISCOUNT!
$0.15 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

USA proxy location

We offer premium quality USA private proxies – the most essential proxies you can ever want from USA

100% anonymous

Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies

Unlimited bandwidth

Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!

Superfast speed

Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!

99,9% servers uptime

Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems

No usage restrictions

You have freedom to use your proxies with every software, browser or website you want without restrictions

Perfect for SEO

We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies

Big discounts

Buy more proxies and get better price – we offer various proxy packages with great deals and discounts

Premium support

We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!

Satisfaction guarantee

24/7 premium support, free proxy activation and 100% safe payments! Best reliability private proxies for your needs!

Best Proxy Packs

  • 2,000 Private Proxies $600.00 $299.00 / month
  • 1,000 Private Proxies $360.00 $179.00 / month

Quick Links

  • More information
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Like And Follow Us


Copyright ExtraProxies.com | All Rights Reserved.
  • Checkout
  • Contact
  • Help
  • Home
  • My Account
  • My Cart
  • News
  • Privacy Policy
  • Proxy features
  • Proxy packs
  • Terms and Conditions
Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!
    0 items