Session: E02 Online Database Maintenance for 24x7 OLTP Systems

Size: px
Start display at page:

Download "Session: E02 Online Database Maintenance for 24x7 OLTP Systems"

Transcription

1 Session: E02 Online Database Maintenance for 24x7 OLTP Systems Vijay Sitaram Per-Se Technologies Monday, May 8, :00 p.m. 02:10 p.m. Platform: DB2 for Linux, Unix, Windows In today s world DBA s are challenged with supporting OLTP environments with very little or no downtime. Such a task needs to be accomplished without sacrificing performance. DB2 UDB has kept up with industry challenges and gives DBA the relief / ammunition to perform his tasks online unobtrusively in the background. We start with the assumption that the need for reorg has been identified with the help of: 1. Snapshot and Event monitors show page reorgs, overflows 2. Query explain show extra I/O is being performend. The access plan has changed that the query has picked the wrong index or it s using HASH join instead of Nested-Loop join. This is typical when the optimizer does not have current information on the data layout through statistics. 3. Reorgchk recommends that the table needs reorg (This is accurate as long as the statistics are current). Therefore, having set the stage, we now dive into this presentation where we pick apart the two command: reorg and runstats. With that, we explore the possibilities of running them most efficiently causing the least service impact to customers. 1

2 About Per-Se Technologies Your Health Is The Bottom Line At Per-Se Technologies, our business is delivering Connective Healthcare solutions to help ensure the financial success of physicians, pharmacies, hospitals and healthcare organizations. A long-time leader in business services and information technology solutions for the healthcare industry, Per-Se understands that rising costs of treatment and rampant reimbursement inefficiencies diminish the ability of providers to stay competitive, run profitable businesses and deliver optimal patient care. Our Connective Healthcare solutions can help. Connective Healthcare is a comprehensive class of business solutions that help providers achieve their income potential by streamlining and simplifying the complex administrative burden of providing healthcare. Innovative technology, integrated networks, data mining, provider training and extensive healthcare expertise enable us to accelerate the movement of funds to benefit our clients. Providers who implement Connective Healthcare solutions will benefit from decreased expenses through Per-Se s resource management solutions and increased revenue through our revenue cycle management solutions. Our solutions work to streamline cash flow, increase collections and reimbursements, ensure compliance and improve customer service. The result is an approach that empowers physicians, pharmacies, hospitals and healthcare organizations to collect the compensation they deserve so they can focus on the important services they provide. Our vision is: To enable every provider to achieve their income potential. Visit us at: 2 2

3 Agenda Utilities for online maintenance Design online maintenance What to expect and avoid! Monitoring Tweaks & considerations Reduce better avoid reorg! Asked and Answered! Questions at the end of presentation. Thank you! 3 Outline: Design: a. Reorg table & Index with examples b. Runstats with examples c. Nature and Benefits of Online Reorg. d. Nature and Benefits of Online Runstats. a. Plan before design. b. Designing online maintenance. c. Phases of online reorg and runstats d. Internals e. Locks and Logs f. Parallel reorgs and runstats What to expect and avoid: a. Logging b. Recovery c. Locking d. Performance e. Errors and warnings Monitoring REORG and RUNSTATS: a. Monitor using snapshot command b. Monitor using db2 command line utilities to record progress c. Monitor using AIX utilities on system performance. Tweaks and Considerations: a. Options for better reorg and runstats performance Reduce and better avoid table and index maintenance: a. Using MDC to avoid reorgs b. Using parameters to reduce frequency of reorg. Asked and Answered: This section has some interesting questions with answers. 3

4 Agenda Utilities for online maintenance 4 4

5 Utilities for performing online maintenance REORG command: Table Reclaim Space Recluster data Index Reclaim Space Rebuild index REORG {TABLE table-name Table-Clause INDEXES ALL FOR TABLE table- name Index-Clause} Table-Clause: [INDEX index-name] name] [INPLACE [ [ALLOW {WRITE READ} ACCESS] [NOTRUNCATE TABLE] [START RESUME] {STOP PAUSE} ]] Index-Clause: [ALLOW {READ NO WRITE} ACCESS] [{CLEANUP ONLY [ALL PAGES] CONVERT}] Examples: db2 REORG TABLE db2inst1.employee INDEX db2inst1.emp_ix1 INPLACE NOTRUNCATE TABLE ALLOW WRITE ACCESS START db2 REORG INDEXES ALL FOR TABLE db2inst1.emoloyee ALLOW WRITE ACCESS CONVERT 5 The reorg command now supports new options which used in combination can address most of the scenarios / challenges posed to DBA. The part of the command that s highlighted here is the focus of attention. Option INPLACE runs table REORG in online mode and one may choose to ALLOW WRITE or READ ACCESS while running inplace reorg. This is asynchronous in nature and the command is submitted as a background task to DB2. The command can be run on regular tables only. MDC tables allow offline reorg only. Index reorg is different than table reorg for many reasons, one of them being it s a synchronous operation and gives lot more flexibility. More on this to be discussed during the course of presentation. Table-clause: This is meant for reorganizing tables. 1. INDEX index-name An index can be specified to order data based on the index. This index can be clustered or a nonclustered index. However, if an clustered index existed on the table, that index will be chosen to order data. If an index other than the clustered index was used for ordering data (when the table has a clustered index), the reorg command would fail. 2. NOTRUNCATE TABLE This option comes handy when the goal is to ONLY recluster data. The DBA can skip reclaiming space during the reorg by NOT truncating the empty extents at the tail end of the table. This option provides more concurrency and will be discussed later in the presentation. 3. START RESUME STOP PAUSE These options allows DBA to control the reorg process based on system activity. It is very handy especially when the system has high workloads to pause the reorg or for some reason stop the reorg due to batch processing. More discussions on this specific option in the presentation. Index-clause: This is meant for reorganizing indexes only. 1. CLEANUP options This option can be used just to clean up the index and ignore reclaiming empty extents allocated to the index. 2. CONVERT This helps in converting type-1 indexes to type-2 indexes if the database has V7 style indexes. Type-2 indexes reduces NKS locking and provides better concurrency. Use db2dart (offline) or inspect (online) to determine the type of index. Online index reorg can be run only on type-2 indexes. 5

6 Utilities for performing Online maintenance RUNSTATS command: Column level statistics Group of columns (CGS) Distribution columns statistics Detailed index statistics Table Row and page level sampling Index sampling LIKE predicates NUM_FREQUENCY and NUM_QUANTILES at table and column level Statistics Profiling 6 The way to collect statistics have improved in the past few years, thanks to the LEO project. DB2 can collect statistics automatically and store it for profiling and reuse at a later time. This also gives the optimizer to learn from the statistics gathered and suggest what to collect and when to collect. The whole system runs on proactive & feedback based statistics collection. Runstats command is now very flexible, granular, fast, easy and effective as always. The options are so many that it could be a topic of discussion. For this presentation, we will look at: Runstats is a throttled utility and can be done using UTIL_IMPACT_PRIORITY and UTIL_IMPACT_LIM db cfg. Index-clause: 1. Sampled Use sampling for collecting index key statistics. Instead of collecting based on all the keys, db2 can sample a set of keys and derive the statistics. 2. Detailed This is useful to gather detailed index statistics such as clusterfactor, pagefetch pairs and prefetch statistics. 3. INDEX <index_name> vs. INDEX ALL Allows you to collect statistics on one index instead of all the indexes for the table. Column-stats-clause: 1. ALL vs. KEY COLUMNS Collect statistics on all table columns or just on the columns which are used by indexes (key columns). 2. Set of columns You can also specify a set of columns (key or non-key) to collect statistics with or without LIKE STATISTICS Distribution-clause: 1. DISRIBUTION Statistics Collect histograms on table columns which provide more detailed information on table column values. 2. ALL vs. KEY COLUMNS Collect distribution on all or just the key columns. For each of these columns, you may also specify NUM_QUANTILES and NUM_FREQUENCY. Table-sampling-options: Row level sampling & Page level sampling Profile-options: Create new profile & Update existing profile 6

7 Runstats by example Column level statistics: RUNSTATS ON TABLE db2inst1.employee ON KEY COLUMNS AND COLUMNS (empno, empname) Index Statistics: RUNSTATS ON TABLE db2inst1.employee FOR INDEXES db2admin.inx1, db2admin.inx2, db2admin.inx3 Distribution statistics: RUNSTATS ON TABLE db2inst1.employee WITH DISTRIBUTION DEFAULT NUM_FREQVALUES 40 Using CGS: RUNSTATS ON TABLE db2inst1.employee ON COLUMNS ((empno, empname), mrgno, (admrdept, location)) Using LIKE statistics: Using LIKE statistics: RUNSTATS ON TABLE db2inst1.employee ON ALL COLUMNS and COLUMNS (empname LIKE STATISTICS) 7 7

8 Runstats by example Statistics profile: RUNSTATS ON TABLE db2inst1.employee AND INDEXES ALL SET PROFILE ONLY RUNSTATS ON TABLE db2inst1.employee USE PROFILE Sampling: Table Row-level: RUNSTATS ON TABLE db2admin.department WITH DISTRIBUTION TABLESAMPLE BERNOULLI (10) REPEATABLE (1024) Table Page-level: RUNSTATS ON TABLE db2admin.department AND INDEXES ALL TABLESAMPLE SYSTEM (10) Index key-level: RUNSTATS ON TABLE db2admin.department WITH DISTRIBUTION ON KEY COLUMNS AND SAMPLED DETAILED INDEXES ALL 8 8

9 Agenda Utilities for Online maintenance Design online maintenance 9 9

10 Planning for Online maintenance The elements: Hardware Is the disk always running at full capacity? Is there cpu power left on the system? Is there an archive target like TSM to manage logs? User Can one identify the online workload for the day, week and month? DBA What s the best day to run it? Should one run it all or spread it out? Is it scripted with all the options based on the scenario? Can it be monitored and /page alerts to DBA? Can the process be controlled without disrupting the customer? Before designing online reorg, consider the following: CUSTOMER FIRST Is it the right fit? Set Goals and Expectations Find a window Never compete with batch jobs. Shorter the transaction, faster the reorg! Eliminate reorg using MDC (Multi-Dimensional Cluster) tables 10 Before designing maintenance, requirements to consider: 1. Hardware requirements: Study must be made to determine if the current hardware is capable of running online maintenance workload. Some of them would be disk subsystem, cpu power, offline storage for logs. 2. User requirements: With the help of end user and application group, DBA can understand the application and pattern of usage. This would really help in deciding the peak and off-peak hours for the application. The DBA would then be able to run online maintenance during hours of low to average user load on the system. 3. DBA requirements: The DBA can perform a study of the application and the usage. Based on which, one can come up with maintenance strategy and have scripts to run it. Also, the DBA need to have monitoring and control mechanisms in place while running online maintenance. Before staring anything, it would help to determine if online maintenance is the best fit for the application and it s workload. The online maintenance runs in trickle mode and therefore could stretch for hours before completion. It is during this time DBA need to insure that user application performance is not affected and the system has enough cycles to process maintenance request. Find a window to run maintenance on discussing with the end user. It is not recommended to run maintenance and batch workload on the same table resulting in invalidating the work done and/or delaying the maintenance process. Try and eliminate need for maintenance especially reorgs on tables using MDC (Multi-Dimensional Cluster) tables. MDC provides more benefits in addition to eliminating maintenance. 10

11 Online table reorg Nature of ONLINE table reorg: It s trickle and not meant for speed It s just like any other transaction acquiring locks and generating logs It s a background process and knows to play well with online user workload Currently reorg is not one of the throttled utility It s an I/O bound operation Multiple online reorgs can run in parallel Benefits of ONLINE table reorg: Immediate and incremental clustering Minimal extra storage is required The process can be written to avoid strong locks Eliminate overflow records Minimal impact on system and online workload performance Can be monitored and controlled online Does INPLACE reorg cause extra logging? Answer: Yes. Inplace reorg causes a significant amount of logging to be performed. The logging can be especially high if there are many indexes on the table. 11 One of the questions everyone asks is Why is it slow?. So let s set the record straight! ONLINE reorg is NOT meant for speed. It runs in trickle mode in the background without disrupting service. It behaves like a user transaction which would hold locks on tables and writes to transaction logs to make itself recoverable incase of failure. Multiple reorgs can be run in parallel and it greatly depends on the system and available resources. The online reorg can be seen as db2reorg in the list applications command. The reorg process gets submitted and runs in background mode. Currently it runs in a mode where it does not set a priority and runs like any other user connection. Also online reorg has to determine the system usage, it s completion time cannot be determined as they differ for each run. Due to the fact that data pages are moved physically inplace without requiring extra space on the tablespace the table resides, online reorg takes longer than offline reorg to finish running, but has it s own advantages compared to offline reorg. The data pages are moved in batches providing immediate clustering benefits. Online reorg no longer needs the tablespace to be twice the size of the table, it does all the work within the space already allocated to the table (not made available to the table) making it very space efficient. Online reorg has execution phases and at end of each phase needs to acquires locks on the table. When we go through this presentation, we will learn more about the locks involved and tips to avoid them. The online table reorg is like an application connected to the database. Therefore, one may use snapshot and event monitors to gather data on status and progress. 11

12 Online table reorg Reclustering 12 Online reorg can be run in different way that benefits the application. In this slide, we will discuss the method of reclustering in the online reorg. If the requirement is to reorg the table based on a specific index, such that the index clusterratio/clusterfactor improves application performance, the table reorg can be made to use a specified index if the table does not have a clustered index built on it. Should the table have a clustered index, then any reorgs performed on the table will be based on the clustered index by default. The above slide is a classic and simple representation of data page movement based on an index key. The white color stands for unused data pages and the green color stands for data pages with data in it. The online reorg in this case is moving data pages from left to right. This is called as vacate and fill phase of online table reorg. During the vacate phase, pages are moved to adjacent extents in batches. During the fill phase, the pages are brought back in the cluster order into the pages previously vacated in the vacate phase. This repeats until the whole table is reorganized using the index order. If reorg truncates the table, the free space reclaimed from the table reorged is returned to the tablespace and can be used by any other table. The reclustering occurs as follows in a bi-directional mode: 1. Move data from left to right (vacate phase) 2. Move data from right to left (fill phase) The above is repeated until there are no more pages to vacate as they are all packed based on index key order. 12

13 Online table reorg Reclaim space Using NOTRUNCATE for table reorg does not reclaim space. Why is not the empty fragmented space reused? Answer: If NOTRUNCATE is used, free space within the table being reorged is not returned to the tablespace. 13 This is a classic representation of online table reorg written to reclaim space only without using an index to recluster/order data. Here, the blue color represents data and the white pockets represent empty spaces within the data pages. During reorg, the operation is run from right to left to move rows into the left most extents/pages which has empty pockets. This is called as the vacate and fill phase and the reorg utility repeats this cycle in batches until all empty pockets are filled with rows from the right most extents. If you notice the vacate and fill phase is uni-directional and does the first-fit-out algorithm for filling out empty pages moving from the right to the left most extent. Towards the end of reorg, the empty extents towards the tail end of the table is truncated and space allocated to the table is released back to the tablespace. 13

14 Online table reorg Progress chart 14 This ties in everything that has been discussed so far about online table reorg. This slide demonstrates how the reorg process goes through phases before and after vacate and fill phase: There are some milestones/commit points for the online reorg process: 1. Draining existing scanners while allowing new scanners to start. 2. Move rows in batches (vacate and fill phase) 3. Truncate empty space at tail end of the table (if requested), starting with acquiring a Shared table lock, drain existing scanners allowing new scanners to start, truncate table and finally commit. Also note that incremental clustering is provided as reorg continues to make progress with the vacate and fill cycles. 14

15 Online index reorg Nature of online index reorg: Synchronous operation Does not support throttling Allows transactions to update the index during reorg Only Type-2 index support In DMS mode, can run in most cases with online backup Writes to transaction logs Benefits of online index reorg: Online index cleanup More concurrency compared to type-1 indexes Can run with write access providing maximum flexibility 15 The REORG for INDEXES are synchronous in nature compared to table reorgs. The index reorgs does not support throttling. During index reorg, transactions can update the index while the reorg is in progress till the switch-over phase. All type-1 indexes must be converted to tupe-2 indexes using the CONVERT option in the reorg command (if migrated from previous version) or drop and create them as type-2 indexes in V8 to support online index reorganization. If the index resides in DMS tablespace, the online index reorg can make the backup wait on lock because of the switch-over phase, which is NOT recommended. Depending on the size of the indexes, the index reorg can generate substantial amount of transaction logs for recovery purposes and this helps for HADR solution. In SMS mode, online index reorganization and online backup are incompatible in the same way that online index create and online backup are incompatible. In DMS mode, online index reorganization and online backup can run concurrently in most cases. The only case where they are not compatible is the same case that is described above for online index create and online backup. In addition, online index reorganization quiesces the table before the switch phase and gets a Z lock, which prevents an online backup. 15

16 Online index reorg Progress chart Online index reorg: 1. Rebuild Phase 2. Log catch-up phase 3. Switch-Over phase 16 This slide explains the phases of index reorg in detail. The index reorg consists of 3 major phases: 1. Rebuild phase 2. Log catch-up phase 3. Switch-over phase In the first phase, the indexes keys are rebuilt. The reorg creates a copy of the index called shadow and does all it s work on this copy letting existing scanners work on the original index. The keys are sorted and RIDs are assigned to the index during this phase. During this phase, concurrent read and write access is available on the index object. These operations are captured into special logs into memory buffer and are not reflected on the shadow object till the next phase. In the second phase, while the existing read and write scanners are working on the index, all changes to the original indexes are captured into a log in memory. This log is replayed on the shadow index to catch-up with the original index. This insures all transactions done during rebuild phase are applied to the shadow index. In the third phase, db2 does a catch-up of the logs one more time. At this time, when all logs are caught up and the shadow index is consistent with the original index, a Z lock is issued to switch indexes. During this switch phase. Existing scanners are drained and new scanners are pointed to the shadow index object. The old/original index object is dropped as cleanup process. 16

17 Online Runstats Nature of ONLINE RUNSTATS: Exploits SMP parallelism It can be throttled CPU and memory intensive Can be run in parallel for multiple tables Benefits of ONLINE RUNSTATS: Provides optimizer with the most current statistics First step towards troubleshooting Perform what-if scenarios Sampling for tables and indexes Provides accurate data to utilities CGS - Eliminate creating indexes for correlation 17 Runstats has grown over years and have many features and benefits to it. One of them being exploiting SMP parallelism. It can be throttled using the UTIL_IMPACT_PRIORITY option in conjunction with UTIL_IMPACT_LIM database configuration parameter. Throttling is required when the system is resource constrained. Runstats is CPU and memory intensive given the fact that it needs to calculate statistics that could affect application performance. It aids the optimizer in making the correct decision producing efficient access plans. It can perform what-if scenarios for troubleshooting query performance. Runstats can be tuned to be CPU efficient and still provide accurate statistics by using page or row level sampling on the table. Index statistics can also be sampled to speed up runstats. Runstats provides accurate data to utilities like reorgchk and also populates SYSTAT and SYSCAT views. Aids in determining multiple factors to decide if a table is fragmented and subsequently needing reorg. With CGS (Column Group Statistics), one can avoid creating indexes for statistical information only. CGS helps in data correlation. CGS is the number of distinct combinations values for a set of columns (cardinality of a group of columns). CGS does not assume independence and gives better joint selectivity. DB2 now provides automated statistics collection. As a part of ASC, statistics for the table can be profiled and stored in a table. Db2 would analyze this and decide what and what statistics to gather. More on this is available on LEO (LEarning optimizer) project. 17

18 Online Runstats On What to collect? How much to collect? When to collect? Ways to collect? Cost depends on Cardinality Cardinality can be inaccurate Bad plan due to poor cardinality estimate Cardinality assumptions: - Currency, Uniformity, Independence 18 WHAT to collect: Runstats can be run on table, indexes individually or on both of them. This gives the flexibility to collect statistics on the table only, all or on a specific index or on both table and it s indexes. Let s say that we just added a new index to the table, statistics can be collect for the new index alone without having to run on the table and all of the existing indexes. It is good to keep the table and index statistics upto date and in sync to avoid any query performance issues. The data collected from these options are stored in sysstat.tables and sysstat.indexes views. HOW MUCH to collect: So start with, it s a tough decision! To collect statistics one needs to know the data. Once you know the data, one needs to determinate how it s being used by queries. Statistics collected on the table and related objects cannot be based on one query alone. Therefore, one needs to collect statistics which can provide enough information to the optimizer. Here is where runstats stands out in it s capabilities to drill-down to column and key level. One may choose to collect detailed index key statistics to provide more details other than just the highkey and lowkey values. You can also collect distribution statistics on the table columns which provides more information on data. Now, we can also store the statistics in a profile and just use the profile for the next time. WHEN to collect: The DBA can decide on when to collect statistics based on the needs of the application and the availability of resources to perform such an operation. Or the DBA may choose to leave this to DB2 by turning on AUTOMIATIC statistics collection. WAY to collect: Runstats command Load command Reorgchk using update statistics Create index with collect statistics (supported for Declared Global Temporary table indexes at time of creating the index) Automatic Maintenance using Statistics Profile warehouse. 18

19 Designing online runstats Backup existing statistics KEY COLUMN statistics satisfy most of queries Use CGS (Column Group Statistics) Use throttling on resource constrained systems Gather statistics while creating indexes Consider statistical profiling Consider using Automatic Runstats Row level sampling vs. Page level sampling REPEATABLE clause can provide consistent information Don t sample small tables 19 Before collecting fresh statistics, it is always advisable to backup existing statistics. This would really help in debugging the problem if the new statistics affects query performance. This can be done using db2look utility in mimic mode. Recommend to backup statistics on a daily basis (or) before it changes using db2look in mimic mode: db2look -d SAMPLE -z DB2INST1 t EMPLOYEE m -p -xd -o employee.stats Key column statistics does satisfy queries covered by indexes. But there are exceptions to the rule, so find to see if statistics collected on all columns would help query performance using correlation and selectivity. Use CGS and avoid creating multiple indexes to provide statistical information. Improves optimizer estimates providing better access plans. Sampling improves runstats performance consuming less cpu. At the same time, don t sample small tables. Runstats will not sample if table has < 5 pages. Sample related tables with similar sampling rate to achieve same level of accuracy. Sampling statistics with REPEATABLE would provide consistent results if table changes infrequently across multiple invocations of runstats. Row level sampling is the fastest, while I/O is not reduced: - Every data page is picked for full table scan. This method is best suited for clustered tables and results provided are most accurate. Page level sampling is also fast and saves on I/O: - Prefetching only sampled pages. Does not provide accurate results if data is clustered even if runstats detects and corrects for clustering! But, if the data in the table are distributed randomly, then the p percent of pages picked for sampling could provide accurate results UTIL_IMPACT_PRIORITY can throttle runstats. This works only if UTIL_IMPACT_LIM is set to less than 100%. For example setting UTIL_IMPACT_LIM=90 and UTIL_IMPACT_PRIORITY=50 would increase overall system usage by 45%. 19

20 Agenda Utilities for performing online maintenance. Designing online maintenance. What to expect and avoid! 20 20

21 What to expect and avoid! Logging Reorg writes to transaction logs Use DB2_ALTERNATE_PAGECLEANER Monitor log archives Consider using infinite logging Avoid log full condition Reorg placed in Paused State when log is full Can a online table reorg under prolonged lock-wait" time cause LOG FULL CONDITION? Answer: Yes. Reorg is similar to any long running transaction that is in Lock-wait. 21 Logging: Reorg for both table and index (as option) writes to transaction logs. Use DB2_ALTERNATE_PAGECLEANER registry variable to automate page cleaning. Monitor log archives and ensure the archives are keeping up with the rate at which logs are generated by reorg. Consider using infinite logging. Avoid log full condition. Maintain enough space on the active log path and archive log path. If the active log gets full during reorg, the reorg is automatically placed in Paused state. DBA will have to resume the reorg manually or stop and start it if required. Use table snapshot. 21

22 What to expect and avoid! Locking Use NOTRUNCATE option Use CLEANUP option Watch for reorgs waiting on Lock Conversion Avoid reorg waiting on locks for extended duration Avoid running table and index reorg on same table at same time Does the table reorg hold the log file as active if it is in lockwait state? Answer: Yes, just like any other transaction in lock-wait. 22 Locking: Use reorg with NOTRUNCATE table option. This eliminates the S lock required during truncation. Take advantage of index clean up options to avoid replace phase that required Z lock. Watch for reorgs waiting on Lock conversion. Find the application holding lock and take necessary action. Avoid prolonged reorg lock-wait. In situations where this reorg may be stopped or paused, such an asynchronous operation will take longer to take effect which is directly proportional to the time of lock-wait. Forcing the application that is running the online reorg is asynchronous in nature. Therefore time taken for reorg to stop depends on the time it has been waiting on locks. May cause lock chains if lock-waits are left unattended and is not a desirable scenario. Avoid running table and index reorg together on the same table. 22

23 What to expect and avoid! Recovery Full backup at end of reorg required Index reorgs are logged History file contains reorg information + + Throttling Not supported for Table and Index reorg Support for runstats Is table reorg a low priority thread? Answer: No. There is no priority assigned to an agent doing an inplace reorg, but the nature of the design is that in majority of cases, the inplace reorg will let the scanners proceed. 23 Recovery: Take a full backup of the database at end of reorg. This is to avoid using the logs generated during reorg to rollforward incase of disaster. Index reorgs are logged with the new db cfg LOGINDEXREBUILD and table reorg is logged by default. This has to do with the design of HADR. History file is not an accurate representation of the status of previous reorg. It does not always provide failure information, especially for index reorgs. Throttling: Reorg for table and index does not support throttling. Runstats is a throttled utility by using UTIL_IMAPCT_PRIORITY with UTIL_IMPACT_LIM 23

24 What to expect and avoid! Performance Reorg without specifying an index is the fastest Reorg can be paused and resumed SQL is sensitive to order of data Run reorgs in parallel Long running transactions impact reorg Split large tables into smaller ones Can a user application (who does not have REORG privileges) get "Internal Reorg Lock" on a table even while it is NOT doing a reorg? The lock snapshot shows user application holding "Internal Reorg Lock". Answer: An application that is executing against the same table that is being reorg d will show a shared Internal Reorg Lock, as observed. This does not mean that that particular application is performing a reorg, just that it is executing at the same time as the reorg, and on the same table. This type of lock is used as a synchronization mechanism for inplace reorg processing. 24 Performance: Reorg without specifying an index would pack data pages in the order presented to it. This is the fastest approach. Reorg is easy to manage. Pause it if required and resume it soon enough that the benefits of clustering is not lost. SQL is sensitive to order of data. Therefore, it is common to see reorgs based on an index (or) if the table has a clustered unique index, the reorg would use that index by default. Allow write access. Run reorgs in parallel and measure the impact. It depends from system to system on how many parallel reorgs can be executed without affecting the end user. Reorg on a table run during different time period does not run at the same speed. It depends on what s running on the system at that time. Long running transactions can impact progress of reorg. Pick a suitable time to do reorg. If no window is available, go with the best available time. Split the big tables into smaller tables and use union all views (V9 - use of partition tables) If the table is too bit to reorg that by the time reorg is done, a portion of the table has already been changed. Divide and conquer. Reorg is not a throttled utility. However, Runstats can be throttled using UTIL_IMPACT_PRIORITY set to a % and UTIL_IMPACT_LIM set to less than 100% 24

25 What to expect and avoid! Errors/Warnings Index statistics inconsistent with table statistics SQL0437W, rc=6 Online table reorg not supported when using APPEND ON SQL2219N, rc=12 Online table reorg not supported for MDC tables SQL0270N, rc =46 Online index reorg fails due to space allocation SQL0289N Space allocation Extra space not required for online table reorg Space equal to size of index required for online index reorg Runstats with distribution needs more space under system catalog Can table reorg lock timeout an end-user application? Answer: Yes, just like any other transaction. 25 Errors/Warnings: Index statistics not consistent with table statistics - SQL0437W, reason code 6 INPLACE table reorg is not supported for tables in APPEND MODE ON - SQL2219N, reason code 12 INPLACE table reorg is not supported for MDC tables - SQL0270N, reason code 46 ONLINE index reorg will get SQL0289N error when run with ALLOW READ/WRITE ACCESS and there is not enough space in the tablespace. If ALLOW NO ACCESS is used, the reorg for index would succeed with a Z lock throughout the duration of index reorg, thus is not very desirable for OLTP applications. Space allocation: INPLACE table reorg does not need extra space and does all it s work in batches within the space allocated in the tablespace where the table resides. Online index reorg creates a shadow index during the rebuild phase in the same tablespace as the index. It is important that there is enough space in the index tablespace to hold a shadow copy of the index. Runstats with distribution needs more space allocated to system catalog tablespace. 25

26 Agenda Utilities for performing online maintenance Designing online maintenance What to expect and avoid! Monitoring 26 26

27 Working with reorg online Reorg can be stopped, paused and resumed online. Reasons: Database running low on log space Application on lock-wait due to table reorg process Table reorg on lock-wait due to long running user process Top disk busy at 95% and is affecting application performance Table used by heavy batch jobs Does ONLINE Table reorg issue commit? If it does issue commit, what happens when it does not issue a commit due to "lock-wait" status? Answer: Yes, the inplace reorg issues commits after each phase of processing. If the inplace reorg is in lock-wait, it will behave like any other transaction that is in lock-wait that hasn't issued a commit

28 Working with reorg online The DBA wishes to alter the table reorg: For example, change the access from read only to write access and not truncate the table to make it more concurrent with online user workload: db2 reorg table db2inst1.employee inplace allow read access start db2 reorg table db2inst1.employee inplace pause db2 reorg table db2inst1.employee inplace notruncate table resume Another example, change the table reorg to use an index with the same level of access: db2 reorg table db2inst1.employee inplace allow write access start db2 reorg table db2inst1.employee inplace pause db2 reorg table db2inst1.employee index db2inst1.employee_idx1 inplace resume Is there a relationship between table reorg in lock-wait status and reorg holding active log files? Answer: Yes. This is the same as any other application in Lock-wait that is holding active files

29 Monitoring Reorg & Runstats Snapshot Monitors: Database : Watch log usage, Oldest transaction application ID Table : Full table and reorg information available Application : Idle time, Sorts, Rows: read, selected and written, Log used Lock: Detailed lock information and status Utilities: db2 list utilities db2pd AIX: nmon, vmstat and iostat DB2 recovery history file Administrative notification log and FFDC log for progress and errors If reorg transactions are written to log files such that if these logs were used for rollforward, does the reorg log records get replayed? Answer: Yes - inplace reorg is like any other transaction. 29 Database snapshot: (watch log usage): get snapshot for db on sample, select * from table(sysproc.snapshot_db( sample,-1)) as dbsnap Table snapshot: (Full table and reorg information available) get snapshot for tables on sample, select * from table(sysproc.snapshot_tbreorg( sample,-1)) as tbsnap Application snapshot: (idle time, hit ratios, sorts, rows: read, selected and written, log space used): get snapshot for application agentid <agentid_of_db2reorg_process>, get snapshot for locks for application agentid <agentid_of_db2reorg_process> select * from table(sysproc.snapshot_app_info( sample,-1)) as appsnap, select * from table(sysproc.snapshot_lockinfo( sample,-1)) as locksnap Lock snapshot for detailed lock information and status. db2 list utilities show detail Db2pd: db2pd utilities DB2 recovery history file: db2 list history reorg all for db sample (or) db2 list history reorg containing db2inst1.employee for db sample Administrative notification log and FFDC log for progress and errors AIX: nmon, vmstat and iostat 29

30 Monitoring Table reorg $ db2 reorg table db2inst1.employee1 index idx1 inplace allow write access start DB20000I The REORG command completed successfully. DB21024I This command is asynchronous and may not be effective immediately (Output of db2 get snapshot for tables on sample given below): Table Schema = db2inst1 Table Name = EMPLOYEE1 Table Type = User Data Object Pages = 6752 Index Object Pages = 819 Rows Read = 0 Rows Written = 0 Overflows = 0 Page Reorgs = 602 Table Reorg Information: Reorg Type = Reclustering Inplace Table Reorg Allow Write Access Reorg Index = 1 Reorg Tablespace = 2 Start Time = 12/20/ :32: Reorg Phase = Max Phase = Phase Start Time = Status = Completed Current Counter = 6751 Max Counter = 6751 Completion = 0 End Time = 12/20/ :33: Reorg Status: Started/Resumed Paused Stopped Completed Truncate Reorg progress= reorg_current_counter Reorg attributes: Reclustering Reclaiming Inplace table reorg Allow write access Allow read access Allow no access No table truncation Recluster via index scan Reorg long field LOB data Reorg data only w/o LOBS reorg_current_counter / reorg_max_counter * 100 Status: Success = 0 Failure = -1 30

31 Monitoring Index Reorg Application snapshot elements: - Rows read DB2 has to read ALL rows - Rows written Overflow rows to systempspace (like a sort spill) At end of index reorg: (if it overflowed to systempspace) - Rows read = # of rows in table * # of indexes * 2 - Rows written = # of rows in table * # of indexes At end of index reorg: (if it did NOT overflowed to systempspace) - Rows read = # of rows in table * # of indexes - Rows written = 0 Therefore, approximate % of completion for index reorg Without sort overflow: = (app_snapshot_rows_read)*100/((total_rows_in_table)*(no_of_indexes_on_table)) With sort overflow: = (app_snapshot_rows_read)*100/((total_rows_in_table)*(no_of_indexes_on_table)*2) Note: Use SYSPROC.SNAPSHOT_APPL to query the progress of index reorg 31 SAMPLE APPLICATION SNAPSHOT at end of index reorg Application id = 870 Application status = UOW Waiting Snapshot timestamp 12:56: = 03/01/2006 Buffer pool data logical reads = Buffer pool data physical reads = Buffer pool temporary data logical reads = Buffer pool temporary data physical reads = 811 Buffer pool data writes = 24 Buffer pool index logical reads = Buffer pool index physical reads = 51 Buffer pool temporary index logical reads = 0 Buffer pool temporary index physical reads = 0 Buffer pool index writes = 905 Direct reads = 348 Direct writes = 16 Direct reads elapsed time (ms) = 17 Rows deleted = 0 Rows inserted = 0 Rows updated = 0 Rows selected = 0 Rows read = Rows written =

32 Monitoring Runstats Application snapshot elements: - Rows read - Rows written - Bufferpool data/index logical reads - Bufferpool data/index physical reads RUNSTATS ON TABLE DB2.EMPLOYEE WITH DISTRIBUTION AND DETAILED INDEXES ALL - Full tablescan to get all data rows - Read the index keys Therefore, approximate % of completion = ((# of data pages read so far + # of index pages read so far) *100)/ ((total data pages to read + total index pages to read)*1.5) Note: Use SYSPROC.SNAPSHOT_APPL to query the progress of runstats 32 A SAMPLE runstats with distribution and detailed indexes all Application SNAPSHOT output. Application id = 1182 Application status = UOW Waiting Snapshot timestamp = 03/01/ :04: Buffer pool data logical reads = Buffer pool data physical reads = 381 Buffer pool temporary data logical reads = 0 Buffer pool temporary data physical reads = 0 Buffer pool data writes = 0 Buffer pool index logical reads = Buffer pool index physical reads = 53 Buffer pool temporary index logical reads = 0 Buffer pool temporary index physical reads = 0 Buffer pool index writes = 0 Direct reads = 348 Direct writes = 348 Direct reads elapsed time (ms) = 2 Rows deleted = 0 Rows inserted = 0 Rows updated = 0 Rows selected = 0 Rows read = Rows written =

33 Locking/Concurrency Table reorg Database name = SAMPLE Database path = /db2home/db2inst1 Input database alias = SAMPLEreorg table db2inst1.employee inplace allow write access start Locks held = 560 Applications currently connected = 1 Agents currently waiting on locks = 0 Snapshot timestamp = 01/05/ :31: APP.NAME APP.USER HANDLE APP.ID APP.STATUS LOCKS WAIT.ms BLK_ID db2reorg db2inst1 949 *LOCAL.db2inst Connect Completed TABLE NAME TYPE MODE LOCK COUNT HOLD COUNT CURRENT APP_WORKING APP_BLOCKING Tablespace IX DB2INST1.EMPLOYEE Row IN DB2INST1.EMPLOYEE Row NS DB2INST1.EMPLOYEE Internal Table Al X DB2INST1.EMPLOYEE Table IS DB2INST1.EMPLOYEE Inplace Reorg Loc IN Why is reorg a LOGGED Transaction? Answer: Inplace table reorg is recoverable. As such, it needs to be logged. 33 The lock that s missing here is the Shared-Lock at the time of table truncation. If you take frequent lock snapshot and if REORG is waiting on locks. The lock that it is waiting to acquire will be in Conversion. The IS lock is upgraded to S lock. 33

34 Locking/Concurrency Index reorg Database name = SAMPLE Database path = /db2home/db2inst1 Input database alias = SAMPLE Locks held = 6 Applications currently connected = 1 Agents currently waiting on locks = 0 db2 reorg indexes all for table db2inst1.employee allow write access Snapshot timestamp = 01/16/ :43: APP.NAME APP.USER HANDLE APP.ID APP.STATUS LOCKS WAIT.ms BLK_ID db2bp DBIERIK 870 *LOCAL.dbierik UOW Executing 6 0 TABLE NAME TYPE MODE LOCK COUNT HOLD COUNT LOCKS HELD APP_WORKING APP_BLK SYSIBM.SYSTABLES Row NS Tablespace IX DB2INST1.EMPLOYEE Internal Table Al X SYSIBM.SYSTABLES Table IS DB2INST1.EMPLOYEE Table IN Is it normal to see table grow during INPLACE table reorg? Answer: Yes. Online reorg moves rows around in the table. It will search for a page to move rows. 10% of FSCR or 2x number of FSCR (which ever is greater) would be searched by normal insert operation free space search algorithm. If no space is found row is appended. 34 The above is a formatted output of lock snapshot. Note that there are different locks acquired during reorg and not all locks are shown above. The lock conversion will occur before the final switch-over phase starts. Note that the index reorg will quiesce the object and escalate to a Z lock to switch objects. 34

35 Locking/Concurrency - Runstats Database name = SAMPLE Database path = /db2home/db2inst1 Input database alias = SAMPLE Locks held = 3 Applications currently connected = 1 Agents currently waiting on locks = 0 Snapshot timestamp = 01/05/ :55: runstats on table db2inst1.employee with distribution and detailed indexes all allow write access APP.NAME APP.USER HANDLE APP.ID APP.STATUS LOCKS WAIT.ms BLOCKING.ID db2bp db2inst1 62 *LOCAL.db2inst UOW Executing 3 0 TABLE NAME TYPE MODE LOCK COUNT HOLD COUNT LOCKS HELD APP_WORKING APP_BLOCKING DB2INST1.EMPLOYEE Table IN SYSIBM.SYSTABLES Row U SYSIBM.SYSTABLES Table IX How can one get the structure of SYSPROC table function? Answer: db2 describe select * from TABLE (SYSPROC.SNAPSHOT_TBREORG( sample,-1)) as tbreorg 35 35

36 Throttling Runstats db2 runstats on table db2inst1.employee with distribution and detailed indexes all allow write access db2 list utilities show detail ID = 33 Type = RUNSTATS Database Name = SAMPLE Partition Number = 0 Description = DB2INST1.EMPLOYEE Start Time = 01/09/ :48: Throttling: Priority = Unthrottled db2 attach to db2inst1 db2 connect to sample db2 update dbm cfg using UTIL_IMPACT_LIM 70 IMMEDIATE db2 runstats on table db2inst1.employee with distribution and detailed indexes all allow write access UTIL_IMPACT_PRIORITY 50 db2 list utilities show detail ID = 34 Type = RUNSTATS Database Name = SAMPLE Partition Number = 0 Description = DB2INST1.EMPLOYEE Start Time = 01/09/ :45: Throttling: Priority = 50 db2pd -utilities Database Partition 0 -- Active -- Up 0 days 19:01:43 Utilities: Address ID Type Priority DBName StartTime NumPhases CurPhase Description 0x B RUNSTATS 50 SAMPLE Mon Jan 9 14:45: Progress: Address ID PhaseNum Description StartTime CompletedWork TotalWork 36 UNTHROTTLED db2pd -utilities Database Partition 0 -- Active -- Up 0 days 18:33:08 Utilities: Address ID Type Priority DBName StartTime NumPhases CurPhase Description 0x B3D00 33 RUNSTATS 0 SAMPLE Mon Jan 9 10:48: Progress: Address ID PhaseNum Description StartTime CompletedWork TotalWork THROTTLED 36

37 Agenda Utilities for performing online maintenance Designing online maintenance What to expect and avoid! Monitoring Tweaks & considerations 37 37

38 Tweaks & Considerations General: Stagger big tables and run in parallel Not benefit tables with high transaction volume Performance is not affected by fragmentation DMS highwater mark does not reset after reorg or runstats Use SYSPROC for monitoring and storing snapshot data for analysis Do NOT compete with batch jobs, shorter the transactions faster the reorg Table reorg: Use NOTRUNCATE TABLE Without index is the fastest Consider using clustered indexes Index reorg: CLEANUP after the mass delete CLEANUP ONLY ALL to avoid Z locks Runstats: Sample statistics Column-group statistics (CGS) for group cardinalities 38 Consider running multiple table reorgs in parallel. This can be scripted to start n table reorgs in parallel initially and based on system activity add to it. For running multiple table reorgs in parallel, try not to run big tables in parallel. Stagger them to sustain optimal system & database performance. If the table is constantly changing, then online reorg may not be able to keep up with the changes to the table. Consider table reorg using NOTRUNCATE TABLE option to avoid S locks. Prefer to run table reorg without index for better performance. Index based table reorg is slower than a table reorg without specifying indexes. Note that if the table has clustered unique indexes, then online reorg will by default pick the clustered unique index for ordering data pages. Consider using clustered indexes but comes with insert penalty, reducing need for reorg, but if the table had to be reorg d would be slower as it needs to go through the index to order data. 38

39 Tweaks & Considerations Reorg and Backup: Internal B Locks can cause reorg s to run slower during online backup Online table reorg clean up phase cannot start during online backup Online index reorg and online backup have the following compatibility issues: In SMS mode, they are not compatible In DMS mode, they are compatible with recovery issues related to lifelsn. In addition, online backup will wait because of Z lock during switch-over phase Some configuration parameters to tweak reorg/runstats: DB2_USE_ALTERNATE_PAGE_CLEANING UTILHEAPSZ SORTHEAP & SHEAPTHRES Bigger bufferpool for System temporary tablespace. I/O Cleaners & Prefetchers STAT_HEAP_SZ (additional 2 meg for sampling) 39 Consider index reorg using CLEANUP ONLY ALL option to avoid Z locks. Consider using runstats with sampled statistics. Consider collecting column-group statistics (CGS) which is better than adding indexes to satisfy queries and helps in cardinality calculations by providing stronger correlation. Performance is not affected by fragmentation but however is affected by order of data. Therefore, with the helps of last known good statistics, you could get away with table reorg if space is not an issue. Remember, db2 will try and fit the new row in an existing page with information from SMP/EMP extents and that s limited by DB2FSCRSEARCH registry variable on how many EMP extents should be checked for extents with empty pages before creating a new extent. CLOBS have to be reorganized for non-mdc and MDC tables. The CLOB space usage (the actual usage) can be obtained online using INSPECT command which would give an idea of how many pages would be freed following clob reorg. Some configuration parameters that could help speed up reorg are: DB2_USE_ALTERNATE_PAGE_CLEANING to avoid ADM1822W errors during online table reorg. Larger UTILHEAPSZ to avoid ADM9500W while running online index reorg. Bigger bufferpool for System temporary tablespace. Enough I/O Cleaners and Servers to handle the reorgs. Note: There are other cfg parameters that can speed up reorg, but don t suit OLTP environments like sortheap, intra_parallel, max_querydegree, etc. 39

IBM DB2: LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs

IBM DB2: LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs coursemonster.com/au IBM DB2: LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs View training dates» Overview Learn how to tune for optimum performance the IBM DB2 9 for Linux,

More information

DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop

DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop Duration: 4 Days What you will learn Learn how to tune for optimum performance the IBM DB2 9 for Linux, UNIX, and Windows relational

More information

DB2 LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs

DB2 LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs Kod szkolenia: Tytuł szkolenia: CL442PL DB2 LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs Dni: 5 Opis: Learn how to tune for optimum the IBM DB2 9 for Linux, UNIX, and Windows

More information

enterpri se 88 professional expertise distilled

enterpri se 88 professional expertise distilled IBM DB2 9.7 Advanced Administration Cookbook Over 100 recipes focused on advanced administration tasks to build and configure powerful databases with IBM DB2 Adrian Neagu Robert Pelletier PUBLISHING enterpri

More information

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led Course Description Gain a deeper understanding of the advanced features of DB2 9 for Linux, UNIX, and Windows database environments

More information

Performance rule violations usually result in increased CPU or I/O, time to fix the mistake, and ultimately, a cost to the business unit.

Performance rule violations usually result in increased CPU or I/O, time to fix the mistake, and ultimately, a cost to the business unit. Is your database application experiencing poor response time, scalability problems, and too many deadlocks or poor application performance? One or a combination of zparms, database design and application

More information

W I S E. SQL Server 2008/2008 R2 Advanced DBA Performance & WISE LTD.

W I S E. SQL Server 2008/2008 R2 Advanced DBA Performance & WISE LTD. SQL Server 2008/2008 R2 Advanced DBA Performance & Tuning COURSE CODE: COURSE TITLE: AUDIENCE: SQSDPT SQL Server 2008/2008 R2 Advanced DBA Performance & Tuning SQL Server DBAs, capacity planners and system

More information

Welcome to the presentation. Thank you for taking your time for being here.

Welcome to the presentation. Thank you for taking your time for being here. Welcome to the presentation. Thank you for taking your time for being here. Few success stories that are shared in this presentation could be familiar to some of you. I would still hope that most of you

More information

OS Thread Monitoring for DB2 Server

OS Thread Monitoring for DB2 Server 1 OS Thread Monitoring for DB2 Server Minneapolis March 1st, 2011 Mathias Hoffmann ITGAIN GmbH mathias.hoffmann@itgain.de 2 Mathias Hoffmann Background Senior DB2 Consultant Product Manager for SPEEDGAIN

More information

A Practical Guide to Backup and Recovery of IBM DB2 for Linux, UNIX and Windows in SAP Environments Part 1 Backup and Recovery Overview

A Practical Guide to Backup and Recovery of IBM DB2 for Linux, UNIX and Windows in SAP Environments Part 1 Backup and Recovery Overview A Practical Guide to Backup and Recovery of IBM DB2 for Linux, UNIX and Windows in SAP Environments Part 1 Backup and Recovery Overview Version 1.4 IBM SAP DB2 Center of Excellence Revision date: 20.08.2009

More information

System Monitor Guide and Reference

System Monitor Guide and Reference IBM DB2 Universal Database System Monitor Guide and Reference Version 7 SC09-2956-00 IBM DB2 Universal Database System Monitor Guide and Reference Version 7 SC09-2956-00 Before using this information

More information

How To Manage A Data Warehouse On A Database 2 For Linux And Unix

How To Manage A Data Warehouse On A Database 2 For Linux And Unix IBM Smart Analytics System IBMr Best Practices Building a Recovery Strategy for an IBM Smart Analytics System Data Warehouse Dale McInnis IBM DB2 Availability Architect Garrett Fitzsimons IBM Smart Analytics

More information

6. Backup and Recovery 6-1. DBA Certification Course. (Summer 2008) Recovery. Log Files. Backup. Recovery

6. Backup and Recovery 6-1. DBA Certification Course. (Summer 2008) Recovery. Log Files. Backup. Recovery 6. Backup and Recovery 6-1 DBA Certification Course (Summer 2008) Chapter 6: Backup and Recovery Log Files Backup Recovery 6. Backup and Recovery 6-2 Objectives After completing this chapter, you should

More information

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress* Oracle Database 11 g Performance Tuning Recipes Sam R. Alapati Darl Kuhn Bill Padfield Apress* Contents About the Authors About the Technical Reviewer Acknowledgments xvi xvii xviii Chapter 1: Optimizing

More information

Optimizing Your Database Performance the Easy Way

Optimizing Your Database Performance the Easy Way Optimizing Your Database Performance the Easy Way by Diane Beeler, Consulting Product Marketing Manager, BMC Software and Igy Rodriguez, Technical Product Manager, BMC Software Customers and managers of

More information

Many DBA s are being required to support multiple DBMS s on multiple platforms. Many IT shops today are running a combination of Oracle and DB2 which

Many DBA s are being required to support multiple DBMS s on multiple platforms. Many IT shops today are running a combination of Oracle and DB2 which Many DBA s are being required to support multiple DBMS s on multiple platforms. Many IT shops today are running a combination of Oracle and DB2 which is resulting in either having to cross train DBA s

More information

Oracle Database 10g: New Features for Administrators

Oracle Database 10g: New Features for Administrators Oracle Database 10g: New Features for Administrators Course ON10G 5 Day(s) 30:00 Hours Introduction This course introduces students to the new features in Oracle Database 10g Release 2 - the database for

More information

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1 SQL Server 2008 Designing, Optimizing, and Maintaining a Database Course The SQL Server 2008 Designing, Optimizing, and Maintaining a Database course will help you prepare for 70-450 exam from Microsoft.

More information

SQL Performance for a Big Data 22 Billion row data warehouse

SQL Performance for a Big Data 22 Billion row data warehouse SQL Performance for a Big Data Billion row data warehouse Dave Beulke dave @ d a v e b e u l k e.com Dave Beulke & Associates Session: F19 Friday May 8, 15 8: 9: Platform: z/os D a v e @ d a v e b e u

More information

Database Performance Troubleshooting

Database Performance Troubleshooting Database Performance Troubleshooting Ani Patel IBM Toronto Lab anipatel@ca.ibm.com WDUG March 1, 2011 Platform: Linux, UNIX, Windows How We Will Grow Our Decision Tree!!!!!!!!!!!!!!!!???? CPU Bottleneck?

More information

Oracle DBA Course Contents

Oracle DBA Course Contents Oracle DBA Course Contents Overview of Oracle DBA tasks: Oracle as a flexible, complex & robust RDBMS The evolution of hardware and the relation to Oracle Different DBA job roles(vp of DBA, developer DBA,production

More information

The Self-Tuning Memory Manager (STMM): A Technical White Paper. Authors: Christian Garcia-Arellano Adam Storm Colin Taylor

The Self-Tuning Memory Manager (STMM): A Technical White Paper. Authors: Christian Garcia-Arellano Adam Storm Colin Taylor The Self-Tuning Memory Manager (STMM): A Technical White Paper Authors: Christian Garcia-Arellano Adam Storm Colin Taylor A. Introduction...3 Which parameters can STMM configure?... 4 Enabling and disabling

More information

OLTP Meets Bigdata, Challenges, Options, and Future Saibabu Devabhaktuni

OLTP Meets Bigdata, Challenges, Options, and Future Saibabu Devabhaktuni OLTP Meets Bigdata, Challenges, Options, and Future Saibabu Devabhaktuni Agenda Database trends for the past 10 years Era of Big Data and Cloud Challenges and Options Upcoming database trends Q&A Scope

More information

IBM DB2 for Linux, UNIX, and Windows. DB2 High Availability Disaster Recovery

IBM DB2 for Linux, UNIX, and Windows. DB2 High Availability Disaster Recovery IBM DB2 for Linux, UNIX, and Windows Best Practices DB2 High Availability Disaster Recovery Dale McInnis Senior Technical Staff Member DB2 Availability Architect Yuke Zhuge DB2 Development Jessica Rockwood

More information

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3 Wort ftoc.tex V3-12/17/2007 2:00pm Page ix Introduction xix Part I: Finding Bottlenecks when Something s Wrong Chapter 1: Performance Tuning 3 Art or Science? 3 The Science of Performance Tuning 4 The

More information

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB Proactive Technologies Inc. presents Version 4.0 The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB The negative impact that downtime can have on a company has never been

More information

Best practices. Performance monitoring in a data warehouse. IBM Smart Analytics System

Best practices. Performance monitoring in a data warehouse. IBM Smart Analytics System IBM Smart Analytics System Best practices Performance monitoring in a data warehouse Toni Bollinger IBM Data Warehousing and Advanced Analytics Specialist Detlev Kuntze IBM Data Warehousing Center of Excellence

More information

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/- Oracle Objective: Oracle has many advantages and features that makes it popular and thereby makes it as the world's largest enterprise software company. Oracle is used for almost all large application

More information

DB2 Database Layout and Configuration for SAP NetWeaver based Systems

DB2 Database Layout and Configuration for SAP NetWeaver based Systems IBM Software Group - IBM SAP DB2 Center of Excellence DB2 Database Layout and Configuration for SAP NetWeaver based Systems Helmut Tessarek DB2 Performance, IBM Toronto Lab IBM SAP DB2 Center of Excellence

More information

Data Compression in Blackbaud CRM Databases

Data Compression in Blackbaud CRM Databases Data Compression in Blackbaud CRM Databases Len Wyatt Enterprise Performance Team Executive Summary... 1 Compression in SQL Server... 2 Perform Compression in Blackbaud CRM Databases... 3 Initial Compression...

More information

Database Upgrade Guide Upgrading to Version 10.5 of IBM DB2 for Linux, UNIX, and Windows

Database Upgrade Guide Upgrading to Version 10.5 of IBM DB2 for Linux, UNIX, and Windows Database Upgrade Guide Upgrading to Version 10.5 of IBM DB2 for Linux, UNIX, and Windows Target Audience Technical Consultants System Administrators CUSTOMER Document version: 1.00 2013-07-26 Document

More information

MS SQL Server 2014 New Features and Database Administration

MS SQL Server 2014 New Features and Database Administration MS SQL Server 2014 New Features and Database Administration MS SQL Server 2014 Architecture Database Files and Transaction Log SQL Native Client System Databases Schemas Synonyms Dynamic Management Objects

More information

Oracle Database 12c: Performance Management and Tuning NEW

Oracle Database 12c: Performance Management and Tuning NEW Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Performance Management and Tuning NEW Duration: 5 Days What you will learn In the Oracle Database 12c: Performance Management and Tuning

More information

Oracle 11g Database Administration

Oracle 11g Database Administration Oracle 11g Database Administration Part 1: Oracle 11g Administration Workshop I A. Exploring the Oracle Database Architecture 1. Oracle Database Architecture Overview 2. Interacting with an Oracle Database

More information

SAP DBA COCKPIT Flight Plans for DB2 LUW Database Administrators

SAP DBA COCKPIT Flight Plans for DB2 LUW Database Administrators SAP DBA COCKPIT Flight Plans for DB2 LUW Database Administrators DB2 is now the database most recommended for use with SAP applications, and DB2 skills are now critical for all SAP technical professionals.

More information

Enhancing SQL Server Performance

Enhancing SQL Server Performance Enhancing SQL Server Performance Bradley Ball, Jason Strate and Roger Wolter In the ever-evolving data world, improving database performance is a constant challenge for administrators. End user satisfaction

More information

PATROL From a Database Administrator s Perspective

PATROL From a Database Administrator s Perspective PATROL From a Database Administrator s Perspective September 28, 2001 Author: Cindy Bean Senior Software Consultant BMC Software, Inc. 3/4/02 2 Table of Contents Introduction 5 Database Administrator Tasks

More information

Efficient and cost-optimized Operation of existing SAP Landscapes with PBS Nearline Storage and DB2 BLU

Efficient and cost-optimized Operation of existing SAP Landscapes with PBS Nearline Storage and DB2 BLU Efficient and cost-optimized Operation of existing SAP Landscapes with PBS Nearline Storage and DB2 BLU Stefan Hummel Senior DB2 Specialist, IBM Germany Agenda DB2 Introduction DB2 BLU Acceleration DB2

More information

DB2 9 DBA exam 731 prep, Part 6: High availability: Backup and recovery

DB2 9 DBA exam 731 prep, Part 6: High availability: Backup and recovery DB2 9 DBA exam 731 prep, Part 6: High availability: Backup and recovery Skill Level: Intermediate Sylvia Qi (sylviaq@ca.ibm.com) WebSphere Application Server Function Verification Tester IBM Toronto Lab

More information

Best Practices. Using IBM InfoSphere Optim High Performance Unload as part of a Recovery Strategy. IBM Smart Analytics System

Best Practices. Using IBM InfoSphere Optim High Performance Unload as part of a Recovery Strategy. IBM Smart Analytics System IBM Smart Analytics System Best Practices Using IBM InfoSphere Optim High Performance Unload as part of a Recovery Strategy Garrett Fitzsimons IBM Data Warehouse Best Practices Specialist Konrad Emanowicz

More information

Mind Q Systems Private Limited

Mind Q Systems Private Limited MS SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques Module 1: SQL Server Architecture Introduction to SQL Server 2012 Overview on RDBMS and Beyond Relational Big picture of

More information

Perform-Tools. Powering your performance

Perform-Tools. Powering your performance Perform-Tools Powering your performance Perform-Tools With Perform-Tools, optimizing Microsoft Dynamics products on a SQL Server platform never was this easy. They are a fully tested and supported set

More information

Backup and Recovery. Presented by DB2 Developer Domain http://www7b.software.ibm.com/dmdd/

Backup and Recovery. Presented by DB2 Developer Domain http://www7b.software.ibm.com/dmdd/ Backup and Recovery Table of Contents If you're viewing this document online, you can click any of the topics below to link directly to that section. 1. Introduction... 2 2. Database recovery concepts...

More information

MS SQL Performance (Tuning) Best Practices:

MS SQL Performance (Tuning) Best Practices: MS SQL Performance (Tuning) Best Practices: 1. Don t share the SQL server hardware with other services If other workloads are running on the same server where SQL Server is running, memory and other hardware

More information

Performance Counters. Microsoft SQL. Technical Data Sheet. Overview:

Performance Counters. Microsoft SQL. Technical Data Sheet. Overview: Performance Counters Technical Data Sheet Microsoft SQL Overview: Key Features and Benefits: Key Definitions: Performance counters are used by the Operations Management Architecture (OMA) to collect data

More information

Automation Engine 14.1. AE Server management

Automation Engine 14.1. AE Server management 14.1 AE Server management 06-2015 Contents 1. The Server Web Page... 3 2. Status Overview...4 2.1 FAQs on Restarting and Reactivating the Server...5 3. Server Activity... 6 4. Server Setup... 7 4.1 Server

More information

DB2 backup and recovery

DB2 backup and recovery DB2 backup and recovery IBM Information Management Cloud Computing Center of Competence IBM Canada Lab 1 2011 IBM Corporation Agenda Backup and recovery overview Database logging Backup Recovery 2 2011

More information

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques Module: 1 Module: 2 Module: 3 Module: 4 Module: 5 Module: 6 Module: 7 Architecture &Internals of SQL Server Engine Installing,

More information

I-Motion SQL Server admin concerns

I-Motion SQL Server admin concerns I-Motion SQL Server admin concerns I-Motion SQL Server admin concerns Version Date Author Comments 4 2014-04-29 Rebrand 3 2011-07-12 Vincent MORIAUX Add Maintenance Plan tutorial appendix Add Recommended

More information

Data Recovery and High Availability Guide and Reference

Data Recovery and High Availability Guide and Reference IBM DB2 Universal Database Data Recovery and High Availability Guide and Reference Version 8 SC09-4831-00 IBM DB2 Universal Database Data Recovery and High Availability Guide and Reference Version 8 SC09-4831-00

More information

Whitepaper: performance of SqlBulkCopy

Whitepaper: performance of SqlBulkCopy We SOLVE COMPLEX PROBLEMS of DATA MODELING and DEVELOP TOOLS and solutions to let business perform best through data analysis Whitepaper: performance of SqlBulkCopy This whitepaper provides an analysis

More information

Analyzing & Optimizing T-SQL Query Performance Part1: using SET and DBCC. Kevin Kline Senior Product Architect for SQL Server Quest Software

Analyzing & Optimizing T-SQL Query Performance Part1: using SET and DBCC. Kevin Kline Senior Product Architect for SQL Server Quest Software Analyzing & Optimizing T-SQL Query Performance Part1: using SET and DBCC Kevin Kline Senior Product Architect for SQL Server Quest Software AGENDA Audience Poll Presentation (submit questions to the e-seminar

More information

Optimizing Performance. Training Division New Delhi

Optimizing Performance. Training Division New Delhi Optimizing Performance Training Division New Delhi Performance tuning : Goals Minimize the response time for each query Maximize the throughput of the entire database server by minimizing network traffic,

More information

Monitoring PostgreSQL database with Verax NMS

Monitoring PostgreSQL database with Verax NMS Monitoring PostgreSQL database with Verax NMS Table of contents Abstract... 3 1. Adding PostgreSQL database to device inventory... 4 2. Adding sensors for PostgreSQL database... 7 3. Adding performance

More information

Using Database Performance Warehouse to Monitor Microsoft SQL Server Report Content

Using Database Performance Warehouse to Monitor Microsoft SQL Server Report Content Using Database Performance Warehouse to Monitor Microsoft SQL Server Report Content Applies to: Enhancement Package 1 for SAP Solution Manager 7.0 (SP18) and Microsoft SQL Server databases. SAP Solution

More information

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system. DBA Fundamentals COURSE CODE: COURSE TITLE: AUDIENCE: SQSDBA SQL Server 2008/2008 R2 DBA Fundamentals Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows

More information

Configuring Apache Derby for Performance and Durability Olav Sandstå

Configuring Apache Derby for Performance and Durability Olav Sandstå Configuring Apache Derby for Performance and Durability Olav Sandstå Sun Microsystems Trondheim, Norway Agenda Apache Derby introduction Performance and durability Performance tips Open source database

More information

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center Presented by: Dennis Liao Sales Engineer Zach Rea Sales Engineer January 27 th, 2015 Session 4 This Session

More information

How to overcome SQL Server maintenance challenges White Paper

How to overcome SQL Server maintenance challenges White Paper How to overcome SQL Server maintenance challenges White Paper White Paper on different SQL server storage and performance management challenges faced by administrators and how they can be overcome using

More information

Table of Contents. Chapter 1: Introduction. Chapter 2: Getting Started. Chapter 3: Standard Functionality. Chapter 4: Module Descriptions

Table of Contents. Chapter 1: Introduction. Chapter 2: Getting Started. Chapter 3: Standard Functionality. Chapter 4: Module Descriptions Table of Contents Chapter 1: Introduction Chapter 2: Getting Started Chapter 3: Standard Functionality Chapter 4: Module Descriptions Table of Contents Table of Contents Chapter 5: Administration Table

More information

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle Database 11g: Performance Tuning DBA Release 2 Oracle University Contact Us: 1.800.529.0165 Oracle Database 11g: Performance Tuning DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g Performance Tuning training starts with

More information

SQL Server 2014 New Features/In- Memory Store. Juergen Thomas Microsoft Corporation

SQL Server 2014 New Features/In- Memory Store. Juergen Thomas Microsoft Corporation SQL Server 2014 New Features/In- Memory Store Juergen Thomas Microsoft Corporation AGENDA 1. SQL Server 2014 what and when 2. SQL Server 2014 In-Memory 3. SQL Server 2014 in IaaS scenarios 2 SQL Server

More information

OPTIMIZING EXCHANGE SERVER IN A TIERED STORAGE ENVIRONMENT WHITE PAPER NOVEMBER 2006

OPTIMIZING EXCHANGE SERVER IN A TIERED STORAGE ENVIRONMENT WHITE PAPER NOVEMBER 2006 OPTIMIZING EXCHANGE SERVER IN A TIERED STORAGE ENVIRONMENT WHITE PAPER NOVEMBER 2006 EXECUTIVE SUMMARY Microsoft Exchange Server is a disk-intensive application that requires high speed storage to deliver

More information

vrops Microsoft SQL Server MANAGEMENT PACK User Guide

vrops Microsoft SQL Server MANAGEMENT PACK User Guide vrops Microsoft SQL Server MANAGEMENT PACK User Guide TABLE OF CONTENTS 1. vrealize Operations Management Pack for Microsoft SQL Server User Guide... 3 1.1 Intended Audience... 3 2. Revision Notes... 3

More information

Postgres Plus xdb Replication Server with Multi-Master User s Guide

Postgres Plus xdb Replication Server with Multi-Master User s Guide Postgres Plus xdb Replication Server with Multi-Master User s Guide Postgres Plus xdb Replication Server with Multi-Master build 57 August 22, 2012 , Version 5.0 by EnterpriseDB Corporation Copyright 2012

More information

PERFORMANCE TUNING FOR PEOPLESOFT APPLICATIONS

PERFORMANCE TUNING FOR PEOPLESOFT APPLICATIONS PERFORMANCE TUNING FOR PEOPLESOFT APPLICATIONS 1.Introduction: It is a widely known fact that 80% of performance problems are a direct result of the to poor performance, such as server configuration, resource

More information

DB2 for i5/os: Tuning for Performance

DB2 for i5/os: Tuning for Performance DB2 for i5/os: Tuning for Performance Jackie Jansen Senior Consulting IT Specialist jjansen@ca.ibm.com August 2007 Agenda Query Optimization Index Design Materialized Query Tables Parallel Processing Optimization

More information

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5 Performance Study VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5 VMware VirtualCenter uses a database to store metadata on the state of a VMware Infrastructure environment.

More information

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC MyOra 3.0 SQL Tool for Oracle User Guide Jayam Systems, LLC Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL

More information

DB2 for z/os Backup and Recovery: Basics, Best Practices, and What's New

DB2 for z/os Backup and Recovery: Basics, Best Practices, and What's New Robert Catterall, IBM rfcatter@us.ibm.com DB2 for z/os Backup and Recovery: Basics, Best Practices, and What's New Baltimore / Washington DB2 Users Group June 11, 2015 Information Management 2015 IBM Corporation

More information

Physical Data Organization

Physical Data Organization Physical Data Organization Database design using logical model of the database - appropriate level for users to focus on - user independence from implementation details Performance - other major factor

More information

Guideline for stresstest Page 1 of 6. Stress test

Guideline for stresstest Page 1 of 6. Stress test Guideline for stresstest Page 1 of 6 Stress test Objective: Show unacceptable problems with high parallel load. Crash, wrong processing, slow processing. Test Procedure: Run test cases with maximum number

More information

SQL Server. DMVs in Action. Better Queries with. Dynamic Management Views MANNING IANW. STIRK. Shelter Island

SQL Server. DMVs in Action. Better Queries with. Dynamic Management Views MANNING IANW. STIRK. Shelter Island SQL Server DMVs in Action Better Queries with Dynamic Management Views IANW. STIRK II MANNING Shelter Island contents preface xix acknowledgements about this book xxii xx Part 1 Starting the journey 1

More information

CA Database Performance

CA Database Performance DATA SHEET CA Database Performance CA Database Performance helps you proactively manage and alert on database performance across the IT infrastructure, regardless of whether the database is located within

More information

Performance Analysis and Tuning for DB2 UDB

Performance Analysis and Tuning for DB2 UDB A White Paper Metron Technology Ltd Metron-Athene Inc 2003 This paper is based on the Author s experiences in performance analysis and tuning for DB2 UDB on distributed platforms. The paper is intended

More information

Monitoring and Administration with SAP on DB2

Monitoring and Administration with SAP on DB2 Monitoring and Administration with SAP on DB2 Introduction to the DBA Cockpit Ralf Stauffer Development Architect, SAP AG SAP on DB2 for Linux, UNIX, and Windows Agenda 1. Managing System Landscapes 2.

More information

Version 5.0. MIMIX ha1 and MIMIX ha Lite for IBM i5/os. Using MIMIX. Published: May 2008 level 5.0.13.00. Copyrights, Trademarks, and Notices

Version 5.0. MIMIX ha1 and MIMIX ha Lite for IBM i5/os. Using MIMIX. Published: May 2008 level 5.0.13.00. Copyrights, Trademarks, and Notices Version 5.0 MIMIX ha1 and MIMIX ha Lite for IBM i5/os Using MIMIX Published: May 2008 level 5.0.13.00 Copyrights, Trademarks, and Notices Product conventions... 10 Menus and commands... 10 Accessing online

More information

StreamServe Persuasion SP5 Oracle Database

StreamServe Persuasion SP5 Oracle Database StreamServe Persuasion SP5 Oracle Database Database Guidelines Rev A StreamServe Persuasion SP5 Oracle Database Database Guidelines Rev A 2001-2011 STREAMSERVE, INC. ALL RIGHTS RESERVED United States patent

More information

Backup and Recovery...

Backup and Recovery... 7 Backup and Recovery... Fourteen percent (14%) of the DB2 UDB V8.1 for Linux, UNIX, and Windows Database Administration certification exam (Exam 701) and seventeen percent (17%) of the DB2 UDB V8.1 for

More information

DMS Performance Tuning Guide for SQL Server

DMS Performance Tuning Guide for SQL Server DMS Performance Tuning Guide for SQL Server Rev: February 13, 2014 Sitecore CMS 6.5 DMS Performance Tuning Guide for SQL Server A system administrator's guide to optimizing the performance of Sitecore

More information

CL492RU: DB2 9 for LUW Advanced Database Recovery Training CL492RU: DB2 9 for LUW Advanced Database Recovery Training

CL492RU: DB2 9 for LUW Advanced Database Recovery Training CL492RU: DB2 9 for LUW Advanced Database Recovery Training CL492RU: DB2 9 for LUW Advanced Database Recovery Training CL492RU: DB2 9 for LUW Advanced Database Recovery Training Содержание Краткая информация... 2 Обзор... 2 О курсе... 2 Профиль аудитории... 2 По

More information

Tivoli Storage Manager Explained

Tivoli Storage Manager Explained IBM Software Group Dave Cannon IBM Tivoli Storage Management Development Oxford University TSM Symposium 2003 Presentation Objectives Explain TSM behavior for selected operations Describe design goals

More information

Cognos Performance Troubleshooting

Cognos Performance Troubleshooting Cognos Performance Troubleshooting Presenters James Salmon Marketing Manager James.Salmon@budgetingsolutions.co.uk Andy Ellis Senior BI Consultant Andy.Ellis@budgetingsolutions.co.uk Want to ask a question?

More information

DB2. Data Recovery and High Availability Guide and Reference. DB2 Version 9 SC10-4228-00

DB2. Data Recovery and High Availability Guide and Reference. DB2 Version 9 SC10-4228-00 DB2 DB2 Version 9 for Linux, UNIX, and Windows Data Recovery and High Availability Guide and Reference SC10-4228-00 DB2 DB2 Version 9 for Linux, UNIX, and Windows Data Recovery and High Availability Guide

More information

In-memory Tables Technology overview and solutions

In-memory Tables Technology overview and solutions In-memory Tables Technology overview and solutions My mainframe is my business. My business relies on MIPS. Verna Bartlett Head of Marketing Gary Weinhold Systems Analyst Agenda Introduction to in-memory

More information

Configuring Apache Derby for Performance and Durability Olav Sandstå

Configuring Apache Derby for Performance and Durability Olav Sandstå Configuring Apache Derby for Performance and Durability Olav Sandstå Database Technology Group Sun Microsystems Trondheim, Norway Overview Background > Transactions, Failure Classes, Derby Architecture

More information

One of the database administrators

One of the database administrators THE ESSENTIAL GUIDE TO Database Monitoring By Michael Otey SPONSORED BY One of the database administrators (DBAs) most important jobs is to keep the database running smoothly, which includes quickly troubleshooting

More information

Server 2008 SQL. Administration in Action ROD COLLEDGE MANNING. Greenwich. (74 w. long.)

Server 2008 SQL. Administration in Action ROD COLLEDGE MANNING. Greenwich. (74 w. long.) SQL Server 2008 Administration in Action ROD COLLEDGE 11 MANNING Greenwich (74 w. long.) contents foreword xiv preface xvii acknowledgments xix about this book xx about the cover illustration about the

More information

Ingres Backup and Recovery. Bruno Bompar Senior Manager Customer Support

Ingres Backup and Recovery. Bruno Bompar Senior Manager Customer Support Ingres Backup and Recovery Bruno Bompar Senior Manager Customer Support 1 Abstract Proper backup is crucial in any production DBMS installation, and Ingres is no exception. And backups are useless unless

More information

Distribution One Server Requirements

Distribution One Server Requirements Distribution One Server Requirements Introduction Welcome to the Hardware Configuration Guide. The goal of this guide is to provide a practical approach to sizing your Distribution One application and

More information

IBM DB2 9.7. Backup and Recovery Hands-On Lab. Information Management Cloud Computing Center of Competence. IBM Canada Lab

IBM DB2 9.7. Backup and Recovery Hands-On Lab. Information Management Cloud Computing Center of Competence. IBM Canada Lab IBM DB2 9.7 Backup and Recovery Hands-On Lab I Information Management Cloud Computing Center of Competence IBM Canada Lab 1 Contents CONTENTS...1 1. INTRODUCTION...3 2. BASIC SETUP...3 2.1 Environment

More information

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010 Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010 This document is provided as-is. Information and views expressed in this document, including URL and other Internet

More information

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led Course Description This four-day instructor-led course provides students with the knowledge and skills to capitalize on their skills

More information

DBAs having to manage DB2 on multiple platforms will find this information essential.

DBAs having to manage DB2 on multiple platforms will find this information essential. DB2 running on Linux, Unix, and Windows (LUW) continues to grow at a rapid pace. This rapid growth has resulted in a shortage of experienced non-mainframe DB2 DBAs. IT departments today have to deal with

More information

Database Administration Guide SAP on IBM DB2 for Linux, UNIX, and Windows

Database Administration Guide SAP on IBM DB2 for Linux, UNIX, and Windows Database Administration Guide SAP on IBM DB2 for Linux, UNIX, and Windows Valid for the Following DB2 and SAP Releases: Version 10.1, 9.7, 9.5, and 9.1 of the IBM DB2 database SAP NetWeaver 7.0 and higher

More information

Microsoft SQL Server OLTP Best Practice

Microsoft SQL Server OLTP Best Practice Microsoft SQL Server OLTP Best Practice The document Introduction to Transactional (OLTP) Load Testing for all Databases provides a general overview on the HammerDB OLTP workload and the document Microsoft

More information

General DBA Best Practices

General DBA Best Practices General DBA Best Practices An Accelerated Technology Laboratories, Inc. White Paper 496 Holly Grove School Road West End, NC 27376 1 (800) 565-LIMS (5467) / 1 (910) 673-8165 1 (910) 673-8166 (FAX) E-mail:

More information

Microsoft SQL Server 2012 Administration

Microsoft SQL Server 2012 Administration PROFESSION Microsoft SQL Server 2012 Administration Adam Jorgensen Steven Wort Ross LoForte Brian Knight WILEY John Wiley & Sons, Inc. INTRODUCTION xxxvii CHAPTER 1: SQL SERVER 2012 ARCHITECTURE 1 SQL

More information

Netezza PureData System Administration Course

Netezza PureData System Administration Course Course Length: 2 days CEUs 1.2 AUDIENCE After completion of this course, you should be able to: Administer the IBM PDA/Netezza Install Netezza Client Software Use the Netezza System Interfaces Understand

More information

1. This lesson introduces the Performance Tuning course objectives and agenda

1. This lesson introduces the Performance Tuning course objectives and agenda Oracle Database 11g: Performance Tuning The course starts with an unknown database that requires tuning. The lessons will proceed through the steps a DBA will perform to acquire the information needed

More information