473,609 Members | 2,041 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How could i make my Website faster

syedshaffee
91 New Member
Hey people,

i need help I am created a website that is a information system That gives information to my clients. Can some please suggest me to speed up the search process b'coz at some point i'm getting "SQL Server timeout expired "

while getting a the data on a temp table The data is visible when refreshed so Please help on the same Please

This is the query i am using

Expand|Select|Wrap|Line Numbers
  1.         sql = " SELECT isnull(userdatacomment,'NONE') as comment, Asset_Detail.Asset_serial_no,Asset_Detail.Asset_id, " &_
  2.               " Asset_Detail.Asset_barcode_no, " &_
  3.               " Asset_Detail.Asset_description, Asset_Type.Asset_type_description, " &_
  4.               " assettypesub.assettypesubdesc, " &_
  5.               " Asset_Detail.Asset_contract_no,Asset_Detail.Asset_Rental,Asset_Detail.Asset_type_id, " &_
  6.               " state.statedesc,Asset_Detail.Asset_purchase_date,Asset_Detail.Asset_PO_no, " &_
  7.               " isnull(Asset_Detail.Asset_purchase_price,0) Asset_purchase_price," &_
  8.               " Supplier_Detail.Supplier_Name, invoice.invoice_date,Invoice.Invoice_no, " &_
  9.               " Customer_User.User_Name,Customer_User.User_code,Cost_Centre.Cost_Centre_Code,Cost_Centre.Cost_Centre_Description, " &_
  10.               " Department.Department_Code, Department.Department_Desc " &_
  11.  
  12.               " FROM Asset_Detail left JOIN user_data on userdataassetid = asset_detail.asset_id " &_
  13.               " inner join Contract_detail ON Asset_Detail.Asset_contract_no = Contract_detail.Contract_no " &_
  14.               " left JOIN Department ON Asset_Detail.Asset_Department_Id = Department.Department_Id " &_
  15.               " left JOIN Customer_User ON Customer_User.User_Id = Asset_Detail.Asset_User_Id " &_
  16.               " left JOIN ( select * from Cost_Centre where Cost_Centre_Active <> 0) Cost_Centre ON " &_
  17.               " Cost_Centre.Cost_Centre_ID = Asset_Detail.Asset_CostCentre_Id " &_
  18.               " LEFT JOIN Invoice ON Asset_Detail.Asset_invoice_id = Invoice.Invoice_id " &_
  19.               " left JOIN state ON asset_detail.asset_TO_stateID=state.stateid " &_
  20.               " LEFT JOIN Asset_Type ON Asset_Detail.Asset_type_id = Asset_Type.Asset_type_id " &_
  21.               " LEFT JOIN AssetTypesub on Asset_detail.asset_subtype=assettypesub.assetTypesubId " &_
  22.               " LEFT JOIN Asset_Category ON Asset_Category.Asset_category_id = Asset_Type.Asset_type_Category_id " &_
  23.               " LEFT JOIN Supplier_Detail ON Invoice.Invoice_supplier_id = Supplier_Detail.Supplier_id " &_
  24.               " WHERE Contract_detail.Contract_customer_id = " & Session(CUSTOMER_ID) & _
  25.               " AND ISNULL(Asset_Detail.Asset_Active,0) <> 0 AND Asset_Type.Asset_type_id IN(131,135,132,95,99,66,101,102,145,310)AND Client_Intent_Date IS NULL AND Client_comments IS NULL " 
  26.  
Jul 11 '12 #1
4 2090
Rabbit
12,516 Recognized Expert Moderator MVP
That depends on the table structure and the query you're using. It doesn't sound like it has to do with the website itself.
Jul 12 '12 #2
Anas Mosaad
185 New Member
Try to add some caching capabilities to your application. For a request to be cached, always use get method in the form.
Jan 5 '13 #3
Frinavale
9,735 Recognized Expert Moderator Expert
You could consider using a store procedure if you aren't already...

Stored procedures are precompiled so they don't need to be compiled during execution.

-Frinny
Jan 8 '13 #4
dellcon12
1 New Member
HI
This Is most frequent problem that we all are facing today's scenario.You I Would like to tell you that just refresh your all sets and get it all connection in right position so that you can improve yous website speed.
Thanks.
Jan 28 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

37
2875
by: seberino | last post by:
I've been reading the beloved Paul Graham's "Hackers and Painters". He claims he developed a web app at light speed using Lisp and lots of macros. It got me curious if Lisp is inherently faster to develop complex apps in. It would seem if you could create your own language in Lisp using macros that that would be quite an advantage.... I realize that Python has operator overloading and OOP so I'm not sure.
4
2274
by: Acharya J. Ganesh | last post by:
|| Shree Ganesha || Dear Friends; Please check the website chpindia.com and please comment wether it is done alright this time at least. Last time I got lot of feedback for ashapurafoods.com saying that the design was not made using strict dtd. This time I have taken care of using STRICT DTD. Please Comment, I am a very much new commer with respect to you all.
9
2048
by: windandwaves | last post by:
Hi Folk My question is: echo all the time vs echo at the end - what is faster Let me explain I used to write pages like this: echo "<head> ";
83
5904
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd expect a much faster performance. I submitted my search over two minutes ago. I just finished this email to the list. The results have still not come back. I only searched for: SECURITY INVOKER
1
2434
by: Danny Dy | last post by:
Hi To All, I always write My VBA code in SQL(see Example). Private Sub cbxAEName_NotInList(NewData As String, Response As Integer) Dim stSQL as String Dim strMsg As String strMsg = "'" & NewData & "' is not an available AE Name " & vbCrLf & vbCrLf
1
1522
by: TCB | last post by:
I am developing a website using .NET 2.0 (classified style website) it displays a series of records per page (8, using a datagrid with paging) each record displays a thumbnail of an image that sizes about 6-7k and a small text description of the item. The Items tamble holds now about 2500 hundred records so that´s 60+ pages. The thing is that all the page when it load is about 175K. Of those 83K are from images the rest is the text that...
10
2170
by: Extremest | last post by:
I know there are ways to make this a lot faster. Any newsreader does this in seconds. I don't know how they do it and I am very new to c#. If anyone knows a faster way please let me know. All I am doing is quering the db for all the headers for a certain group and then going through them to find all the parts of each post. I only want ones that are complete. Meaning all segments for that one file posted are there. using System;
4
2021
by: | last post by:
Using VS.NET I am wondering what methods developers use to deploy ASP.NET website content to a remote server, either using FTP or network file copy. Ideally there would be a one-button or one-key-chord way to upload a single file or a single site. In Dreamweaver, you can hit "Control-Shift-U" to upload a single file to the remote site you have configured. This is extremely handy when you're doing quickie fixes and development, more...
3
1873
by: vozzek | last post by:
Hi everyone, quick question: When I first started my website three months ago, I was a total rookie. I used a lot of <img> tags to create borders around things and to dress up different tables on my site. Later on, I set classes in a CSS external file and used the background-image: command to fill those same tables with the same images. So my question is: which is faster? I would think the CSS method. And how much faster is it? ...
5
2314
by: vunet | last post by:
I have some properties data to be loaded for the site use, such as: website url, admin email, mailing component to use, etc. for my ASP website. They will be stored in a database, or I also consider XML and/ or .inc text file. What is the best practice to load them once when user starts website browsing and keep them until user leaves the site? I considered Global.asa, but I know there must be one per application. I may have 2 same...
0
8131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8077
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8573
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8543
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8406
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
1673
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1392
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.