SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Prepared by: Anusha Adhikar
BBA Sem 3
Prepared by: Anusha Adhikar
BBA Sem 3
AMITY GLOBAL BUSINESS SCHOOL
2
 Goal of database performance is to execute
queries as fast as possible
 Database performance tuning
 Set of activities and procedures designed to
reduce response time of database system
3
 Database performance-tuning activities can
be divided into:
 Client side
 Objective is to generate SQL query that returns
correct answer in least amount of time, using
minimum amount of resources at server end
 SQL performance tuning
4
 Database performance-tuning activities can
be divided into (continued):
 Server side
 DBMS environment must be properly configured to
respond to clients’ requests in fastest way possible,
while making optimum use of existing resources
 DBMS performance tuning
5
 All data in database are stored in data files
 Data files
 Automatically expand in predefined increments
known as extends
 Generally grouped in file groups of table spaces
 Table space or file group is logical grouping
of several data files that store data with
similar characteristics
6
 DBMS retrieve data from permanent storage
and place it in RAM
 Data cache or buffer cache is shared,
reserved memory area that stores most
recently accessed data blocks in RAM
 SQL cache or procedure cache is shared,
reserved memory area that stores most
recently executed SQL statements or PL/SQL
procedures, including triggers and functions
7
 An input/output request is low-level (read or
write) data access operation to/from
computer devices
 Working with data in data cache is many
times faster than working with data in data
files because DBMS doesn’t have to wait for
hard disk to retrieve data
 Majority of performance-tuning activities
focus on minimizing number of I/O
operations
8
 Listener
 User
 Scheduler
 Lock manager
 Optimizer
9
 Refers to number of measurements about
database objects and available resources
 Tables
 Indexes
 Number of processors used
 Processor speed
 Temporary space available
10
 Make critical decisions about improving query
processing efficiency
 Can be gathered manually by DBA or
automatically by DBMS
11
 DBMS processes queries in three phases
 Parsing
 Execution
 Fetching
12
13
 Query optimizer analyzes SQL query and
finds most efficient way to access data
 Access plans are DBMS-specific and translate
client’s SQL query into series of complex I/O
operations required to read the data from
the physical data files and generate result
set
14
 Rows of resulting query result set are
returned to client
 DBMS may use temporary table space to store
temporary data
15
 Indexes
 Crucial in speeding up data access
 Facilitate searching, sorting, and using aggregate
functions as well as join operations
 Ordered set of values that contains index key
and pointers
 More efficient to use index to access table
than to scan all rows in table sequentially
16
 Rule-based optimizer
 Uses set of preset rules and points to determine
best approach to execute query
 Cost-based optimizer
 Uses sophisticated algorithms based on statistics
about objects being accessed to determine best
approach to execute query
17
 Evaluated from client perspective
 Most current-generation relational DBMSs
perform automatic query optimization at the
server end
 Most SQL performance optimization techniques
are DBMS-specific and are rarely portable
18
 Indexes are likely used when:
 Indexed column appears by itself in search
criteria of WHERE or HAVING clause
 Indexed column appears by itself in GROUP BY or
ORDER BY clause
 MAX or MIN function is applied to indexed column
 Data sparsity on indexed column is high
 Measure of how likely an index will be used
19
 General guidelines for creating and using
indexes:
 Create indexes for each attribute in WHERE, HAVING,
ORDER BY, or GROUP BY clause
 Do not use in small tables or tables with low sparsity
 Declare primary and foreign keys so optimizer can
use indexes in join operations
 Declare indexes in join columns other than PK/FK
20
 Normally expressed within WHERE or HAVING
clauses of SQL statement
 Restricts output of query to only rows
matching conditional criteria
21
22
 Identify what columns and computations are
required
 Identify source tables
 Determine how to join tables
 Determine what selection criteria is needed
 Determine in what order to display output
23
 Includes global tasks such as managing DBMS
processes in primary memory and structures
in physical storage
 Includes applying several practices examined
in previous section
24
 DBMS performance tuning at server end
focuses on setting parameters used for:
 Data cache
 SQL cache
 Sort cache
 Optimizer mode
25
 Some general recommendations for creation
of databases:
 Use RAID (Redundant Array of Independent Disks)
to provide balance between performance and
fault tolerance
 Minimize disk contention
 Put high-usage tables in their own table spaces
26
 Some general recommendations for creation
of databases (continued):
 Assign separate data files in separate storage
volumes for indexes, system, and high-usage
tables
 Partition tables based on usage
 Use denormalized tables where appropriate
 Store computed and aggregate attributes in
tables
27

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767
Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767
Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767trainingindians
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recoveryYogiji Creations
 
Dynamic Database Solutions - Mitigating Performance Degradations
Dynamic Database Solutions - Mitigating Performance DegradationsDynamic Database Solutions - Mitigating Performance Degradations
Dynamic Database Solutions - Mitigating Performance DegradationsDobler Consulting
 
The Database Environment Chapter 12
The Database Environment Chapter 12The Database Environment Chapter 12
The Database Environment Chapter 12Jeanie Arnoco
 
Sql server lesson10
Sql server lesson10Sql server lesson10
Sql server lesson10Ala Qunaibi
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architectureMartin Berger
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup ExamInprise Group
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1Ram Paliwal
 
Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architectureSimon Huang
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administrationsreehari orienit
 
Connectivity to db and polling functionality
Connectivity to db and polling functionalityConnectivity to db and polling functionality
Connectivity to db and polling functionalityNazia Abdullah
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture pptDeepak Shetty
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle databaseSamar Prasad
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup examsriram raj
 
Cooper Oracle 11g Overview
Cooper Oracle 11g OverviewCooper Oracle 11g Overview
Cooper Oracle 11g Overviewmoin_azeem
 

Was ist angesagt? (20)

Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767
Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767
Oracle dba training in Canada|Oracle dba training From Canada phno 09705612767
 
Less16 Recovery
Less16 RecoveryLess16 Recovery
Less16 Recovery
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
 
Dynamic Database Solutions - Mitigating Performance Degradations
Dynamic Database Solutions - Mitigating Performance DegradationsDynamic Database Solutions - Mitigating Performance Degradations
Dynamic Database Solutions - Mitigating Performance Degradations
 
Les 03 Catalog
Les 03 CatalogLes 03 Catalog
Les 03 Catalog
 
The Database Environment Chapter 12
The Database Environment Chapter 12The Database Environment Chapter 12
The Database Environment Chapter 12
 
Les 09 Tspitr
Les 09 TspitrLes 09 Tspitr
Les 09 Tspitr
 
Oracle Database Administration 11g Course Content
Oracle Database Administration 11g Course ContentOracle Database Administration 11g Course Content
Oracle Database Administration 11g Course Content
 
Sql server lesson10
Sql server lesson10Sql server lesson10
Sql server lesson10
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architecture
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup Exam
 
ORACLE ARCHITECTURE
ORACLE ARCHITECTUREORACLE ARCHITECTURE
ORACLE ARCHITECTURE
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1
 
Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architecture
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
 
Connectivity to db and polling functionality
Connectivity to db and polling functionalityConnectivity to db and polling functionality
Connectivity to db and polling functionality
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup exam
 
Cooper Oracle 11g Overview
Cooper Oracle 11g OverviewCooper Oracle 11g Overview
Cooper Oracle 11g Overview
 

Ähnlich wie Dbms 3 sem

Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimizationUsman Tariq
 
Database Systems Design, Implementation, and Management
Database Systems Design, Implementation, and ManagementDatabase Systems Design, Implementation, and Management
Database Systems Design, Implementation, and ManagementOllieShoresna
 
05_DP_300T00A_Optimize.pptx
05_DP_300T00A_Optimize.pptx05_DP_300T00A_Optimize.pptx
05_DP_300T00A_Optimize.pptxKareemBullard1
 
Tuning database performance
Tuning database performanceTuning database performance
Tuning database performanceBinay Acharya
 
6.2 my sql queryoptimization_part1
6.2 my sql queryoptimization_part16.2 my sql queryoptimization_part1
6.2 my sql queryoptimization_part1Trần Thanh
 
SQL Server 2016 novelties
SQL Server 2016 noveltiesSQL Server 2016 novelties
SQL Server 2016 noveltiesMSDEVMTL
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016Marcos Freccia
 
PostGreSQL Performance Tuning
PostGreSQL Performance TuningPostGreSQL Performance Tuning
PostGreSQL Performance TuningMaven Logix
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cPresentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cRonald Francisco Vargas Quesada
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07zeesniper
 
Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005rainynovember12
 
Database monitoring and performance management
Database monitoring and performance managementDatabase monitoring and performance management
Database monitoring and performance managementAnne Lee
 
DB2 LUW V11.1 CERTIFICATION TRAINING PART #1
DB2 LUW V11.1 CERTIFICATION TRAINING PART #1DB2 LUW V11.1 CERTIFICATION TRAINING PART #1
DB2 LUW V11.1 CERTIFICATION TRAINING PART #1sunildupakuntla
 
Performance tuning and optimization on client server
Performance tuning and optimization on client serverPerformance tuning and optimization on client server
Performance tuning and optimization on client serverSatya P. Joshi
 
Performance tuning and optimization (ppt)
Performance tuning and optimization (ppt)Performance tuning and optimization (ppt)
Performance tuning and optimization (ppt)Harish Chand
 
Overview of query evaluation
Overview of query evaluationOverview of query evaluation
Overview of query evaluationavniS
 
New Features Sql 2008
New Features Sql 2008New Features Sql 2008
New Features Sql 2008tomerl
 
MIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome MeasuresMIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome MeasuresSteven Johnson
 

Ähnlich wie Dbms 3 sem (20)

Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimization
 
Database Systems Design, Implementation, and Management
Database Systems Design, Implementation, and ManagementDatabase Systems Design, Implementation, and Management
Database Systems Design, Implementation, and Management
 
05_DP_300T00A_Optimize.pptx
05_DP_300T00A_Optimize.pptx05_DP_300T00A_Optimize.pptx
05_DP_300T00A_Optimize.pptx
 
Tuning database performance
Tuning database performanceTuning database performance
Tuning database performance
 
6.2 my sql queryoptimization_part1
6.2 my sql queryoptimization_part16.2 my sql queryoptimization_part1
6.2 my sql queryoptimization_part1
 
SQL Server 2016 novelties
SQL Server 2016 noveltiesSQL Server 2016 novelties
SQL Server 2016 novelties
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016
 
PostGreSQL Performance Tuning
PostGreSQL Performance TuningPostGreSQL Performance Tuning
PostGreSQL Performance Tuning
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cPresentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12c
 
dd presentation.pdf
dd presentation.pdfdd presentation.pdf
dd presentation.pdf
 
Sql Server
Sql ServerSql Server
Sql Server
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
 
Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005
 
Database monitoring and performance management
Database monitoring and performance managementDatabase monitoring and performance management
Database monitoring and performance management
 
DB2 LUW V11.1 CERTIFICATION TRAINING PART #1
DB2 LUW V11.1 CERTIFICATION TRAINING PART #1DB2 LUW V11.1 CERTIFICATION TRAINING PART #1
DB2 LUW V11.1 CERTIFICATION TRAINING PART #1
 
Performance tuning and optimization on client server
Performance tuning and optimization on client serverPerformance tuning and optimization on client server
Performance tuning and optimization on client server
 
Performance tuning and optimization (ppt)
Performance tuning and optimization (ppt)Performance tuning and optimization (ppt)
Performance tuning and optimization (ppt)
 
Overview of query evaluation
Overview of query evaluationOverview of query evaluation
Overview of query evaluation
 
New Features Sql 2008
New Features Sql 2008New Features Sql 2008
New Features Sql 2008
 
MIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome MeasuresMIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome Measures
 

Mehr von Anusha Adhikar

Mehr von Anusha Adhikar (9)

Marketing management
Marketing managementMarketing management
Marketing management
 
Fm
FmFm
Fm
 
Marketing position
Marketing positionMarketing position
Marketing position
 
Strategy mgm
Strategy mgmStrategy mgm
Strategy mgm
 
Merchandising and pop
Merchandising and popMerchandising and pop
Merchandising and pop
 
Marketing communication
Marketing communicationMarketing communication
Marketing communication
 
Marketing strategies
Marketing strategiesMarketing strategies
Marketing strategies
 
M.f presentation
M.f presentationM.f presentation
M.f presentation
 
organizational structures
organizational structuresorganizational structures
organizational structures
 

Kürzlich hochgeladen

Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaShree Krishna Exports
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...lizamodels9
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...Suhani Kapoor
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 

Kürzlich hochgeladen (20)

Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 

Dbms 3 sem

  • 1. Prepared by: Anusha Adhikar BBA Sem 3 Prepared by: Anusha Adhikar BBA Sem 3 AMITY GLOBAL BUSINESS SCHOOL
  • 2. 2  Goal of database performance is to execute queries as fast as possible  Database performance tuning  Set of activities and procedures designed to reduce response time of database system
  • 3. 3  Database performance-tuning activities can be divided into:  Client side  Objective is to generate SQL query that returns correct answer in least amount of time, using minimum amount of resources at server end  SQL performance tuning
  • 4. 4  Database performance-tuning activities can be divided into (continued):  Server side  DBMS environment must be properly configured to respond to clients’ requests in fastest way possible, while making optimum use of existing resources  DBMS performance tuning
  • 5. 5  All data in database are stored in data files  Data files  Automatically expand in predefined increments known as extends  Generally grouped in file groups of table spaces  Table space or file group is logical grouping of several data files that store data with similar characteristics
  • 6. 6  DBMS retrieve data from permanent storage and place it in RAM  Data cache or buffer cache is shared, reserved memory area that stores most recently accessed data blocks in RAM  SQL cache or procedure cache is shared, reserved memory area that stores most recently executed SQL statements or PL/SQL procedures, including triggers and functions
  • 7. 7  An input/output request is low-level (read or write) data access operation to/from computer devices  Working with data in data cache is many times faster than working with data in data files because DBMS doesn’t have to wait for hard disk to retrieve data  Majority of performance-tuning activities focus on minimizing number of I/O operations
  • 8. 8  Listener  User  Scheduler  Lock manager  Optimizer
  • 9. 9  Refers to number of measurements about database objects and available resources  Tables  Indexes  Number of processors used  Processor speed  Temporary space available
  • 10. 10  Make critical decisions about improving query processing efficiency  Can be gathered manually by DBA or automatically by DBMS
  • 11. 11  DBMS processes queries in three phases  Parsing  Execution  Fetching
  • 12. 12
  • 13. 13  Query optimizer analyzes SQL query and finds most efficient way to access data  Access plans are DBMS-specific and translate client’s SQL query into series of complex I/O operations required to read the data from the physical data files and generate result set
  • 14. 14  Rows of resulting query result set are returned to client  DBMS may use temporary table space to store temporary data
  • 15. 15  Indexes  Crucial in speeding up data access  Facilitate searching, sorting, and using aggregate functions as well as join operations  Ordered set of values that contains index key and pointers  More efficient to use index to access table than to scan all rows in table sequentially
  • 16. 16  Rule-based optimizer  Uses set of preset rules and points to determine best approach to execute query  Cost-based optimizer  Uses sophisticated algorithms based on statistics about objects being accessed to determine best approach to execute query
  • 17. 17  Evaluated from client perspective  Most current-generation relational DBMSs perform automatic query optimization at the server end  Most SQL performance optimization techniques are DBMS-specific and are rarely portable
  • 18. 18  Indexes are likely used when:  Indexed column appears by itself in search criteria of WHERE or HAVING clause  Indexed column appears by itself in GROUP BY or ORDER BY clause  MAX or MIN function is applied to indexed column  Data sparsity on indexed column is high  Measure of how likely an index will be used
  • 19. 19  General guidelines for creating and using indexes:  Create indexes for each attribute in WHERE, HAVING, ORDER BY, or GROUP BY clause  Do not use in small tables or tables with low sparsity  Declare primary and foreign keys so optimizer can use indexes in join operations  Declare indexes in join columns other than PK/FK
  • 20. 20  Normally expressed within WHERE or HAVING clauses of SQL statement  Restricts output of query to only rows matching conditional criteria
  • 21. 21
  • 22. 22  Identify what columns and computations are required  Identify source tables  Determine how to join tables  Determine what selection criteria is needed  Determine in what order to display output
  • 23. 23  Includes global tasks such as managing DBMS processes in primary memory and structures in physical storage  Includes applying several practices examined in previous section
  • 24. 24  DBMS performance tuning at server end focuses on setting parameters used for:  Data cache  SQL cache  Sort cache  Optimizer mode
  • 25. 25  Some general recommendations for creation of databases:  Use RAID (Redundant Array of Independent Disks) to provide balance between performance and fault tolerance  Minimize disk contention  Put high-usage tables in their own table spaces
  • 26. 26  Some general recommendations for creation of databases (continued):  Assign separate data files in separate storage volumes for indexes, system, and high-usage tables  Partition tables based on usage  Use denormalized tables where appropriate  Store computed and aggregate attributes in tables
  • 27. 27