Professional Documents
Culture Documents
Jeremy Haubrich
Importance of choosing the
right database
MySQL
Free to download
$500 for a commercial license + optional $1,500-
$62,000 for different levels of support
Oracle Features
Oracle Management Server
Central administration, monitoring, and tuning of multiple databases
Schedule and share database tasks with other admins
Oracle Change Manager
Allows you to create a change plan and see the effects of your changes
before actually implementing them
Also shows any changes that cannot be applied
Administrative Alerts
Oracle will contact the admin by email or pager when an error
condition occurs
Can be scheduled to reduce false positives
More Oracle Features
Capacity Planning
Tracks usage patterns to help admins plan for upgrades
Feedback on CPU, disk and query performance
Query Optimizer
Oracle chooses the most efficient way to execute a SQL
statement
Analyzes tables and indexes to minimize the cost of the
transaction
MySQL Features
Easy to get started with
Many free GUI management tools like
PHPMyAdmin
Speed is emphasized over lesser used features
Uses very little overhead
MySQL uses just under 1MB of RAM on my laptop
My Oracle 9i installation uses 128MB while idle
More MySQL Features
Beginning to support advanced features
Stored Procedures, Triggers, Views in the next
version (5)
Select statements with sub-queries were
introduced in the current version (4)
Transactional tables
Cascading updates and deletes
Available through the third-party InnoDB storage
engine
Migragtion from MySQL to Oracle
Oracle
Select * FROM (
SELECT columns
FROM tablename
ORDER BY key ASC
) WHERE ROWNUM <= 5;
Timestamps
MySQL
Create a field of type TIMESTAMP and enter an invalid date. In this case
February 29 2003.
Checking to see what MySQL enters you see that it just changed the date to
the first day in March.
Oracle
Rock solid dependability, reliability, and features
Steep learning curve and expensive
Designed with the enterprise in mind