La descarga está en progreso. Por favor, espere

La descarga está en progreso. Por favor, espere

Base de Datos II Almacenamiento.

Presentaciones similares


Presentación del tema: "Base de Datos II Almacenamiento."— Transcripción de la presentación:

1 Base de Datos II Almacenamiento

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16 Los tipos String de SQL se pueden dividir en 2 tipos:
Largo fijo Largo Variable

17

18

19

20

21

22

23

24

25

26 Y todo esto... Para qué? Un tema siempre presente en las bases de datos dice relación con el “capacity planning”

27 Cálculo de capacidad. The capacity is much more likely to be limited by the size of the disk drives and filesystems you have available to you than by anything else. If your table consists of character strings, then each tuple will consume around 256 bytes of memory, and you will be able to fit on the order of 30 tuples into each 8K page. By default, you can extend a single table file to up to 1GB before it splits off to another piece. That would mean each file can have about 3.9M tuples. From there, you can have as many 1GB pieces as the disk will support. So you could have (plenty * 3.9M tuples), which could add up to be rather large. If you're expecting 50K records, that will be no big deal at all.

28 Capacity Planning (Pregunta)

29 Capacity Planning (Respuesta)

30 Estructura de Índices

31 Qué es un índice? Qué índices conocemos en la vida cotidiana?

32 Qué es un índice? En resumen, un índice es una estructura complementaria, que no constituye parte de los datos o información contenida; pero que ayuda o facilita la búsqueda. Luego, en el contexto de las BD, los índices serán objetos complementarios que deben ayudar la buscar datos en la base. Pero no constituyen datos por si mismos!

33

34

35

36

37

38

39

40

41

42

43

44

45


Descargar ppt "Base de Datos II Almacenamiento."

Presentaciones similares


Anuncios Google