Re: Shrink Express DB After Large Data Import




"coastaldata" <coastaldata@xxxxxxxxxxxxxxxx> wrote in message
news:6D216D9B-6431-4688-8E43-3CAAF9875621@xxxxxxxxxxxxxxxx
Hello, I have a small VB.Net application that I've built in VS2005 that
indexes and helps me to work with various collections of files on my
network.
It works great at first, especially with small collections, but after a
time,
or immediately after import of a large collection, the application becomes
unresponsive due to the size of the database and the log.

In regards to the log, I really don't need it -- I just want to slurp in
my
data and run sql queries against it... the database would never need to be
recovered.

I need either VB.Net code that can perform maintenance functions on the
database, or else a way to configure the database to not store logs, or
both...

Or some other solution? Granted, this may not be the best application of
SQL
server, but I need the experience with it, and it's giving me some good
insight into the types of problems and limits that these databases
encounter.

Any help is greatly appreciated!

--Jon
--(CoastalData)

You have installed SQL Server Management Studio Express ?
Right click on your database, chose properties, options, set the database
recovery model to Simple and Autoshrink to True
ThoraD



.



Relevant Pages

  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... But SQL does not have a pointer data type or the ... > being told to design a database. ... But why is little Cindy Lou Who employee ...
    (comp.databases.theory)
  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)
  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... a surrogate key should support the primary key. ... But SQL does not have a pointer data type or the ... > being told to design a database. ...
    (comp.databases.theory)
  • Re: dbdebunk Quote of Week comment
    ... But SQL does not have a pointer data type or the ... More and more programmers who have absolutely no database training are ... But why is little Cindy Lou Who employee ...
    (comp.databases.theory)
  • Re: Just say no to threads [Was: Software architecture]
    ... they knew there was going to be a database in the app. ... Now my colleague just spent a couple/three weeks designing an SQL ... Turns out they have a flat file of sample information, ...
    (comp.object)