Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enough is enough:memory thresh-hold

Status
Not open for further replies.

ArmenD

Programmer
Feb 3, 2005
101
US
hi all,
plz don't laugh at this ?, it's a serious one on my part.
how/when do i know when a database holds close to or all the memory it can.

in other words, is there some flag that indicates no more tables can be created?

moreover, suppose a db is to contain listing of members. this # grows and i was wondering how to factor rate of growth into this memory calculation?
 
What database platform are you using? MySQL, MS SQL, Oracle, Access, FoxPro, etc?

For most databases (MySQL, MS SQL, Oracle, etc) the database can hold as much data as will fit on the hard drives. When the hard drives are full, the database is full.

Denny

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
Whatever language you're using to insert the latest record should return an error when you try to exceed the storage limit. All you have to do is trap this error. This of course may not be easy.

Geoff Franklin
 
great thanks for quick reply.
when u say trap the error, is this sort of like exception handling?
why would it not be easy?
 
is this sort of like exception handling
Same sort of thing in different languages - I "raise an error" to deal with an unexpected situation, other people "throw an exception".

why would it not be easy
Because you've said nothing about the database technology you're using. Some make it easy. Some don't.

Geoff Franklin
 
i'll be using mysql server, so do u think the operation mentioned above is easy or not?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top