Академический Документы
Профессиональный Документы
Культура Документы
iii) Used for Business intelligence. The goal is to enable better, more
informed, and faster decisions. Hence any discussion of real-time business
intelligence must be in the context of how close to real time the information
must be to support those decisions. What constitutes real-time information
can vary widely for different business activities, even within a single
enterprise. So SQL is used.
v) Accessing SQL Server Databases with PHP used for accessing sql
for making websites. The SQL Server 2005 Driver for PHP is a
Microsoft-supported extension of PHP 5 that provides data access to SQL
Server 2005 and SQL Server 2008. The extension provides a procedural
interface for accessing data in all editions of SQL Server 2005 and SQL
Server 2008. The SQL Server 2005 Driver for PHP API provides a
comprehensive data access solution from PHP, and includes support for
The Relational Model is a clean and simple model that uses the concept of a
relation using a table rather than a graph or shapes. The information is put
into a grid like structure that consists of columns running up and down and
rows that run from left to right, this is where information can be categorized
and sorted.
The Relational Model can often also include concepts known commonly
as foreign keys, foreign keys are primary keys in one relation that are
kept in another relation to allow for the joining of data.
Ans: Yes, Different databases have their own components for performing
different applications. Oracle, sql server db2 etc are the databes packages
that contain some set of features which are common in all and other feature
that distinguishes it from other.
Architecture of oracle:
The Physical Layer: The physical layer of the database consists of three
types of files:
• One or more datafiles-
The Logical Layer: The logical layer of the database consists of the
following elements:
Oracle Processes
• Server Processes (Shadow Processes)
• Background Processes
Architecture of SQL
Each instance of SQL Server has four system databases (master, model,
tempdb, and msdb) and one or more user databases. Some organizations
have only one user database, containing all the data for their organization.
Some organizations have different databases for each group in their
organization, and sometimes a database used by a single application.
SQL Server allows you to detach databases from an instance of SQL Server,
then reattach them to another instance, or even attach the database back to
the same instance. If you have a SQL Server database file, you can tell SQL
Server when you connect to attach that database file with a specific
database name.
Hardware considerations
Disk Tuning
Operating system
Data Collection
Memory-backed File Systems: One option, if your server has a lot of RAM, is to
modify the OpenNMS startup scripts to maintain a memory-backed file
system, combined with automatic backups and restores that handle any
internally decided risk levels/SLAs.
So it is necessary to install in separate file.
Fixed database roles can be mapped to the more detailed permissions that
are included in SQL Server. Fixed database roles are provided for
convenience and backward compatibility. Assign more specific permissions
whenever possible.
The following table describes the mapping of the fixed database roles to
permissions.
Ans: Steps to create a database named Sales (you will be creating the files
on a single drive for simplicity)
5. You should now see the General tab of the Database properties sheet.
Enter the database name Sales, and leave the owner as <default>.
6. In the data files grid, in the Logical Name column, change the name of
the primary data file to Sales_Data. Use the default location for the file,
and make sure the initial size is 3.
7. Click the ellipsis button (the one with three periods) in the Autogrowth
column for the Sales_Data file. In the dialog box that opens, check the
Restricted File Growth radio button, and restrict the filegrowth to
20MB.
8. To add a secondary data file, click the Add button, and change the
logical name of the new file to Sales_Data2. Here too use the default
location for the file, and make sure the initial size is 3.
9. Restrict the filegrowth to a maximum of 20MB for Sales_Data2 by
clicking the ellipsis button in the Autogrowth column.
10. Leave all of the defaults for the Sales_Log file.
11. Click OK when you are finished. You should now have a new
Sales database.
• Transaction logs are best placed on a RAID-1 array because this has
the fastest sequential write speed.
• Data files are best placed on a RAID-5 array because they have faster
read speed than other RAID-arrays.