Thursday, April 15, 2021

Difference between SQL Server and Oracle

What is Microsoft SQL server?

SQL Server, Oracle, Oracle Database Tutorial and Material, Oracle Database Preparation, Database Career

MS SQL server is a database product of Microsoft. It allows users to SQL queries and execute them. It is among the most stable, secure and reliable database solutions. It supports wide variety of transaction processing, analytics, and business intelligence applications in corporate IT environments.

What is Oracle Database?

Oracle database is an RDMS system from Oracle Corporation. The software is built around the relational database framework. It allows data objects to be accessed by users using SQL language. Oracle is a completely scalable RDBMS architecture which is widely used all over the world.

SQL Server, Oracle, Oracle Database Tutorial and Material, Oracle Database Preparation, Database Career

Oracle is one of the biggest vendor in the IT market and the shorthand name of its flagship RDBMS product, that was formally called Oracle Database.

Difference between SQL Server and Oracle

Parameters Ms- SQL Server   Oracle 
Parent Company   It is owned by Microsoft Corporation.  It is owned by Oracle Corporation.
Syntax  Simpler and easier syntaxes.  Complex and more efficient syntaxes. 
Download  120 or 180 days evaluation version are available from www. Micrsoft.com/sqlserver  Opensource version can be download from otn.oracle.com 
Platform support   Can install on Windows server only. But version 2017 onwards can be installed on Linux  Run on a wide variety of platforms 
Language  MS-SQL uses transact SQL or T-SQL.  PL/SQL or is used by Oracle Corporation. 
Job scheduling  Job Scheduling via the SQL Server Agent  Job scheduling via Oracle scheduler or OEM 
Bit map indexes   No bitmap indexes base on reverse keys and functions.  Uses bitmap, indexes based on functions, and reverse keys. 
Query optimization   No query optimization.  Uses Star query optimization. 
Triggers  Mostly uses "after" triggers.  Uses both "after" and "before" Triggers.
Support & Trouble Shooting   Provides technical notes, bug descriptions, scripts, patches, and download at a not additional charge.  Support call which is chargeable for each support case. 
Roll back  Not allowed in the transaction process.  Rollback is allowed during the transaction process. 
Concurrent accesses  Concurrent accesses are not allowed when a writer is in progress which increase the wait time.  Concurrent accesses are permitted and waits time are generally less. 
Change of Value   Values are changed even before commit.  Values do not change before commit. 
Method   Use Row or Page blocking method. It never allows a read while the page is blocked.  Use a copy of the record so while modifying it allows reads of original data while doing the modification. 
Error handling   SQL Server executes each command separately, so it will be quite difficult to make changes if any errors are encountered during the process.  Oracle treats each new database connection as a new transaction. 
Human Intervention   Follows Global memory allocation so less intrusion of Database admin. Therefore, very few chances of human errors.  Follows Dynamic memory allocation. DBA has to interrupt more. So higher chances or human errors. 
Parallel execution   In MS SQL server INSERT, UPDATE, DELETE statements are executed serially.  Oracle will execute INSERT, UPDATE, DELETE, and MERGE statement in parallel. 
Automation support   SQL upgrade advisor is available for automation.  Database upgrade assistant available for automation. 
Redo stream   Redo streams are unique to each user and database.  One redo stream at the database level. 
Schemas  "Schemas" within each use database.  Many "schemas" with the instance. 
Protection   Logins authenticated at the instance level and database level.  User authenticated via database credential and OS roles. 
Sharability  Every database has its own, unshared disk file on the server.  All the database objects are grouped by schemas. Subset collection of database objects and all the database objects are shared between all schemas and users. 
Backups  It allows full, partial and incremental backups  It allows Database, full, file level, incremental & differential backups. 
Maintenance  Tables usually stored Index-organized.  Automatically update statistics and identify SQL issue 

Related Posts

0 comments:

Post a Comment