If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL checking Deleted Rows

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-18-09, 14:27
abdul_zu abdul_zu is offline
Registered User
 
Join Date: Dec 2002
Location: Nepal
Posts: 32
MySQL checking Deleted Rows

Hi,

I have one table which have more than 1076967 rows. the table have ID filed with auto-increment value.

I need to check if some row is deleted from that table or not? We are suspecting some hacker he delete some rows but in this huge records i cannot find if really it is deleted?

Please help to find out, how i can check if any record is deleted from this table?

Best Regards,
Reply With Quote
  #2 (permalink)  
Old 10-18-09, 15:24
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
What makes you believe that data jas been deleted?
Is it because there are gaps in the sequence of IDs?
Do you know the ID, or other key values, of the deleted record?

Gaps can occur in the sequence of IDs due to delete's, transactions rolling back or bulk inserts - go to this page and search for the word gap.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On