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 Sliding Window effect

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-12, 13:25
fidellio369 fidellio369 is offline
Registered User
 
Join Date: Jan 2012
Posts: 1
MySql Sliding Window effect

Dear friends,


I am trying to create e "Sliding Window" effect in a mysql database. I want to be able that after a certain time from point of first timestamp, lets say after 10 minutes, I want to delete the rows of that table, means all the rows of data collected in 10 minutes period of time say ...



Could you please help me with some way how to achieve this?

Your help will be appreciated,

Thank you
Reply With Quote
  #2 (permalink)  
Old 01-02-12, 14:27
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
please explain why you want this after only 10 minutes

deletions is something you don't need to do more than once a year

if at all
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Tags
java, mysql

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