Configurar el rendimiento y la solidez de la base de datos

MediaMonkey utiliza la base de datos SQLite para almacenar información. Esta base de datos está configurada por defecto para ofrecer una gran seguridad incluso en caso de fallos de software o hardware. Sin embargo, algunos usuarios podrían preferir sacrificar un poco la seguridad y obtener un rendimiento ligeramente superior.

Para estos usuarios, se debe agregar la línea indicada a continuación a la sección [Sistema] del archivo MediaMonkey.ini :

[Sistema]
SQLiteSafety=x

Los valores posibles para x son 0, 1 o 2:
0 : Más rápido y menos robusto, también conocido como sincrónico = APAGADO.
SQLite continúa sin pausar una vez que transfiere los datos al sistema operativo. Si MediaMonkey falla, los datos estarán seguros, pero la base de datos podría corromperse si el sistema operativo falla o el ordenador se queda sin energía antes de que los datos se hayan escrito en el disco. Por otro lado, algunas operaciones son hasta 50 veces más rápidas con esta configuración.

1 : Medio-muy robusto, también conocido como sincrónico=NORMAL.
El motor de base de datos SQLite seguirá deteniéndose en los momentos más críticos. Existe una probabilidad muy pequeña (aunque no nula) de que un corte de energía en el momento menos oportuno pueda dañar la base de datos. Sin embargo, en la práctica, es más probable sufrir una falla catastrófica del disco u otra falla de hardware irrecuperable.

2 : Lento-extremadamente robusto (predeterminado), también conocido como sincrónico=COMPLETO.
Con un valor de 2, el motor de base de datos SQLite se pausará en momentos críticos para asegurar que los datos se hayan escrito correctamente en el disco antes de continuar. Esto garantiza que, si el sistema operativo falla o hay un corte de energía, la base de datos no se corromperá tras reiniciar. Este modo es muy seguro, pero también lento.

Se aplica a: ,

Translated automatically (see original)

Configure Database Performance / Robustness

MediaMonkey uses the SQLite database to store information. The SQLite database is by default configured to be very safe even in cases of software or hardware failure. However, some users might prefer to sacrifice a little safety and get slightly improved performance.

For such users, the line indicated below should be added to the [System] section of the MediaMonkey.ini file:

[System]
SQLiteSafety=x

Possible values for x are 0, 1 or 2:
0: Fastest-least robust, also known as synchronous = OFF.
SQLite continues without pausing as soon as it has handed data off to the operating system. If MediaMonkey crashes, the data will be safe, but the database might become corrupted if the operating system crashes or the computer loses power before that data has been written to the disk surface. On the other hand, some operations are as much as 50 or more times faster at this setting.

1: Medium-very robust, also known as synchronous=NORMAL.
The SQLite database engine will still pause at the most critical moments. There is a very small (though non-zero) chance that a power failure at just the wrong time could corrupt the database. But in practice, you are more likely to suffer a catastrophic disk failure or some other unrecoverable hardware fault.

2: Slow-extremely robust (default), also known as synchronous=FULL.
With a value of 2, the SQLite database engine will pause at critical moments to make sure that data has actually been written to the disk surface before continuing. This ensures that if the operating system crashes or if there is a power failure, the database will be uncorrupted after rebooting. This mode is very safe, but it is also slow.

Applies to: ,

Hide original

¿Fue útil este artículo?