[rhmessaging-commits] rhmessaging commits: r2134 - in mgmt/mint: sql and 1 other directory.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Jun 5 14:28:28 EDT 2008


Author: nunofsantos
Date: 2008-06-05 14:28:27 -0400 (Thu, 05 Jun 2008)
New Revision: 2134

Modified:
   mgmt/mint/python/mint/schema.py
   mgmt/mint/sql/schema.sql
Log:
updated schema to reflect changes in store xml

Modified: mgmt/mint/python/mint/schema.py
===================================================================
--- mgmt/mint/python/mint/schema.py	2008-06-05 18:22:03 UTC (rev 2133)
+++ mgmt/mint/python/mint/schema.py	2008-06-05 18:28:27 UTC (rev 2134)
@@ -641,12 +641,12 @@
   statsPrev = ForeignKey('JournalStats', cascade='null', default=None)
   name = StringCol(length=1000, default=None)
   queue = ForeignKey('Queue', cascade='null', default=None)
-  journalDirectory = StringCol(length=1000, default=None)
-  journalBaseFileName = StringCol(length=1000, default=None)
-  journalWritePageSize = IntCol(default=None)
-  journalWritePages = IntCol(default=None)
-  journalReadPageSize = IntCol(default=None)
-  journalReadPages = IntCol(default=None)
+  directory = StringCol(length=1000, default=None)
+  baseFileName = StringCol(length=1000, default=None)
+  writePageSize = IntCol(default=None)
+  writePages = IntCol(default=None)
+  readPageSize = IntCol(default=None)
+  readPages = IntCol(default=None)
 
   classInfos = dict() # brokerId => classInfo
 
@@ -671,31 +671,31 @@
   journal = ForeignKey('Journal', cascade='null', default=None)
   initialFileCount = SmallIntCol(default=None)
   dataFileSize = IntCol(default=None)
-  journalCurrentFileCount = IntCol(default=None)
-  journalRecordDepth = IntCol(default=None)
-  journalRecordDepthLow = IntCol(default=None)
-  journalRecordDepthHigh = IntCol(default=None)
-  journalRecordEnqueues = BigIntCol(default=None)
-  journalRecordDequeues = BigIntCol(default=None)
-  journalOutstandingAIOs = IntCol(default=None)
-  journalOutstandingAIOsLow = IntCol(default=None)
-  journalOutstandingAIOsHigh = IntCol(default=None)
-  journalFreeFileCount = IntCol(default=None)
-  journalFreeFileCountLow = IntCol(default=None)
-  journalFreeFileCountHigh = IntCol(default=None)
-  journalAvailableFileCount = IntCol(default=None)
-  journalAvailableFileCountLow = IntCol(default=None)
-  journalAvailableFileCountHigh = IntCol(default=None)
-  journalWriteWaitFailures = BigIntCol(default=None)
-  journalWriteBusyFailures = BigIntCol(default=None)
-  journalReadRecordCount = BigIntCol(default=None)
-  journalReadBusyFailures = BigIntCol(default=None)
-  journalWritePageCacheDepth = IntCol(default=None)
-  journalWritePageCacheDepthLow = IntCol(default=None)
-  journalWritePageCacheDepthHigh = IntCol(default=None)
-  journalReadPageCacheDepth = IntCol(default=None)
-  journalReadPageCacheDepthLow = IntCol(default=None)
-  journalReadPageCacheDepthHigh = IntCol(default=None)
+  currentFileCount = IntCol(default=None)
+  recordDepth = IntCol(default=None)
+  recordDepthLow = IntCol(default=None)
+  recordDepthHigh = IntCol(default=None)
+  recordEnqueues = BigIntCol(default=None)
+  recordDequeues = BigIntCol(default=None)
+  outstandingAIOs = IntCol(default=None)
+  outstandingAIOsLow = IntCol(default=None)
+  outstandingAIOsHigh = IntCol(default=None)
+  freeFileCount = IntCol(default=None)
+  freeFileCountLow = IntCol(default=None)
+  freeFileCountHigh = IntCol(default=None)
+  availableFileCount = IntCol(default=None)
+  availableFileCountLow = IntCol(default=None)
+  availableFileCountHigh = IntCol(default=None)
+  writeWaitFailures = BigIntCol(default=None)
+  writeBusyFailures = BigIntCol(default=None)
+  readRecordCount = BigIntCol(default=None)
+  readBusyFailures = BigIntCol(default=None)
+  writePageCacheDepth = IntCol(default=None)
+  writePageCacheDepthLow = IntCol(default=None)
+  writePageCacheDepthHigh = IntCol(default=None)
+  readPageCacheDepth = IntCol(default=None)
+  readPageCacheDepthLow = IntCol(default=None)
+  readPageCacheDepthHigh = IntCol(default=None)
 
   classInfos = dict() # brokerId => classInfo
 

Modified: mgmt/mint/sql/schema.sql
===================================================================
--- mgmt/mint/sql/schema.sql	2008-06-05 18:22:03 UTC (rev 2133)
+++ mgmt/mint/sql/schema.sql	2008-06-05 18:28:27 UTC (rev 2134)
@@ -226,12 +226,12 @@
     stats_prev_id INT,
     name VARCHAR(1000),
     queue_id INT,
-    journal_directory VARCHAR(1000),
-    journal_base_file_name VARCHAR(1000),
-    journal_write_page_size INT,
-    journal_write_pages INT,
-    journal_read_page_size INT,
-    journal_read_pages INT
+    directory VARCHAR(1000),
+    base_file_name VARCHAR(1000),
+    write_page_size INT,
+    write_pages INT,
+    read_page_size INT,
+    read_pages INT
 );
 
 CREATE TABLE journal_stats (
@@ -241,31 +241,31 @@
     journal_id INT,
     initial_file_count SMALLINT,
     data_file_size INT,
-    journal_current_file_count INT,
-    journal_record_depth INT,
-    journal_record_depth_low INT,
-    journal_record_depth_high INT,
-    journal_record_enqueues BIGINT,
-    journal_record_dequeues BIGINT,
-    journal_outstanding_ai_os INT,
-    journal_outstanding_ai_os_low INT,
-    journal_outstanding_ai_os_high INT,
-    journal_free_file_count INT,
-    journal_free_file_count_low INT,
-    journal_free_file_count_high INT,
-    journal_available_file_count INT,
-    journal_available_file_count_low INT,
-    journal_available_file_count_high INT,
-    journal_write_wait_failures BIGINT,
-    journal_write_busy_failures BIGINT,
-    journal_read_record_count BIGINT,
-    journal_read_busy_failures BIGINT,
-    journal_write_page_cache_depth INT,
-    journal_write_page_cache_depth_low INT,
-    journal_write_page_cache_depth_high INT,
-    journal_read_page_cache_depth INT,
-    journal_read_page_cache_depth_low INT,
-    journal_read_page_cache_depth_high INT
+    current_file_count INT,
+    record_depth INT,
+    record_depth_low INT,
+    record_depth_high INT,
+    record_enqueues BIGINT,
+    record_dequeues BIGINT,
+    outstanding_ai_os INT,
+    outstanding_ai_os_low INT,
+    outstanding_ai_os_high INT,
+    free_file_count INT,
+    free_file_count_low INT,
+    free_file_count_high INT,
+    available_file_count INT,
+    available_file_count_low INT,
+    available_file_count_high INT,
+    write_wait_failures BIGINT,
+    write_busy_failures BIGINT,
+    read_record_count BIGINT,
+    read_busy_failures BIGINT,
+    write_page_cache_depth INT,
+    write_page_cache_depth_low INT,
+    write_page_cache_depth_high INT,
+    read_page_cache_depth INT,
+    read_page_cache_depth_low INT,
+    read_page_cache_depth_high INT
 );
 
 CREATE TABLE link (




More information about the rhmessaging-commits mailing list