You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Bryan Pendleton <bp...@amberpoint.com> on 2009/04/25 22:25:19 UTC

DERBY-2487 has been committed to the trunk

Hi all,

Just wanted to let everyone know that I have committed the first change
for DERBY-2487 to the trunk today.

There will be additional changes to be sure, but the basic functionality
should now be in place and there should be tests to support this.

Please keep your eyes open for possible impacts and fallout from this
change, as it was fairly substantial.

And, if you have a chance, it would be great if you could try out the
new functionality and let us know what you think.

I'll probably be working on the documentation (DERBY-4085) next, and then
look at upgrade testing and additional regression testing.

thanks,

bryan

P.S. Thanks again for the contribution, Felix! I think this will be a nice
      feature for the Derby community to have.



Re: Enabling XPLAIN feature at the DBA level

Posted by Bryan Pendleton <bp...@amberpoint.com>.
> Not having read the existing information, I'm not sure yet whether I can 
> enable the tracing easily for one or all connections without actually 
> executing some SQL on the connection. I.e., can a DBA enable tracing for 
> a short period to take a "snapshot" of the load?

Not currently, no. The only way that the new functionality can be enabled
at this point is for the connection to execute

   call SYSCS_UTIL.SYSCS_SET_XPLAIN_SCHEMA('MYSCHEMA');
   call SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS(1);

and these calls only enable the functionality for the particular session
that makes the calls.

Being able to capture runtime statistics for all active queries at once
is an interesting idea, though. I think it's worth discussing some more.

thanks,

bryan


Re: DERBY-2487 has been committed to the trunk

Posted by Kristian Waagan <Kr...@Sun.COM>.
Dag H. Wanvik wrote:
> Bryan Pendleton <bp...@amberpoint.com> writes:
>
>   
>> Hi all,
>>
>> Just wanted to let everyone know that I have committed the first change
>> for DERBY-2487 to the trunk today.
>>     

Yes, thank you for working on this feature!
I feel that we are lacking visibility of what's going on within a Derby 
under load, so I'm very happy to get a way to collect some statistics.

Related to an investigation, I'm currently in the process of adding some 
ad-hoc tracing to the client driver. This will be a lot less detailed 
than what DERBY-2487 offers, but if I can use tracing information from 
both the client and the server, I may be able to obtain some numbers for 
the costs incurred by the client driver, network server and the network 
itself in my rig/application.

I'll be reading through the user documentation (when it is updated?), 
and try out the feature.
Not having read the existing information, I'm not sure yet whether I can 
enable the tracing easily for one or all connections without actually 
executing some SQL on the connection. I.e., can a DBA enable tracing for 
a short period to take a "snapshot" of the load?


Thanks,
-- 
Kristian

>
> Thanks for all the work on this feature, Bryan! Encouraging that we get
> these contributions into the main code line!
>
> Dag
>   


Re: DERBY-2487 has been committed to the trunk

Posted by "Dag H. Wanvik" <Da...@Sun.COM>.
Bryan Pendleton <bp...@amberpoint.com> writes:

> Hi all,
>
> Just wanted to let everyone know that I have committed the first change
> for DERBY-2487 to the trunk today.

Thanks for all the work on this feature, Bryan! Encouraging that we get
these contributions into the main code line!

Dag