Esempio n. 1
0
//-----------------------------------------------------------------------------
// getLFHBlockStats
//-----------------------------------------------------------------------------

        /// <summary>
        /// Return statistics for blocks in the logical file header block list.
        /// </summary>
        /// <param name="pulBytesUsed">
        /// Total bytes of blocks in the list.
        /// </param>
        /// <param name="puiBlockCount">
        /// Total blocks in the list.
        /// </param>
        /// <param name="peLastError">
        /// Last corruption error that was reported for blocks in the list.
        /// </param>
        /// <param name="puiNumErrors">
        /// Total corruptions reported for blocks in the list.
        /// </param>
        public void getLFHBlockStats(
            out ulong pulBytesUsed,
            out uint puiBlockCount,
            out FlmCorruptionCode peLastError,
            out uint puiNumErrors)
        {
            xflaim_DbInfo_getLFHBlockStats(m_pDbInfo,
                                           out pulBytesUsed, out puiBlockCount,
                                           out peLastError, out puiNumErrors);
        }
Esempio n. 2
0
 private static extern void xflaim_DbInfo_getBTreeBlockStats(
     IntPtr pDbInfo,
     uint uiNthLogicalFile,
     uint uiLevel,
     out ulong pulKeyCount,
     out ulong pulBytesUsed,
     out ulong pulElementCount,
     out ulong pulContElementCount,
     out ulong pulContElmBytes,
     out uint puiBlockCount,
     out FlmCorruptionCode peLastError,
     out uint puiNumErrors);
Esempio n. 3
0
//-----------------------------------------------------------------------------
// getBTreeBlockStats
//-----------------------------------------------------------------------------

        /// <summary>
        /// Return the statistics for a specific logical file at a specific level
        /// in the logical file's b-tree.
        /// </summary>
        /// <param name="uiNthLogicalFile">
        /// Logical file for which information is being requested.  Note that
        /// the total number of logical files is the sum of collections and
        /// indexes.  Collections are the numbers between 0 and CollectionCount - 1.
        /// Indexes are the numbers between CollectionCount and CollectionCount + IndexCount - 1.
        /// Thus, if there are 5 collections, and 3 indexes, the collections will
        /// be in elements 0 through 4, and the indexes will be in elements 5 through 7.
        /// </param>
        /// <param name="uiLevel">
        /// Level in b-tree for which information is being requested.
        /// </param>
        /// <param name="pulKeyCount">
        /// Number of keys in this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulBytesUsed">
        /// Total bytes used in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulElementCount">
        /// Total elements in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulContElementCount">
        /// Total continuation elements in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulContElmBytes">
        /// Total bytes in continuation elements in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="puiBlockCount">
        /// Total blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="peLastError">
        /// Last corruption found for blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="puiNumErrors">
        /// Number of corruptions found for blocks at this level of the b-tree is returned here.
        /// </param>
        public void getBTreeBlockStats(
            uint uiNthLogicalFile,
            uint uiLevel,
            out ulong pulKeyCount,
            out ulong pulBytesUsed,
            out ulong pulElementCount,
            out ulong pulContElementCount,
            out ulong pulContElmBytes,
            out uint puiBlockCount,
            out FlmCorruptionCode peLastError,
            out uint puiNumErrors)
        {
            xflaim_DbInfo_getBTreeBlockStats(m_pDbInfo, uiNthLogicalFile, uiLevel, out pulKeyCount,
                                             out pulBytesUsed, out pulElementCount, out pulContElementCount,
                                             out pulContElmBytes, out puiBlockCount, out peLastError, out puiNumErrors);
        }
Esempio n. 4
0
        //-----------------------------------------------------------------------------
        // getAvailBlockStats
        //-----------------------------------------------------------------------------
        /// <summary>
        /// Return statistics on blocks in the avail list.
        /// </summary>
        /// <param name="pulBytesUsed">
        /// Total bytes of blocks in the avail list.
        /// </param>
        /// <param name="puiBlockCount">
        /// Total blocks in the avail list.
        /// </param>
        /// <param name="peLastError">
        /// Last corruption error that was reported for blocks in the avail list.
        /// </param>
        /// <param name="puiNumErrors">
        /// Total corruptions reported for blocks in the avail list.
        /// </param>
        public void getAvailBlockStats(
			out ulong					pulBytesUsed,
			out uint						puiBlockCount,
			out FlmCorruptionCode	peLastError,
			out uint						puiNumErrors)
        {
            xflaim_DbInfo_getAvailBlockStats( m_pDbInfo,
                out pulBytesUsed, out puiBlockCount,
                out peLastError, out puiNumErrors);
        }
Esempio n. 5
0
        private static extern void xflaim_DbInfo_getLFHBlockStats(
			IntPtr						pDbInfo,
			out ulong					pulBytesUsed,
			out uint						puiBlockCount,
			out FlmCorruptionCode	peLastError,
			out uint						puiNumErrors);
Esempio n. 6
0
        private static extern void xflaim_DbInfo_getBTreeBlockStats(
			IntPtr						pDbInfo,
			uint							uiNthLogicalFile,
			uint							uiLevel,
			out ulong					pulKeyCount,
			out ulong					pulBytesUsed,
			out ulong					pulElementCount,
			out ulong					pulContElementCount,
			out ulong					pulContElmBytes,
			out uint						puiBlockCount,
			out FlmCorruptionCode	peLastError,
			out uint						puiNumErrors);
Esempio n. 7
0
        //-----------------------------------------------------------------------------
        // getBTreeBlockStats
        //-----------------------------------------------------------------------------
        /// <summary>
        /// Return the statistics for a specific logical file at a specific level
        /// in the logical file's b-tree.
        /// </summary>
        /// <param name="uiNthLogicalFile">
        /// Logical file for which information is being requested.  Note that
        /// the total number of logical files is the sum of collections and
        /// indexes.  Collections are the numbers between 0 and CollectionCount - 1.
        /// Indexes are the numbers between CollectionCount and CollectionCount + IndexCount - 1.
        /// Thus, if there are 5 collections, and 3 indexes, the collections will
        /// be in elements 0 through 4, and the indexes will be in elements 5 through 7.
        /// </param>
        /// <param name="uiLevel">
        /// Level in b-tree for which information is being requested.
        /// </param>
        /// <param name="pulKeyCount">
        /// Number of keys in this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulBytesUsed">
        /// Total bytes used in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulElementCount">
        /// Total elements in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulContElementCount">
        /// Total continuation elements in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="pulContElmBytes">
        /// Total bytes in continuation elements in blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="puiBlockCount">
        /// Total blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="peLastError">
        /// Last corruption found for blocks at this level of the b-tree is returned here.
        /// </param>
        /// <param name="puiNumErrors">
        /// Number of corruptions found for blocks at this level of the b-tree is returned here.
        /// </param>
        public void getBTreeBlockStats(
			uint							uiNthLogicalFile,
			uint							uiLevel,
			out ulong					pulKeyCount,
			out ulong					pulBytesUsed,
			out ulong					pulElementCount,
			out ulong					pulContElementCount,
			out ulong					pulContElmBytes,
			out uint						puiBlockCount,
			out FlmCorruptionCode	peLastError,
			out uint						puiNumErrors)
        {
            xflaim_DbInfo_getBTreeBlockStats( m_pDbInfo, uiNthLogicalFile, uiLevel, out pulKeyCount,
                out pulBytesUsed, out pulElementCount, out pulContElementCount,
                out pulContElmBytes, out puiBlockCount, out peLastError, out puiNumErrors);
        }
Esempio n. 8
0
 private static extern void xflaim_DbInfo_getLFHBlockStats(
     IntPtr pDbInfo,
     out ulong pulBytesUsed,
     out uint puiBlockCount,
     out FlmCorruptionCode peLastError,
     out uint puiNumErrors);