Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 10:56 am EST
Geeklog Forums
Splitting SQL table
mark
Anonymous
How can I split SQL table ?
Ex.: curent table from 1 January 2003 till now and rest= archive table.
My curent geeklog table grows fast (>100Mb)
regards,
Mark
Ex.: curent table from 1 January 2003 till now and rest= archive table.
My curent geeklog table grows fast (>100Mb)
regards,
Mark
12
8
Quote
mark
Anonymous
I have more than 250 post per day.
I just want to limit post to the last 12 months for ex.
(split database by year: 2003, 2004...)
I just want to limit post to the last 12 months for ex.
(split database by year: 2003, 2004...)
12
10
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
It is not an easy hack to use more then 1 database. All the SQL Class calls assume a single DB and therefore the code does not need to pass around the database connection instance.
Adding a feature that moved older articles and comments to another database would be a lot of work - as a first pass estimate.
It certainly would be easier to write a utility that deleted older content or older content that is not popular.
Geeklog components by PortalParts -- www.portalparts.com
Adding a feature that moved older articles and comments to another database would be a lot of work - as a first pass estimate.
It certainly would be easier to write a utility that deleted older content or older content that is not popular.
Geeklog components by PortalParts -- www.portalparts.com
8
9
Quote
All times are EST. The time is now 10:56 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content