Soy el fundador de Dataprix, y doy la bienvenida a todos los visitantes del portal, y os animo a registraros y participar.

A nivel profesional soy Ingeniero Informático, con muchos años de experiencia en entornos de bases de datos y Business Intelligence, y bastantes kilómetros hechos ya con herramientas como Cognos, MicroStrategy, SQL Server Integration Services, PowerBI o Tableau.

Últimamente experimentando con Python.

e-mail de contacto
carlos.fernandez@dataprix.com

Member for

18 years 8 months

Publicaciones

  • Defragment to optimize MySQL tables

     

    In MySQL, when you delete records from a table, space is reallocated automatically. It is as empty space and forming new attachments will advantage.

    The problem is that if a table perform many DELETE operations, the physical space of the table will become increasingly fragmented and the performance is reduced.

    In the MyISAM and InnoDB, OPTIMIZE TABLE command available to perform an optimization on any table that, among other things, performs an automatic defragmentation of the table.

    It is highly recommended to use this command regularly especially on tables that are more statements of disposal of records.

    As a precaution, keep in mind that during implementation, of course, the table is blocked. You have to remember when you are going to use with large tables and busy.

    Supersimples The syntax is:

     

    OPTIMIZE [NO_WRITE_TO_BINLOG | LOCAL] TABLE mi_tabla1 [, mi_tabla2] ...;
    

    To make a fragmented table optimization can be selected to have free space, probably as a result of DELETE statements:

  • Defragmentar tablas para optimizar MySQL

    Con MySQL, cuando se eliminan registros de una tabla, el espacio no se reasigna automáticamente. El problema de esto es que si en una tabla se realizan operaciones de DELETE, el espacio físico de la tabla va quedando cada vez más fragmentado. En MySQL, disponemos del comando OPTIMIZE TABLE para poder realizar sobre cualquier tabla una optimización que, entre otras cosas, realiza una defragmentación automática de la tabla..

  • Migliorare le prestazioni di MySQL, regolando alcuni parametri

    MySQL, come la maggior parte dei gestori di database, può facilmente modificare i parametri che le dimensioni della memoria di controllo impegnati in alcuni compiti, utilizzo delle risorse, limiti la concorrenza, ecc

    Regolando opportunamente questi parametri si possono ottenere miglioramenti di performance molti, specialmente se il server / s del database non si tratta di risorse, e se l'ottimizzazione SQL non può essere migliorata di più.

    Ho recentemente fatto alcune impostazioni di base in un database MySQL, quindi colgo l'occasione per spiegare alcuni dei processi che ho seguito per coloro che cercano un modo semplice per fare una prima ottimizzazione dei parametri nel database. Questo non vuol dire che questo è il modo migliore per fare proprio questo a me ha funzionato bene;)

    Il primo commento che può essere molto utile per guardare in phpMyAdmin all'informazione Mostra le sezioni 'su runtime di MySQL' e 'Visualizza variabili di sistema di MySQL', normalmente accessibili dalla home page dell'applicazione.

    Le prime informazioni display e statistiche raccolte e mantenuto il sistema dal suo inizio. Prestare particolare attenzione ai valori delle variabili sono mostrati in rosso, e la consulenza fornita alla destra di questi valori.

  • Millora de rendiment de MySQL ajustant alguns paràmetres

    MySQL, igual que la majoria de gestors de bases de dades, permet modificar fàcilment els seus paràmetres que controlen mides de memòria dedicats a determinades tasques, utilització de recursos, límits de concurrència, etc.

    Ajustant adequadament aquests paràmetres es poden obtenir moltes millores de rendiment, sobretot si el servidor / s de la base de dades no va sobrat de recursos, i si per la part d'optimització SQL no es pot millorar molt més.

    Jo fa poc he fet alguns ajustaments bàsics en una base de dades MySQL, així que vaig aprofitar per explicar una mica el procés que he seguit per a qui busqui una manera senzilla de fer una primera optimització de paràmetres a la base de dades. Amb això no vull dir que aquesta sigui la millor manera de fer-ho, només la que a mi m'ha resultat bé;)

    El primer comentar que pot ser molt útil fer una ullada dins de phpMyAdmin a les seccions 'Mostra informació de temps d'execució de MySQL' i 'Mostra les variables del sistema MySQL', normalment accessibles des de la pàgina principal de l'aplicació.

  • Infografias sobre twitter

    Infografia sobre TwitterInteresante infografia sobre Twitter que muestra los datos más relevantes en cuanto a usuarios, volumen, movimiento, etc., que fueron obtenidos de la presentación que Ev. Williams, CEO de Twitter, realizó en Chirp, la conferencia de Desarrollo de Twitter.

    Me gusta porque la presentación de los datos sigue perfectamente el 'estilo Twitter', no hace falta leer el título para intuir sobre quién son los datos que muestra..

     

  • Improve MySQL performance by adjusting some parameters

    MySQL, like most database managers, can easily modify the parameters that control memory sizes engaged in certain tasks, resource utilization, concurrency limits, etc.

    Properly adjusting these parameters can be obtained many performance improvements, especially if the server / s of the database is not about resources, and if the SQL optimization can not be improved more.

    I've recently made some basic settings in a MySQL database, so I take this opportunity to explain some of the process I followed for those who seek an easy way to make a first optimization of parameters in the database. This is not to say that this is the best way to do just that to me has worked out well;)

    The first comment that can be very helpful to look in phpMyAdmin to the sections 'Show information about MySQL runtime' and 'Show MySQL system variables', normally accessible from the home page of the application.

    The first displays information and statistics collected and maintained the system since its beginning. Pay special attention to the values of variables that are displayed in red, and the advice provided to the right of these values.

    Please refer to the variables used to determine the current values of the parameters that could later be modified to improve performance.