371 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
May 24, 2012, 01:13:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Calendar Login Register  
Pages: [1] 2
  Print  
Author Topic: FAQ: Planet Lotus upgrade / move.  (Read 4077 times)
0 Members and 1 Guest are viewing this topic.
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« on: March 17, 2008, 10:45:07 AM »

Please use this thread to post any issues; concerns, etc regarding this well overdue move.

Thanks,
Yancy
Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #1 on: March 18, 2008, 07:40:51 AM »

Update.... 9:36 AM 3/18/2008

The VSD is setup.
Figured out (with help) how to use VSFTP; much better then ftp.
Files have been copied.
Working on a dry run of the database move.
Still have to work out how the a record move will happen. I want to coordinate that at night so it has time over night to cook.
Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #2 on: March 18, 2008, 07:34:27 PM »

Update: 9:34 PM 3/18/2008

New server up and running. Bug testing for the next few hours.
The A Record took a couple minutes to switch; was NOT expecting that.
Forum Just moved over. This is the first post; and a test. So far so good. I highly recommend SMF over phpBB ive used both and SMF is like mysql just what you need.

Next will work on the feeds.
Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #3 on: March 18, 2008, 09:47:40 PM »

Update: 11:42 PM 3/18/2008

The main stuff has been moved over.

To do:
Create the cron jobs to update the site. For now i have the old fashion way of running scheduled bat files.
Test dogears.
Figure why keywords isn't working; then back-fix all of them.
Work on the site performance. MySQL tweaking, php tweaking, apache, select call tuning, indexes. In time it will speed up.
Create cleanup routine; i have a list somewhere. Basic data scrubbing.

_bed
« Last Edit: March 19, 2008, 07:15:07 AM by Yancy Lent » Logged
eknori
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #4 on: March 19, 2008, 03:22:21 AM »

The "Notes Relation" indicator does not seem to work correctly since 18-Mar2008 10:00pm
Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #5 on: March 19, 2008, 05:40:48 AM »

The "Notes Relation" indicator does not seem to work correctly since 18-Mar2008 10:00pm

Yeah, this what i termed:

Figure why keywords isn't working; then back-fix all of them.

in my post above. Thanks for catching it. It is amazing how different it looks with out the different shapes. <>
Logged
hoss.macian
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #6 on: March 19, 2008, 06:07:14 AM »

Hey man,
Noticed this morning that on both my Palm TX, BlackBerry and even via Firefox, when trying to access http://mobile.planetlotus.org, the request returns "hi sharepoint".  Just an FYI bud.
Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #7 on: March 19, 2008, 07:14:44 AM »

Im on it!

How did i miss this!

Thanks!!!
Logged
hoss.macian
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #8 on: March 19, 2008, 07:46:15 AM »

Quote
Im on it!

How did i miss this!

Thanks!!!
I'll give you a good talking to about that when I'm in Boston at Admin2008  Wink
Logged
clinfoot
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #9 on: March 19, 2008, 10:26:38 AM »

Some post move issues:

No Lotus relevant keywords in this post - all posts, even Lotus relevant ones.
Speed - I know you have tuning to do but it is rather slow.
mobile.planetlotus.org no longer resolves at all in DNS here - could be a propagation or TTL issue, if you have made changes.
Logged
clinfoot
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #10 on: March 19, 2008, 10:43:41 AM »

And BTW - if feedburner is now working for you, could you please revert to polling my real feed? Thanks.
Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #11 on: March 19, 2008, 03:12:13 PM »

Update... 5:12 PM 3/19/2008

mobile.planetlotus.org is up and running!

Next some updates, testing feeds and the keyword indicators.



Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #12 on: March 21, 2008, 12:38:53 PM »

3 VERY inefficient Select statements seem to be the cause of the slow down. It was so easy to blame the hardware and configuration  Grin

If anyone would like to take a crack at it...

This is what finds what blogs are hot....

SELECT count(*), hitsTABLE.rssid, rssTable.name, rssTable.blog, rssTable.type
FROM `hitsTABLE`, rssTable
WHERE hitsTABLE.rssid = rssTable.id and
(hitsTABLE.created > (DATE_SUB( CURDATE( ) , INTERVAL 5 DAY )))
GROUP BY hitsTABLE.rssid
ORDER BY 1 DESC
Limit 6

The EXPLAIN says... Using temporary; Using filesort (the crux of the problem, due to the area in bold above.)

The MySQL version is 5.0.45
hitsTABLE.rssid = rssTable.id are both indexed.

Logged
DarkRedSpiral
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #13 on: March 23, 2008, 07:22:01 AM »

Yancy

My first instinct would be to subquery the Hitstable file without a join to get the 6 records
and then do the join after that. This would allow the Count to be done in isolation on a single
table forcing the join onto the result table which will have only 6 entries rather than the 1000's
you currently have.

Try this SQL

SELECT * FROM (
                         SELECT count(*) as HitCount, hitsTABLE.rssid
                         FROM `hitsTABLE`
                         WHERE   (hitsTABLE.created > (DATE_SUB( CURDATE( ) , INTERVAL 5 DAY ))
                         GROUP BY hitsTABLE.rssid
                         ORDER BY 1 DESC
                         Limit 6
                      ) AS TZero, 'rssTable' WHERE TZero.rssid = rssTable.id

Steve
« Last Edit: March 23, 2008, 07:30:35 AM by DarkRedSpiral » Logged
Yancy Lent
Administrator
Full Member
*****
Offline Offline

Posts: 147



View Profile
« Reply #14 on: March 23, 2008, 08:56:11 AM »

Holly Cow!

It's still reporting the "Using temporary; Using filesort" in the EXPLAIN...

But, its gone from 6.5ish seconds to 0.25ish seconds!

Thanks Steve!

I am still pondering running a batch ever 10 minutes to populate a temp table so i get it down to the .002 range. But this is a great temp fix!!
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!