![]() |
|
#1
|
|||
|
|||
Archiving and Retrieving data using java with mysqlHi all,
I need your help on doing the archiving system using java with mysql. I got one table which inside got a lot of data where all this data is the real time data and the data in this table will reach 1000 within 1 hour. The problem is, I dun want to stop the system but need to concernt the decrease of space memory. what i need to do is archive the data for certain period and delete it after achive, then for the archive data, i need to retrive it back for future use but cannot replace the new data. Hope someone can show me the example code on these. rgds, bryan |
|||
|
#2
|
||||
|
||||
Re: Archiving and Retrieving data using java with mysqlThe archiving part you mentioned in the last part seems confused.
Archive to where? if you copy out the data to another table, like a log table, then the space-saving will not change. "delete it after archive" -- I assume this means delete from the 1000/hr table what was copied-out <or archived>? restore -- restore to where? I know it is not to replace the new data, so where will it go? __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Archiving and Retrieving data using java with mysqlQuote:
Quote:
Quote:
rgds, bryan |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The