Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-08-2005, 01:21 PM   #1 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 285
technobard is on a distinguished road
EJBs, Websphere, and SQL Tuning

I'm starting a new job soon and while I won't be doing any EJB stuff personally, the developers I support will. They're using Websphere as the app server, and they've implemented CMP (container managed persistence). In CMP, the SQL is creating dynamically which I suppose gives you some database independence. Anyway, tuning the SQL is part of my task, but since you have to live with whatever is generated, tuning on the database side will be limited.

So, has anyone used CMP with or without Websphere as the app server? And if so, any tuning tips? For example, is it possible to capture generated SQL on the app server end?
__________________
It takes 2 points to draw a straight line, but at least 3 points to draw a conclusion.
technobard is offline   Reply With Quote
Old 04-09-2005, 02:47 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,139
Belisarius is on a distinguished road
What do you mean by "capture"?
__________________
GitS
Belisarius is online now   Reply With Quote
Old 04-09-2005, 06:16 AM   #3 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 285
technobard is on a distinguished road
Quote:
Originally Posted by Belisarius
What do you mean by "capture"?
Well, collect or log...anything that allows me to look at all of the SQL generated over some period of time. I can do it at the database level (in Oracle anyway) by querying data dictionary tables or by tracing the connected sessions. It's cleaner if I can grab it at the app server level.
__________________
It takes 2 points to draw a straight line, but at least 3 points to draw a conclusion.
technobard is offline   Reply With Quote
Old 04-09-2005, 06:23 AM   #4 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,139
Belisarius is on a distinguished road
Ah. I haven't done too much with either EJB or CMP; I've only started to look into EJB. I'll let you know if I come across anything in the course of my travels.
__________________
GitS
Belisarius is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 04:07 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting