diapositivas sobre como compactar y reparar una base de datos
TRANSCRIPT
![Page 1: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/1.jpg)
COMPACTAR Y REPARAR UNA
BASE DE DATOS
![Page 2: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/2.jpg)
Una herramienta muy útil que
Access nos ofrece y que
podremos utilizar es la
opción compactar y reparar
una base de datos.
![Page 3: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/3.jpg)
![Page 4: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/4.jpg)
El aumento del tamaño no es debido sólo al aumento de la información sino
también a que se va generando espacio utilizado en algún momento pero que
ya no sirve y sigue ocupando espacio en el archivo, este espacio es un espacio innecesario que se puede recuperar al
compactar la base de datos.
![Page 5: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/5.jpg)
Como pudieron observar en la
imagen para utilizar esta
herramienta deberás acceder al
Botón de Office , seleccionar la
opción Administrar y hacer clic
sobre Compactar y reparar base
de datos.
![Page 6: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/6.jpg)
La reparación le permite a Access reorganizar mejor
la información a nivel interno lo que hará que la
base de datos funcione mejor.
![Page 7: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/7.jpg)
Esta herramienta recuerda un
poco al Desfragmentador de
Windows, reorganizando el
archivo y compactándolo
para eliminar huecos y que
funcione mejor.
![Page 8: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/8.jpg)
La compactación
también restablecerá el
orden de los campos
auto numéricos del
final de la tabla .
![Page 9: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/9.jpg)
Por ejemplo imaginemos que tenemos un
campo auto numérico que contiene
registros del 1 al 10 y si borramos los
registros 9 y 10 el siguiente registro
tomaría el valor 11 porque a pesar de
haber eliminado los registros 9 y 10
Access tiene registrado que el 10 ha
sido utilizado y entonces el siguiente
tiene que ser el 11.
![Page 10: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/10.jpg)
Compactando la base de datos, Access
restablecerá el número del último
registro al real, es decir a 8, y por
lo tanto el siguiente registro que
introduzcas tomará el valor 9, pues
es el siguiente libre después del
último registro.
![Page 11: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/11.jpg)
Esta renumeración no afectará a
los huecos generados entre dos
registros existentes, es decir que
si borramos el registro
4, seguirá habiendo un hueco
entre el 3 y el 5.
![Page 12: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/12.jpg)
Reparar y Compactar los
Archivos del Sistema
![Page 13: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/13.jpg)
La herramienta Compactar y
reparar también se encarga
de detectar si un archivo de
Access ha sufrido algún tipo
de daño e intentará
repararlo.
![Page 14: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/14.jpg)
Ejecuta esta herramienta
cuando tu base de datos
actúe de forma
imprevisible o dejen de
funcionar algunas
acciones
![Page 15: DIAPOSITIVAS SOBRE COMO COMPACTAR Y REPARAR UNA BASE DE DATOS](https://reader033.vdocuments.pub/reader033/viewer/2022051016/5598d3fd1a28ab960d8b46f1/html5/thumbnails/15.jpg)
ELABORADO POR: RAFAEL SOSSA Y DAYANA VASQUEZ
PRESENTADO A: JOAN ERIC BERMUDEZ
TECNICOS EN SISTEMAS
SENA
SEPTIEMBRE DE 2013