AshwaDip Tutorials

  1. Oracle
  2. Fundamentals of DB
  3. SQL
  4. SQL LANGUAGES
  5. CONSTRAINTS
  6. OPERATORS
  7. JOINS
  8. SUB - QUERIES
  9. DB OBJECTS
  10. PARTITIONS
  11. FUNCTIONS
  12. PL/SQL
  13. PLSQL Interview

1. Fundamentals of Database

• What is Data Base and Why is Data Base?
• DBMS Concepts
• RDBMS Concepts
• Oracle versions
• What is oracle 19c?
• What is MULTITENANT DATABASE?
• Features in Oracle 19c
• Advantages of Oracle 19c
• What is DATA MODEL for any OLTP RDBMS?

What is Data Base and Why is Data Base?
Data is information that has been translated into a form that is efficient for movement or processing.
database, also called electronic database, any collection of data, or information, that is specially organized for rapid search and retrieval by a computer. Databases are structured to facilitate the storage, retrieval, modification, and deletion of data in conjunction with various data-processing operations
DBMS Concepts
A database management system (DBMS) is software to create and manage databases, allowing users to create, read, update and delete data in a database.
There are three main types of DBMS relational, network, and hierarchical.
Relational data model: Data is organized as logically independent tables.
Object Oriented Database:It is a system where information or data is represented in the form of objects which is used in object-oriented programming.
Network data model: All entities are organized in graphical representations.
Hierarchical data model: Data is organized into a tree-like structure.

RDBMS Concepts
Image result for rdbms concepts An RDBMS is a type of database management system (DBMS) that stores data in a row-based table structure which connects related data elements. An RDBMS includes functions that maintain the security, accuracy, integrity and consistency of the data. This is different than the file storage used in a DBMS.

Oracle versions.
TIMELINE (Evolution)
1960s
The term “database” emerged in the early 1960s when disks replaced tape-based storage. The first databases were non-relational meaning they were simply linked lists of free-form records. That changed within a decade.
1970s
In the 1970s relational databases were introduced and eventually became the norm. Unlike previous databases these offered normalized related and searchable tables.
1980s
Desktop computing became widely available in the 1980s along with user-friendly business software that interacts with underlying databases.
1990s
In the 1990s object-oriented programming (OOP) made it possible to organize data by classes and attributes rather than simply tables and fields.
2000s
Non-relational databases made a comeback in the 2000s in the form of NoSQL (not only SQL) databases. These are simple and very scalable so they meet the demands of big data and real-time web applications.


Database defined A database is an organized collection of structured information, or data, typically stored electronically in a computer system. A database is usually controlled by a database management system (DBMS). Together, the data and the DBMS, along with the applications that are associated with them, are referred to as a database system, often shortened to just database.
Data within the most common types of databases in operation today is typically modeled in rows and columns in a series of tables to make processing and data querying efficient. The data can then be easily accessed, managed, modified, updated, controlled, and organized. Most databases use structured query language (SQL) for writing and querying data.

What is Structured Query Language (SQL)?
SQL is a programming language used by nearly all relational databases to query, manipulate, and define data, and to provide access control. SQL was first developed at IBM in the 1970s with Oracle as a major contributor, which led to implementation of the SQL ANSI standard, SQL has spurred many extensions from companies such as IBM, Oracle, and Microsoft. Although SQL is still widely used today, new programming languages are beginning to appear.

Evolution of the database Databases have evolved dramatically since their inception in the early 1960s. Navigational databases such as the hierarchical database (which relied on a tree-like model and allowed only a one-to-many relationship), and the network database (a more flexible model that allowed multiple relationships), were the original systems used to store and manipulate data. Although simple, these early systems were inflexible. In the 1980s, relational databases became popular, followed by object-oriented databases in the 1990s. More recently, NoSQL databases came about as a response to the growth of the internet and the need for faster speed and processing of unstructured data. Today, cloud databases and self-driving databases are breaking new ground when it comes to how data is collected, stored, managed, and utilized.

What’s the difference between a database and a spreadsheet? Databases and spreadsheets (such as Microsoft Excel) are both convenient ways to store information. The primary differences between the two are: How the data is stored and manipulated Who can access the data How much data can be stored Spreadsheets were originally designed for one user, and their characteristics reflect that. They’re great for a single user or small number of users who don’t need to do a lot of incredibly complicated data manipulation. Databases, on the other hand, are designed to hold much larger collections of organized information—massive amounts, sometimes. Databases allow multiple users at the same time to quickly and securely access and query the data using highly complex logic and language.

Types of databases There are many different types of databases. The best database for a specific organization depends on how the organization intends to use the data.
Relational databases
Relational databases became dominant in the 1980s. Items in a relational database are organized as a set of tables with columns and rows. Relational database technology provides the most efficient and flexible way to access structured information.
Object-oriented databases
Information in an object-oriented database is represented in the form of objects, as in object-oriented programming.
Distributed databases A distributed database consists of two or more files located in different sites. The database may be stored on multiple computers, located in the same physical location, or scattered over different networks.
Data warehouses A central repository for data, a data warehouse is a type of database specifically designed for fast query and analysis.
NoSQL databases A NoSQL, or nonrelational database, allows unstructured and semistructured data to be stored and manipulated (in contrast to a relational database, which defines how all data inserted into the database must be composed). NoSQL databases grew popular as web applications became more common and more complex.
Graph databases A graph database stores data in terms of entities and the relationships between entities.
OLTP databases. An OLTP database is a speedy, analytic database designed for large numbers of transactions performed by multiple users. These are only a few of the several dozen types of databases in use today. Other, less common databases are tailored to very specific scientific, financial, or other functions. In addition to the different database types, changes in technology development approaches and dramatic advances such as the cloud and automation are propelling databases in entirely new directions. Some of the latest databases include.
Open source databases An open source database system is one whose source code is open source; such databases could be SQL or NoSQL databases.
Cloud databases A cloud database is a collection of data, either structured or unstructured, that resides on a private, public, or hybrid cloud computing platform. There are two types of cloud database models: traditional and database as a service (DBaaS). With DBaaS, administrative tasks and maintenance are performed by a service provider. Multimodel database Multimodel databases combine different types of database models into a single, integrated back end. This means they can accommodate various data types. Document/JSON database Designed for storing, retrieving, and managing document-oriented information, document databases are a modern way to store data in JSON format rather than rows and columns. Self-driving databases The newest and most groundbreaking type of database, self-driving databases (also known as autonomous databases) are cloud-based and use machine learning to automate database tuning, security, backups, updates, and other routine management tasks traditionally performed by database administrators.


What is oracle 19c?
8i (Internet)
9i (Internet)
10g (Grid Computing)
11g (Grid Computing)
12c (Cloud Computing)
19c (Cloud Computing)
21c (Cloud Computing)

Advantages / Features of Oracle 19c
STABILITY: 3 (Default) +3 (extended) year support
Support NOSQL query, NoSQL data in our database.(JSON,XML)
Development Services: Node.js,Python,kafka,perl,Java,Php,.Net, etc.
Automatic indexing (Optimize database performance)
Auto Upgrade tool (Auto backup/Update)for using preupgrade.jar file
Web SQL developer (No need to install for developer)
Materialized View : It provide auto synchronization from base tables to mv.

What is DATA MODEL for any OLTP RDBMS?
Generally OLTP is for transactional implementations and OLAP is for analytical implementations. OLTP is a term used to describe the type of data processing that occurs in the system. The database design for an OLTP application fits the relational model very well and they tend to be very normalized.