[DG: Spanish Sakai] Depurar Espacio
PABLO LEYVA HUGO
hpl at correo.azc.uam.mx
Thu Mar 14 19:44:43 PDT 2013
¡ Hola Lista !
He notado que la base de datos crece cada vez mas al agregar
contenido en recursos. En particular en la tabla
CONTENT_RESOURCE_BODY_BINARY.
Tengo MySQL con Sakai 2.7.0 y 2.8.1
Revise los archivos de la tabla de MySQL y note que si borro un
recurso el archivo NO decrece, sin embargo al agregar un recurso, este
archivo SI Crece.
A nivel sistema operativo obtuve los tamaños de los archivos mas
grandes
[root at localhost sakaiuno]# du -shk *|sort -rn | head
1954668 CONTENT_RESOURCE_BODY_BINARY.MYD
69704 SAM_MEDIA_T.ibd
53080 SAKAI_EVENT.MYD
21532 SAM_ITEMTEXT_T.ibd
17432 SAM_ITEMMETADATA_T.ibd
16404 SST_RESOURCES.ibd
14356 SAM_ANSWER_T.ibd
13332 SST_EVENTS.ibd
13332 SAM_PUBLISHEDITEMTEXT_T.ibd
12304 searchbuilderitem.ibd
Después de borrar algunos recurso quedo así
[root at localhost sakaiuno]# du -shk *|sort -rn | head
1954668 CONTENT_RESOURCE_BODY_BINARY.MYD
69704 SAM_MEDIA_T.ibd
53080 SAKAI_EVENT.MYD
21532 SAM_ITEMTEXT_T.ibd
17432 SAM_ITEMMETADATA_T.ibd
16404 SST_RESOURCES.ibd
14356 SAM_ANSWER_T.ibd
13332 SST_EVENTS.ibd
13332 SAM_PUBLISHEDITEMTEXT_T.ibd
12304 searchbuilderitem.ibd
Después de agregar unos recursos
[root at localhost sakaiuno]# du -shk *|sort -rn | head
1957508 CONTENT_RESOURCE_BODY_BINARY.MYD
69704 SAM_MEDIA_T.ibd
53092 SAKAI_EVENT.MYD
21532 SAM_ITEMTEXT_T.ibd
17432 SAM_ITEMMETADATA_T.ibd
16404 SST_RESOURCES.ibd
14356 SAM_ANSWER_T.ibd
13332 SST_EVENTS.ibd
13332 SAM_PUBLISHEDITEMTEXT_T.ibd
12304 searchbuilderitem.ibd
Como se observa la tabla crecio al agregar recursos nuevos, pero no se
redujo al eliminar recursos.
¿ Cómo le puedo hacer para depurar el espacio después de borrar algún
recurso ?
Esto para evitar que se me termine el espacio en disco
¡ Gracias !
M en C Hugo PabloLeyva
Profesor Departamento de Sistemas
UAM Azcapotzalco
-------------------------------------------------------------------
Visita la pagina de la UAM Azcapotzalco (http://www.azc.uam.mx).
Este mensaje y sus anexos pueden contener informacion confidencial. Si
usted no es el destinatario de este mensaje, se le notifica que cualquier
revision, retransmision, distribucion, copiado u otro uso o acto realizado
con base en o relacionado con el contenido de este mensaje y sus anexos,
estan prohibidos. Si usted ha recibido este mensaje y sus anexos por error,
le suplicamos lo notifique al remitente respondiendo el presente correo
electronico y borre el presente y sus anexos de su sistema sin conservar
copia de los mismos. Muchas gracias.
This message and the attachments to it may contain information which is
confidential. if your are not the intended recipient(s) for this message,
you are on notice that any review, retransmission, dissemination,
distribution, copying orother use or taking any action based upon or
relative to the information contained in this message and its attachments,
is prohibited. If you are not the intended recipient(s) of this message or
its attachments, please immediately advise the sender by reply e-mail and
delete this message and its attachments from your system without keeping a
copy. Thank you.
----- Terminar mensaje reenviado -----
-------------------------------------------------------------------
Visita la pagina de la UAM Azcapotzalco (http://www.azc.uam.mx).
Este mensaje y sus anexos pueden contener informacion confidencial. Si
usted no es el destinatario de este mensaje, se le notifica que
cualquier revision, retransmision, distribucion, copiado u otro uso o
acto realizado con base en o relacionado con el contenido de este
mensaje y sus anexos, estan prohibidos. Si usted ha recibido este
mensaje y sus anexos por error, le suplicamos lo notifique al
remitente respondiendo el presente correo electronico y borre el
presente y sus anexos de su sistema sin conservar copia de los mismos.
Muchas gracias.
This message and the attachments to it may contain information which
is confidential. if your are not the intended recipient(s) for this
message, you are on notice that any review, retransmission,
dissemination, distribution, copying orother use or taking any action
based upon or relative to the information contained in this message
and its attachments, is prohibited. If you are not the intended
recipient(s) of this message or its attachments, please immediately
advise the sender by reply e-mail and delete this message and its
attachments from your system without keeping a copy. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/spanish-sakai/attachments/20130314/48bdc4da/attachment.html
More information about the spanish-sakai
mailing list