A database is a structured collection of data stored electronically. It consists of tables made up of rows and columns to store and retrieve information. The most common types of databases are relational database management systems (RDBMS), which use tables linked by common attributes. Oracle is an example of an RDBMS that uses tables to store data. There are different methods for joining tables, such as merge join, nested loop join, and hash join. A logical data model represents the structure and relationships of database objects at a conceptual level, while a physical model shows how they are implemented physically in tables and constraints.
PostgreSQL Tutorial For Beginners | EdurekaEdureka!
YouTube Link: https://youtu.be/-VO7YjQeG6Y
** MYSQL DBA Certification Training https://www.edureka.co/mysql-dba **
This Edureka PPT on PostgreSQL Tutorial For Beginners (blog: http://bit.ly/33GN7jQ) will help you learn PostgreSQL in depth. You will also learn how to install PostgreSQL on windows. The following topics will be covered in this session:
What is DBMS
What is SQL?
What is PostgreSQL?
Features of PostgreSQL
Install PostgreSQL
SQL Command Categories
DDL Commands
ER Diagram
Entity & Attributes
Keys in Database
Constraints in Database
Normalization
DML Commands
Operators
Nested Queries
Set Operations
Special Operators
Aggregate Functions
Limit, Offset & Fetch
Joins
Views
Procedures
Triggers
DCL Commands
TCL Commands
Export/ Import Data
UUID Datatype
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
PostgreSQL Tutorial For Beginners | EdurekaEdureka!
YouTube Link: https://youtu.be/-VO7YjQeG6Y
** MYSQL DBA Certification Training https://www.edureka.co/mysql-dba **
This Edureka PPT on PostgreSQL Tutorial For Beginners (blog: http://bit.ly/33GN7jQ) will help you learn PostgreSQL in depth. You will also learn how to install PostgreSQL on windows. The following topics will be covered in this session:
What is DBMS
What is SQL?
What is PostgreSQL?
Features of PostgreSQL
Install PostgreSQL
SQL Command Categories
DDL Commands
ER Diagram
Entity & Attributes
Keys in Database
Constraints in Database
Normalization
DML Commands
Operators
Nested Queries
Set Operations
Special Operators
Aggregate Functions
Limit, Offset & Fetch
Joins
Views
Procedures
Triggers
DCL Commands
TCL Commands
Export/ Import Data
UUID Datatype
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreTIB Academy
Get Oracle DBA Training through free Oracle DBA Tutorial, In this Oracle DBA Tutorial specially made for Beginners. You can download Oracle DBA Tutrial
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...John Andrews
SlideShare Description for "Chatty Kathy - UNC Bootcamp Final Project Presentation"
Title: Chatty Kathy: Enhancing Physical Activity Among Older Adults
Description:
Discover how Chatty Kathy, an innovative project developed at the UNC Bootcamp, aims to tackle the challenge of low physical activity among older adults. Our AI-driven solution uses peer interaction to boost and sustain exercise levels, significantly improving health outcomes. This presentation covers our problem statement, the rationale behind Chatty Kathy, synthetic data and persona creation, model performance metrics, a visual demonstration of the project, and potential future developments. Join us for an insightful Q&A session to explore the potential of this groundbreaking project.
Project Team: Jay Requarth, Jana Avery, John Andrews, Dr. Dick Davis II, Nee Buntoum, Nam Yeongjin & Mat Nicholas
Explore our comprehensive data analysis project presentation on predicting product ad campaign performance. Learn how data-driven insights can optimize your marketing strategies and enhance campaign effectiveness. Perfect for professionals and students looking to understand the power of data analysis in advertising. for more details visit: https://bostoninstituteofanalytics.org/data-science-and-artificial-intelligence/
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Data and AI
Round table discussion of vector databases, unstructured data, ai, big data, real-time, robots and Milvus.
A lively discussion with NJ Gen AI Meetup Lead, Prasad and Procure.FYI's Co-Found
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...pchutichetpong
M Capital Group (“MCG”) expects to see demand and the changing evolution of supply, facilitated through institutional investment rotation out of offices and into work from home (“WFH”), while the ever-expanding need for data storage as global internet usage expands, with experts predicting 5.3 billion users by 2023. These market factors will be underpinned by technological changes, such as progressing cloud services and edge sites, allowing the industry to see strong expected annual growth of 13% over the next 4 years.
Whilst competitive headwinds remain, represented through the recent second bankruptcy filing of Sungard, which blames “COVID-19 and other macroeconomic trends including delayed customer spending decisions, insourcing and reductions in IT spending, energy inflation and reduction in demand for certain services”, the industry has seen key adjustments, where MCG believes that engineering cost management and technological innovation will be paramount to success.
MCG reports that the more favorable market conditions expected over the next few years, helped by the winding down of pandemic restrictions and a hybrid working environment will be driving market momentum forward. The continuous injection of capital by alternative investment firms, as well as the growing infrastructural investment from cloud service providers and social media companies, whose revenues are expected to grow over 3.6x larger by value in 2026, will likely help propel center provision and innovation. These factors paint a promising picture for the industry players that offset rising input costs and adapt to new technologies.
According to M Capital Group: “Specifically, the long-term cost-saving opportunities available from the rise of remote managing will likely aid value growth for the industry. Through margin optimization and further availability of capital for reinvestment, strong players will maintain their competitive foothold, while weaker players exit the market to balance supply and demand.”
Database Administrator interview questions and answers
1. What is a database?
- Database offer a single point of mechanism for storing and retrieving information with the help
of tables.
- Table is made up of columns and rows where each column stores specific attribute and each
row displays a value for the corresponding attribute.
- It is a structure that stores information about the attributes of the entities and relationships
among them.
- It also stores data types for attributes and indexes.
- Well known DBMS include Oracle, ibm db2, Microsoft sql server, Microsoft access, mysql and
sqlLite.
What are the different types of storage systems available and which one is used by Oracle?
Two types of storage systems are available
- Relational Database Management System (RDBMS) and Hierarchical Storage Management
System (HSM)
- Most databases use RDBMS model, Oracle also uses RDBMS model.
- Hierarchical Storage Management System (HSM)
- Information Management System (IMS) from IBM.
- Integrated Database Management System (IDMS) from CA.
Explain some examples of join methods.
Join methods are of mainly 3 types.
Merge Join -
- Sorting both the tables using join key and then merge the rows which are sorted.
Nested loop join -
- It gets a result set after applying filter conditions based on the outer table.
- Then it joins the inner table with the respective result set.
Hash join -
- It uses hash algorithm first on smaller table and then on the other table to produce joined
columns. After that matching rows are returned.
2. What are the components of logical data model and list some differences between logical and
physical data model?
Components of logical data model are
Entity - Entity refers to an object that we use to store information. It has its own table.
Attribute - It represents the information of the entity that we are interested in. It is stored as a
column of the table and has specific datatype associated with it.
Record - It refers to a collection of all the properties associated with an entity for one specific
condition, represented as row in a table.
Domain - It is the set of all the possible values for a particular attribute.
Relation - Represents a relation between two entities.
Difference between Logical and Physical Data Model.
- Logical data model represents database in terms of logical objects, such as entities and
relationships.
- Physical data model represents database in terms of physical objects, such as tables and
constraints.
What is Normalization? What are the different forms of Normalization?
- Normalization is a process of organizing the fields and tables of a relational database to
minimize redundancy and dependency.
- It saves storage space and ensures consistency of our data.
There are six different normal forms
First Normal Form - If all underlying domains contain atomic values only.
Second Normal Form - If it is in first normal form and every non key attribute is fully functionally
dependent on primary key.
Third Normal Form - If it is in 2nd normal form and every non key attribute is non transitively
dependent on the primary key.
Boyce Codd Normal Form - A relation R is in BCNF if and only every determinant is a candidate
key.
Fourth Normal Form
Fifth Normal Form
3. Differentiate between a database and Instance and explain relation between them?
- Database is a collection of three important files which include data files, control files and redo
log files which physically exist on a disk
- Whereas instance is a combination of oracle background process (SMON, PMON, DBWR,
LGWR) and memory structure (SGA, PGA).
- Oracle background processes running on a computer share same memory area.
- An instance can mount and open only a single database, ever.
- A database may be mounted and opened by one or more instances (using RAC).
What are the components of SGA?
- SGA is used to store shared information across all database users.
- It mainly includes Library cache, Data Dictionary cache, Database Buffer Cache, Redo log Buffer
cache, Shared Pool.
Library cache - It is used to store Oracle statements.
Data Dictionary Cache - It contains the definition of Database objects and privileges granted to
users.
Data Base buffer cache - It holds copies of data blocks which are frequently accessed, so that
they can be retrieved faster for any future requests.
Redo log buffer cache - It records all changes made to the data files.
Difference between SGA and PGA.
- SGA (System Global Area) is a memory area allocated during an instance start up.
- SGA is allocated as 40% of RAM size by default.
- SGA size is controlled by DB_CACHE_SIZE parameter defined in initialization parameter file
(init.ora file or SPFILE).
- PGA (Program or Process Global Area) is a memory area that stores a user session specific
information.
- PGA is allocated as 10% of RAM size by default.
What are the disk components in Oracle?
These are the physical components which gets stored in the disk.
4. - Data files
- Redo Log files
- Control files
- Password files
- Parameter files
What is System Change Number (SCN)?
- SCN is a unique ID that Oracle generates for every committed transaction.
- It is recorded for every change in the redo entry.
- SCN is also generated for every checkpoint (CKPT) occurred.
- It is an ever increasing number which is updated for every 3 seconds
- You can get the SCN number by querying select SCN from v$database from SQLPLUS.
Difference between Rank ,row number
What is the purpose of CTE
OLAP and OLTP difference
DatawareHouse and Database difference
SELECT ProductNumber, Name, "Price Range" =
CASE
WHEN ListPrice = 0 THEN 'Mfg item - not for resale'
WHEN ListPrice < 50 THEN 'Under $50'
WHEN ListPrice >= 50 and ListPrice < 250 THEN 'Under $250'
WHEN ListPrice >= 250 and ListPrice < 1000 THEN 'Under $1000'
ELSE 'Over $1000'
END
FROM Production.Product
ORDER BY ProductNumber ;
5. GO
[ OR ]
UPDATE T1
set amount =
(case
when T1.Id = 1 then 1000
when T1.Id = 2 then 2000
when T1.Id = 3 then 3000
when T1.Id = 4 then 4000
end)
[OR]
UPDATE T1
set amount =
(case
when T1.Id = 1 then t1.id * 1000
when T1.Id = 2 then t1.id* 2000
when T1.Id = 3 then t1.id* 3000
when T1.Id = 4 then t1.id * 4000
end)
6. GO
[ OR ]
UPDATE T1
set amount =
(case
when T1.Id = 1 then 1000
when T1.Id = 2 then 2000
when T1.Id = 3 then 3000
when T1.Id = 4 then 4000
end)
[OR]
UPDATE T1
set amount =
(case
when T1.Id = 1 then t1.id * 1000
when T1.Id = 2 then t1.id* 2000
when T1.Id = 3 then t1.id* 3000
when T1.Id = 4 then t1.id * 4000
end)