AS400 Clutter
5 pts.
0
Q:
AS400 Clutter
anyone know what causes *SQLPKG objects to be created in various libraries by many different users, some by IBM internal most not. Trying to cleanup system.
ASKED: Nov 9 2004  10:36 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
8060 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Check to see who is creating ODBC data sources from Windows to the iSeries for one thing. There is a tab named 'Packages' on the setup of an ODBC data source that asks what library you want to place package files in. Of course, unless you are using dynamic package support, you can uncheck this tab setting and bypass creating them.

======================================================

Under circumstances of "various libraries" and "by many different users", ODBC and similar access is probably the source. But are you sure that any particular package ought to be deleted? Have you determined if the packages are used?

Most SQL packages are relatively small objects. Unless it's a very small system with a very large number of packages, it wouldn't seem likely that you'd recover much by deleting them. And if it is a small system that is creating many packages, it would seem that the potential performance advantages of packages is needed.

See this comment and consider effects on the remaining objects that might still be "dependent on the SQL package". Also, see some info on where packages come from here and here for some fundamentals.

Do you prefer having the ODBC requests optimized for reuse or recreated and optimized when each request is repeated? It can be a balancing act.

Is the time spent tracking them down and deleting them worth it? Object creation and object deletion can be expensive operations by themselves.

Tom
Last Answered: Oct 18 2009  9:38 PM GMT by TomLiotta   8060 pts.
Latest Contributors: WaltZ400   535 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

smford   20 pts.  |   Nov 12 2004  2:16PM GMT

I was under the impression that there was an auto-cleanup procedure for those packages.

 
0