Re: [Info-ingres] Re: Unextend a database



On 1/19/06, martin.bowes@xxxxxxxxxxxxx <martin.bowes@xxxxxxxxxxxxx> wrote:
> Hi Herman,
>
> I'd suggest contacting IngresCorp and asking them exactly what this
> function is supposed to do.
>
> I would have thought that in the case of dropping an extent it did the
> necessary sanity check - ie the database in question isnt actually using
> the area and then was capable of removing the empty directory and
> amending the configuration file accordingly.
>
> Clearly it aint doing that.

No it isn't. But extenddb -l{loc_name} -drop isn't dropping an extent
to a location, it's dropping the location completely. It's the
equivalent of delete in the locations screen of accessdb or DROP
LOCATION in SQL of which the SQL-Ref Guide says:

"Note that you can only drop a data or work location if no currently
existing database has been extended to it"

(P 8-166)

So the only way to remove a location extent in 2.6 is to
unload/reload. Once there are no databases using it you can extenddb
-drop or DROP LOCATION, or accessdb to drop the entire location if
that's what you want.

A PITA to be sure, which is probably why we added unextenddb in r3. :)

>
> I'm running with this is a bug.
>

I'm gonna say it's not it's an unfortunate lack of a feature but it's not a bug.

--
Paul Mason

.



Relevant Pages

  • Re: Mail merge dropping records
    ... arrange those fields inside a single cell table that has the cell dimensions ... Doug Robbins - Word MVP ... > SSN, DOB, that I want to merge with a database of about ... > but did not solve dropping the others. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Java problem
    ... Your solution of dropping the database and re-creating it would tend to ... other utilities (Query Analyser/osql) to verify what data is present in the ... version of MDAC and you SQL Server is on a recent service pack. ... > way I can fix this is by dropping the entire datrabase and recreating it. ...
    (microsoft.public.sqlserver.security)
  • Re: null values in primary key
    ... I ve compacted the database. ... > I have a row filter and an agent resolver. ... If you cannot delete the rows, I'd try dropping ... >> try Compacting the database and try the above again. ...
    (microsoft.public.sqlserver.ce)
  • Re: [Info-ingres] Re: Unextend a database
    ... >necessary sanity check - ie the database in question isnt actually using ... >amending the configuration file accordingly. ... extenddb -drop is equivalent to a DROP LOCATION statement. ... I don't know of any way to truly unextend a database prior to r3. ...
    (comp.databases.ingres)
  • Re: [Info-ingres] Re: Unextend a database
    ... and that the ingahdnlp1 database is the only database that is extended ... INGRES EXTENDDB Copyright 2003 Computer Associates Intl, ... I am sure that the ingahdnlp1 database is the only database that is ... extended to the db40 location. ...
    (comp.databases.ingres)