PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Laston Table is huge, can i empty it? (http://www.photopost.com/forum/photopost-pro-bug-reports/116168-laston-table-huge-can-i-empty.html)

rcsmith October 14th, 2005 01:44 AM

Laston Table is huge, can i empty it?
 
in mysqladmin my laston table has 259,000 entries. Can this be emptied? my photopost has been ruining my server lately. I'm up to 15,000 images. I just need to find a way to optimize mysql usage.

Chuck S October 14th, 2005 08:08 AM

You can empty it safely. Other ones as iponline ipcache admlog can be emptied as well

rcsmith October 14th, 2005 10:23 AM

thanks for the info. My main page seems to load a lot faster now. My site always has over 100+ guests online at once looking at pictures. A good day will be around 180.

Have you thought of doing more sql optimaztion. I'm not a pro, but I ran into this problem with OScommerce and 12,000 products. All the products are just in one table, products. I see in photopost all the images are in the table photos.

If it were broken up into more tables say like photo-a photo-b etc would that speed things up for sites with thousands of images?

Chuck S October 14th, 2005 11:00 AM

Our problem has been optimized alot. 5.2 even has a cache table that loads the index and popular items from a cache and not the tables.

rcsmith October 14th, 2005 11:54 AM

i have my options set for yes, but if I look at the source on my page there is this. Would that cancel it out?

<!-- no cache headers -->
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="Tue, 21 Nov 2000 05:00:00 GMT" />
<meta http-equiv="cache-control" content="no-cache, must-revalidate" />
<!-- end no cache headers -->

Chuck S October 14th, 2005 02:14 PM

That has nothing to do with our cache thats our normal headers

The cache grabs the cat info etc from the cache table instead of multiple queries and tables which saves generation time and over half the needed queries to generate the page. Thats how it works


All times are GMT -5. The time now is 02:06 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97