![]() |
Generated PowerPoint slide with Db2 data |
Henrik's thoughts on life in IT, data and information management, cloud computing, cognitive computing, covering IBM Db2, IBM Cloud, Watson, Amazon Web Services, Microsoft Azure and more.
Showing posts with label dashdb. Show all posts
Showing posts with label dashdb. Show all posts
Tuesday, January 10, 2023
Generate PowerPoint slides from your Db2 data with Python
Monday, October 11, 2021
Db2 on Cloud credentials and how to connect from your app
Over the past 12 months, Db2 on Cloud migrated instances to a new deployment model. It seems to be based on the IBM Cloud Databases model and resulted in a different structure for the service credentials. Previously, Db2 on Cloud instances were accessible on the typical ports 50000 and 50001. The JSON-based credentials object included ready-to-use connection URIs. Now, after the change, the VCAP object has more parts, but is missing the easy-to-use URIs. In the following, I am showing you how to consume the new credential structure in your app and to successfully connect to Db2 on Cloud.
Wednesday, June 17, 2020
Getting started with Db2 on Cloud Lite
It seems to me that during the COVID-19 pandemic there are more hackathons than usual. Great to see that IBM Cloud is the platform of choice for many solutions. Db2 on Cloud is used as database, often the free Lite plan to get started. That's the reason I published a quick guide on the IBM Cloud blog on how to use Db2 on Cloud Lite plan for hackathons.
Monday, April 20, 2020
All the best combined: Cloud, Db2, Python, Serverless and Security
![]() |
Add a cloud service ID as Db2 user |
All this helps to reduce the set of privileges held by a user or service and hence increases cloud security.
Friday, January 10, 2020
Use an API KEY or ACCESS TOKEN to connect to Db2 on IBM Cloud
In the past, I have blogged about how to access a Db2 database on IBM Cloud from your local machine. I cataloged the cloud host and its database. Then, connected to it using the command line processor (CLP) by passing a username and password. Last year, I was delighted to read that Db2 on Cloud and Db2 Warehouse on Cloud now support authentication by either IBMid, API key, or access token. It is called IAM (Identity and Access Management) support. Finally, I had some time to actually use it. Here is what steps I needed to connect from my local machine to Db2 on IBM Cloud using either API key or token.
Labels:
administration,
bluemix,
catalog,
cloud,
dashdb,
DB2,
experience,
IBM,
ibmcloud,
IT,
knowledge center,
lessons,
security
Monday, October 22, 2018
Automated reports with IBM Cloud Functions, Db2 and Slack
![]() |
GitHub Traffic Analytics |
Tuesday, June 19, 2018
DeDUG-Treffen in Ehningen / Db2 User Group meeting near Stuttgart
![]() |
Db2 User Group Meeting |
This time you have the opportunity to learn more about the SQL explain facility, query optimization, SQL recursion and several other topics. Similarly to the previous event, we are going to have lightning talks again. They are short, 3-8 minute talks in which YOU can present a solution, introduce a technical problem for which you are looking for a solution, or tell us your best database-related joke or an anecdote.
You can register through several channels:
- ARS: https://web.ars.de/dedug2018_19_ehningen/
- ids-System: https://www.ids-system.de/leistung/schulungen/9-dedug/502-19-treffen-der-deutschen-db2-user-group-dedug-am-29-06-2018-in-ehningen
- Meetup: https://www.meetup.com/de-DE/DeDUG-RUG/
See you at the DeDUG meeting at IBM Germany in Ehningen. If you have feedback, suggestions, or questions about this post, please reach out to me on Twitter (@data_henrik) or LinkedIn.
Monday, April 23, 2018
Use Db2 and IBM Cloud to analyze GitHub traffic data (tutorial)
![]() |
Architecture: GitHub Traffic Analytics |
Monday, February 19, 2018
New tutorial: Db2-driven Slackbot
Ever wanted to build a Slackbot, a chatbot integrated into Slack, on your own? I am going to show you how easy it is to integrate Slack or Facebook Messenger with the IBM Watson Conversation service.
As a bonus, the bot is going to access a Db2 database to store and
retrieve data. The solution is based on IBM Cloud Functions and entirely serverless
.
![]() |
Slackbot Architecture |
Wednesday, October 25, 2017
Use Db2 as Cloud SQL Database with Python
![]() |
Load Data into IBM Db2 on Cloud |
Wednesday, August 16, 2017
Combining Db2 and Cloud Object Storage
![]() |
Db2 and Cloud Storage happily combined |
Labels:
administration,
bluemix,
cloud,
dashdb,
DB2,
ibmcloud,
IT,
knowledge center,
storage,
version 11
Tuesday, August 15, 2017
Secure Your Db2 Data Base - Using Trusted Contexts
![]() |
Db2 Security - Trusted Context |
Monday, July 3, 2017
IBM Marketing and DB2, Db2 and dashDB
![]() |
IBM Cloud with Bluemix: DB2, Db2, dashDB |
Here are some of the changes, see the Db2 website for details:
- DB2 for Linux, UNIX, and Windows (DB2 LUW) is now names just "Db2".
- DB2 for z/OS is "Db2 for z/OS".
- dashDB TX (dashDB for Transactions) is referred to as "Db2 on Cloud". It reflects that it basically was and is a fully managed Db2 (LUW) database system.
- The former "IBM DB2 on Cloud", the cloud-hosted version of DB2 LUW, is now named "Db2 Hosted" to correctly imply what it is.
A great Summer and a sane week!
Wednesday, June 14, 2017
DB2 Security: Privilege(d) Insight
![]() |
DB2 Security |
I already covered parts of this topic in the past:
- In 2012, I gave an introduction about where to find granted privileges in the catalog. It covers the catalog structure and links to key tables.
- In 2011, 2013 and recently, I discussed trusted contexts, surrogates and the session user as special form of granting privileges and switching identities. I started with a short explaination of trusted context. Next, this introduction covers the concept of surrogates and switching the userid via SET SESSIONUSER. As a follow-up, I looked into related catalog entries for trusted contexts and surrogates which are related to the task scheduler.
- Last year, I wrote about interesting administrative views and and table functions to list privileges. As an example I looked at implicit privileges through group membership.
What is important to know is how to extract the information from the catalog:
- The DB2 Knowledge Center provides a list of security-related views and routines.
- The same resource also has a discussion about gaining access to data through indirect means. It lists the catalog tables, but then many more options on how possibly data and related privileges can be accessed.
Labels:
administration,
catalog,
dashdb,
DB2,
IT,
knowledge center,
security,
version 11
Monday, March 20, 2017
IBM Bluemix in Germany, includes dashDB and Cloudant
![]() |
IBM Bluemix in Germany, in German |
Having Bluemix Public in Germany is a big step for the IBM Cloud and customers alike. Being located next to DE-CIX means low network latency for German and European customers. Utilizing Bluemix Public in London ("eu-gb") it is possible to deploy applications with high-availability requirements redundantly within Europe. The database-as-a-service offerings dashDB ("DB2") and Cloudant are already available in the Bluemix catalog. More database and analytics services are to follow. You can check out the list of initial services here in the Bluemix Catalog for Germany.
That's all for today. I am back to MY German Bluemix...
Friday, February 24, 2017
Securing Workloads on IBM Cloud - Some Resources
![]() |
Security Guides for IBM Cloud |
Friday, February 17, 2017
Carnival: Even DB2 Wears a Mask (Database Security)
![]() |
Data Privacy and Security |
Friday, February 3, 2017
Security and Compliance for IBM dashDB and Cloudant
![]() |
Database Security & Compliance |
Friday, December 16, 2016
New Mod Pack and Fix Pack for DB2 V11 available now
![]() |
New DB2 Fix Pack and Mod Pack available |
If you are one of the administrators or developers impacted by system and code freezes over the last weeks of the year, then the good news is that you can use the time to explore some great enhancements to DB2. Check out the summary page in the DB2 Knowledge Center for an overview. Here are my favorites:
- DB2 supports PKCS #11 keystores now, i.e., Hardware Security Modules (HSMs) can now be used with DB2 extending the choice to local keystores, centrally managed keystores and hardware modules.
- Lots of improvements to DB2 BLU. If you are on Linux OS on IBM z Systems ("z/Linux") then you will be happy about DB2 BLU performance improvements on z13. There are improvements for other processors, too.
- The Workload Manager (WLM) and related monitoring have been enhanced, giving deeper insight and more control of long running complex queries. There are also new features related to CPU management.
Sounds interesting? The updated version of DB2 can be downloaded from the usual support page offering all the fix packs (and now Mod Packs) for the recent versions of DB2.
Tuesday, November 29, 2016
SQL Magic in Notebooks in the IBM Data Science Experience
![]() |
New Notebook in IBM Data Science Experience |
After the conference I received a question about whether it is possible to use the SQL Magic with Jupyter Notebooks in the IBM Data Science Experience. The answer is yes and here is how.
Subscribe to:
Posts (Atom)