<commit_before><style>
<!--
.alloc-table {
	font-size: 8pt;
	text-align: right;
}
-->
</style>
<div id="tab-database">
<button onclick="javascript:askDatabaseInfo()"
	class="ui-button-text-icon">Refresh <img border="0"
	alt="Refresh" src="images/execute.png" align="top" /></button>
<div id="tabs-db">
<ul>
	<li><a href="#tab-db-schema"><span>Schema</span></a></li>
	<li><a href="#tab-db-structure"><span>Structure</span></a></li>
	<li><a href="#tab-db-allocation"><span>Allocation</span></a></li>
	<li><a href="#tab-db-security"><span>Security</span></a></li>
	<li><a href="#tab-db-config"><span>Configuration</span></a></li>
</ul>
<div id="tab-db-schema">
<table style="width: 100%;" cellpadding="5">
	<tr>
		<td valign="top">
		<table width="100%">
			<tr>
				<td width="600">
				<table id="databaseClasses" cellspacing="0" cellpadding="5"
					border="1" width="100%">
				</table>
				</td>
				<td valign="top" align="left" width="150">
				<table>
					<tr>
						<td>
						<button id="queryClass" class="ui-button-text-icon"
							style="text-align: left">Query <img border="0"
							alt="Query" src="images/execute.png" align="top" /></button>
						</td>
					</tr>
					<tr>
						<td>
						<button id="createObject" class="ui-button-text-icon"
							style="text-align: left">Create object <img border="0"
							alt="Create object" src="images/set.png" align="top" /></button>
						</td>
					</tr>
					<tr>
						<td>
						<button id="deleteClass" class="ui-button-text-icon"
							style="text-align: left">Delete class <img border="0"
							alt="Delete record" src="images/delete.png" align="top" /></button>
						</td>
					</tr>
				</table>
				</td>
				<td valign="top" class="help">Select the class to display the
				properties associated. Each class can store its records into one or
				multiple <b>Clusters</b> (see "Structure" tab). A class can be <b>schema-less</b>
				(has no properties), <b>schema-full</b> (all properties as
				mandatories) or with a <b>partial schema</b>.</td>
			</tr>
			<tr>
				<td valign="top" align="left">
				<table>
					<tr>
						<td>
						<button id="addClass" class="ui-button-text-icon"
							style="text-align: left">Add class <img border="0"
							alt="New record" src="images/add.png" align="top" /></button>
						</td>
						<td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<table width="100%">
			<tr>
				<td valign="top" width="850">
				<table id="classProperties" style="width: 100%;" cellspacing="0"
					cellpadding="5" border="1">
				</table>
				</td>
				<td valign="top" align="left">
				<table>
					<tr>
						<td>
						<button id="deleteProperty" class="ui-button-text-icon"
							style="text-align: left">Delete property <img border="0"
							alt="Delete record" src="images/delete.png" align="top" /></button>
						</td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td valign="top" align="left">
				<table>
					<tr>
						<td>
						<button id="addProperty" " class="ui-button-text-icon"
							style="text-align: left">Add property <img border="0"
							alt="New record" src="images/add.png" align="top" /></button>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
<div id="tab-db-structure">
<table style="width: 100%;" cellpadding="5">
	<tr>
		<td valign="top" class="help"><b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Cluster">Clusters</a></b>
		are sets of records grouped by a mean. Any mean you want to assign.
		You can use a Cluster like a Table of the Relational DBMS world,
		namely to group records of the same type. Or you could want to group
		records by different logics. <br />
		<br />
		There are two kinds of clusters: <b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Local_Physical_Cluster">Physical</a></b>
		and <b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Logical_Cluster">Logical</a></b>.
		The first one uses ad-hoc files to speed up the I/O while the second
		one saves more space but it's slower. The suggestion is to use
		Physical Clusters for the records accessed often and where you need
		light speed.</td>
	</tr>
	<tr>
		<td valign="top" width="500">
		<table id="databaseClusters" style="width: 100%;" cellspacing="0"
			cellpadding="5" border="1">
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top" align="left">
		<table>
			<tr>
				<td>
				<button id="addPhysicalCluster" class="ui-button-text-icon"
					style="text-align: left">Add Physical Cluster <img
					border="0" alt="Add Physical Cluster" src="images/add.png"
					align="top" /></button>
				</td>
				<td>
				<button id="addLogicalCluster" class="ui-button-text-icon"
					style="text-align: left">Add Logical Cluster <img
					border="0" alt="Add Logical Cluster" src="images/add.png"
					align="top" /></button>
				</td>
				<td>
				<button id="removeCluster" class="ui-button-text-icon"
					style="text-align: left">Remove Cluster <img border="0"
					alt="Remove Cluster" src="images/delete.png" align="top" /></button>
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top" class="help"><b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Data_Segment">Data
		segments</a></b> are the segments that contain data pointed by Clusters.</td>
	</tr>
	<tr>
		<td valign="top" width="500">
		<table id="databaseDataSegments" style="width: 100%;" cellspacing="0"
			cellpadding="5" border="1">
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top" class="help"><b>Tx Segment</b> handles the
		transaction log for the entire database. It's used in Transactions.</td>
	</tr>
	<tr>
		<td valign="top" width="500">
		<table id="databaseTxSegment" style="width: 100%;" cellspacing="0"
			cellpadding="5" border="1">
		</table>
		</td>
	</tr>
</table>
</div>
<div id="tab-db-allocation">
<table style="width: 100%;" cellpadding="5">
	<tr>
		<td valign="top" class="help"><canvas id="allocation-canvas"
			width="1850" height="1500"></canvas></td>
		<td><commit_msg>Contribution by <NAME> about the visualization of database allocation. Open OrientDB Studio and click on tab "Allocation". Cool!<commit_after><style>
<!--
.alloc-table {
	font-size: 8pt;
	text-align: right;
}
-->
</style>
<div id="tab-database">
<button onclick="javascript:askDatabaseInfo()"
	class="ui-button-text-icon">Refresh <img border="0"
	alt="Refresh" src="images/execute.png" align="top" /></button>
<div id="tabs-db">
<ul>
	<li><a href="#tab-db-schema"><span>Schema</span></a></li>
	<li><a href="#tab-db-structure"><span>Structure</span></a></li>
	<li><a href="#tab-db-allocation"><span>Allocation</span></a></li>
	<li><a href="#tab-db-security"><span>Security</span></a></li>
	<li><a href="#tab-db-config"><span>Configuration</span></a></li>
</ul>
<div id="tab-db-schema">
<table style="width: 100%;" cellpadding="5">
	<tr>
		<td valign="top">
		<table width="100%">
			<tr>
				<td width="600">
				<table id="databaseClasses" cellspacing="0" cellpadding="5"
					border="1" width="100%">
				</table>
				</td>
				<td valign="top" align="left" width="150">
				<table>
					<tr>
						<td>
						<button id="queryClass" class="ui-button-text-icon"
							style="text-align: left">Query <img border="0"
							alt="Query" src="images/execute.png" align="top" /></button>
						</td>
					</tr>
					<tr>
						<td>
						<button id="createObject" class="ui-button-text-icon"
							style="text-align: left">Create object <img border="0"
							alt="Create object" src="images/set.png" align="top" /></button>
						</td>
					</tr>
					<tr>
						<td>
						<button id="deleteClass" class="ui-button-text-icon"
							style="text-align: left">Delete class <img border="0"
							alt="Delete record" src="images/delete.png" align="top" /></button>
						</td>
					</tr>
				</table>
				</td>
				<td valign="top" class="help">Select the class to display the
				properties associated. Each class can store its records into one or
				multiple <b>Clusters</b> (see "Structure" tab). A class can be <b>schema-less</b>
				(has no properties), <b>schema-full</b> (all properties as
				mandatories) or with a <b>partial schema</b>.</td>
			</tr>
			<tr>
				<td valign="top" align="left">
				<table>
					<tr>
						<td>
						<button id="addClass" class="ui-button-text-icon"
							style="text-align: left">Add class <img border="0"
							alt="New record" src="images/add.png" align="top" /></button>
						</td>
						<td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<table width="100%">
			<tr>
				<td valign="top" width="850">
				<table id="classProperties" style="width: 100%;" cellspacing="0"
					cellpadding="5" border="1">
				</table>
				</td>
				<td valign="top" align="left">
				<table>
					<tr>
						<td>
						<button id="deleteProperty" class="ui-button-text-icon"
							style="text-align: left">Delete property <img border="0"
							alt="Delete record" src="images/delete.png" align="top" /></button>
						</td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td valign="top" align="left">
				<table>
					<tr>
						<td>
						<button id="addProperty" " class="ui-button-text-icon"
							style="text-align: left">Add property <img border="0"
							alt="New record" src="images/add.png" align="top" /></button>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
<div id="tab-db-structure">
<table style="width: 100%;" cellpadding="5">
	<tr>
		<td valign="top" class="help"><b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Cluster">Clusters</a></b>
		are sets of records grouped by a mean. Any mean you want to assign.
		You can use a Cluster like a Table of the Relational DBMS world,
		namely to group records of the same type. Or you could want to group
		records by different logics. <br />
		<br />
		There are two kinds of clusters: <b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Local_Physical_Cluster">Physical</a></b>
		and <b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Logical_Cluster">Logical</a></b>.
		The first one uses ad-hoc files to speed up the I/O while the second
		one saves more space but it's slower. The suggestion is to use
		Physical Clusters for the records accessed often and where you need
		light speed.</td>
	</tr>
	<tr>
		<td valign="top" width="500">
		<table id="databaseClusters" style="width: 100%;" cellspacing="0"
			cellpadding="5" border="1">
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top" align="left">
		<table>
			<tr>
				<td>
				<button id="addPhysicalCluster" class="ui-button-text-icon"
					style="text-align: left">Add Physical Cluster <img
					border="0" alt="Add Physical Cluster" src="images/add.png"
					align="top" /></button>
				</td>
				<td>
				<button id="addLogicalCluster" class="ui-button-text-icon"
					style="text-align: left">Add Logical Cluster <img
					border="0" alt="Add Logical Cluster" src="images/add.png"
					align="top" /></button>
				</td>
				<td>
				<button id="removeCluster" class="ui-button-text-icon"
					style="text-align: left">Remove Cluster <img border="0"
					alt="Remove Cluster" src="images/delete.png" align="top" /></button>
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top" class="help"><b><a
			href="http://code.google.com/p/orient/wiki/Concepts#Data_Segment">Data
		segments</a></b> are the segments that contain data pointed by Clusters.</td>
	</tr>
	<tr>
		<td valign="top" width="500">
		<table id="databaseDataSegments" style="width: 100%;" cellspacing="0"
			cellpadding="5" border="1">
		</table>
		</td>
	</tr>
	<tr>
		<td valign="top" class="help"><b>Tx Segment</b> handles the
		transaction log for the entire database. It's used in Transactions.</td>
	</tr>
	<tr>
		<td valign="top" width="500">
		<table id="databaseTxSegment" style="width: 100%;" cellspacing="0"
			cellpadding="5" border="1">
		</table>
		</td>
	</tr>
</table>
</div>
<div id="tab-db-allocation">
<table style="width: 100%;" cellpadding="5">
	<tr>
		<td valign="top" class="help"><canvas id="allocation-canvas"
			width="850" height="500"></canvas></td>
		<td>
{'fraction_non_alphanumeric': 0.2017364239495454, 'fraction_numerical': 0.013760340732246704, 'mean_word_length': 3.3421052631578947, 'pattern_counts': {'":': 0, '<': 456, '<?xml version=': 0, '>': 456, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '810408', 'n_tokens_mistral': 5401, 'n_tokens_neox': 4316, 'n_words': 1044}