The first issue of “My Databases” coming next week!

ASE, Databases, IBM DB2, Microsoft, My Databases, MySQL, Oracle, Postgres, SQL Server, SQLite, Sybase 3 Comments »

As many of you know, I’ve been working on a free magazine regarding various database systems (dbms) called My Databases.  I hope to have multiple authors in future issues covering all sorts of open source and proprietary databases.

I should have the first issue done Sunday night.  I’m using OpenOffice, Scribus, Gimp, and Inkscape.

Listen to this podcast Listen to this podcast

Is Sybase’s ASE SQL92 (ANSI SQL2) or SQL99 (ANSI SQL3) compliant?

ASE, Databases, IBM DB2, Microsoft, MySQL, Oracle, Postgres, SQL Server, SQLite, Sybase No Comments »

ASE implements a subset of SQL 92 and isn’t 100% compliant with the SQL 92 standard (no DBMS on the planet is btw).

SQL99 compliance isn’t seriously being looked at by the major commercial DBMS vendors. Disregarding the fact the the SQL standards aren’t all they are cracked up to be, the vendors have too much invested in their own proprietary SQL variants (and other components) to be 100% compliant. If they were 100% compliant with the SQL92/99/whatever standard, then wholesale migrations from one vendor to another would take place.

I believe as time goes forward the opensource DBMSs (PostgreSQL, MySQL, etc) may become far more compliant with the standards than the commercial vendors as vendor lock in doesn’t mean as much to them.

Look into what the vendors (Oracle, MS, IBM,etc) are saying what constitutes as “compliance”. Ask each vendor what parts of the SQL99 standard they will be implementing and which parts they won’t be. If any vendor says that they are 100% compliant with the SQL92 or SQL99 ANSI standard, then that particular person is lying to you. Granted, that person may have been told their DBMS was 100% compliant and believes it. An honest vendor says that they comply with features X,Y and Z of the SQL 92 or SQL 99 standards.

Personally, I have found no significant movement by any of the commercial DBMS vendors to implement the SQL99 standard. So far it has just been lip service IMHO.

Listen to this podcast Listen to this podcast

Virtualization and Databases

ASE, Databases, IBM DB2, Microsoft, MySQL, Oracle, Postgres, SQL Server, Sybase No Comments »

In Chris Brown’s Virtualization and ASE blog post, he brings up the question of whether Sybase’s ASE can be used in a virtual environment (VMWare, Xen, etc) but doesn’t answer it. I’ve been using various databases in virtual environments for several years, here is what I found out:

Running ASE, ASIQ, or SQL Anywhere under virtualization software such as Xen, VMWare, Parallels, etc is very useful under a number of situations:

  1. development of new applications - each developer group can have its own “db server” on the same machine
  2. testing new ebfs/releases with your applications
  3. reproducing problems either in the sybase software or in the application code - a ‘virgin’ instance that can be duplicated at will
  4. trying out new operating systems (moving from Windows to Linux or Windows to Solaris x86?) without investing in new hardware

The main caveat is that the performance stinks - databases typically require high disk i/o, memory i/o and cpu responsiveness. The virtualization software currently available, even with hardware help (newer Intel,AMD chips), are not up to the task of running a *production* database.  In a couple years… possibly.

Listen to this podcast Listen to this podcast

Monitoring Databases - what’s wrong with that?

ASE, Databases, IBM DB2, Microsoft, MySQL, Oracle, Postgres, SQL Server, Sybase No Comments »

Most database monitoring systems aren’t from the database vendors as you might think, but a hodge-podge of 3rd party vendors that seem to want to charge more than I make in a lifetime for database monitoring software — try finding low cost monitoring software for DB2 on the mainframe.

They typically use standardized, and often deprecated, monitor counters that when used for their product, interfere with any other monitoring products you might use.  For example, if the Operations Department is using Nimbus to monitor the network, VoIP, hosts, tape archival systems, and the database servers to ensure that they are running, what happens when the DBAs want to use DBA Expert? The two products (keep in mind that I chose the products for the example at random) will trip over each other - neither will provide reliable metrics of the databases.

The front ends for the monitoring products always seem to show a fancy GUI full of bright colors, dials, graphs, and the latest and greatest designer kitchen sink. They are very rarely willing to provide any documented API or mechanism for you to obtain the data from their product without a nasty NDA. The premise is that you will use their front end to display and analyze the monitoring metrics.

The database vendors, themselves, are largely to blame. The monitoring APIs that they offer assume that you will only be using a single monitoring system.  For example, in Sybase’s ASE, the new API is to use their MDA tables to obtain performance metrics but the problem comes in when the monitoring software would use multiple methods to obtain additional information that may not be (easily) obtainable from the MDA tables.  sp_sysmon will reset several monitoring counters unless you call it with the ‘noclear’ option.  Unfortunately, the ‘noclear’ is not widely known and rarely used in the monitoring software.  Of course, this is just an example of multiple monitoring APIs from a database vendor.

You know what? I don’t care about the vendors’ fancy front ends. Give me a web service that I can access and use the monitoring metrics in another application, a PDA, etc. A few vendors have tried to offer an API but they are often so damned complicated that you would have had to work at the company to understand the API.  Don’t even get me started on vendors keeping their APIs updated.

Update:  Thanks goes to Peter Dorfman of Sybase to helping clarifying that the MDA tables in ASE ‘clear’ only on a connection basis.  That means if you look at monDeadlocks on connection #1 twice, the first select might show 5 rows and the second 0 rows.  If you ran the select on connection #2 sometime later, you would see the 5 rows plus any other deadlocks that might have occurred since then.  I wasn’t very clear on that as I was (in my head) also including sp_sysmon and other monitoring options that would conflict with the MDA tables.

Listen to this podcast Listen to this podcast

DB2 Version 8 System Catalog poster

IBM DB2 No Comments »

I looked high and low on the IBM website looking for a DB2 equivalent to Sybase’s ASE System Tables poster but couldn’t find it.  A quick google search (db2 poster) showed that Willie Favero was able to obtain a DB2 Version 8 System Catalog poster from Roger Miller (IBM SVL and DB2 Developer fame).

Thanks goes to Willie Favero for hosting the pdf and to Roger Miller for making it available Cool 

Listen to this podcast Listen to this podcast

DB2 DBA needed

IBM DB2 No Comments »

Anyone know of a DB2 DBA (preferrably with mainframe z/OS experience) looking for a job in Chicago?  Drop me a line.

Listen to this podcast Listen to this podcast

IBM DB2 Podcast

IBM DB2 No Comments »

The DB2 Cocktail Hour is a frank and open discussion of all things DB2. DB2EXPERT.COM is a DB2 DBA and developer website created by the DB2 consultants of Yevich, Lawson, and Associates.

The following snippet is just a sampling of the podcast.

03/25/2005 - Series 1 Podcast 2 Availability
Notes by Dan….DB2 V8 includes many new feaures for availability, and so we thought we’d address those features, but also talk about how application and database design are a very big part of high availability. This podcast was recorded at Susan’s home in Springfield, Illinois. Susan was having some Trapiche Cabernet from Chile, and I had a couple of Sierra Nevada Pale Ale. Drop-ins include Opera Singer by Cake, and Goody Two Shoes by Adam Ant. OK, so now we’re a bit looser…maybe too loose! There are a few silent moments as I forget what I’m doing, and keep pushing the wrong buttons on the computer, so keep listening through those parts (we don’t edit).
Disclaimer and Copyright

In this podcast we talk about:

  • Availability Features in V8
  • Careful Usage of New V8 Features
  • Designing a database for high availability
  • Designing an application for high availability

Right click on the file name, and do a save as. Then you can listen on your PC, or download into your portable device to listen to anywhere! db2_Cocktail_Hour_12_avail.mp3

03/03/2005 - Series 1 Podcast 1 DPSI’s
Notes by Dan….Here we go! This is our very first podcast, and as far as we know the first DB2 podcast ever. We chose the V8 topic of DPSI’s because they are probably asked about more than any other V8 feature, and misunderstood by many. This podcast was recorded high atop the Marriott Waterfront in beautiful Baltimore, Maryland. Susan was having some Robert Mondavi Merlot, and I had a couple of Amstel Lights. We also had some pretzels. Drop-ins include Rock the Nation by Montrose, and Fly by Sugar Ray. I was going to drop in Goody Two Shoes by Adam Ant, but forgot to…maybe next time! I was pretty excited and I think I drank most of my beer in the first one minute. This being our first one we may be a bit stiff, but we’ll get the hang of it! We hope you like it, and please give us some feedback and topic suggestions!
Disclaimer and Copyright

In this podcast we talk about:

  • Current issues with NPSI’s
  • Alternatives to NPSI’s
  • Challenges with UNION in view subquery pruning
  • Discussion on V8 DPSI’s
  • Challenges with DPSI’s
  • Partition elimination issues

Right click on the file name, and do a save as. Then you can listen on your PC, or download into your portable device to listen to anywhere! db2_Cocktail_Hour_11_dpsi.mp3

Listen to this podcast Listen to this podcast
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in
Close
E-mail It