[Php-avanzado] Demasiada data para tan poca tabla !

Omar García Giorgini omar.garcia.giorgini en gmail.com
Vie Sep 2 14:34:51 ART 2016


Hola !

Cómo les va ?
Les comento el problema que me surgió y aunque intenté con soluciones de
foros no logro resolver aún .

El error 1118  de mysql , row size too f****** large

Es una tabla con 79 campos , la mayoria de ellos de tipo text.

Adjunto una copia de la estructura de la tabla, donde se puede ver en
detalle los campos ,etc
Destaco  : ENGINE=InnoDB AUTO_INCREMENT=164 DEFAULT CHARSET=latin1
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;

También intenté con lo siguiente:

   1.

   Add the following to the my.cnf file under [mysqld] section.

   innodb_file_per_table
   innodb_file_format = Barracuda



Gracias a todos. Espero que esto le pueda servir a futuro a alguien.

Saludos ! Omar.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://www3.fi.mdp.edu.ar/pipermail/php-avanzado/attachments/20160902/9f2cf35f/attachment.html>
------------ próxima parte ------------
-- phpMyAdmin SQL Dump
-- version 4.2.12deb2+deb8u1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Sep 02, 2016 at 02:28 PM
-- Server version: 5.5.49-0+deb8u1
-- PHP Version: 5.6.22-0+deb8u1

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `sistema_nuevo_2`
--

-- --------------------------------------------------------

--
-- Table structure for table `proyectos`
--

CREATE TABLE IF NOT EXISTS `proyectos` (
`id` int(16) NOT NULL,
  `tipo` int(11) NOT NULL,
  `denominacion` varchar(255) NOT NULL,
  `codigo` text NOT NULL,
  `cod_proyecto_consolidado` text NOT NULL,
  `area_tematica` varchar(255) NOT NULL,
  `categoria` varchar(255) NOT NULL,
  `resumen` text NOT NULL,
  `fecha_inicio` date NOT NULL COMMENT 'tentativa,la que el docente pone al llenar el formulario',
  `duracion` int(11) NOT NULL,
  `problematica` text NOT NULL,
  `fundamentacion_proyecto` text NOT NULL,
  `fundamentacion_dest` text NOT NULL,
  `antecedentes` text NOT NULL,
  `objetivo_gral` text NOT NULL,
  `estimacion` text NOT NULL,
  `vinculacion` text NOT NULL,
  `capacidad_autosustentacion` text NOT NULL,
  `capacidad_reproduccion` text NOT NULL,
  `impacto_medio` text NOT NULL,
  `interdisciplina` text NOT NULL,
  `integralidad` text NOT NULL,
  `id_dependencia` int(11) NOT NULL,
  `fecha_presentacion` date NOT NULL COMMENT 'fecha en que el docente envia el proyecto',
  `id_estado` int(11) NOT NULL,
  `total_rubros` int(11) NOT NULL,
  `otras_fuentes` text NOT NULL,
  `total` int(11) NOT NULL,
  `equipamiento` text NOT NULL,
  `instalaciones` text NOT NULL,
  `bienes_consumo` text NOT NULL,
  `servicios_no_personales` text NOT NULL,
  `equipamiento_adquirido` text NOT NULL,
  `productos_alimenticios` text NOT NULL,
  `textiles` text NOT NULL,
  `papel` text NOT NULL,
  `combustibles` text NOT NULL,
  `quimicos` text NOT NULL,
  `metalicos` text NOT NULL,
  `minerales` text NOT NULL,
  `mineral_no_metalico` text NOT NULL,
  `otros` text NOT NULL,
  `basicos` text NOT NULL,
  `tecnicos_profesionales` text NOT NULL,
  `comerciales` text NOT NULL,
  `pasajes` text NOT NULL,
  `honorarios` text NOT NULL,
  `bibliografia` text NOT NULL,
  `equipo_tecnico` text NOT NULL,
  `equipo_tecnico_esp` text NOT NULL,
  `equipo_cientifico` text NOT NULL,
  `equipo_cientifico_esp` text NOT NULL,
  `equipo_computacion` text NOT NULL,
  `equipo_computacion_esp` text NOT NULL,
  `mobiliario` text NOT NULL,
  `mobiliario_esp` text NOT NULL,
  `autoevaluacion` text NOT NULL,
  `monto_solicitado` text NOT NULL,
  `otras_fuentes_esp` text NOT NULL,
  `biblio_consultada` text NOT NULL,
  `fecha_estado` date NOT NULL,
  `fecha_aprobacion_ua` date NOT NULL,
  `estado_aprobacion_ua` int(11) NOT NULL COMMENT '1: Con financiacion; 2: Sin financiacion',
  `fecha_aprobacion_uni` date NOT NULL,
  `estado_aprobacion_uni` int(11) NOT NULL COMMENT '1 con financiacion, 2 sin financiacion',
  `devolucion_avalado` text NOT NULL,
  `devolucion_aprobado` text NOT NULL,
  `fecha_finalizado` date NOT NULL,
  `evaluado` tinyint(1) NOT NULL COMMENT 'por unidad academica',
  `edit_avance` tinyint(1) NOT NULL DEFAULT '0',
  `edit_final` tinyint(1) NOT NULL DEFAULT '0',
  `descartado` tinyint(1) NOT NULL COMMENT 'se pone en 1 cuando el creador decide borrarlo de sus borradores',
  `borrador_admin` int(11) NOT NULL,
  `areas_inter` text NOT NULL,
  `info_complementaria` text NOT NULL,
  `cant_dest` text NOT NULL,
  `descripcion_metodologia` text NOT NULL,
  `quien` int(16) NOT NULL,
  `cuando` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=164 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `proyectos`
--
ALTER TABLE `proyectos`
 ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `proyectos`
--
ALTER TABLE `proyectos`
MODIFY `id` int(16) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=164;
DELIMITER $$
--
-- Events
--
CREATE DEFINER=`root`@`localhost` EVENT `evento_diario` ON SCHEDULE EVERY 1 DAY STARTS '2015-10-30 00:00:00' ENDS '2035-10-30 00:00:00' ON COMPLETION PRESERVE ENABLE DO call evento_diario()$$

DELIMITER ;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;


Más información sobre la lista de distribución Php-avanzado