Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Database Auto-Optimizer

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 05-13-2006, 05:46 PM
 
youngvet1 youngvet1 is offline
 

eXpert
  
Join Date: Aug 2005
Posts: 245
 

Default

Is there any difference between optimizing like this and just clicking repair for the database -- from the mysql section in cpanel?
__________________
x-cart version 4.0.14
Reply With Quote
  #22  
Old 06-19-2006, 09:20 AM
 
adrock5150 adrock5150 is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 48
 

Default optimizer for litecommerce?

Hello,

would this work for a litecommerce installation? Could it be made to work or is there something like this out there for litecommerce?
__________________
LiteCommerce 2.2.21

http://www.hookahkings.com
Reply With Quote
  #23  
Old 06-19-2006, 01:21 PM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

It should work for no matter what shopping cart system you are using.
__________________
X-Cart Pro 4.5.5 Platinum
X-Payments 1.0.6
PHP 5.3.14
MySQL 5.1.68
Apache 2.2.23
Reply With Quote
  #24  
Old 06-20-2006, 03:50 PM
  designtrade's Avatar 
designtrade designtrade is offline
 

Member
  
Join Date: Apr 2006
Posts: 26
 

Default

currently using this on my site, thank you very much!
__________________
- Janie Art Web Development Services
Reply With Quote
  #25  
Old 06-20-2006, 04:17 PM
 
youngvet1 youngvet1 is offline
 

eXpert
  
Join Date: Aug 2005
Posts: 245
 

Default

Is there a difference between optimizing a database and repairing a database??
__________________
x-cart version 4.0.14
Reply With Quote
  #26  
Old 06-22-2006, 01:32 PM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

Quote:
Originally Posted by youngvet1
Is there a difference between optimizing a database and repairing a database??

Repairing tables instead of optimizing them can be signifigant slower in some cases.

An example of this happening can be seen in the comments on this MySQL documentation page:
http://dev.mysql.com/doc/refman/5.0/en/fulltext-fine-tuning.html
__________________
X-Cart Pro 4.5.5 Platinum
X-Payments 1.0.6
PHP 5.3.14
MySQL 5.1.68
Apache 2.2.23
Reply With Quote
  #27  
Old 07-23-2006, 12:34 PM
 
designerweb designerweb is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 94
 

Default

Can this script crash your database in any way?
__________________
JimmyBoy
xcart v4.0.17 [unix]
Reply With Quote
  #28  
Old 09-18-2006, 03:10 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Database Auto-Optimizer

Has anyone used this on a 4.1 database? Anything to know about? Thanks!

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #29  
Old 10-01-2006, 11:55 AM
  2coolbaby's Avatar 
2coolbaby 2coolbaby is offline
 

eXpert
  
Join Date: Sep 2004
Location: TN moving to FL
Posts: 265
 

Default Re: Database Auto-Optimizer

Anyone want to make $20 to add this to my site? I am on a VPS with Plesk control panel. I don't think I have it right and it seems like a very useful script to run.
__________________
Mary Lee
-------------------
Dinner and a Murder Mystery Games
http://www.dinnerandamurder.com

x-cart version 4.7.5 / Mac OS 10.10.5 and Windows 8/10 sometimes - Ideal Responsive Template
Reply With Quote
  #30  
Old 10-05-2006, 03:38 PM
 
smrtsu smrtsu is offline
 

Advanced Member
  
Join Date: Sep 2004
Posts: 34
 

Default Re: Database Auto-Optimizer

Quote:
Originally Posted by mltriebe
So how can I tell if this is working? I am trying it on my local test copy and can't see any difference in the SQL coding. I have no idea if it is doing anything or not. I know I had some settings wrong in the first few tries but I think I have it all correct now but nothing still seems to be happening.

Thanks

Same here. when I put this "http://localhost/inspa/db_optimizer.php" in the browser i just get a blank page - I have a test site on my localhost, so this is how I have the db_optomizer.php set up:
-----------------------------------------------
# Ensure the script execution request is by the server.
if (empty($_SERVER['REMOTE_ADDR']) && empty($_SERVER['SERVER_ADDR'])) {

# Define Constants
define('ERROR_LOG', 'http://localhost/inspa/log/db_optimization_errors.html');
define('DB_LINK', mysql_connect('localhost','',''));
define('DB_NAME', 'inspa');
----------------------------------------------
also, do I need to create this file? db_optimization_errors.html or does the optimizer do it for you? I don't want to run it on my live site until I make sure I'm doing it correctly.
What am I doing wrong?
__________________
smrtsu
xcart v4.0.17 http://www.ettasays.com
xcart v4.0.19 http://www.inspa.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:29 AM.

   

 
X-Cart forums © 2001-2020