Configurare le prestazioni/robustezza del database

MediaMonkey usa il database SQLite per archiviare le informazioni. Il database SQLite è configurato di default per essere molto sicuro anche in caso di guasti software o hardware. Tuttavia, alcuni utenti potrebbero preferire sacrificare un po' di sicurezza e ottenere prestazioni leggermente migliori.

Per tali utenti, la riga indicata di seguito dovrebbe essere aggiunta alla sezione [System] del file MediaMonkey.ini :

[Sistema]
Sicurezza SQLite=x

I valori possibili per x sono 0, 1 o 2:
0 : Più veloce-meno robusto, noto anche come sincrono = OFF.
SQLite continua senza pause non appena ha trasferito i dati al sistema operativo. Se MediaMonkey si blocca, i dati saranno al sicuro, ma il database potrebbe corrompersi se il sistema operativo si blocca o il computer perde potenza prima che i dati siano stati scritti sulla superficie del disco. D'altro canto, alcune operazioni sono fino a 50 o più volte più veloci con questa impostazione.

1 : Medio-molto robusto, noto anche come sincrono=NORMALE.
Il motore del database SQLite si fermerà comunque nei momenti più critici. C'è una possibilità molto piccola (anche se non nulla) che un'interruzione di corrente al momento sbagliato possa corrompere il database. Ma in pratica, è più probabile che si verifichi un guasto catastrofico del disco o qualche altro guasto hardware irrecuperabile.

2 : Lento-estremamente robusto (predefinito), noto anche come sincrono=FULL.
Con un valore di 2, il motore del database SQLite si fermerà nei momenti critici per assicurarsi che i dati siano stati effettivamente scritti sulla superficie del disco prima di continuare. Ciò garantisce che se il sistema operativo si blocca o si verifica un'interruzione di corrente, il database non sarà danneggiato dopo il riavvio. Questa modalità è molto sicura, ma è anche lenta.

Si applica 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

Questo articolo ti è stato utile?