![]() |
![]() |
Submit Database Questions |
|
|
||||
|
Database Technology Updates |
||||
| Crystal Reports Technology Update | ||||
| Database Questions - General and Open Source | Microsoft Databases - Questions |
| Proprietary Databases (Other) - Questions |
|
Interrelated Information Technology |
|
| Crystal Reports Questions | DB2 Questions |
| IMS Questions | Oracle Questions |
The Computer Education Techniques knowledge base is a service for answering questions, inclusive of the research and validation of the accuracy of information in the public domain. Citation of source documentation and examples are used to provide answers to the questions. Utilization of the information of this service and reliance on the answers, information or other materials received through this web site is done at your own risk.
Database Questions - General and Open Source
| Q | I am a new database administrator and the database that I manage appears to have a problem with random bottlenecks. In order to address this issue, I need to become aware of the underlying causes of the locking and blocking. |
| A |
The typical underlying causes
of the bottleneck are:
|
| Q |
What does the term ACID refer to? |
||||||||||
| A |
The acronym ACID stands for atomicity, consistency, isolation, and durability.
|
| Q | What are the ANSI SQL extensions? | |||||||||||||||||||||
| A |
This table includes the most widely extensions.
|
| Q |
Is it necessary to develop a conceptual data model? My project team is already developing logical data models. |
|
Explanation A conceptual data model is a business model; from a data perspective it is not a solution model and is application and technology neutral. A conceptual data model is typically developed in the form of an entity relationship diagram. Its purpose and value is to describe and capture business knowledge from a data perspective, rather than a process. As a business model, it should be reviewed by the business for confirmation or correction. |
|
| A | Unless developing an enterprise logical data model, the logical data model is probably being developed as an implicit solution to the application that is being designed: data warehouse, data mart, ODS: Operational Data Store, transaction processing or other type of application. |
| Q |
Why is it necessary to build a logical data model? |
|
Explanation Good database design starts with a complete picture of the business requirements and should be used for determining an optimal approach for implementation. The most important reason for building a logical data model is to confirm that the users and analysts understand the business requirements and assure that the system to be developed accurately fits the business model. Data elements need to be well organized and structured properly and tables and files will need to be based on screen and report layouts. Failure to build a logical data model, will in all likelihood result in having the design of a new system concentrate on processes and activities with omissions in the data requirements. Designing a model based on physical workflow could result in a model that does not accurately represent the business requirements. The technology of the workflow must not be forced into the physical model. This would result in a database that is missing critical data and which would need to be changed after implementation. |
|
| A |
A logical data model is a foundation for designing a database that supports the business requirements. Logical data modeling provides the analyst with a tool and technique to conduct analysis. |
Microsoft Databases - Questions
| Q | I ran across a road block in
working with FoxPro. I’m trying to insert pictures into a database so that I
can point to them from a report. How did you upload those images that you
had shown us from the other database? Right now I’ve made a separate database with a column designated to photographs. I’ve made this column type a Blob. When I go into the mode to edit the database (the rest of the information I had uploaded) the photo column says that it’s read only. I’ve tried to copy and paste into the box as well as upload an image from the toolbar. Nothing so far has worked. Could you let me know what I can do to resolve this? |
| A |
It will be easier for you to create pictures
using the General column type. In order to use the BLOB, would require some
programming.
Create a database column with the General data type and startup the append mode. Double click on the picture (General) field; a window will appear. Select Edit, Insert Object from the menu. Click on Create from File. Select the picture file that you want in the database and press OPEN. Micrsoft's stated strategic direction with MS Visual FoxPro is that there will be no new versions of FoxPro after version 9. Microsoft has indicated that it will be supporting Visual FoxPro until 2015. |
| Q | I am an experienced database administrator, however, this is the first time I am working with MS SQL Server. Is it possible to create a resource pool for the Resource Governor? What is Database Backup Compression? |
| A1 | It will not be necessary to create a resource pool. Both an internal and default resource pool are created when SQL Server 2008 is installed. However, the Resource Governor does also support user-defined resource pools. |
| A2 | Database Backup Compression provides for the compression of a SQL Server 2008 database backups natively rather than by taking uncompressed native SQL Server database backups or using a third-party tool. By default, database backup compression is turned off in the SQL Server 2008. This feature is only available in the Enterprise Edition of SQL Server 2008. |
| Q | What is SDS: SQL Data Services? | ||||||||||
| A |
SDS: SQL Data Services, which originally was
known as SSDS: SQL Server Data Services, provides scalable, on-demand data
storage and query processing utility services. Released in the fall of 2008,
the latest version of SDS includes additional query support.
|
| Q | What is FILESTREAM? |
| A |
FILESTREAM is a new datatype in SQL Server 2008.
In order to use FILESTREAM, a database needs to contain a FILESTREAM
filegroup and a table which contains a varbinary(max) column with the
FILESTREAM attribute set. This causes the Database Engine to store all data
for that column in the file system, not in the database file.
A FILESTREAM filegroup is a special folder that contains file system directories known as data containers. These data containers are the interface between database engine storage and file system storage. The files in the data containers are maintained by Database Engine. |
| Q |
Are there new date and time data types in SQL Server 2008? |
||||||||||
| A |
Yes. The new date and time data types are:
|
| Q |
What is the difference between ANSI SQL and Microsoft ACCESS SQL? |
||||||||||
| Background There are differences and distinctions in the syntax of SQL: Structured Query Language.
|
|||||||||||
| A |
MS Access database engine SQL is a database query and programming language for accessing, querying, updating, and managing data in relational database systems. MS Access SQL includes reserved words and features not supported in ANSI SQL. It does not support the DISTINCT aggregate function references in ANSI SQL. Significant Differences
Additional Features
|
Proprietary Databases (Other) - Questions
| Q |
What is the difference between the logical data model and physical data model in the CA Erwin software. |
|
Assumptions Entity sets are equivalent
to tables. |
|
| A |
The LDM: Logical Data Model is derived from the CMD: Conceptual Data Model. The CDM consists of the major entity sets and the relationship sets, and does not state anything about the attributes of the entity sets. The LDM consists of the entity sets, their attributes, the relationship sets, the cardinality, type of relationship, etc. The PDM: Physical Data Model consists of the entity, their attributes, the relationship sets, datatype of the columns, the various integrity constraints, etc. Erwin categorizes the conversion / transformation of LDM => PDM as Forward Engineering which is the foundation for generating the code and the conversion of code => PDM => LDM as Reverse Engineering! For all practical purposes, this explanation is independent of the data modeling tool. |