Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  slow work

phpMyEdit General     slow work
Odoslať novú tému   Odpovedať na tému    
 
svdesign     Založený: 21.04.2004   Príspevky: 2  
Príspevok Zaslal: 2004-04-21 15:28
Návrat hore  Odpovedať s citátom     

Why phpMyEdit is very slow? Each page generate from 1 to 6 seconds even with very small mysql tables.

 
ajh     Založený: 17.12.2003   Príspevky: 236  
Príspevok Zaslal: 2004-04-22 08:25
Návrat hore  Odpovedať s citátom     

Why is a piece of string long?

Maybe if you could describe your setup (machines, operating system etc), the config of your database etc then someone could help.

 
svdesign     Založený: 21.04.2004   Príspevky: 2  
Príspevok Zaslal: 2004-04-22 15:05
Návrat hore  Odpovedať s citátom     

PHP 4.3.2, Mysql 4.0.13-nt

Very simple table, with 2-3 records:

Kód:

CREATE TABLE 5k_lib_content (
  content_id int(10) unsigned NOT NULL auto_increment,
  lib_id int(10) NOT NULL default '0',
  title varchar(255) NOT NULL default '',
  contents text NOT NULL,
  PRIMARY KEY  (content_id),
  KEY lib_id (lib_id)
) TYPE=MyISAM;


There is my options:

Kód:

$opts['fdd']['content_id'] = array(
  'name'     => 'Content ID',
  'select'   => 'T',
  'options'  => 'AVCPDR', // auto increment
  'maxlen'   => 10,
  'default'  => '0',
  'sort'     => true
);
$opts['fdd']['lib_id'] = array(
  'name'     => 'Section',
  'select'   => 'T',
  'maxlen'   => 10,
  'default'  => '0',
  'required' => true,
  'sort'     => false,
  'values'   => array('table' => '5k_lib', 'column' => 'lib_id', 'description' => 'title')
);
$opts['fdd']['title'] = array(
  'name'     => 'Title,
  'select'   => 'T',
  'maxlen'   => 255,
  'required' => true,
  'sort'     => true
);
$opts['fdd']['contents'] = array(
  'name'     => 'Contents',
  'select'   => 'T',
  'maxlen'   => 65535,
  'textarea' => array(
    'rows' => 5,
    'cols' => 50),
  'required' => true,
  'sort'     => true
);
require_once 'phpMyEdit.class.php';
new phpMyEdit($opts);


 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov