I have a request to retire all the programs which are accessing retired DB2 tables. After retiring all the PLI programs, it is required to delete/free the package or plan.
Will anyone please assist me to free/delete the package or plan. What are the commands or techniques to achieve it?
The basic DB2 FREE PLAN and FREE PACKAGE commands are available in the DB2 Command Reference which gives you many examples of syntax.
However, I would suggest that this action is going to be the responsibility of the DBA's at your site, rather than something a programmer/developer would or should do.
If you have no need for any plans or packages, and they truly are obsolete, probably the safest, and easiest way to have them freed is to give a list of them to your DBA team and ask them to do it for you.
Related
In my recent interviews i have come across a common question, did you do automation on your datawarehouse test scripts?
I googled about this but didn't get any specific tool name(s) which are used for automating DWH tests.My test scripts are SQL queries which checks for counts, sum(), and unable to understand how the automation is possible on sql scripts.
Has anyone in the group has done automation, if yes then which tools are used to do so?
Your Help much appreciated.
Regards,
Geeme
Fitnesse - Dbfit is one of best free tool available in market.
Any good advice on what tools to use to monitor a DB2 database? I have used the db2top command but was wondering if there are more verbose tools out there. Our DB is running on Linux64
As tools, you can use the memory tracker db2mtrk, Problem determination db2pd. But also you can use many other things, such as:
function tables
administrative views
get snapshot
create and active event monitors.
It really depends on what you are goin to do.
Also, the IBM Optim Performance Expert is a good tool to find bttlenecks or issues in the Database. Also the DBI panther brother. And finally the Data Studio Web Console is a basic tool to monitor few elements.
What do you want to monitor? probably with the help of a cron that executes a script you can do many things.
Hi i have configured the basics of cruise control to make releases, and automated nunit test using just MSBuild. Now i'm wondering if is possible to deploy/versioning databases with this?
I'm a beginner at CCNet .So if is possible some suggestions or tutorials (if there are) . Also if someone knows a free tool for database deployment/versioning let me know.. i will be grateful.
Thanks in advance
Hugh
It isn't free but SQL Source Control from RedGate can do what you're looking for, assuming it's a SQL Server database. It has a commandline interface that you can use in CCNet tasks. The easy approach of just migrating up is... easy, the changes are applied to your database schema / data. There was an issue with v2x of the tool that they've overcome with 3, which is that if you were to rename a table column then it would delete the column and create a new one with the right name. Obviously that's quite a big problem if you've got data you want to keep, so with v3 there's the concept of migrations and this allows you to specify alter scripts so instead of dropping the column you could script the change non-destructively.
As far as I know, at this time, they don't have anything that allows you to roll back your version.
Otherwise you could take a look at database migration tools, there seemed to be some promise for these in .Net at least. There is also this post that has some other tools (again for .net) and then there's this https://stackoverflow.com/search?q=database+migration+tool which is not restricted to any language but is general database migrations
If you're still looking for ways to version and migrate databases, one such tool is dbdeploy.net . I've hosted it on github after forking it and doing some work. Latest version is fully up to date and has some interesting features (done by someone who also uses it and sent a pull request).
I have found a lot of topics about stress-testing web application.
My goals are different, it's to test only database (sybase sql anywhere 9).
What I need:
Some tool to give a diagnostic of all sqls and find a bottleneck. I wish I could macro-view the entire system easily.
Best practices to design/build a good sql queries.
The system issues are:
20GB database size.
2-5 request per second
Thousands sql spread in the code (this messy can be solved only rewriting the system).
The quickest way would actually be to upgrade your SQL Anywhere to v10 or (better) v11, as the latest releases include a complete performance diagnostic toolset. See the documentation here for more details.
several open source tools are listed here:
http://www.opensourcetesting.org/performance.php
I am developing a small web application,Its data size is constant.
i.e data dosent grow with date/user.
I would like to know if I can use Oracle Express for this application.
http://www.oracle.com/technology/software/htdocs/xe_lic_prod.html
Any use of the Oracle Database Express Edition is subject to the following limitations;
1. Express Edition is limited to a single instance on any server;
2. Express Edition may be installed on a multiple CPU server,
but may only be executed on one processor in any server;
3. Express Edition may only be used to support up to 4GB of user data
(not including Express Edition system data);
4. Express Edition may use up to 1 GB RAM of available memory.
So I would say, yes.
Does Oracle enforce these limits themselves? If not, how to limit the instance to run on only one CPU?
I think the limitations of Oracle are pretty deep. My experience with Oracle shows that they make money selling consultancy, and to do this they don't document their products. Expect to have a really though time if you want to do a non-default install or some fancy configuring.
Why not choose:
MySql, MS SQL Express or Postgre SQL ?
They are all free and have less limitations. If you develop your site using ASP.NET or Java or PHP all of these make sense. Postgre SQL is probably one of the strongest free database engines out there.
If you want to be really cool and flexible, use an ORM like (N)Hibernate or Linq. This will abstract the database you use, so you can easily change databases later on.
Without knowing the details of all the things you require my response will reflect that.
To name a few:
1. How many users will be connecting into this database?
2. Will it be CPU or IO bound system?
3. What DB features do you need?
Oracle Express will most likely handle your vague CURRENT needs. The issue you will most likely run into first is if your data grows beyond 4GB. I wouldn't assume your data will stay constant, few things stay constant. The pain of dealing with purging data every time you hit the 4GB data limit or having to move data to a new database is not worth the FREE marketing hook that got you to use it in the first place. If you don't plan to ever pay for an Oracle license you might be better off using an open source database such as PostgreSQL or even MySQL that won't have artificial limits placed on the software and who's license will always be free. Personally I would go with PostgreSQL.
I find Oracle Express a nice tool to get a quick install of Oracle on my laptop to learn with. I wouldn't use it for anything in production though many people probably do.
Those are my thoughts without knowing all your requirements.
And yes Oracle enforces the limitations stated previously by Thilo in the software.