Site
Web
Search
Login
Home
Document Exchange
Features
Extensions
Licensing
Testimonials
Translations
Buy
DMX Extensions
Support
Forums
Downloads
Free Stuff
Translations
Company
Partners
News
Contact
Test
You are here:
Support
/
Forums
Bring2mind Forums
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
Document Exchange
>
Storage and Security
DMX_Repository Table Size
Last Post 01/13/2011 12:17 AM by
Brandon Hartsell
. 4 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Brandon Hartsell
New Member
Posts:73
01/11/2011 1:31 AM
The DMX_Repository Table size has gotten pretty large in my DNN DB. 2534424KB
I am holding my data on Amazon S3 now and I am wondering if that Repository should still be large even after moving all the files to S3?
Brandon Hartsell
New Member
Posts:73
01/11/2011 1:34 AM
well I ran some of the size scripts and clean up in the admin and the size went down to 48KB
Brandon Hartsell
New Member
Posts:73
01/11/2011 1:42 AM
scratch that. it is still 2534424. i was looking at the wrong thing. any ideas?
Peter Donker
Veteran Member
Posts:4536
01/11/2011 6:41 PM
Hi Brandon,
You can run a query to remove content from that table. It is important to verify whether the file actually made it across to S3. Here is the SQL that should do this:
DELETE FROM DMX_Repository
FROM DMX_Repository r
WHERE NOT EXISTS
(SELECT e.EntryId FROM DMX_Entries e
WHERE e.[Entry] = CAST(r.BlobId AS NVARCHAR)
AND e.PortalId=r.PortalId
AND e.StorageProviderID = 2)
Note: probably it's a good idea to backup the db just in case.
Note 2: you can also check to see if there are any files left in SQL according to DMX by running
SELECT e.EntryId FROM DMX_Entries e WHERE e.StorageProviderID = 2
The StorageProviderID for S3 is 3.
Peter
Brandon Hartsell
New Member
Posts:73
01/13/2011 12:17 AM
that worked! thank you.
You are not authorized to post a reply.
Document Exchange
--Release Notes for Document Exc...
--Installation and Activation Is...
--User Interface
--Search
--Storage and Security
--WebDAV
--API
Document Exchange Lite
--Installation and Activation Is...
--Search
--Localization
--UI
--Storage and Security
--Extensions and addons
Forums
>
Document Exchange
>
Storage and Security