Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-10-2005, 01:58 PM   #1
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quick MySQL question

I am just curious, haven't seen anything in the docs about this, but does MySQL have an internal timestamp for each record (to know when it was last modified) ?

I know Oracle has this as an 'audit' feature.

Anyone know if MySQL has something equivalent ?
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 02:06 PM   #2
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
I believe you have to add the field TIMESTAMP in order to get that and it updates every time the row is modified..
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 02:08 PM   #3
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quote:
Originally Posted by Tempest
I believe you have to add the field TIMESTAMP in order to get that and it updates every time the row is modified..
yeah, you can do that....I was just curious if mysql had any automatic/invisible tracking of modifications that could be accessed.
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 02:16 PM   #4
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by Varius
yeah, you can do that....I was just curious if mysql had any automatic/invisible tracking of modifications that could be accessed.
I don't think so. mySQL and the like are more barebones roll your own compared to something like oracle.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 02:42 PM   #5
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quote:
Originally Posted by Tempest
I don't think so. mySQL and the like are more barebones roll your own compared to something like oracle.
ok, I figured as much...well thanks for the info
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 02:45 PM   #6
kernelpanic
Too lazy to set a custom title
 
Join Date: Jan 2005
Posts: 2,961
I believe the InnoDB logs have that, if thats the tabletype you're using
kernelpanic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 02:57 PM   #7
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
InnoDB does have this feature and is free.
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 03:00 PM   #8
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
Oracle is to bloated

I would not recommend Oracle to anyone not strong with database design. Very complicated setup. MySQL can handle more than enough for the average sites and all.
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 03:02 PM   #9
kernelpanic
Too lazy to set a custom title
 
Join Date: Jan 2005
Posts: 2,961
Quote:
Originally Posted by mrkris
I would not recommend Oracle to anyone not strong with database design. Very complicated setup. MySQL can handle more than enough for the average sites and all.
I would think cost would be the #1 deterrant to Oracle
kernelpanic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 03:16 PM   #10
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
Edit, misread post...

To answer the real question ; no, MySQL does not have that functionality, at least for the INNODB engine.

Last edited by vending_machine; 06-10-2005 at 03:19 PM..
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 03:32 PM   #11
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quote:
Originally Posted by kernelpanic
I believe the InnoDB logs have that, if thats the tabletype you're using
Yes I am using InnoDB currently....I will try to investigate more on this then....maybe I missed it in the docs
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2005, 03:32 PM   #12
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quote:
Originally Posted by mrkris
I would not recommend Oracle to anyone not strong with database design. Very complicated setup. MySQL can handle more than enough for the average sites and all.
I'd never use Oracle personally

I tried PostgreSQL once few years back though, but what a disaster that was...
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.