<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1005913" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1005913</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031541</link>
    <description> &lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt; It&#039;s not just about making the code, it&#039;s about making the code the most effiecent eh.&lt;/p&gt;
&lt;p&gt; &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;br /&gt;
Ravi&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsh.com&quot; class=&quot;bb-url&quot;&gt;Lyricsh.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Find the lyrics to over 7,000 Songs.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsfile.com&quot; class=&quot;bb-url&quot;&gt;Lyricsfile.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Over 20,000 indexed lyric files.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 May 2000 01:06:00 +0000</pubDate>
 <dc:creator>Ravi Pachai</dc:creator>
 <guid isPermaLink="false">comment 1031541 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031540</link>
    <description> &lt;p&gt;Ravi,&lt;/p&gt;
&lt;p&gt;I don&#039;t think we need a dynamic cursor for this. Change these lines:&lt;/p&gt;
&lt;p&gt;RSArtist.Open SQL,Conn,1,3  to   RSArtist.Open SQL,Conn,2,2&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;RSSongs.Open SQL3,Conn,1,3  to  RSArtist.Open SQL3,Conn,2,2&lt;/p&gt;
&lt;p&gt;And maybe since you&#039;re not really retrieving any data from these SQL statements you don&#039;t really need to say &quot;SELECT *&quot;, change it to just select the primary key like &quot;SELECT ArtistID&quot; &amp;amp; &quot;SELECT SongID&quot;.&lt;/p&gt;
&lt;p&gt;In the future it might be a good idea to just setup a table that holds this information. So instead of querying the whole database every time, you would just query this table that has the latest totals. You could update this table every day, week or whatever.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
&lt;p&gt;[This message has been edited by Peter J. Boettcher (edited 05 May 2000).]&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 May 2000 00:31:00 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1031540 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031539</link>
    <description> &lt;p&gt;It&#039;s exactly the one you made for counting the records, its a recordset, then it counts, I&#039;ll post it.&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
	Dim SQL&lt;br /&gt;
	Dim RSArtist&lt;br /&gt;
	Dim ArtistTotal&lt;br /&gt;
	Dim RSSongs&lt;br /&gt;
	Dim SongTotal&lt;/p&gt;
&lt;p&gt;	Set Conn = Server.CreateObject(&quot;ADODB.Connection&quot;)&lt;br /&gt;
	Conn.Open &quot;DSN=;UID=;PWD=&quot;&lt;/p&gt;
&lt;p&gt;	Set RSArtist = Server.CreateObject(&quot;ADODB.Recordset&quot;)&lt;/p&gt;
&lt;p&gt;	SQL = &quot;SELECT * FROM Artist&quot;&lt;/p&gt;
&lt;p&gt;	RSArtist.Open SQL,Conn,1,3&lt;/p&gt;
&lt;p&gt;	ArtistTotal = RSArtist.RecordCount&lt;/p&gt;
&lt;p&gt;	Set RSSongs = Server.CreateObject(&quot;ADODB.Recordset&quot;)&lt;/p&gt;
&lt;p&gt;	SQL3 = &quot;SELECT * FROM Songs&quot;&lt;/p&gt;
&lt;p&gt;	RSSongs.Open SQL3,Conn,1,3&lt;/p&gt;
&lt;p&gt;	SongTotal = RSSongs.RecordCount&lt;/p&gt;
&lt;p&gt;%&amp;gt;&lt;/p&gt;
&lt;p&gt;Ravi&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsh.com&quot; class=&quot;bb-url&quot;&gt;Lyricsh.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Find the lyrics to over 7,000 Songs.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsfile.com&quot; class=&quot;bb-url&quot;&gt;Lyricsfile.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Over 20,000 indexed lyric files.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by Ravi Pachai (edited 05 May 2000).]&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 May 2000 21:02:00 +0000</pubDate>
 <dc:creator>Ravi Pachai</dc:creator>
 <guid isPermaLink="false">comment 1031539 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031538</link>
    <description> &lt;p&gt;Ravi,&lt;/p&gt;
&lt;p&gt;So you&#039;re the one slowing down the SQL server!!  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/wink.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Why don&#039;t you post the SQL/ASP script you&#039;re using and I&#039;ll see why it&#039;s eating up so much CPU. Just make sure to take out the dsn and password stuff, I don&#039;t want anyone hacking your db.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 May 2000 18:52:00 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1031538 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031537</link>
    <description> &lt;p&gt;Peter,&lt;/p&gt;
&lt;p&gt; Jus wondering if you have anything to say about this email I got from powersurge. Sorry, I know this is going a little off topic, but I chose not to start a whole new thread. Hope you dont mind,&lt;/p&gt;
&lt;p&gt;&amp;lt;EMAIL&amp;gt;&lt;br /&gt;
The reason for this is that the SQL query on the opening page of&lt;br /&gt;
&quot;lyricsfile.com&quot; is huge.  When we hit up that page, the SQL server consumes&lt;br /&gt;
about 60% of the entire time for both CPUs on the server in question here.&lt;br /&gt;
That&#039;s why it takes so long to come back to the browser.&lt;br /&gt;
&amp;lt;/EMAIL&amp;gt;&lt;/p&gt;
&lt;p&gt;hmm, could be it be lyricsfile.com.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Ravi&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsh.com&quot; class=&quot;bb-url&quot;&gt;Lyricsh.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Find the lyrics to over 7,000 Songs.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsfile.com&quot; class=&quot;bb-url&quot;&gt;Lyricsfile.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Over 20,000 indexed lyric files.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 May 2000 18:28:00 +0000</pubDate>
 <dc:creator>Ravi Pachai</dc:creator>
 <guid isPermaLink="false">comment 1031537 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031536</link>
    <description> &lt;p&gt;Ravi,&lt;/p&gt;
&lt;p&gt;A COM object is a piece of code (written in a language like VB, C++, JAVA) that you register on the server to preform tasks that you do frequently or tasks that aren&#039;t possible by scripting (system level stuff, impersonating logons, etc).&lt;/p&gt;
&lt;p&gt;Then instead of your ASP page handling the scripting or whatever, it passes the values to the COM object for processing. You would only notice the benefits of this if your site was VERY busy.&lt;/p&gt;
&lt;p&gt;As to your query lag I&#039;m not sure what the problem is, 20,000 records should not be a problem. I think it has more to do with the fact you&#039;re sharing that SQL server with so many people. I&#039;m starting to wonder about how many accounts Powersurge is cramming onto their SQL servers, not to mention their NT servers. I&#039;ve been finding the DB and web access very slow.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Sun, 30 Apr 2000 20:54:00 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1031536 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031535</link>
    <description> &lt;p&gt;Thanks Peter and Adam!&lt;/p&gt;
&lt;p&gt;What exactly is a COM object? Also I can access lyricsfile.com ok and lyricsh.com, however lyricsfile.com is experiencing some lag. Is it because of the counting in the database? There are almost 20,000 songs, could that be causing the lag?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Ravi&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsh.com&quot; class=&quot;bb-url&quot;&gt;Lyricsh.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Find the lyrics to over 7,000 Songs.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsfile.com&quot; class=&quot;bb-url&quot;&gt;Lyricsfile.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Over 20,000 indexed lyric files.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 30 Apr 2000 19:45:00 +0000</pubDate>
 <dc:creator>Ravi Pachai</dc:creator>
 <guid isPermaLink="false">comment 1031535 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031534</link>
    <description> &lt;p&gt;Ravi,&lt;/p&gt;
&lt;p&gt;Sorry about that, forgot the speed question. Adam&#039;s right, you can feel confident using ASP/SQL 7, it was designed for large applications like you describe.&lt;/p&gt;
&lt;p&gt;Just remember when you get into that type of application (thousands of users at once) it sometimes pays to use a COM object to do some common work. So instead of writing a lot of script inside an ASP page, you would just call your COM object, it&#039;s a bit more efficient that way. It&#039;s just more of a pain to develop since every time you want to make a change you have to recompile and register it on the server again.&lt;/p&gt;
&lt;p&gt;I just tried to view &lt;a href=&quot;http://www.lyricsfile.com&quot; class=&quot;bb-url&quot;&gt;www.lyricsfile.com&lt;/a&gt;  and the site wouldn&#039;t come up. If the site is still on Powersurge, then that might explain it, they&#039;ve been having a lot of problems today.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Sun, 30 Apr 2000 19:35:00 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1031534 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031533</link>
    <description> &lt;p&gt;Ravi,&lt;/p&gt;
&lt;p&gt;If the site is going to get a far amount of use then go for SQL.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
Adam&lt;br /&gt;
AIS Internet Solutions&lt;br /&gt;
 &lt;a href=&quot;mailto:adam@aisinternet.com&quot; class=&quot;bb-email&quot;&gt;adam@aisinternet.com&lt;/a&gt;&lt;br /&gt;
 &lt;a href=&quot;http://www.aisinternet.com&quot; class=&quot;bb-url&quot;&gt;www.aisinternet.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 30 Apr 2000 19:24:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1031533 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-sites#comment-1031532</link>
    <description> &lt;p&gt;what about speed wise? whats the best database solution when you have thousands of users at once?&lt;/p&gt;
&lt;p&gt;Rav&lt;br /&gt;
PS - did u see lyricsfile.com yet Peter?&lt;br /&gt;
------------------&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsh.com&quot; class=&quot;bb-url&quot;&gt;Lyricsh.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Find the lyrics to over 7,000 Songs.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lyricsfile.com&quot; class=&quot;bb-url&quot;&gt;Lyricsfile.com&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Over 20,000 indexed lyric files.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by Ravi Pachai (edited 30 April 2000).]&lt;/p&gt;
 </description>
     <pubDate>Sun, 30 Apr 2000 19:20:00 +0000</pubDate>
 <dc:creator>Ravi Pachai</dc:creator>
 <guid isPermaLink="false">comment 1031532 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
