GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Quick MySQL question (https://gfy.com/showthread.php?t=479338)

Varius 06-10-2005 01:58 PM

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 ?

Tempest 06-10-2005 02:06 PM

I believe you have to add the field TIMESTAMP in order to get that and it updates every time the row is modified..

Varius 06-10-2005 02:08 PM

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.

Tempest 06-10-2005 02:16 PM

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.

Varius 06-10-2005 02:42 PM

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 :)

kernelpanic 06-10-2005 02:45 PM

I believe the InnoDB logs have that, if thats the tabletype you're using

V_RocKs 06-10-2005 02:57 PM

InnoDB does have this feature and is free.

mrkris 06-10-2005 03:00 PM

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.

kernelpanic 06-10-2005 03:02 PM

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 :1orglaugh

vending_machine 06-10-2005 03:16 PM

Edit, misread post...

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

Varius 06-10-2005 03:32 PM

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

Varius 06-10-2005 03:32 PM

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


All times are GMT -7. The time now is 07:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123