i'm running the command: update contratante,pessoa set contratante.endereco = pessoa.endereco ,contratante.cidade = pessoa.cidade ,contratante.bairro = pessoa.bairro ,contratante.estado = pessoa.estado ,contratante.telefone = pessoa.telefone ,contratante.cep = pessoa.cep where (contratante.codpes = pessoa.codpes);
The table contratante have 148867 rows The table pessoa have 119319 rows i can update the columns endereco,cidade,bairro,estado,telefone and cep of table contratante with the information of table pessoa... but I start the SQL STATEMENT and the error: The Table 'contratante' is full. Why ? i don't insert anything inside the table contratante,only update the columns with the pessoa information... My System is: Linux 2.4.18 / MySQL/InnoDB 4.0.12 with 512 of RAM / ReiserFS The free space on tablespace is 10G The my.cnf of innodb is: innodb_data_file_path=ibdata1:4000M;ibdata2:4000M;ibdata3:4000M;ibdata4:4000M;ibdata5:4000M;ibdata6:4000M;ibdata7:4000M innodb_data_home_dir = /database/innodb/data set-variable = innodb_mirrored_log_groups=1 innodb_log_group_home_dir = /database/innodb/logs set-variable = innodb_log_files_in_group=3 set-variable = innodb_log_file_size=60M set-variable = innodb_log_buffer_size=8M innodb_flush_log_at_trx_commit=2 innodb_log_arch_dir = /database/innodb/logs innodb_log_archive=0 set-variable = innodb_buffer_pool_size=256M set-variable = innodb_additional_mem_pool_size=30M set-variable = innodb_file_io_threads=4 set-variable = innodb_lock_wait_timeout=60 innodb_fast_shutdown = 1 The create table of contratante is: CREATE TABLE `contratante` ( `Sequencia` int(4) unsigned NOT NULL default '0', `Protocolo` varchar(8) NOT NULL default '', `PLivro` varchar(10) NOT NULL default '', `PData` date NOT NULL default '0000-00-00', `Registro` varchar(8) NOT NULL default '', `Rlivro` varchar(10) NOT NULL default '', `RData` date NOT NULL default '0000-00-00', `CodPes` int(4) NOT NULL default '0', `Denominacao` tinyint(4) NOT NULL default '0', `NumAverb` int(2) NOT NULL default '0', `SequenciaPri` int(4) unsigned NOT NULL default '0', `RegistroPri` varchar(8) NOT NULL default '', `RLivroPri` varchar(10) NOT NULL default '', `Ordem` int(2) NOT NULL default '0', `control` char(1) NOT NULL default '', `CodNat` int(2) NOT NULL default '0', `ImpNot` tinyint(1) default '1', `Endereco` varchar(255) NOT NULL default '', `Cidade` varchar(40) NOT NULL default '', `Bairro` varchar(20) NOT NULL default '', `Estado` char(2) NOT NULL default '', `Telefone` varchar(30) NOT NULL default '', `Cep` varchar(9) NOT NULL default '', UNIQUE KEY `cont_idx7` (`Sequencia`,`CodPes`), KEY `cont_idx1` (`Sequencia`,`Ordem`), KEY `cont_idx2` (`CodNat`), KEY `cont_idx3` (`SequenciaPri`,`Ordem`), KEY `cont_idx5` (`CodPes`), KEY `cont_idx6` (`ImpNot`), KEY `socio_idx5` (`CodPes`) ) TYPE=InnoDB; The Create table of pessoa is: CREATE TABLE `pessoa` ( `CodPes` int(4) NOT NULL auto_increment, `Nome` varchar(255) NOT NULL default '', `CpfCgc` varchar(18) NOT NULL default '', `CpfCgc2` varchar(18) NOT NULL default '', `TipoPes` tinyint(4) NOT NULL default '0', `CodCus` int(2) NOT NULL default '0', `Endereco` varchar(255) NOT NULL default '', `Telefone` varchar(50) NOT NULL default '', `Cidade` varchar(60) NOT NULL default '', `Bairro` varchar(40) NOT NULL default '', `Estado` char(2) NOT NULL default '', `Mensalista` tinyint(4) NOT NULL default '0', `Cep` varchar(9) NOT NULL default '', UNIQUE KEY `CodPes` (`CodPes`), KEY `PESSOA_INDX1` (`CodPes`), KEY `PESSOA_INDX2` (`CpfCgc`), KEY `PESSOA_INDX3` (`Nome`) ) TYPE=InnoDB Tanks in advance. sql,query,innodb,HELLLLP ! ------------------------------------------------------------------------- ++ Dyego Souza do Carmo ++ Dep. Desenvolvimento ------------------------------------------------------------------------- E S C R I B A I N F O R M A T I C A ------------------------------------------------------------------------- The only stupid question is the unasked one (somewhere in Linux's HowTo) Linux registred user : #230601 -- ICQ : 221602060 $ look into "my eyes" Phone : +55 041 296-2311 r.112 look: cannot open my eyes Fax : +55 041 296-6640 ------------------------------------------------------------------------- Reply: [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]