Free Essay

Data Base

In:

Submitted By solorzano
Words 1102
Pages 5
Fundamentos Base de Datos

1. Aplicaciones de los sistemas de datos:

Las bases de datos son muy usadas y las mas significativas son:

• Banca • Líneas aéreas • Universidades • Producción • Recursos humanos • Telecomunicaciones • Tarjetas de crédito • Finanzas • Ventas

El uso de base de datos en estas áreas es esencial y hoy la mayoría de las empresas tienen base de datos.
Desde los inicios del internet, una de las cosas mas importantes es tener bases de datos porqué te reduce trabajo y hace mejor las cosas, como por ejemplo las librerías, las consultas de estados de cuenta en un banco, etc.

2. Sistemas de Base de Datos Frente a Sistemas de Archivos

Para poder cambiar y modificar la información, el sistema debe tener ciertas aplicaciones de un sistema operativo convencional que permite crear nuevos archivos o modificarlos, y para este proceso de almacenamiento se necesita mantener la información en un sistema de procesamiento.
Los inconvenientes son :

• Redundancia e inconsistencia de datos • Dificultad de acceso a los datos • Anomalías en el acceso recurrentes • Aislamiento de datos • Problemas de integridad (restricciones de consistencia) • Problemas de atomicidad (sujetas a fallo) • Problemas de seguridad

3. Visión de los Datos

Un sistema de bases de datos es una colección de archivos interrelacionados y un conjunto de programas que permitan a los usuarios acceder y modificar estos archivos. Uno de los propósitos principales de un sistema es dar una imagen de los datos.

los desarrolladores esconden la dificultad a los usuarios a través de varios niveles de abstracción para que entiendan mejor la interacción de los usuarios con el sistema:

• Nivel físico • Nivel lógico • Nivel de vistas

En el almacenamiento se deben insertar y borrar nuevas funciones por lo que crearon 2 tipos, uno cuando es solo un momento particular que se llama EJEMPLAR, y cuando es de toda la base se llama ESQUEMA.

4. Modelos de los Datos

• Modelo entidad-relación: se basa en la colección de datos básicos (entidades) y de relaciones con estos objetos. En una estructura lógica E-R consta de :

▪ Rectángulos: entidades ▪ Elipses: atributos ▪ Rombos: relación entre conjuntos y entidades ▪ Líneas: une atributos con conjuntos de entidades y éstos con las relaciones

• Modelo racional: Usa tablas para representar los datos y las relaciones entre ellos; es un modelo basado en registros, es decir que se estructura en un formato fijo de varios tipos.

• Otros modelos de datos: Modelo de datos orientado a objetos, Modelo de datos relacionado orientado a objetos, modelo de datos de red, modelo de datos jerárquico y modelo semi-estructurados.

5. Lenguajes de Bases de Datos

Un sistema de bases de datos proporciona un lenguaje de definición de datos para especificar el esquema de la base de datos y un lenguaje de manipulación de datos para expresar las consultas a la base de datos y las modificaciones.

El cambio en los datos es: • La recuperación de información almacenada en la base de datos. • La inserción de información nueva en la base de datos. • El borrado de información de la base de datos. • La modificación de información almacenada en la base de datos.

El acceso a base de datos desde programas de aplicación: son los que se usan para interaccionar con las bases de datos.

6. Usuarios y Administradores de la Base de Datos

Hay cuatro tipos diferentes de usuarios de un sistema de base de datos, diferenciados por la forma en que ellos esperan interactuar con el sistema. Se han diseñado diferentes tipo de interfaces de usuario para diferentes tipos de usuarios:

• Usuarios normales : Son usuarios no sofisticados que interactúan con el sistema mediante la invocación de alguno de los programas de aplicación permanentes que se ha escrito previamente. • Programadores de aplicaciones: profesionales informáticos. Utilizan Desarrollo Rápido de Aplicaciones que permiten construir formularios e informes sin escribir un programa • Usuarios sofisticados: interactúan con el sistema sin programas escritos, forman sus consultas por el programador de consultas transforman las instrucciones de LMD a el que el gestor de almacenamiento entienda. • Usuarios especializados: escriben aplicaciones fuera del procesamiento de datos tradicional; son sistemas mucho más complejos.

Funciones principales: • Definición del esquema: crear el esquema original • Definición de la estructura y del método de acceso • Modificaciones del esquema y de la organización física: permite reflejar las necesidades cambiantes de la organización.

7. Gestión de Transacciones

La atomicidad es que la transferencia de fondos debe ocurrir por completo o no ocurrir en absoluto.
La consistencia es que la ejecución de la transferencia de fondos preserve la consistencia de la base de datos.
La durabilidad es que los nuevos valores de las cuentas A y B deben persistir, a pesar de la posibilidad de fallo del sistema.
Una transacción es una colección de operaciones que se lleva a cabo como una única función lógica en una aplicación de bases de datos.

8. Estructura de un Sistema de base de Datos

Un gestor de almacenamiento es un modulo de programa que proporciona la interfaz entre los datos de bajo nivel en la base de datos y los programas de aplicación y consultas emitidas al sistema.
Estos componentes del gestor de almacenamiento tienen que tener varias cosas como:

• Gestor de autorización e integridad ▪ Archivos de datos ▪ Diccionario de datos ▪ Índices • Gestor de transacciones • Gestor de archivos • Gestor de memoria intermedia

Los componentes del procesador de consultas tienen:

• Interprete del LDD • Compilador del LMD • Motor de evaluación de consultas

9. Arquitecturas de Aplicaciones

Las aplicaciones de bases de datos se dividen usual- mente en dos o tres partes.

• En 2 partes : La aplicación se divide en un componente que esta en la maquina cliente, que llama al sistema de bases de datos en la maquina servidor por medio de instrucciones del lenguaje de consultas. • En 3 partes: la maquina cliente se comporta como frontal y no tiene ninguna llamada directa a la base de datos. En su lugar, el cliente se comunica con un servidor de aplicaciones, usualmente mediante una interfaz de formularios.

Las de 3 partes siempre son mejores para el internet WWW por sus aplicaciones.

10. Historia de los Sistemas de Base de Datos

• 1950 a 1960: Cintas magnéticas guardaban los datos, leer los datos de una cinta y escribirlos en una nueva cinta. • 1960 a 1970: Uso de discos fijos permitiendo el acceso directo a los datos. Se desarrollaros bases de datos de red y jerárquicas, haciéndose listas y árboles para almacenar en discos, • 1980: el mas importante objetivo era el procesamiento de transacciones. • 1990: Lenguaje SQL que ayuda a la toma de decisiones, intensivas en consultas, análisis de grandes cantidades de datos. • Finales de 1990: World Wide Web, soporte para transacciones más alta, fiabilidad y disponibilidad.

Similar Documents

Free Essay

Data Base

...Metadata CustTable Central client register table. Statistic and setup values are defined in this table. | Field name | Data type | Field description | AccountNum | NUMBER(5,0) | Unique identifier of a customer | Name | VARCHAR2(50) | Name of the customer. This name is printed on documents, such as invoices and account statements. | InvoiceAccount | NUMBER(5,0) | Invoice account, to which the customer is linked. The invoice account is the account to which the invoice amount is debited. In the event there is not a specific invoice account, the customer’s account is used in this field. | CrediMax | NUMBER(8,0) | Maximum amount that the selected customer is allowed to have as an outstanding account balance.This amount is always stated in the default currency of the customer. | CountryRegionId | INTEGER | Country/region of the customer address. | Address1 | VARCHAR2(100) | First part of street or postal address line | Address2 | VARCHAR2(100) | Second part of street or postal address line | City | VARCHAR2(50) | City of the customer address | ZIpCode | VARCHAR2(5) | Postal/ZIP code of the customer address. This code is often used for searching and sorting. | State | VARCHAR2(2) | State of the customer address. This field is often used for searching and sorting. | Telephone | VARCHAR2(20) | Customer’s contact telephone number | PaymMode_Typical | INTEGER | Stored, typical payment mode of the customer. Related to PaymMode table | LineOfBusinessID | INTEGER...

Words: 799 - Pages: 4

Premium Essay

Data Base

........................................................................................................................... 2 INTRODUCTION ................................................................................................................................... 2 DATABASE MANAGEMENT SYSTEMS .................................................................................................. 2 Database ......................................................................................................................................... 2 Database Management System (DBMS) ......................................................................................... 2 Schemas, Instances and Data Independence.................................................................................. 3 DATA MODELS..................................................................................................................................... 3 Hierarchical Model .......................................................................................................................... 3 Network Model ............................................................................................................................... 4 Relational Model ............................................................................................................................. 5 CHAPTER 2 ..................................................................................................................

Words: 4347 - Pages: 18

Free Essay

Data Bases (Spanish

...Fundamentos Base de Datos 1. Aplicaciones de los sistemas de datos: Las bases de datos son muy usadas y las mas significativas son: • Banca • Líneas aéreas • Universidades • Producción • Recursos humanos • Telecomunicaciones • Tarjetas de crédito • Finanzas • Ventas El uso de base de datos en estas áreas es esencial y hoy la mayoría de las empresas tienen base de datos. Desde los inicios del internet, una de las cosas mas importantes es tener bases de datos porqué te reduce trabajo y hace mejor las cosas, como por ejemplo las librerías, las consultas de estados de cuenta en un banco, etc. 2. Sistemas de Base de Datos Frente a Sistemas de Archivos Para poder cambiar y modificar la información, el sistema debe tener ciertas aplicaciones de un sistema operativo convencional que permite crear nuevos archivos o modificarlos, y para este proceso de almacenamiento se necesita mantener la información en un sistema de procesamiento. Los inconvenientes son : • Redundancia e inconsistencia de datos • Dificultad de acceso a los datos • Anomalías en el acceso recurrentes • Aislamiento de datos • Problemas de integridad (restricciones de consistencia) • Problemas de atomicidad (sujetas a fallo) • Problemas de seguridad 3. Visión de los Datos Un sistema de bases de datos es una colección de archivos interrelacionados y un conjunto de programas que permitan a los usuarios acceder...

Words: 1102 - Pages: 5

Premium Essay

Good Data Base

...1. Poor information is the quickest way to ruin a good database. The case says that data visualization is used for contextualizing the data. Companies will use data visualization to give the date they are showing emotional impact. One place where data visualization is currently being used to is monitor what is being talked about on social media. Digg is a populat website right now delivers the most talked about new stores. You are able to read news stories and shoare them at your computer, on your phone, or tablet. You also get daily emails with popular stories. Stack is a program that creates a data visualization of the stories that are on Digg. Stories drop into a graph and as the topic gets more hits, the bar on the graph grows. Below is an picture of Stack. All Stack is showing is what topics are being looked at, and the amount of times a topic is being accessed. This give the viewer of this data visualization information about what people are interested in currently. This is helpful data that is easy to read. If the devlopers of this program would of put poor inofmation, or unneeded information into this data visualization, it would have become much more confusing, and it would no longer be a beneficial to the viewer. This data visualization is quick and easy to view and come to a conclusion on. Poor data just confuses the person who is using the visualization to gain information. At my last job my bosses loved seeing an overview of the different departments...

Words: 553 - Pages: 3

Free Essay

Data Base Esign

...Stephen Favor (CPD121) Assignment Lab 2-3 TR10 1. What is an entity? * An entity is something about which we want to keep data. There are physical entities; something physical in our universe (e.g., a person, place, thing, etc.). There is also a logical entity; something non-physical (e.g., a relationship).Three examples of an entity could be a gun, Airline, and a camera. 2. What is a relationship? * A relationship is a logical connection between records from two or more tables. All relationships can be categorized as one-to-one, one-to-many, or many-to-many. An example of a one-to-many relationship would be a pet store owner and the pets. The Pet Store owner (parent) represents the one, and the pets (children), represent the many. That is given the assumption that the store is owned by a single entity. The Pet Store can have many pets, but the pets can’t belong to many stores. * An example of a many-to-many is brand names-to-cookies. There are many brand names and there are many types of cookies. A brand can make many types of cookies and a cookie type can be made by many different brands. 3. What is an attribute? * An attribute is a property or characteristic of an entity. Three entities and their attributes are (A) gun (make, model), (B) airline (name, model), and (C) A camera (make, type). Part Two 3. What column or columns should be selected as the primary key to best meet the desired properties for a primary key in exhibit 2-17? * I chose...

Words: 483 - Pages: 2

Free Essay

Data Base Management

...1. Data dependence Data illustration incorporates with the requisition function. If there is alteration in the Data, then also there is a difference in the application function. Data independence Data depiction incorporates with operation function. If there is a transition in the Data, it won’t cause a shift in the application program. 2. Structured data It is established data which could efficiently be reclaimed and reserved in the databases as well as warehouses. It assign to the substantial case of the user's situation such as phenomenon and development. Unstructured data It consists of combined use of several media data like pictures, sounds, and video clips. Then, it is reserved as the element of the user's field situation 3. Data It is the illustration of articles and episode which are reserved and acknowledged in the system. It persists in a array of form such as numeric, symbols, 3RQ variables, and so on. For example, database in dr's clinic will have information such as patient name, address, diagnosis, symptoms, and phone number. Information These are the refined data which elevates the information of the specific using it. Data are worthless in their current prospective from so it is pre-refined and illustrated as the information to the user 4. Repository It is the rationalised reserved area for data meaning, table, data relationships and other parts of data system. It encloses...

Words: 689 - Pages: 3

Free Essay

Spanner, Google Data Base

...by google. It is a distributed relational database that can distribute and store data in google’s big table storage system in multiple data centers. Spanner is Google’s scalable, multi-version, globally distributed, and synchronously-replicated database. It is the first system to distribute data at global scale and support externally-consistent distributed transactions. Spanner provides the scalability that enables you to store a few trillion database rows in millions of nodes distributed to hundreds of data centers. When you read data, spanner connects you to data center that is geographically closest and similarly when we write the data, it distributes and stores it to multiple data centers. If in case the data center we try to access has a failure we can read the data from another data center that has a replica of the data. Replication is used for global availability and geographic locality clients automatically failover between replicas. Applications can use spanner for high availability even in the face of wide-area natural disasters, by replicating their data within or even across continents. Spanner’s main focus is managing cross-datacenter. Many applications at google have chosen to use Megastore because of its data model and support for synchronous replication despite poor throughput. Applications can specify con-straints to control which datacenters contain which data, how far data is from its users how far replicas are from each other an how many replicas are...

Words: 2222 - Pages: 9

Premium Essay

Data Base

...ΣΤΑΥΡΟΠΟΥΛΟΣ ΒΑΣΙΛΕΙΟΣ-ΟΡΕΣΤΗΣ (ΑΜ : 3070249) ΕΡΩΤΗΜΑ Α 1. SELECT FirstName,LastName FROM Employees WHERE SUBSTRING ( LastName, 1 , 1 )>= 'F' AND SUBSTRING ( LastName, 1 , 1) = 2; 2. SELECT City, COUNT(DISTINCT EmployeeID) AS NumberOfEmployees FROM Employees WHERE Title = 'Sales Representative' GROUP BY City HAVING COUNT(EmployeeID) > = 2 ORDER BY NumberOfEmployees ΕΡΩΤΗΜΑ Γ 1. SELECT o.OrderID, n.ContactName, e.FirstName AS EmployeeFirstName, e.LastName AS EmployeeLastName, o.OrderDate FROM Orders o JOIN Employees e ON (e.EmployeeID = o.EmployeeID) JOIN Customers n ON (n.CustomerID = o.CustomerID) WHERE o.OrderDate > '1998-03-01' ORDER BY n.ContactName; 2. SELECT COUNT(DISTINCT Employees.EmployeeID) AS NumberOfEmployees, ISNULL(Employees.Country, 'None.') AS Country, COUNT(DISTINCT Customers.CustomerID) AS NumberOfCustomers, Customers.Country FROM Employees RIGHT JOIN Customers ON Employees.Country = Customers.Country GROUP BY Customers.Country, Employees.Country ORDER BY NumberOfEmployees DESC, NumberOfCustomers DESC; ΕΡΩΤΗΜΑ Δ 1. SELECT Address, Code, Country FROM Suppliers UNION SELECT Address, Code, Country FROM Customers UNION SELECT Address, Code, Country FROM Employees ORDER BY Country; 2. SELECT AVG(OD.Quantity) AS AverageQuantity, SUM(OD.Quantity * OD.UnitPrice) AS TotalOrderAmount, DATEDIFF(yy, e.BirthDate, e.HireDate) AS HireAge FROM [Order Details] OD JOIN Orders o ON ( OD.OrderID =O.OrderID) JOIN Employees...

Words: 298 - Pages: 2

Free Essay

Data Base

...Week 1 Relational Database Creation Anita A Basdeo XACC/210 November 9, 2014 DONNA TENNYSON In this paper I will be creating a relation database from Scratch, it will show you the table that have common keys filed. Referring to chapter Four In order to create a relation database we have to make sure that we “enables designers to identify relationships at the time the database is first created, or later, as users discover new informational requirements in the future”. Furry Friend Foundation has been keeping its records on 4 × 6 cards. Over the years, the foundation has had requests from contributors for year-end statements that document their donations to the Foundation for tax purposes. (Usually, donations are given with a particular type of animal in mind—for example, ‘‘for dogs.’’) Now that the number of contributors exceeds 500, the president has decided to develop a database to handle the foundation’s accounting and reporting needs. The following is a sample of some of the records at FFF Table 1 | FFF CONTRIBUTOR FILE | | | LAST NAME | FIRST NAME | STREET ADDRESS | CITY | STATE | Basdeo | Anita | 97 14 129 Street | Richmond Hill | NY | Smythe | Jonathan | 1845 Backpack Lane | Franktown | NV | Lawewnce | Marie | 9190 Teepee Road | Doolittle | NV | Funky | Robert | 5815 Pearly Gate Lane | Happiness...

Words: 382 - Pages: 2

Premium Essay

Data Base

...understanding of how SQL works. •Lots of examples with SQL using MySQL that make understanding the process of contructing SQL queries easy and also using MySQL and to illustrate the mechanism of storing and retrieving information from databases. (If you find any errors, please send me an email and I'll promptly set it right. If there's something you'd like to see here let me know too.) -------------------------------------------------------------------------------- What's a database ? A database is a collection of data organized in a particular way. Databases can be of many types such as Flat File Databases, Relational Databases, Distributed Databases etc. -------------------------------------------------------------------------------- What's SQL ? In 1971, IBM researchers created a simple non-procedural language called Structured English Query Language. or SEQUEL. This was based on Dr. Edgar F. (Ted) Codd's design of a relational model for data storage where he described a universal programming language for accessing databases. In the late 80's ANSI and ISO (these are two organizations dealing with standards for a wide variety of things) came out with a standardized version called Structured Query Language or SQL. SQL is prounced as 'Sequel'. There have been several versions of SQL and the latest one is SQL-99. Though SQL-92 is the current...

Words: 6659 - Pages: 27

Premium Essay

Data Base

...Phoenix Material Determining Databases and Data Communications Read Scenario 1 and Scenario 2 below. Write a paper of no more than 1,500 words in which you respond to the questions designated for both scenarios. Scenario 1: You are a marketing assistant for a consumer electronics company and are in charge of setting up your company’s booth at trade shows. Weeks before a show, you meet with the marketing managers and determine what displays and equipment they want to display. Then, you identify each of the components that need to be shipped and schedule a shipper to deliver them to the trade show site. You then supervise trade show personnel as they set up the booths and equipment. After the show, you supervise packing the booth and all the equipment as well as schedule its shipment back to your home office. When the equipment arrives, you check it into your warehouse to ensure that all pieces of the booth and all the equipment are returned. If there are any problems due to shipping damage or loss, you handle those problems. Your job is important; at a typical show you are responsible for more than a quarter-million dollars of equipment. • In Scenario 1: o You need to track data about booth components, equipment, shippers, and shipment. List typical fields for each type of data. Provide an example of two relationships that you need to track. o Do you need a database system? If not, can Excel® handle the data and the output? What are the advantages and...

Words: 436 - Pages: 2

Premium Essay

Data Base Concepts

...Jonathan Hindman PT2520 Chapter 4 10/18/13 Cardinality: Cardinality refers to the number of allowed instances of a relationship. In the usual cardinality of one to many, for instance, each record on the one side can have zero to any number of records on the many side. Cardinality can be more specific however. Each patron at a library can have only 20 items checked out at once. This has a cardinality of 0 to 20. Composite keys: In database design, a compound key is a key that consists of 2 or more attributes that uniquely identify an entity occurrence. Each attribute that makes up the compound key is a simple key in its own right. Crow’s feet notation: A type of notation for entity relationships in entity relation diagrams that depicts the many side of a relationship with a three-pronged end called a “crows foot.” This type of notation provides more information about the cardinality of a relationship than the arrow notation for relationships. Domain entities: Those database entities that relate directly to the business problem under consideration. Entity relation diagrams: A diagram that shows entities, their attributes, and the relationships among them. Linking entity: An entity used to resolve a many-to-many relationship into two one-to-many relationships. Logical entity: The design of a database without regard to the physical implementation of the database. Lookup entity: An entity used to store lookup values such as state names or zip codes. Maximum cardinality:...

Words: 1477 - Pages: 6

Premium Essay

Data Base Project

...Abstract In this paper, it will define personal motivation of each employee of the organization or business. The discussion is a brief description of both situations and why he or she would be motivated or unmotivated. The next part of the paper defines how the situation aligns with the various motivational theories. Then the next part defines the specific motivational technique (if any) was at play in the motivational situation. In the case of an unmotivated situation and what technique should be implemented to correct the issue. Personal Motivation A personal motivation starts out with the employer or the organization, which that he or she works for. The personal motivation various theories are about people who have good or bad attitudes about the organization or workplace. Personal motivation is “fundamental to his or hers personal success both in sales and in general life. Given its obvious importance he or she think that people would be experts on motivating themselves wouldn’t people” (Ingram, 2007, p. 1). Motivated and Unmotivated The first topic to explain is a brief description of both situations and motivated and unmotivated. The word motivated means to set goals for the workplace so the employees can look forward to something at the end of the year or quarter. In any business trying to motivate employees could be a difficult task because some employees in general work hard for the...

Words: 977 - Pages: 4

Premium Essay

Data Base Mgmnt

...1. How important are accurate data for on-line businesses? Accuracy of data is very important for on-line businesses because if the data is at risk it is difficult to manage or handle .The data should be accurate, complete, easily accessible, consistent and relevant as all these characteristics of data promote revenues for the businesses. For example in the case of Media Tech Direct Works it uses the customer contact information i.e. addresses, phone numbers and e-mail addresses to establish points of contacts with its customers and these links has provide sales opportunities and profits for the company. 2. Is technology sufficient to guarantee that data errors will not occur? If not, then what other factors should a business need to consider? Technology helps the organizations to manage their data but it is not sufficient to guarantee that the data errors will not occur because the data degrades over the period of time. In the case of Media Tech they faced the same problem, the customer data was degrading as it was incomplete or obsolete. The factors that a business need to consider is data –scanning and data –matching, with this system the company would be able to identify redundant, fragmented and incorrect data and clean them from the data warehouse. 3. Provide examples of cost savings that can be achieved by reducing data errors? An example of cost saving that can be achieved by reducing data errors is that a business can save more than $250,000 annually by...

Words: 262 - Pages: 2

Premium Essay

Data Base Administrator

...Chapter 1 | | stare decisis | A common law doctrine under which judges are obligated to follow the precedents established in prior decisions. | adjudicate | To render a judicial decision. In the administrative process, adjudication is the trial-like proceeding in which an administrative law judge hears and decides issues that arise when an administrative agency charges a person or a firm with violating a law or regulation enforced by the agency. | administrative agency | A federal or state government agency established to perform a specific function. Administrative agencies are authorized by legislative acts to make and enforce rules in order to administer and enforce the acts. | administrative law | The body of law created by administrative agencies (in the form of rules, regulations, orders, and decisions) in order to carry out their duties and responsibilities. | administrative law judge (ALJ) | One who presides over an administrative agency hearing and has the power to administer oaths, take testimony, rule on questions of evidence, and make determinations of fact. | administrative process | The procedure used by administrative agencies in the administration of law. | Bill of Rights | The first ten amendments to the U.S. Constitution. | binding authority | Any source of law that a court must follow when deciding a case. Binding authorities include constitutions, statutes, and regulations that govern the issue being decided, as well as court...

Words: 1324 - Pages: 6