DB2 UTIL http://www.db2util.com Administering DB2 LUW databases Thu, 09 Mar 2017 17:22:52 +0000 en-US hourly 1 https://wordpress.org/?v=4.8.2 DB2 with BLU Acceleration for SAP http://www.db2util.com/administration/db2-blu-acceleration-sap/ http://www.db2util.com/administration/db2-blu-acceleration-sap/#respond Thu, 28 Aug 2014 07:06:05 +0000 http://www.db2util.com/?p=23284 Every time it’s more common SAP environments running with DB2. Attached a video regarding the capabilities of DB2 with BLU Acceleration applied to SAP and all SAP notes to consider. Surprising comparative with SAP HANA, and as with less complexity and investment, you get more performance. Pay attention to the comparison with SAP HANA:

The post DB2 with BLU Acceleration for SAP appeared first on DB2 UTIL.

]]>
0
SQL1046N – The authorization ID is not valid http://www.db2util.com/error/sql1046n-error-db2-luw/ http://www.db2util.com/error/sql1046n-error-db2-luw/#respond Thu, 21 Aug 2014 11:20:53 +0000 http://www.db2util.com/?p=23279 This error is very common in DB2 though it is not an error usually finds by the database administrators during their tasks, but by applications or technicians during the configuration phase of a new environment. In this article we will see some of the common causes of this error. As we see the information about […]

The post SQL1046N – The authorization ID is not valid appeared first on DB2 UTIL.

]]>
0
DB2 Top 10 SQL by Execution Time http://www.db2util.com/administration/db2-top-10-sql-by-execution-time/ http://www.db2util.com/administration/db2-top-10-sql-by-execution-time/#respond Sat, 09 Feb 2013 07:07:00 +0000 http://www.db2util.com/?p=23242 How to obtain the db2 top 10 SQL sorted by Execution time on your database? db2 "SELECT AVERAGE_EXECUTION_TIME_S as TIME_SECONDS, NUM_EXECUTIONS as EXECUTIONS, STMT_TEXT as TEXT FROM SYSIBMADM.TOP_DYNAMIC_SQL WHERE upper(STMT_TEXT) like 'SELECT%' ORDER BY AVERAGE_EXECUTION_TIME_S DESC FETCH FIRST 10 ROWS ONLY"   I hope you find it useful!

The post DB2 Top 10 SQL by Execution Time appeared first on DB2 UTIL.

]]>
0
DB2 Top 10 SQL by Number of Executions http://www.db2util.com/administration/db2-top-10-sql-by-number-of-executions/ http://www.db2util.com/administration/db2-top-10-sql-by-number-of-executions/#respond Fri, 08 Feb 2013 18:54:36 +0000 http://www.db2util.com/?p=23241 How to obtain the top 10 SQL sorted by number of executions on your database? db2 "SELECT NUM_EXECUTIONS as EXECUTIONS, AVERAGE_EXECUTION_TIME_S as TIME_SECONDS, STMT_TEXT as TEXT FROM SYSIBMADM.TOP_DYNAMIC_SQL WHERE upper(STMT_TEXT) like 'SELECT%' ORDER BY NUM_EXECUTIONS DESC FETCH FIRST 10 ROWS ONLY" I hope you find it useful!

The post DB2 Top 10 SQL by Number of Executions appeared first on DB2 UTIL.

]]>
0
DB2TOP replay http://www.db2util.com/administration/db2top-replay/ http://www.db2util.com/administration/db2top-replay/#respond Fri, 08 Feb 2013 18:20:09 +0000 http://www.db2util.com/?p=23240 Actually DB2TOP is a real-time tool, however many DBA’s don’t know that it can be run in REPLAY mode with captured session information. So, next time you have a big crisis with your database, you can capture all the data from db2top and do the analysis afterwards. How to capture the data? Option -C to […]

The post DB2TOP replay appeared first on DB2 UTIL.

]]>
0
Options db2 command line – Disable autocommit http://www.db2util.com/administration/options-db2-command-line-disable-autocommit/ http://www.db2util.com/administration/options-db2-command-line-disable-autocommit/#comments Tue, 17 Jul 2012 15:53:47 +0000 http://www.db2util.com/?p=23224 DB2 command line utility has different options. In this post we show how to disable the autocommit of DML statements that by default is active. In case you want to do some test, for example, simulating the use of locks could be helpful to disable this feature. Options from DB2 command line can be obtained […]

The post Options db2 command line – Disable autocommit appeared first on DB2 UTIL.

]]>
1
DB2 Dates format by region http://www.db2util.com/tricks/db2-dates-format-by-region/ http://www.db2util.com/tricks/db2-dates-format-by-region/#respond Mon, 26 Mar 2012 19:38:51 +0000 http://www.db2util.com/?p=23222 To give a specific format to the date obtained throught DB2 “current date”, you can use the following method. Get date with the European format: select CHAR(current date, EUR) from sysibm.sysdummy1 1 ---------- 22.03.2012 1 record(s) selected. Get date with the USA format: db2 => select char(current date, USA) from sysibm.sysdummy1 1 ---------- 03/22/2012 1 […]

The post DB2 Dates format by region appeared first on DB2 UTIL.

]]>
0
Resource Limits between DB2 Express-C versus Oracle XE and SQL Server Express http://www.db2util.com/administration/resource-limits-between-db2-express-c-versus-oracle-xe-and-sql-server-express/ http://www.db2util.com/administration/resource-limits-between-db2-express-c-versus-oracle-xe-and-sql-server-express/#respond Wed, 25 Jan 2012 17:36:56 +0000 http://www.db2util.com/?p=23155 The free version of DB2 (DB2 Express-C) has much less limitations than those existing in Oracle and SQL Server, Oracle Express Edition 10g/11g and SQL Server 2005/2008 Express. This article shows this advantage you get with DB2 Express-C compared to Oracle/Microsoft SQL Server.   Characteristic DB2 Express-C SQL Server 2005/2008 Express Oracle 10g/11g Express Edition […]

The post Resource Limits between DB2 Express-C versus Oracle XE and SQL Server Express appeared first on DB2 UTIL.

]]>
0
Tuning DB2: Snapshots http://www.db2util.com/tuning/tuning-db2-snapshots/ http://www.db2util.com/tuning/tuning-db2-snapshots/#respond Tue, 24 Jan 2012 21:51:02 +0000 http://www.db2util.com/?p=23158 To tuning a database is useful to create snapshots that capture information from different structures/components of the instance. In this post we show how they can be used to perform an analysis of tuning. First of all, the monitor switches must be on to collect data from the different structures. The state monitors are available […]

The post Tuning DB2: Snapshots appeared first on DB2 UTIL.

]]>
0
Rename database DB2 http://www.db2util.com/administration/rename-database-db2/ http://www.db2util.com/administration/rename-database-db2/#respond Sun, 22 Jan 2012 23:51:34 +0000 http://www.db2util.es/?p=94 Is common practice to require a replica of a database on another different environment, and also require that the new database has a new name. For example, to update a pre-production database, backing up SAP homogeneous or simply to change the name of the database for any need. The utility “db2relocatedb” is used to perform […]

The post Rename database DB2 appeared first on DB2 UTIL.

]]>
0