Re: Database Information Storage

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: John Spencer (MVP) (spencer4_at_comcast.net)
Date: 12/30/04


Date: Thu, 30 Dec 2004 11:42:36 -0500

Do you have indexes on the fields that you are using in searches and sorts?
Other than that there is not a lot you can do to speed up the data. Also, you
must realize that indexes represent a tradeoff - it takes longer to add, delete
and modify a record if indexes are involved. The indexes have to be updated at
the same time.

Other than that your choice is to archive some of the rows of data into a
separate table if it is not really needed.

One other thing that may help, is to compact your database. Doing this is (as I
recall) supposed to force the database to reexamine the query plan for all
queries and update them as appropriate.

Opening a query in design view and changing it, saving the change, and then
undoing the change and saving again, will also force the database engine to
reexamine the query plan and make optimizations to the query plan.

ethan wrote:
>
> I produced a database that is being fed with new information every week. So
> rar it has more than 1 mln lines (records). and the queries are slwing down
> as the table gets biger and biger. Is there any way to fix it...



Relevant Pages

  • Re: How can i put the image file to the db ? (mssql)
    ... > i just want to put jpeg file to the image field at the mssql db. ... The second is saving binary date to a MySQL database. ... The PHP documentation is excellent and you will probably find some code you can copy and past from here: ...
    (comp.lang.php)
  • Re: HTML doc save dialog
    ... I do have a toolbar and I do have methods for ... cut/paste/indent/bullets etc as you describe. ... from the database, create a string that represents the entire html document ... > OLECMDEXECOPT_DONTPROMPTUSER as parameter before saving in ExecWB ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Not prompting to save
    ... I just created a new database and imported all objects. ... >> I don't believe you can set Access not to promt to save a form change ... This is more of an Access setting than code. ... > to prompt for the saving of changes until youi either call ...
    (microsoft.public.access.forms)
  • Re: Query Optimization
    ... If you want to work with the query plan in JET, ... After I compact the database, I would expect the queries to be ... Initially, qryFast is fast and qrySlow is slow, but after you compact ...
    (microsoft.public.access.queries)
  • Re: Append Project To MPD Database
    ... Try recording code in Project of you saving two projects to the same .mpd ... best practices and Project VBA ... > Project Database. ...
    (microsoft.public.project.vba)