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 > Log specific query types (or transactions)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-29-05, 17:10
mepaco mepaco is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
Log specific query types (or transactions)

I've been given the task of tuning up a MySQL database on a production server. While messing around with some different things I noticed that we have a large of amount of transactions being rolled back (Com_rollback).

*Is there a way to have it log just transactions that were rolled back? Or just UPDATES, DELETES, and INSERTS?

*Do I just have to turn on logging and parse all the queries? If I log all queries will there be a way for me to differentiate the rolled back transactions from the rest of the queries?

Thanks in advance for any help you can provide.

-Paco
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