Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



917 posts

Ultimate Geek
+1 received by user: 30


Topic # 138110 20-Dec-2013 00:08 Send private message

Hey Guys,

Develop a booking systems for niche markets.  I have one such marked that uses it very - vigorously.

They have been doing their annual bookings for the new year and suddenly I have 15,000 rows from a specific table dissapear.

The CPU was running high 100% for 2 day during peak times, could has have been the cause?  I have checked re-chekkd there is no other obvious cause!

Things in my mind I have been through

SQL injection, its very unlikely as always sanetize the code.  Also the table names are not obvious, and we are missing random amounts during a time i know the cpu was 100% for hours.
Bad code - this was my first though, and I have checked and check fory any DELETE, REPLACE even UPDATE on the table

Anybody got some thoughts,

I am running xt-small-RDS by Amazon AWS.  It was on a micro server but I have upgraded it and recoded to keep CPU below 50% now sits camly at 2-7%

Create new topic
5858 posts

Uber Geek
+1 received by user: 284

Trusted
Subscriber

  Reply # 955212 20-Dec-2013 06:54 Send private message

I'd be very surprised if high CPU could make database row disappear. That's about the last place I'd look. Bugs, SQL injection, etc. Do you have logs of the SQL executed? Backups?




Asus eee pad transformer
iPod 2G
Windows 7 PC
Lots and lots of Nikon camera gear



917 posts

Ultimate Geek
+1 received by user: 30


  Reply # 955244 20-Dec-2013 07:58 Send private message

Backups yes, log no, turning it on now, need to upgrade to 5.6 for RDS.

It is a rather large table, 70,000 records, still somewhat confused!

The search continues! Will be going through more application code, but nothing is jumping out.

Create new topic








Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Forms of government for New Zealand
Created by charsleysa, last reply by Kyanar on 18-Apr-2014 14:50 (93 replies)
Pages... 5 6 7


galaxy s4 now on 4.4.2
Created by nzrock, last reply by Yabanize on 18-Apr-2014 11:02 (42 replies)
Pages... 2 3


Problem with NDSCam
Created by haydenmarsh, last reply by Benoire on 14-Apr-2014 21:28 (21 replies)
Pages... 2


Snap suffering Trans-Tasman congestion 18/04?
Created by Lias, last reply by jnimmo on 18-Apr-2014 15:06 (19 replies)
Pages... 2


MH370 - Call for Search & Rescue Help
Created by DS248, last reply by Sideface on 17-Apr-2014 17:28 (735 replies)
Pages... 47 48 49


Weather - Auckland
Created by networkn, last reply by Sidestep on 17-Apr-2014 13:47 (18 replies)
Pages... 2


NZ still in the stone ages regarding IT ?
Created by surfisup1000, last reply by wasabi2k on 17-Apr-2014 16:49 (16 replies)
Pages... 2


why does the tax payer have to pay for the prince and princess' 6 star holiday?
Created by joker97, last reply by Geektastic on 17-Apr-2014 15:49 (67 replies)
Pages... 3 4 5



Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.