Unix Technical Forum

Automatically Log Splitting.

This is a discussion on Automatically Log Splitting. within the MySQL General forum forums, part of the MySQL category; --> Dear all, I know that there is a MERGE engine in mysql. It's great. I want to know is ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 05:08 AM
Sayed Hadi Rastgou Haghi
 
Posts: n/a
Default Automatically Log Splitting.

Dear all,
I know that there is a MERGE engine in mysql.
It's great.
I want to know is there a way to make new log tables and new merge table
based on some criteria.
Let me explain more with an example.
I have a log_2004_09_01 table and a MERGE table on it called log.
I want to automatically make log_2004_10_01 table and update log table to
use log_2004_10_01 too.

Is it possible by mysql itself without scripting?
else how can I tell mysql to keep incoming queries till the script does
this?

--
Sincerely,
Hadi Rastgou
A Google Account is the key that unlocks the world of Google.
<a href= "http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=1"> Get
FireFox! </a>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com