|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Cross: Access speedCan I use access for big database (cca 10-30 MB, cca 10-30k lines in
database). It will be asp.net 2.0 aplication and very fast server. Mostly simple transactions (like SELECT * From Books Where Name like 'SomeName%'). Can it be problem if I have 10 000 unique visitors per day? I see that many big sites have access database. Is it ok, ir it is big risk? Igor wrote:
> Can I use access for big database (cca 10-30 MB, cca 10-30k lines in Assuming that:> database). It will be asp.net 2.0 aplication and very fast server. Mostly > simple transactions (like SELECT * From Books Where Name like 'SomeName%'). > > Can it be problem if I have 10 000 unique visitors per day? I see that many > big sites have access database. Is it ok, ir it is big risk? - you have index on Name column - the MDB is on a local disk - the disk is not heavily used by something else - the unique visitors only make one query (or only a few) - the load is reasonable good distributed over time then it should not be a problem. 30 MB can easily be cached in disk/file cache. 10000/day is only 7/minute over 24 hours or 21/minute over 8 hours and that is not heavy. Arne > Assuming that: It is on web hosting account like www.webhost4life.com. It is on fast server > - you have index on Name column What index? > - the MDB is on a local disk (i hope that it is true). > - the disk is not heavily used by something else It is shared hosting, but good hosting.> - the unique visitors only make one query (or only a few) One or few queries in one page load.> - the load is reasonable good distributed over time Distribution... hmm. It is for tourist agency. Visitors mostly come at summer. I don't know how many often at different hours. > 30 MB can easily be cached in disk/file cache. Can I cashe this if it is not on my server. It is on shared hosting named webhost4life.com or something simmilar (profesional hosting). > 10000/day is only 7/minute over 24 hours or 21/minute over What if 100 or 300 visitors come at the same second and every of them > 8 hours and that is not heavy. request 2-3 select queries? 1. Go into Table view of the MDB containing the actual data.
2. Open the table in design mode. 3. Go to the bottom of the screen under the 'General' tab. 4. Find the Indexed property and set it to 'Yes" either with or without duplicates, depending on your data. (this may vary a little bit depending on your version of Access) Brooks Igor wrote: Show quoteHide quote > > Assuming that: > > - you have index on Name column > What index? > 4. Find the Indexed property and set it to 'Yes" either with or without Why indexed filed is important, because of speed or something else?> duplicates, depending on your data. > (this may vary a little bit depending on your version of Access) "Igor" <i***@nesalji.hr> wrote in message You *really* need to find a beginner's guide to databases... Indexes are news:emtod9$8qo$1@sunce.iskon.hr... >> 4. Find the Indexed property and set it to 'Yes" either with or without >> duplicates, depending on your data. >> (this may vary a little bit depending on your version of Access) > > Why indexed filed is important, because of speed or something else? absolutely fundamental to database performance. As others have pointed out, Access is not particularly suited to web deployment but, if you're determined to use it, this might be a good place to start: http://www.amazon.com/Access-2003-All-Reference-Dummies/dp/0764539884/sr=8-1/qid=1167222561/ref=pd_bbs_1/105-7348212-5254862?ie=UTF8&s=books Yes, primarly for speed.
Mark is right, get Access for Dummies. It is scary that you are trying to do this without more knowledge of databases and Access. You are probably going to have further issues .... A STRONG Access developer may be able to make this work and will know when it is time to move to SQL Server. A newbie ... Brooks Show quoteHide quote > Why indexed filed is important, because of speed or something else? "brooksr" <bro***@rimesrv.net> wrote in message No chance whatsoever...news:1167234949.458065.197980@f1g2000cwa.googlegroups.com... > A STRONG Access developer may be able to make this work and will know > when it is time to move to SQL Server. A newbie ... "Mark Rae" <mark@markNOSPAMrae.com> wrote in message That's not true. Sometimes people have dumb luck. ;-)news:uKvvOPdKHHA.4384@TK2MSFTNGP03.phx.gbl... > "brooksr" <bro***@rimesrv.net> wrote in message > news:1167234949.458065.197980@f1g2000cwa.googlegroups.com... > >> A STRONG Access developer may be able to make this work and will know >> when it is time to move to SQL Server. A newbie ... > > No chance whatsoever... > Robin S. You might want to cache items that are very often run (but seldom change)
queries. There is a Cache object in the System.Web namespace. You can also find an object called "WeakReference" which is a way to cache items, but to release them if there is a memory drain. I wouldn't start with Access. I'd start with MSDE (2000) or Sql Express (2005). But you might be able to pull it off. Show quoteHide quote "Igor" <i***@nesalji.hr> wrote in message news:emr8st$t2b$1@sunce.iskon.hr... > Can I use access for big database (cca 10-30 MB, cca 10-30k lines in > database). It will be asp.net 2.0 aplication and very fast server. Mostly > simple transactions (like SELECT * From Books Where Name like 'SomeName%'). > > Can it be problem if I have 10 000 unique visitors per day? I see that many > big sites have access database. Is it ok, ir it is big risk? > > Igor,
It is the same as the others wrote, however probably easier to manage. You can set a dataset shared in your program. Because all your users share the same application is that for all your users. It has to be a dataset that from the userside will never be changed otherwise you should never create a shared dataset in an AspNet appliction. Don't forget to make an extra page to set the dataset to nothing, otherwise you can never change it. Cor Show quoteHide quote "Igor" <i***@nesalji.hr> schreef in bericht news:emr8st$t2b$1@sunce.iskon.hr... > Can I use access for big database (cca 10-30 MB, cca 10-30k lines in > database). It will be asp.net 2.0 aplication and very fast server. Mostly > simple transactions (like SELECT * From Books Where Name like > 'SomeName%'). > > Can it be problem if I have 10 000 unique visitors per day? I see that > many big sites have access database. Is it ok, ir it is big risk? > use SQL Express, it is free and durable
Show quoteHide quote "Igor" <i***@nesalji.hr> wrote in message news:emr8st$t2b$1@sunce.iskon.hr... > Can I use access for big database (cca 10-30 MB, cca 10-30k lines in > database). It will be asp.net 2.0 aplication and very fast server. Mostly > simple transactions (like SELECT * From Books Where Name like > 'SomeName%'). > > Can it be problem if I have 10 000 unique visitors per day? I see that > many big sites have access database. Is it ok, ir it is big risk? > > use SQL Express, it is free and durable Are you from the Netherlands?> Hi Igor, Cor Show quoteHide quote > "Igor" <i***@nesalji.hr> wrote in message > news:emr8st$t2b$1@sunce.iskon.hr... >> Can I use access for big database (cca 10-30 MB, cca 10-30k lines in >> database). It will be asp.net 2.0 aplication and very fast server. Mostly >> simple transactions (like SELECT * From Books Where Name like >> 'SomeName%'). >> >> Can it be problem if I have 10 000 unique visitors per day? I see that >> many big sites have access database. Is it ok, ir it is big risk? >> > > I thought that you was Dutch, because there was asked about speed and you
are answering about the cost. :-) CorShow quoteHide quote "Igor" <i***@nesalji.hr> schreef in bericht news:emtigs$v3j$1@sunce.iskon.hr... >> Hi Igor, >> >> Are you from the Netherlands? > > No, I am from Croatia! > SQL Express is not well suited to shared hosting environments, especially
if your provider is using IIS 6.0 or above and has assigned every site it's own application pool, which is the most common scenario. SQL Express is good, however it is a bit of a memory hog, it uses a fair chunk of memory, at least 80-100Megs. If the server is hosting hundreds of sites using SQL Express you can see how this might become a problem pretty quickly. Alternatively if your application is in a shared pool then SQL Express is probably OK; however you will have all the security and reliability problems that come with that sort of environment. If you really believe your site is going to get that much traffic, make your life easy, just develop for SQL Server. If you use Access you're probably going to have to get into some threading stufff, code a DAL with a mutex to stop multiple threads simultaneously trying to write to your Access file, reads could be less of a problem but I wouldn't bet my life on it's reliability. In any case with Access, response times are going to be an issue under load, and in many cases it's going to crash and require continuous recycling/rebooting of your server or application pool (depending on the setup). Michael www.mblmsoftware.com Show quoteHide quote "Rotsey" <malcolm_sm***@RemoveThis.optusnet.com.au> wrote in message news:u820NkYKHHA.1248@TK2MSFTNGP02.phx.gbl... > use SQL Express, it is free and durable > > "Igor" <i***@nesalji.hr> wrote in message > news:emr8st$t2b$1@sunce.iskon.hr... >> Can I use access for big database (cca 10-30 MB, cca 10-30k lines in >> database). It will be asp.net 2.0 aplication and very fast server. Mostly >> simple transactions (like SELECT * From Books Where Name like >> 'SomeName%'). >> >> Can it be problem if I have 10 000 unique visitors per day? I see that >> many big sites have access database. Is it ok, ir it is big risk? >> > > "Michael Lang" <micklang at gmail.com> wrote in message 1. I have hosting with SQL Server Express and I have SQL Server 2000news:ONMnvxgKHHA.3952@TK2MSFTNGP02.phx.gbl... > SQL Express is not well suited to shared hosting environments, especially > if your provider is using IIS 6.0 or above and has assigned every site > it's own application pool, which is the most common scenario. developer edition on my computer. I will get SQL Server 2005 soon. What is the best solution? 2. I am thinking about MySQL Database with ASP.NET 2.0 (C# 2005) for this aplication. What do you think about this combination?
Small question?
Why does this not work? What am I doing wrong? PrintDocument_PrintPage goes into endless loop until e.HasMorePages=False Print font not available after assigning PrinterName Goodbye microsoft.public.dotnet.languages.vb Rename registry Key [folder/ branch] vbc : error BC30420: 'Sub Main' was not found in 'Product'. Is it necessary to close a local OleDbDataReader before exit function? Webbrowser Determining Column Number from Column Name |
|||||||||||||||||||||||