A user guide that introduces a new User Interface to HPE NonStop SQL/MX DBS.
SQL/MX DBS is a solution that provides a multi-tenant database environment where the databases are isolated from each other while still sharing common resources such as compute power, storage, and network capacity. However, while the databases share the storage, each database uses dedicated, unshared, devices which prevents them from encountering database bottlenecks such as database cache and lock-space. Cache and lock space are part of the NonStop SQL Data Access Managers which are dedicated to only one database and not shared with others.
In this presentation, we’ll explore the essential steps to get started and running SQL on Linux. Get up to speed quickly on identifying the software and hardware required plus the how-to on installation, configuration and administration for SQL on Linux.
MySQL for Oracle Developers and the companion MySQL for Oracle DBA's were two presentations for the 2006 MySQL Conference and Expo. These were specifically designed for Oracle resources to understand the usage, syntax and differences between MySQL and Oracle.
This talk will be about managing DB scripts in our projects, from how to choose file structure to how easily manage them with large development team and run on different environments. We will look deep in the most popular tool for DB script migrations – Liquibase. How to write reliable scripts for Liquibase? How to run them everywhere? How to integrate them with Maven or Spring Boot? Answers for all these questions will be in this talk.
Uwe Ricken at SQL in the City 2016.
Waits, as they’re known in the SQL Server world, indicate that a worker thread inside SQL Server is waiting for a resource to become available before it can proceed with executing. They’re often a major source of performance issues.
In this session, we’ll walk through an optimal performance troubleshooting process for a variety of scenarios, and illustrate both the strengths and weaknesses of using a waits-only approach to troubleshooting.
A user guide that introduces a new User Interface to HPE NonStop SQL/MX DBS.
SQL/MX DBS is a solution that provides a multi-tenant database environment where the databases are isolated from each other while still sharing common resources such as compute power, storage, and network capacity. However, while the databases share the storage, each database uses dedicated, unshared, devices which prevents them from encountering database bottlenecks such as database cache and lock-space. Cache and lock space are part of the NonStop SQL Data Access Managers which are dedicated to only one database and not shared with others.
In this presentation, we’ll explore the essential steps to get started and running SQL on Linux. Get up to speed quickly on identifying the software and hardware required plus the how-to on installation, configuration and administration for SQL on Linux.
MySQL for Oracle Developers and the companion MySQL for Oracle DBA's were two presentations for the 2006 MySQL Conference and Expo. These were specifically designed for Oracle resources to understand the usage, syntax and differences between MySQL and Oracle.
This talk will be about managing DB scripts in our projects, from how to choose file structure to how easily manage them with large development team and run on different environments. We will look deep in the most popular tool for DB script migrations – Liquibase. How to write reliable scripts for Liquibase? How to run them everywhere? How to integrate them with Maven or Spring Boot? Answers for all these questions will be in this talk.
Uwe Ricken at SQL in the City 2016.
Waits, as they’re known in the SQL Server world, indicate that a worker thread inside SQL Server is waiting for a resource to become available before it can proceed with executing. They’re often a major source of performance issues.
In this session, we’ll walk through an optimal performance troubleshooting process for a variety of scenarios, and illustrate both the strengths and weaknesses of using a waits-only approach to troubleshooting.
Database Automation with MySQL Triggers and Event SchedulersAbdul Rahman Sherzad
This advanced training seminar on "Database Automation using MySQL Triggers and Event Schedulers" is dedicated to the Computer Science graduates and students of both public and private universities.
In this seminar we are going to look in depth at MySQL Triggers and Event Schedulers– powerful features supported by most popular commercial and open source relational database systems.
The Triggers are powerful tools for protecting the integrity of the data in the databases, logging and auditing of the changes on data, business logic, perform calculations, run further SQL commands, etc.
The Events are very useful to automate some database operations such as optimizing database tables, cleaning up logs, archiving data, or generate complex reports during off-peak time, etc.
The participants will learn about the true concept, implementation and application of MySQL Triggers and Event Schedulers with real life examples and scenarios.
They will also learn how to use the database triggers and event schedulers in many real cases to automate database tasks - such as optimizing database tables, cleaning up logs, archiving data, or generate complex reports during off-peak time.
This seminar is presented by Abdul Rahman Sherzad lecturer at Computer Science faculty of Herat University, and PhD Student at Technical University of Berlin, Germany at Hariwa Institute of Higher Education, Herat, Afghanistan.
MySQL® 5.7 is a great release which has a lot to offer, especially in the development and replication areas. It provides a lot of new optimizer features for developers to take advantage of, a much more powerful GIS function and high performance JSON data type, allowing for a more powerful store for semi-structured data. It also features dramatically improved Performance Schema, Parallel and Multi-Source replication, allowing you to scale much further than ever before, just to give you a taste. In this webinar, we will provide an overview of the most important MySQL 5.7 features.
This webinar will be part of a 3-part series which will include MySQL 5.7 for Developers and MySQL 5.7 for DBAs.
SQL Server ASYNC_NETWORK_IO Wait Type ExplainedConfio Software
When a SQL Server session waits on the async network io event, it may be encountering issues with the network or with aclient application not processing the data quickly enough. If the wait times for "async network io" are high, review the client application to see if large results sets are being sent to the client. If they are, work with the developers to understand if all the data is needed and reduce the size of result set if possible. Learn tips and techniques for decreasing decrease waits for async_network_io in this presentation.
Database Automation with MySQL Triggers and Event SchedulersAbdul Rahman Sherzad
This advanced training seminar on "Database Automation using MySQL Triggers and Event Schedulers" is dedicated to the Computer Science graduates and students of both public and private universities.
In this seminar we are going to look in depth at MySQL Triggers and Event Schedulers– powerful features supported by most popular commercial and open source relational database systems.
The Triggers are powerful tools for protecting the integrity of the data in the databases, logging and auditing of the changes on data, business logic, perform calculations, run further SQL commands, etc.
The Events are very useful to automate some database operations such as optimizing database tables, cleaning up logs, archiving data, or generate complex reports during off-peak time, etc.
The participants will learn about the true concept, implementation and application of MySQL Triggers and Event Schedulers with real life examples and scenarios.
They will also learn how to use the database triggers and event schedulers in many real cases to automate database tasks - such as optimizing database tables, cleaning up logs, archiving data, or generate complex reports during off-peak time.
This seminar is presented by Abdul Rahman Sherzad lecturer at Computer Science faculty of Herat University, and PhD Student at Technical University of Berlin, Germany at Hariwa Institute of Higher Education, Herat, Afghanistan.
MySQL® 5.7 is a great release which has a lot to offer, especially in the development and replication areas. It provides a lot of new optimizer features for developers to take advantage of, a much more powerful GIS function and high performance JSON data type, allowing for a more powerful store for semi-structured data. It also features dramatically improved Performance Schema, Parallel and Multi-Source replication, allowing you to scale much further than ever before, just to give you a taste. In this webinar, we will provide an overview of the most important MySQL 5.7 features.
This webinar will be part of a 3-part series which will include MySQL 5.7 for Developers and MySQL 5.7 for DBAs.
SQL Server ASYNC_NETWORK_IO Wait Type ExplainedConfio Software
When a SQL Server session waits on the async network io event, it may be encountering issues with the network or with aclient application not processing the data quickly enough. If the wait times for "async network io" are high, review the client application to see if large results sets are being sent to the client. If they are, work with the developers to understand if all the data is needed and reduce the size of result set if possible. Learn tips and techniques for decreasing decrease waits for async_network_io in this presentation.
EDX3280 Web Quest Assignment by U1032565.
Audio version of rubric for teachers and students.
Foundation Year ACMNA005 and ACMMG009 using the Australian Curriculum.
Based on the popular blog series, join me in taking a deep dive and a behind the scenes look at how SQL Server 2016 “It Just Runs Faster”, focused on scalability and performance enhancements. This talk will discuss the improvements, not only for awareness, but expose design and internal change details. The beauty behind ‘It Just Runs Faster’ is your ability to just upgrade, in place, and take advantage without lengthy and costly application or infrastructure changes. If you are looking at why SQL Server 2016 makes sense for your business you won’t want to miss this session.
SQL Saturday - Twelve Trace Flags In Twelve MinutesMatt Slocum
This presentation briefly explains how to use a trace flag and highlights 12 more common trace flags in SQL Server.
Some trace flags are specific to SQL Server 2012 or 2014.
Maintenance Plans for Beginners (but not only) | Each of experienced administrators used (to some extent) what is called Maintenance Plans - Plans of Conservation. During this session, I'd like to discuss what can be useful for us to provide functionality when we use them and what to look out for. Session at 200 times the forward-300, with the opening of the discussion.
Maintenance Plans for Beginners | Each of experienced administrators used (to some extent) what is called Maintenance Plans - Plans of Conservation. During this session, I'd like to discuss what can be useful for us to provide functionality when we use them and what to look out for. Session at 200 times the forward-300, with the opening of the discussion.
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL SupportMysql User Camp
This slide was presented at Mysql User Camp Event on 20-June-14 at Oracle bangalore. This presentation gives a good insight about New Features in Mysql 5.7 DMR 4 and Nosql Support in Mysql.
PostgreSQL Replication High Availability MethodsMydbops
This slides illustrates the need for replication in PostgreSQL, why do you need a replication DB topology, terminologies, replication nodes and many more.
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Subhajit Sahu
Abstract — Levelwise PageRank is an alternative method of PageRank computation which decomposes the input graph into a directed acyclic block-graph of strongly connected components, and processes them in topological order, one level at a time. This enables calculation for ranks in a distributed fashion without per-iteration communication, unlike the standard method where all vertices are processed in each iteration. It however comes with a precondition of the absence of dead ends in the input graph. Here, the native non-distributed performance of Levelwise PageRank was compared against Monolithic PageRank on a CPU as well as a GPU. To ensure a fair comparison, Monolithic PageRank was also performed on a graph where vertices were split by components. Results indicate that Levelwise PageRank is about as fast as Monolithic PageRank on the CPU, but quite a bit slower on the GPU. Slowdown on the GPU is likely caused by a large submission of small workloads, and expected to be non-issue when the computation is performed on massive graphs.
Techniques to optimize the pagerank algorithm usually fall in two categories. One is to try reducing the work per iteration, and the other is to try reducing the number of iterations. These goals are often at odds with one another. Skipping computation on vertices which have already converged has the potential to save iteration time. Skipping in-identical vertices, with the same in-links, helps reduce duplicate computations and thus could help reduce iteration time. Road networks often have chains which can be short-circuited before pagerank computation to improve performance. Final ranks of chain nodes can be easily calculated. This could reduce both the iteration time, and the number of iterations. If a graph has no dangling nodes, pagerank of each strongly connected component can be computed in topological order. This could help reduce the iteration time, no. of iterations, and also enable multi-iteration concurrency in pagerank computation. The combination of all of the above methods is the STICD algorithm. [sticd] For dynamic graphs, unchanged components whose ranks are unaffected can be skipped altogether.
The Building Blocks of QuestDB, a Time Series Databasejavier ramirez
Talk Delivered at Valencia Codes Meetup 2024-06.
Traditionally, databases have treated timestamps just as another data type. However, when performing real-time analytics, timestamps should be first class citizens and we need rich time semantics to get the most out of our data. We also need to deal with ever growing datasets while keeping performant, which is as fun as it sounds.
It is no wonder time-series databases are now more popular than ever before. Join me in this session to learn about the internal architecture and building blocks of QuestDB, an open source time-series database designed for speed. We will also review a history of some of the changes we have gone over the past two years to deal with late and unordered data, non-blocking writes, read-replicas, or faster batch ingestion.
Adjusting primitives for graph : SHORT REPORT / NOTESSubhajit Sahu
Graph algorithms, like PageRank Compressed Sparse Row (CSR) is an adjacency-list based graph representation that is
Multiply with different modes (map)
1. Performance of sequential execution based vs OpenMP based vector multiply.
2. Comparing various launch configs for CUDA based vector multiply.
Sum with different storage types (reduce)
1. Performance of vector element sum using float vs bfloat16 as the storage type.
Sum with different modes (reduce)
1. Performance of sequential execution based vs OpenMP based vector element sum.
2. Performance of memcpy vs in-place based CUDA based vector element sum.
3. Comparing various launch configs for CUDA based vector element sum (memcpy).
4. Comparing various launch configs for CUDA based vector element sum (in-place).
Sum with in-place strategies of CUDA mode (reduce)
1. Comparing various launch configs for CUDA based vector element sum (in-place).
2. Agenda
Who am I
SQL Server vs Oracle
Backups
Monitoring
Performance
Support
Future
Questions?
11-7-2016
SQL Server
2
3. Who am I
Pierre van der Ven
Working since 1998 in IT
Started as programmer, switched to DBA
Assigned with several big customers
Last years mainly focus on SQL Server
I am a nerd
11-7-2016
SQL Server
3
4. Oracle vs SQL Server
Language
SQL
T-SQL (Transact SQL)
PL/SQL
11-7-2016
SQL Server
4
5. Oracle vs SQL Server
Naming the ‘objects’
11-7-2016
SQL Server
5
Database Instance / Database
Schema Database and database owner (DBO)
Tablespace Filegroup
User User
Role Group/Role
Table Table
Temporary tables Temporary tables
Cluster N/A
Column-level check constraint Column-level check constraint
Column default Column default
Unique key
Unique key or identity property for a
column
Primary key Primary key
Oracle SQL Server
6. Oracle vs SQL Server
Naming the ‘objects’
11-7-2016
SQL Server
6
Foreign key Foreign key
Indexes Indexes
PL/SQL Procedure
Transact-SQL (T-SQL) stored
procedure
PL/SQL Function T-SQL stored procedure
Packages N/A
AFTER triggers Triggers
BEFORE triggers Complex rules
Triggers for each row N/A
Synonyms N/A
Identity Identity property for a column
Snapshot (table-based) Snapshot (database-based)
View View
Oracle SQL Server
7. Oracle vs SQL Server
Naming the ‘objects’ (DBA)
11-7-2016
SQL Server
7
TEMP-tablespace tempdb
Undo-tablespace tempdb
RAC Always On
Flashback Snapshots ...
Oracle SQL Server
8. In Oracle, not in SQL Server
Packages
Triggers for each row
Synonyms
Snapshots
Flashback
11-7-2016
SQL Server
8
9. In SQL Server, noy in Oracle
Pluggable databases (since 12c in Oracle)
Auto-increment values (since 12c in Oracle)
11-7-2016
SQL Server
9
11. Transactionlog
11-7-2016
SQL Server
11
Oracle
Archivelog / noarchivelog
Oracle is using redo-logs. When a redo-log is full, it makes
a copy to a archivelog and rotates to the next member of
the redo-log.
SQL Server
Full Recovery / simple mode
SQL Server writes transaction-data to the transactionlog.
In full recovery it maintains this data until a backup has
been made. In simple mode it maintains the transaction-
log data during the transaction.
15. Monitoring
Oracle: Oracle Enterprise Manager (OEM) / Grid Control
SQL Server:
- Alerts
- System Centre Operations Manager (SCOM)
In OEM you can modify settings of the database, in SCOM
that is not possible. SCOM is only for monitoring. If you
want to change settings, use SSMS.
11-7-2016
SQL Server
15
17. What is hammering my instance
Always start with the activity monitor:
11-7-2016
SQL Server
17
18. What is hammering my instance
Check the task manager:
11-7-2016
SQL Server
18
19. What is hammering my instance
Ga na of er blocking locks zijn:
11-7-2016
SQL Server
19
Z
20. What is hammering my instance
Kijk of er blocking locks zijn:
11-7-2016
SQL Server
20
Z
Search for queries with a lot of physical reads:
21. What is hammering my instance
11-7-2016
SQL Server
21
Perfmon
Microsoft’s definition:
‘A handy tool built into Windows®,
an assist you in diagnosing the problem’
24. What is hammering my instance
11-7-2016
SQL Server
24
Perfmon
First make a Data Collector Set, save it and
change it afterwards to get the screen below:
25. What is hammering my instance
11-7-2016
SQL Server
25
Page Life Expectency (PLE)
PLE is the time in seconds how long the page stays in the
bufferpool. This is related to the memory-pressure. If the page
has been flushed from the bufferpool, it needs to be loaded
from disk.
26. What is hammering my instance
11-7-2016
SQL Server
26
Page Life Expectency (PLE)
27. What is hammering my instance
11-7-2016
SQL Server
27
Page Life Expectency (PLE)
In the past:
If below 300 seconds, add more memory
Nowadays:
28. What is hammering my instance
11-7-2016
SQL Server
28
SQL Server Profiler
You only get this option if you install the add-
ons for SSMS.
29. What is hammering my instance
11-7-2016
SQL Server
29
SQL Server Profiler
30. What is hammering my instance
11-7-2016
SQL Server
30
SQL Server Profiler
31. What is hammering my instance
11-7-2016
SQL Server
31
SQL Server Profiler
32. What is hammering my instance
11-7-2016
SQL Server
32
Indexes
• Missing indexes
• Unused indexes
• Fragmented indexes
33. What is hammering my instance
11-7-2016
SQL Server
33
Maintenance
Automatic (initial setup needed)
• Reorganize indexes
• Rebuild indexes
• Refresh statistics
• Cleanup logging
Manual
• Create missing indexes
• Drop unused indexes
Ola Hallengren
This presentation covers two major topics: SQL Server vs Oracle, and ‘what is hammering my instance’.
SQL is a ANSI/ISO-standard for a rdbms. In both environments the standard SQL-commands work
T-SQL (Transact SQL) quite easy to use, but less powerful
PL/SQL is complex in use, but also powerful
Triggers for each row is possible in SQL Server, but it is quite complex to program
In SSMS you create the backup-commands, you can also use SSMS to execute those backup-commands.
Check if there are remarkable sessions, ie high waittime
To be sure that not something else then SQL Server is hammering the machine, check the taskmanager
If you find a the root-session that caused it, try to kill it (off course first ask around if this is acceptable)
Just a first view of perfmon, details will be shown later
There are a lot of counters you can select. First select the category, and then select the counters you want to see. There are also specific SQL Server categories.
Use perfmon to have a look at the PLE. While looking at the black line, it is clear that something is not ok there. Investigate it further.
In the past: a simple definition was sufficient, nowadays it is quite complex to have one definition that is good enough for everybody.
When live, this screen is scrolling, and scrolling, and scrolling ...
Zoom in to a specific query
It is quite easy to find the missing indexes, unused indexes or fragmented indexes.