Does deleting a resource delete metadata from DB?

145 views
Skip to first unread message

dmisaacs

unread,
Aug 20, 2010, 1:03:42 PM8/20/10
to ResourceSpace
In the process of ingesting assets into the system I picked up a
lengthy report in PDF. ResourceSpace extracted the text, and I'm
wondering if deleting the PDF will also delete all of that text from
the database (that's what I would like to happen).

Thanks,
Danny

Jeff Harmon

unread,
Aug 20, 2010, 4:26:30 PM8/20/10
to ResourceSpace
I believe you need to run pages/tools/database_prune.php in order to
delete orphaned data. It's safe to run as a cron job.

- Jeff Harmon
Colorhythm LLC

Tom Gleason

unread,
Aug 20, 2010, 4:29:49 PM8/20/10
to resour...@googlegroups.com
Yes, deleting a resource should delete everything in the DB

--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.




--
Tom Gleason, PHP Developer
DBA Impressive Design

Exploring ResourceSpace at:
http://resourcespace.blogspot.com

Jeff Harmon

unread,
Aug 20, 2010, 4:45:06 PM8/20/10
to ResourceSpace
I don't understand then why database_prune.php was created, and why it
repeatedly finds orphaned keywords at all!

- Jeff Harmon
Colorhythm LLC

On Aug 20, 1:29 pm, Tom Gleason <theorysav...@gmail.com> wrote:
> Yes, deleting a resource should delete everything in the DB
>
> On Fri, Aug 20, 2010 at 4:26 PM, Jeff Harmon <jeffreyhhar...@gmail.com>wrote:
>
>
>
> > I believe you need to run pages/tools/database_prune.php in order to
> > delete orphaned data.  It's safe to run as a cron job.
>
> > - Jeff Harmon
> > Colorhythm LLC
>
> > On Aug 20, 10:03 am, dmisaacs <dannyisa...@gmail.com> wrote:
> > > In the process of ingesting assets into the system I picked up a
> > > lengthy report in PDF.  ResourceSpace extracted the text, and I'm
> > > wondering if deleting the PDF will also delete all of that text from
> > > the database (that's what I would like to happen).
>
> > > Thanks,
> > > Danny
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ResourceSpace" group.
> > To post to this group, send email to resour...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > resourcespac...@googlegroups.com<resourcespace%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages