List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:April 22 2010 7:03pm
Subject:bzr commit into connector-net-trunk branch (reggie.burnett:35)
View as plain text  
#At file:///C:/work/connector-net/EMTrace/ based on revid:reggie.burnett@strippedodeua0uodzczuci3

   35 Reggie Burnett	2010-04-22
      changed assembly name to MySql.MonitorPlugin

    removed:
      Library/MySql.EMTrace.csproj
    modified:
      Library/Properties/AssemblyInfo.cs
      MySql.EMTrace.sln
      SampleApplication/SampleApplication.csproj
      Tests/MySql.EMTrace.Tests.csproj
      readme.txt
=== removed file 'Library/MySql.EMTrace.csproj'
=== removed file 'Library/MySql.EMTrace.csproj'
--- a/Library/MySql.EMTrace.csproj	2010-03-05 20:22:02 +0000
+++ b/Library/MySql.EMTrace.csproj	1970-01-01 00:00:00 +0000
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>9.0.30729</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{C41180BA-CC53-4464-A656-FCB709198880}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>MySql.EMTrace</RootNamespace>
-    <AssemblyName>MySql.EMTrace</AssemblyName>
-    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-    <SignAssembly>true</SignAssembly>
-    <AssemblyOriginatorKeyFile>
-    </AssemblyOriginatorKeyFile>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="System" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Web" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="ClassFactory.cs" />
-    <Compile Include="Reports\JsonReport.cs" />
-    <Compile Include="Reports\SummaryReport.cs" />
-    <Compile Include="Reports\ExplainReport.cs" />
-    <Compile Include="Reports\HistogramReport.cs" />
-    <Compile Include="EMTraceListener.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Properties\Resources.Designer.cs">
-      <AutoGen>True</AutoGen>
-      <DesignTime>True</DesignTime>
-      <DependentUpon>Resources.resx</DependentUpon>
-    </Compile>
-    <Compile Include="QueryAggregation.cs" />
-    <Compile Include="QueryNormalizer.cs" />
-    <Compile Include="ServerAggregation.cs" />
-    <Compile Include="ServerAggregationFactory.cs" />
-    <Compile Include="TraceInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="Properties\keywords.txt" />
-    <EmbeddedResource Include="Properties\Resources.resx">
-      <Generator>PublicResXFileCodeGenerator</Generator>
-      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
-    </EmbeddedResource>
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="..\readme.txt">
-      <Link>readme.txt</Link>
-    </Content>
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\..\6.2\MySql.Data\Provider\MySql.Data.csproj">
-      <Project>{E9DF5ED1-4CBD-4226-B931-9A51610AC14D}</Project>
-      <Name>MySql.Data</Name>
-    </ProjectReference>
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
-       Other similar extension points exist, see Microsoft.Common.targets.
-  <Target Name="BeforeBuild">
-  </Target>
-  <Target Name="AfterBuild">
-  </Target>
-  -->
-</Project>
\ No newline at end of file

=== modified file 'Library/Properties/AssemblyInfo.cs'
--- a/Library/Properties/AssemblyInfo.cs	2010-02-03 20:44:01 +0000
+++ b/Library/Properties/AssemblyInfo.cs	2010-04-22 19:03:38 +0000
@@ -5,11 +5,11 @@
 // General Information about an assembly is controlled through the following 
 // set of attributes. Change these attribute values to modify the information
 // associated with an assembly.
-[assembly: AssemblyTitle("EMTrace")]
+[assembly: AssemblyTitle("MySql.MonitorPlugin")]
 [assembly: AssemblyDescription("Enterprise Monitor Trace Listener")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("Sun, Microsystems")]
-[assembly: AssemblyProduct("EMTrace")]
+[assembly: AssemblyProduct("MySql.MonitorPlugin")]
 [assembly: AssemblyCopyright("Copyright © Sun Microsystems 2009")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
@@ -32,4 +32,5 @@
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.3")]
+[assembly: AssemblyVersion("1.0.4")]
+[assembly: AssemblyKeyName("ConnectorNet")]

=== modified file 'MySql.EMTrace.sln'
--- a/MySql.EMTrace.sln	2010-03-05 20:22:02 +0000
+++ b/MySql.EMTrace.sln	2010-04-22 19:03:38 +0000
@@ -1,7 +1,7 @@
 
 Microsoft Visual Studio Solution File, Format Version 10.00
 # Visual Studio 2008
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MySql.EMTrace", "Library\MySql.EMTrace.csproj", "{C41180BA-CC53-4464-A656-FCB709198880}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MySql.MonitorPlugin", "Library\MySql.MonitorPlugin.csproj", "{C41180BA-CC53-4464-A656-FCB709198880}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MySql.EMTrace.Tests", "Tests\MySql.EMTrace.Tests.csproj", "{B762DB19-5358-4AC1-8EC4-F2C2E083F722}"
 EndProject

=== modified file 'SampleApplication/SampleApplication.csproj'
--- a/SampleApplication/SampleApplication.csproj	2009-12-11 17:31:35 +0000
+++ b/SampleApplication/SampleApplication.csproj	2010-04-22 19:03:38 +0000
@@ -82,9 +82,9 @@
     <Compile Include="SampleTraceListener.cs" />
   </ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="..\Library\MySql.EMTrace.csproj">
+    <ProjectReference Include="..\Library\MySql.MonitorPlugin.csproj">
       <Project>{C41180BA-CC53-4464-A656-FCB709198880}</Project>
-      <Name>MySql.EMTrace</Name>
+      <Name>MySql.MonitorPlugin</Name>
     </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

=== modified file 'Tests/MySql.EMTrace.Tests.csproj'
--- a/Tests/MySql.EMTrace.Tests.csproj	2010-03-05 20:22:02 +0000
+++ b/Tests/MySql.EMTrace.Tests.csproj	2010-04-22 19:03:38 +0000
@@ -66,9 +66,9 @@
       <Project>{E9DF5ED1-4CBD-4226-B931-9A51610AC14D}</Project>
       <Name>MySql.Data</Name>
     </ProjectReference>
-    <ProjectReference Include="..\Library\MySql.EMTrace.csproj">
+    <ProjectReference Include="..\Library\MySql.MonitorPlugin.csproj">
       <Project>{C41180BA-CC53-4464-A656-FCB709198880}</Project>
-      <Name>MySql.EMTrace</Name>
+      <Name>MySql.MonitorPlugin</Name>
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>

=== modified file 'readme.txt'
--- a/readme.txt	2009-12-18 15:57:08 +0000
+++ b/readme.txt	2010-04-22 19:03:38 +0000
@@ -31,7 +31,7 @@
 	<sources>
       <source name="mysql" switchName="SourceSwitch" switchType="System.Diagnostics.SourceSwitch">
         <listeners>
-          <add name="EMTrace" type="MySql.EMTrace.EMTraceListener, MySql.EMTrace" 
+          <add name="EMTrace" type="MySql.EMTrace.EMTraceListener, MySql.MonitorPlugin" 
                 initializeData="" 
 		Host="http://<emhost>:<emport>" 
 		PostInterval="<default post interval in seconds>" 
@@ -67,3 +67,13 @@
 </trace>
  
 
+Usage Avisor
+-------------
+Connector/Net has a feature called the usage advisor.  This will review the results from the server and report
+on issues that could affect performance.  Such issues would include not using an index on a query, not
+reading all the rows of a resultset, or not accessing all the columns of the row.  
+
+Enterprise monitor is capable of indicating some of these events such as no index used on a query. To enable
+getting this data to enterprise monitor, you would need to enable usage advisor by adding 'usage advisor=true'
+to your connection string.  Note that enabling usage advisor automaticaly enables logging whereas adding
+logging=true to your connection string does not automatically enable usage advisor.
\ No newline at end of file

Attachment: [text/bzr-bundle]
Thread
bzr commit into connector-net-trunk branch (reggie.burnett:35)Reggie Burnett22 Apr