Powered by InfoCaptor


Parameters
ParameterValue
Userroot@localhost
Today13-May-2007 15:40:37
Version5.0.37-community-nt
Databasesakila
Table Filter%
View Filter%
Procedure Filter%
Function Filter%
No of Days Filter15
New Objects
ObjectObject Name
TablesCOLUMNS
TablesROUTINES
TablesTRIGGERS
TablesVIEWS
Tablesactor
Tablesaddress
Tablescategory
Tablescity
Tablescountry
Tablescustomer
Tablesfilm
Tablesfilm_actor
Tablesfilm_category
Tablesfilm_text
Tablesinventory
Tableslanguage
Tablespayment
Tablesrental
Tablesstaff
Tablesstore
Routinesfilm_in_stock
Routinesfilm_not_in_stock
Routinesget_customer_balance
Routinesinventory_held_by_customer
Routinesinventory_in_stock
Routinesrewards_report
Updated Objects
ObjectObject Name
Tablesfilm_text
Routinesfilm_in_stock
Routinesfilm_not_in_stock
Routinesget_customer_balance
Routinesinventory_held_by_customer
Routinesinventory_in_stock
Routinesrewards_report
Object Distribution
Object TypeCount
Table16
View7
FUNCTION3
PROCEDURE3
Trigger6
Tables
Table NameTable CommentTable RowsAvg Row LengthData LengthCreate TimeUpdate TimeView ReferencesRoutine ReferencesTriggersIndexes
actorInnoDB free: 5120 kB200811638403-May-2007 22:21:34 1002
addressInnoDB free: 5120 kB; (`city_id`) REFER `sakila/city`(`city_id`) ON UPDATE CASCA5891398192003-May-2007 22:21:35 0002
categoryInnoDB free: 5120 kB1610241638403-May-2007 22:21:35 1001
cityInnoDB free: 5120 kB; (`country_id`) REFER `sakila/country`(`country_id`) ON UPD4271154915203-May-2007 22:21:35 0002
countryInnoDB free: 5120 kB1091501638403-May-2007 22:21:35 0001
customerInnoDB free: 5120 kB; (`address_id`) REFER `sakila/address`(`address_id`) ON UPD5411518192003-May-2007 22:21:35 0114
filmInnoDB free: 5120 kB; (`language_id`) REFER `sakila/language`(`language_id`) ON 102419219660803-May-2007 22:21:35 1134
film_actorInnoDB free: 5120 kB; (`actor_id`) REFER `sakila/actor`(`actor_id`) ON UPDATE CA51433819660803-May-2007 22:21:35 1003
film_categoryInnoDB free: 5120 kB; (`category_id`) REFER `sakila/category`(`category_id`) ON 822796553603-May-2007 22:21:35 1003
film_text100011911961603-May-2007 22:21:3603-May-2007 22:22:340003
inventoryInnoDB free: 5120 kB; (`film_id`) REFER `sakila/film`(`film_id`) ON UPDATE CASCA46733818022403-May-2007 22:21:36 0404
languageInnoDB free: 5120 kB627301638403-May-2007 22:21:36 0001
paymentInnoDB free: 5120 kB; (`customer_id`) REFER `sakila/customer`(`customer_id`) ON 1645196158924803-May-2007 22:21:36 0214
rentalInnoDB free: 5120 kB; (`customer_id`) REFER `sakila/customer`(`customer_id`) ON 15609101158924803-May-2007 22:21:36 0317
staffInnoDB free: 5120 kB; (`address_id`) REFER `sakila/address`(`address_id`) ON UPD1655366553603-May-2007 22:21:36 0003
storeInnoDB free: 5120 kB; (`address_id`) REFER `sakila/address`(`address_id`) ON UPD281921638403-May-2007 22:21:37 0003
actor
Columns
Column NameColumn TypeNull?Column Comment
actor_idsmallint(5) unsignedNO
first_namevarchar(45)NO
last_namevarchar(45)NO
last_updatetimestampNO
Dependent Views
View Name
actor_info
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_actor_last_name1last_nameA200 BTREE
0PRIMARY1actor_idA200 BTREE
Table Script
TableCreate Table
actorCREATE TABLE `actor` ( `actor_id` smallint(5) unsigned NOT NULL auto_increment, `first_name` varchar(45) NOT NULL, `last_name` varchar(45) NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`actor_id`), KEY `idx_actor_last_name` (`last_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
address
Columns
Column NameColumn TypeNull?Column Comment
address_idsmallint(5) unsignedNO
addressvarchar(50)NO
address2varchar(50)YES
districtvarchar(20)NO
city_idsmallint(5) unsignedNO
postal_codevarchar(10)YES
phonevarchar(20)NO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_city_id1city_idA589 BTREE
0PRIMARY1address_idA589 BTREE
Table Script
TableCreate Table
addressCREATE TABLE `address` ( `address_id` smallint(5) unsigned NOT NULL auto_increment, `address` varchar(50) NOT NULL, `address2` varchar(50) default NULL, `district` varchar(20) NOT NULL, `city_id` smallint(5) unsigned NOT NULL, `postal_code` varchar(10) default NULL, `phone` varchar(20) NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`address_id`), KEY `idx_fk_city_id` (`city_id`), CONSTRAINT `fk_address_city` FOREIGN KEY (`city_id`) REFERENCES `city` (`city_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
category
Columns
Column NameColumn TypeNull?Column Comment
category_idtinyint(3) unsignedNO
namevarchar(25)NO
last_updatetimestampNO
Dependent Views
View Name
actor_info
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
0PRIMARY1category_idA16 BTREE
Table Script
TableCreate Table
categoryCREATE TABLE `category` ( `category_id` tinyint(3) unsigned NOT NULL auto_increment, `name` varchar(25) NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
city
Columns
Column NameColumn TypeNull?Column Comment
city_idsmallint(5) unsignedNO
cityvarchar(50)NO
country_idsmallint(5) unsignedNO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_country_id1country_idA427 BTREE
0PRIMARY1city_idA427 BTREE
Table Script
TableCreate Table
cityCREATE TABLE `city` ( `city_id` smallint(5) unsigned NOT NULL auto_increment, `city` varchar(50) NOT NULL, `country_id` smallint(5) unsigned NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`city_id`), KEY `idx_fk_country_id` (`country_id`), CONSTRAINT `fk_city_country` FOREIGN KEY (`country_id`) REFERENCES `country` (`country_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
country
Columns
Column NameColumn TypeNull?Column Comment
country_idsmallint(5) unsignedNO
countryvarchar(50)NO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
0PRIMARY1country_idA109 BTREE
Table Script
TableCreate Table
countryCREATE TABLE `country` ( `country_id` smallint(5) unsigned NOT NULL auto_increment, `country` varchar(50) NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`country_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
customer
Columns
Column NameColumn TypeNull?Column Comment
customer_idsmallint(5) unsignedNO
store_idtinyint(3) unsignedNO
first_namevarchar(45)NO
last_namevarchar(45)NO
emailvarchar(50)YES
address_idsmallint(5) unsignedNO
activetinyint(1)NO
create_datedatetimeNO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
FUNCTIONget_customer_balance
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
customer_create_dateINSERTROWBEFOREOLDNEW
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_address_id1address_idA541 BTREE
1idx_fk_store_id1store_idA4 BTREE
1idx_last_name1last_nameA541 BTREE
0PRIMARY1customer_idA541 BTREE
Table Script
TableCreate Table
customerCREATE TABLE `customer` ( `customer_id` smallint(5) unsigned NOT NULL auto_increment, `store_id` tinyint(3) unsigned NOT NULL, `first_name` varchar(45) NOT NULL, `last_name` varchar(45) NOT NULL, `email` varchar(50) default NULL, `address_id` smallint(5) unsigned NOT NULL, `active` tinyint(1) NOT NULL default '1', `create_date` datetime NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`customer_id`), KEY `idx_fk_store_id` (`store_id`), KEY `idx_fk_address_id` (`address_id`), KEY `idx_last_name` (`last_name`), CONSTRAINT `fk_customer_address` FOREIGN KEY (`address_id`) REFERENCES `address` (`address_id`) ON UPDATE CASCADE, CONSTRAINT `fk_customer_store` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
film
Columns
Column NameColumn TypeNull?Column Comment
film_idsmallint(5) unsignedNO
titlevarchar(255)NO
descriptiontextYES
release_yearyear(4)YES
language_idtinyint(3) unsignedNO
original_language_idtinyint(3) unsignedYES
rental_durationtinyint(3) unsignedNO
rental_ratedecimal(4,2)NO
lengthsmallint(5) unsignedYES
replacement_costdecimal(5,2)NO
ratingenum('G','PG','PG-13','R','NC-17')YES
special_featuresset('Trailers','Commentaries','Deleted Scenes','Behind the Scenes')YES
last_updatetimestampNO
Dependent Views
View Name
actor_info
Dependent Routines
Routine TypeRoutine Name
FUNCTIONget_customer_balance
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
ins_filmINSERTROWAFTEROLDNEW
upd_filmUPDATEROWAFTEROLDNEW
del_filmDELETEROWAFTEROLDNEW
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_language_id1language_idA1 BTREE
1idx_fk_original_language_id1original_language_idA1 YESBTREE
1idx_title1titleA951 BTREE
0PRIMARY1film_idA951 BTREE
Table Script
TableCreate Table
filmCREATE TABLE `film` ( `film_id` smallint(5) unsigned NOT NULL auto_increment, `title` varchar(255) NOT NULL, `description` text, `release_year` year(4) default NULL, `language_id` tinyint(3) unsigned NOT NULL, `original_language_id` tinyint(3) unsigned default NULL, `rental_duration` tinyint(3) unsigned NOT NULL default '3', `rental_rate` decimal(4,2) NOT NULL default '4.99', `length` smallint(5) unsigned default NULL, `replacement_cost` decimal(5,2) NOT NULL default '19.99', `rating` enum('G','PG','PG-13','R','NC-17') default 'G', `special_features` set('Trailers','Commentaries','Deleted Scenes','Behind the Scenes') default NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`film_id`), KEY `idx_title` (`title`), KEY `idx_fk_language_id` (`language_id`), KEY `idx_fk_original_language_id` (`original_language_id`), CONSTRAINT `fk_film_language` FOREIGN KEY (`language_id`) REFERENCES `language` (`language_id`) ON UPDATE CASCADE, CONSTRAINT `fk_film_language_original` FOREIGN KEY (`original_language_id`) REFERENCES `language` (`language_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
film_actor
Columns
Column NameColumn TypeNull?Column Comment
actor_idsmallint(5) unsignedNO
film_idsmallint(5) unsignedNO
last_updatetimestampNO
Dependent Views
View Name
actor_info
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_film_id1film_idA2571 BTREE
0PRIMARY1actor_idA395 BTREE
0PRIMARY2film_idA5143 BTREE
Table Script
TableCreate Table
film_actorCREATE TABLE `film_actor` ( `actor_id` smallint(5) unsigned NOT NULL, `film_id` smallint(5) unsigned NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`actor_id`,`film_id`), KEY `idx_fk_film_id` (`film_id`), CONSTRAINT `fk_film_actor_actor` FOREIGN KEY (`actor_id`) REFERENCES `actor` (`actor_id`) ON UPDATE CASCADE, CONSTRAINT `fk_film_actor_film` FOREIGN KEY (`film_id`) REFERENCES `film` (`film_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
film_category
Columns
Column NameColumn TypeNull?Column Comment
film_idsmallint(5) unsignedNO
category_idtinyint(3) unsignedNO
last_updatetimestampNO
Dependent Views
View Name
actor_info
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1fk_film_category_category1category_idA32 BTREE
0PRIMARY1film_idA1792 BTREE
0PRIMARY2category_idA1792 BTREE
Table Script
TableCreate Table
film_categoryCREATE TABLE `film_category` ( `film_id` smallint(5) unsigned NOT NULL, `category_id` tinyint(3) unsigned NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`film_id`,`category_id`), KEY `fk_film_category_category` (`category_id`), CONSTRAINT `fk_film_category_category` FOREIGN KEY (`category_id`) REFERENCES `category` (`category_id`) ON UPDATE CASCADE, CONSTRAINT `fk_film_category_film` FOREIGN KEY (`film_id`) REFERENCES `film` (`film_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
film_text
Columns
Column NameColumn TypeNull?Column Comment
film_idsmallint(6)NO
titlevarchar(255)NO
descriptiontextYES
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_title_description1title FULLTEXT
1idx_title_description2description YESFULLTEXT
0PRIMARY1film_idA1000 BTREE
Table Script
TableCreate Table
film_textCREATE TABLE `film_text` ( `film_id` smallint(6) NOT NULL, `title` varchar(255) NOT NULL, `description` text, PRIMARY KEY (`film_id`), FULLTEXT KEY `idx_title_description` (`title`,`description`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
inventory
Columns
Column NameColumn TypeNull?Column Comment
inventory_idmediumint(8) unsignedNO
film_idsmallint(5) unsignedNO
store_idtinyint(3) unsignedNO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
PROCEDUREfilm_in_stock
PROCEDUREfilm_not_in_stock
FUNCTIONget_customer_balance
FUNCTIONinventory_in_stock
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_film_id1film_idA2336 BTREE
1idx_store_id_film_id1store_idA1 BTREE
1idx_store_id_film_id2film_idA4673 BTREE
0PRIMARY1inventory_idA4673 BTREE
Table Script
TableCreate Table
inventoryCREATE TABLE `inventory` ( `inventory_id` mediumint(8) unsigned NOT NULL auto_increment, `film_id` smallint(5) unsigned NOT NULL, `store_id` tinyint(3) unsigned NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`inventory_id`), KEY `idx_fk_film_id` (`film_id`), KEY `idx_store_id_film_id` (`store_id`,`film_id`), CONSTRAINT `fk_inventory_film` FOREIGN KEY (`film_id`) REFERENCES `film` (`film_id`) ON UPDATE CASCADE, CONSTRAINT `fk_inventory_store` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
language
Columns
Column NameColumn TypeNull?Column Comment
language_idtinyint(3) unsignedNO
namechar(20)NO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
0PRIMARY1language_idA6 BTREE
Table Script
TableCreate Table
languageCREATE TABLE `language` ( `language_id` tinyint(3) unsigned NOT NULL auto_increment, `name` char(20) NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`language_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
payment
Columns
Column NameColumn TypeNull?Column Comment
payment_idsmallint(5) unsignedNO
customer_idsmallint(5) unsignedNO
staff_idtinyint(3) unsignedNO
rental_idint(11)YES
amountdecimal(5,2)NO
payment_datedatetimeNO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
FUNCTIONget_customer_balance
PROCEDURErewards_report
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
payment_dateINSERTROWBEFOREOLDNEW
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1fk_payment_rental1rental_idA16451 YESBTREE
1idx_fk_customer_id1customer_idA1175 BTREE
1idx_fk_staff_id1staff_idA6 BTREE
0PRIMARY1payment_idA16451 BTREE
Table Script
TableCreate Table
paymentCREATE TABLE `payment` ( `payment_id` smallint(5) unsigned NOT NULL auto_increment, `customer_id` smallint(5) unsigned NOT NULL, `staff_id` tinyint(3) unsigned NOT NULL, `rental_id` int(11) default NULL, `amount` decimal(5,2) NOT NULL, `payment_date` datetime NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`payment_id`), KEY `idx_fk_staff_id` (`staff_id`), KEY `idx_fk_customer_id` (`customer_id`), KEY `fk_payment_rental` (`rental_id`), CONSTRAINT `fk_payment_customer` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON UPDATE CASCADE, CONSTRAINT `fk_payment_rental` FOREIGN KEY (`rental_id`) REFERENCES `rental` (`rental_id`) ON DELETE SET NULL ON UPDATE CASCADE, CONSTRAINT `fk_payment_staff` FOREIGN KEY (`staff_id`) REFERENCES `staff` (`staff_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
rental
Columns
Column NameColumn TypeNull?Column Comment
rental_idint(11)NO
rental_datedatetimeNO
inventory_idmediumint(8) unsignedNO
customer_idsmallint(5) unsignedNO
return_datedatetimeYES
staff_idtinyint(3) unsignedNO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
FUNCTIONget_customer_balance
FUNCTIONinventory_held_by_customer
FUNCTIONinventory_in_stock
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
rental_dateINSERTROWBEFOREOLDNEW
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_customer_id1customer_idA1200 BTREE
1idx_fk_inventory_id1inventory_idA15609 BTREE
1idx_fk_staff_id1staff_idA3 BTREE
0PRIMARY1rental_idA15609 BTREE
0rental_date1rental_dateA15609 BTREE
0rental_date2inventory_idA15609 BTREE
0rental_date3customer_idA15609 BTREE
Table Script
TableCreate Table
rentalCREATE TABLE `rental` ( `rental_id` int(11) NOT NULL auto_increment, `rental_date` datetime NOT NULL, `inventory_id` mediumint(8) unsigned NOT NULL, `customer_id` smallint(5) unsigned NOT NULL, `return_date` datetime default NULL, `staff_id` tinyint(3) unsigned NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`rental_id`), UNIQUE KEY `rental_date` (`rental_date`,`inventory_id`,`customer_id`), KEY `idx_fk_inventory_id` (`inventory_id`), KEY `idx_fk_customer_id` (`customer_id`), KEY `idx_fk_staff_id` (`staff_id`), CONSTRAINT `fk_rental_customer` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON UPDATE CASCADE, CONSTRAINT `fk_rental_inventory` FOREIGN KEY (`inventory_id`) REFERENCES `inventory` (`inventory_id`) ON UPDATE CASCADE, CONSTRAINT `fk_rental_staff` FOREIGN KEY (`staff_id`) REFERENCES `staff` (`staff_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
staff
Columns
Column NameColumn TypeNull?Column Comment
staff_idtinyint(3) unsignedNO
first_namevarchar(45)NO
last_namevarchar(45)NO
address_idsmallint(5) unsignedNO
pictureblobYES
emailvarchar(50)YES
store_idtinyint(3) unsignedNO
activetinyint(1)NO
usernamevarchar(16)NO
passwordvarchar(40)YES
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_address_id1address_idA1 BTREE
1idx_fk_store_id1store_idA1 BTREE
0PRIMARY1staff_idA1 BTREE
Table Script
TableCreate Table
staffCREATE TABLE `staff` ( `staff_id` tinyint(3) unsigned NOT NULL auto_increment, `first_name` varchar(45) NOT NULL, `last_name` varchar(45) NOT NULL, `address_id` smallint(5) unsigned NOT NULL, `picture` blob, `email` varchar(50) default NULL, `store_id` tinyint(3) unsigned NOT NULL, `active` tinyint(1) NOT NULL default '1', `username` varchar(16) NOT NULL, `password` varchar(40) character set utf8 collate utf8_bin default NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`staff_id`), KEY `idx_fk_store_id` (`store_id`), KEY `idx_fk_address_id` (`address_id`), CONSTRAINT `fk_staff_address` FOREIGN KEY (`address_id`) REFERENCES `address` (`address_id`) ON UPDATE CASCADE, CONSTRAINT `fk_staff_store` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
store
Columns
Column NameColumn TypeNull?Column Comment
store_idtinyint(3) unsignedNO
manager_staff_idtinyint(3) unsignedNO
address_idsmallint(5) unsignedNO
last_updatetimestampNO
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Triggers
Trigger NameEvent ManipulationAction OrientationAction TimingAction Reference Old RowAction Reference New Row
Indexes
Non UniqueIndex NameSeq In IndexColumn NameCollationCardinalitySub PartPackedNullableIndex TypeComment
1idx_fk_address_id1address_idA2 BTREE
0idx_unique_manager1manager_staff_idA2 BTREE
0PRIMARY1store_idA2 BTREE
Table Script
TableCreate Table
storeCREATE TABLE `store` ( `store_id` tinyint(3) unsigned NOT NULL auto_increment, `manager_staff_id` tinyint(3) unsigned NOT NULL, `address_id` smallint(5) unsigned NOT NULL, `last_update` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`store_id`), UNIQUE KEY `idx_unique_manager` (`manager_staff_id`), KEY `idx_fk_address_id` (`address_id`), CONSTRAINT `fk_store_address` FOREIGN KEY (`address_id`) REFERENCES `address` (`address_id`) ON UPDATE CASCADE, CONSTRAINT `fk_store_staff` FOREIGN KEY (`manager_staff_id`) REFERENCES `staff` (`staff_id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
Views
View NameView ReferencesRoutine References
actor_info00
customer_list00
film_list00
nicer_but_slower_film_list00
sales_by_film_category00
sales_by_store00
staff_list00
actor_info
Columns
Column NameColumn TypeNull?Column Comment
actor_idsmallint(5) unsignedNO
first_namevarchar(45)NO
last_namevarchar(45)NO
film_infovarchar(341)YES
View Definition
ViewCreate View
actor_infoCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY INVOKER VIEW `sakila`.`actor_info` AS select `a`.`actor_id` AS `actor_id`,`a`.`first_name` AS `first_name`,`a`.`last_name` AS `last_name`,group_concat(distinct concat(`c`.`name`,_utf8': ',(select group_concat(`f`.`title` order by `f`.`title` ASC separator ', ') AS `GROUP_CONCAT(f.title ORDER BY f.title SEPARATOR ', ')` from ((`sakila`.`film` `f` join `sakila`.`film_category` `fc` on((`f`.`film_id` = `fc`.`film_id`))) join `sakila`.`film_actor` `fa` on((`f`.`film_id` = `fa`.`film_id`))) where ((`fc`.`category_id` = `c`.`category_id`) and (`fa`.`actor_id` = `a`.`actor_id`)))) order by `c`.`name` ASC separator '; ') AS `film_info` from (((`sakila`.`actor` `a` left join `sakila`.`film_actor` `fa` on((`a`.`actor_id` = `fa`.`actor_id`))) left join `sakila`.`film_category` `fc` on((`fa`.`film_id` = `fc`.`film_id`))) left join `sakila`.`category` `c` on((`fc`.`category_id` = `c`.`category_id`))) group by `a`.`actor_id`,`a`.`first_name`,`a`.`last_name`
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
customer_list
Columns
Column NameColumn TypeNull?Column Comment
IDsmallint(5) unsignedNO
namevarchar(91)YES
addressvarchar(50)NO
zip codevarchar(10)YES
phonevarchar(20)NO
cityvarchar(50)NO
countryvarchar(50)NO
notesvarchar(6)NO
SIDtinyint(3) unsignedNO
View Definition
ViewCreate View
customer_listCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `sakila`.`customer_list` AS select `cu`.`customer_id` AS `ID`,concat(`cu`.`first_name`,_utf8' ',`cu`.`last_name`) AS `name`,`a`.`address` AS `address`,`a`.`postal_code` AS `zip code`,`a`.`phone` AS `phone`,`sakila`.`city`.`city` AS `city`,`sakila`.`country`.`country` AS `country`,if(`cu`.`active`,_utf8'active',_utf8'') AS `notes`,`cu`.`store_id` AS `SID` from (((`sakila`.`customer` `cu` join `sakila`.`address` `a` on((`cu`.`address_id` = `a`.`address_id`))) join `sakila`.`city` on((`a`.`city_id` = `sakila`.`city`.`city_id`))) join `sakila`.`country` on((`sakila`.`city`.`country_id` = `sakila`.`country`.`country_id`)))
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
film_list
Columns
Column NameColumn TypeNull?Column Comment
FIDsmallint(5) unsignedYES
titlevarchar(255)YES
descriptiontextYES
categoryvarchar(25)NO
pricedecimal(4,2)YES
lengthsmallint(5) unsignedYES
ratingenum('G','PG','PG-13','R','NC-17')YES
actorsvarchar(341)YES
View Definition
ViewCreate View
film_listCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `sakila`.`film_list` AS select `sakila`.`film`.`film_id` AS `FID`,`sakila`.`film`.`title` AS `title`,`sakila`.`film`.`description` AS `description`,`sakila`.`category`.`name` AS `category`,`sakila`.`film`.`rental_rate` AS `price`,`sakila`.`film`.`length` AS `length`,`sakila`.`film`.`rating` AS `rating`,group_concat(concat(`sakila`.`actor`.`first_name`,_utf8' ',`sakila`.`actor`.`last_name`) separator ', ') AS `actors` from ((((`sakila`.`category` left join `sakila`.`film_category` on((`sakila`.`category`.`category_id` = `sakila`.`film_category`.`category_id`))) left join `sakila`.`film` on((`sakila`.`film_category`.`film_id` = `sakila`.`film`.`film_id`))) join `sakila`.`film_actor` on((`sakila`.`film`.`film_id` = `sakila`.`film_actor`.`film_id`))) join `sakila`.`actor` on((`sakila`.`film_actor`.`actor_id` = `sakila`.`actor`.`actor_id`))) group by `sakila`.`film`.`film_id`
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
nicer_but_slower_film_list
Columns
Column NameColumn TypeNull?Column Comment
FIDsmallint(5) unsignedYES
titlevarchar(255)YES
descriptiontextYES
categoryvarchar(25)NO
pricedecimal(4,2)YES
lengthsmallint(5) unsignedYES
ratingenum('G','PG','PG-13','R','NC-17')YES
actorsvarchar(341)YES
View Definition
ViewCreate View
nicer_but_slower_film_listCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `sakila`.`nicer_but_slower_film_list` AS select `sakila`.`film`.`film_id` AS `FID`,`sakila`.`film`.`title` AS `title`,`sakila`.`film`.`description` AS `description`,`sakila`.`category`.`name` AS `category`,`sakila`.`film`.`rental_rate` AS `price`,`sakila`.`film`.`length` AS `length`,`sakila`.`film`.`rating` AS `rating`,group_concat(concat(concat(ucase(substr(`sakila`.`actor`.`first_name`,1,1)),lcase(substr(`sakila`.`actor`.`first_name`,2,length(`sakila`.`actor`.`first_name`))),_utf8' ',concat(ucase(substr(`sakila`.`actor`.`last_name`,1,1)),lcase(substr(`sakila`.`actor`.`last_name`,2,length(`sakila`.`actor`.`last_name`)))))) separator ', ') AS `actors` from ((((`sakila`.`category` left join `sakila`.`film_category` on((`sakila`.`category`.`category_id` = `sakila`.`film_category`.`category_id`))) left join `sakila`.`film` on((`sakila`.`film_category`.`film_id` = `sakila`.`film`.`film_id`))) join `sakila`.`film_actor` on((`sakila`.`film`.`film_id` = `sakila`.`film_actor`.`film_id`))) join `sakila`.`actor` on((`sakila`.`film_actor`.`actor_id` = `sakila`.`actor`.`actor_id`))) group by `sakila`.`film`.`film_id`
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
sales_by_film_category
Columns
Column NameColumn TypeNull?Column Comment
categoryvarchar(25)NO
total_salesdecimal(27,2)YES
View Definition
ViewCreate View
sales_by_film_categoryCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `sakila`.`sales_by_film_category` AS select `c`.`name` AS `category`,sum(`p`.`amount`) AS `total_sales` from (((((`sakila`.`payment` `p` join `sakila`.`rental` `r` on((`p`.`rental_id` = `r`.`rental_id`))) join `sakila`.`inventory` `i` on((`r`.`inventory_id` = `i`.`inventory_id`))) join `sakila`.`film` `f` on((`i`.`film_id` = `f`.`film_id`))) join `sakila`.`film_category` `fc` on((`f`.`film_id` = `fc`.`film_id`))) join `sakila`.`category` `c` on((`fc`.`category_id` = `c`.`category_id`))) group by `c`.`name` order by sum(`p`.`amount`) desc
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
sales_by_store
Columns
Column NameColumn TypeNull?Column Comment
storevarchar(101)YES
managervarchar(91)YES
total_salesdecimal(27,2)YES
View Definition
ViewCreate View
sales_by_storeCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `sakila`.`sales_by_store` AS select concat(`c`.`city`,_utf8',',`cy`.`country`) AS `store`,concat(`m`.`first_name`,_utf8' ',`m`.`last_name`) AS `manager`,sum(`p`.`amount`) AS `total_sales` from (((((((`sakila`.`payment` `p` join `sakila`.`rental` `r` on((`p`.`rental_id` = `r`.`rental_id`))) join `sakila`.`inventory` `i` on((`r`.`inventory_id` = `i`.`inventory_id`))) join `sakila`.`store` `s` on((`i`.`store_id` = `s`.`store_id`))) join `sakila`.`address` `a` on((`s`.`address_id` = `a`.`address_id`))) join `sakila`.`city` `c` on((`a`.`city_id` = `c`.`city_id`))) join `sakila`.`country` `cy` on((`c`.`country_id` = `cy`.`country_id`))) join `sakila`.`staff` `m` on((`s`.`manager_staff_id` = `m`.`staff_id`))) group by `s`.`store_id` order by `cy`.`country`,`c`.`city`
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
staff_list
Columns
Column NameColumn TypeNull?Column Comment
IDtinyint(3) unsignedNO
namevarchar(91)YES
addressvarchar(50)NO
zip codevarchar(10)YES
phonevarchar(20)NO
cityvarchar(50)NO
countryvarchar(50)NO
SIDtinyint(3) unsignedNO
View Definition
ViewCreate View
staff_listCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `sakila`.`staff_list` AS select `s`.`staff_id` AS `ID`,concat(`s`.`first_name`,_utf8' ',`s`.`last_name`) AS `name`,`a`.`address` AS `address`,`a`.`postal_code` AS `zip code`,`a`.`phone` AS `phone`,`sakila`.`city`.`city` AS `city`,`sakila`.`country`.`country` AS `country`,`s`.`store_id` AS `SID` from (((`sakila`.`staff` `s` join `sakila`.`address` `a` on((`s`.`address_id` = `a`.`address_id`))) join `sakila`.`city` on((`a`.`city_id` = `sakila`.`city`.`city_id`))) join `sakila`.`country` on((`sakila`.`city`.`country_id` = `sakila`.`country`.`country_id`)))
Dependent Views
View Name
Dependent Routines
Routine TypeRoutine Name
Procedure
ProcedureTable References
film_in_stock1
film_not_in_stock1
rewards_report1
film_in_stock
Source
ProcedureSql ModeCreate Procedure
film_in_stockSTRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USERCREATE DEFINER=`root`@`localhost` PROCEDURE `film_in_stock`(IN p_film_id INT, IN p_store_id INT, OUT p_film_count INT) READS SQL DATA BEGIN SELECT inventory_id FROM inventory WHERE film_id = p_film_id AND store_id = p_store_id AND inventory_in_stock(inventory_id); SELECT FOUND_ROWS() INTO p_film_count; END
Tables referenced
Table Name
inventory
film_not_in_stock
Source
ProcedureSql ModeCreate Procedure
film_not_in_stockSTRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USERCREATE DEFINER=`root`@`localhost` PROCEDURE `film_not_in_stock`(IN p_film_id INT, IN p_store_id INT, OUT p_film_count INT) READS SQL DATA BEGIN SELECT inventory_id FROM inventory WHERE film_id = p_film_id AND store_id = p_store_id AND NOT inventory_in_stock(inventory_id); SELECT FOUND_ROWS() INTO p_film_count; END
Tables referenced
Table Name
inventory
rewards_report
Source
ProcedureSql ModeCreate Procedure
rewards_reportSTRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USERCREATE DEFINER=`root`@`localhost` PROCEDURE `rewards_report`( IN min_monthly_purchases TINYINT UNSIGNED , IN min_dollar_amount_purchased DECIMAL(10,2) UNSIGNED , OUT count_rewardees INT ) READS SQL DATA COMMENT 'Provides a customizable report on best customers' proc: BEGIN DECLARE last_month_start DATE; DECLARE last_month_end DATE; IF min_monthly_purchases = 0 THEN SELECT 'Minimum monthly purchases parameter must be > 0'; LEAVE proc; END IF; IF min_dollar_amount_purchased = 0.00 THEN SELECT 'Minimum monthly dollar amount purchased parameter must be > $0.00'; LEAVE proc; END IF; SET last_month_start = DATE_SUB(CURRENT_DATE(), INTERVAL 1 MONTH); SET last_month_start = STR_TO_DATE(CONCAT(YEAR(last_month_start),'-',MONTH(last_month_start),'-01'),'%Y-%m-%d'); SET last_month_end = LAST_DAY(last_month_start); CREATE TEMPORARY TABLE tmpCustomer (customer_id SMALLINT UNSIGNED NOT NULL PRIMARY KEY); INSERT INTO tmpCustomer (customer_id) SELECT p.customer_id FROM payment AS p WHERE DATE(p.payment_date) BETWEEN last_month_start AND last_month_end GROUP BY customer_id HAVING SUM(p.amount) > min_dollar_amount_purchased AND COUNT(customer_id) > min_monthly_purchases; SELECT COUNT(*) FROM tmpCustomer INTO count_rewardees; SELECT c.* FROM tmpCustomer AS t INNER JOIN customer AS c ON t.customer_id = c.customer_id; DROP TABLE tmpCustomer; END
Tables referenced
Table Name
payment
Function
FunctionDtd IdentifierRoutine CommentTable References
get_customer_balancedecimal(5,2)5
inventory_held_by_customerint(11)1
inventory_in_stocktinyint(1)2
get_customer_balance
Source
FunctionSql ModeCreate Function
get_customer_balanceSTRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USERCREATE DEFINER=`root`@`localhost` FUNCTION `get_customer_balance`(p_customer_id INT, p_effective_date DATETIME) RETURNS decimal(5,2) READS SQL DATA DETERMINISTIC BEGIN DECLARE v_rentfees DECIMAL(5,2); DECLARE v_overfees INTEGER; DECLARE v_payments DECIMAL(5,2); SELECT IFNULL(SUM(film.rental_rate),0) INTO v_rentfees FROM film, inventory, rental WHERE film.film_id = inventory.film_id AND inventory.inventory_id = rental.inventory_id AND rental.rental_date <= p_effective_date AND rental.customer_id = p_customer_id; SELECT IFNULL(SUM(IF((TO_DAYS(rental.return_date) - TO_DAYS(rental.rental_date)) > film.rental_duration, ((TO_DAYS(rental.return_date) - TO_DAYS(rental.rental_date)) - film.rental_duration),0)),0) INTO v_overfees FROM rental, inventory, film WHERE film.film_id = inventory.film_id AND inventory.inventory_id = rental.inventory_id AND rental.rental_date <= p_effective_date AND rental.customer_id = p_customer_id; SELECT IFNULL(SUM(payment.amount),0) INTO v_payments FROM payment WHERE payment.payment_date <= p_effective_date AND payment.customer_id = p_customer_id; RETURN v_rentfees + v_overfees - v_payments; END
Tables referenced
Table Name
customer
film
inventory
payment
rental
inventory_held_by_customer
Source
FunctionSql ModeCreate Function
inventory_held_by_customerSTRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USERCREATE DEFINER=`root`@`localhost` FUNCTION `inventory_held_by_customer`(p_inventory_id INT) RETURNS int(11) READS SQL DATA BEGIN DECLARE v_customer_id INT; DECLARE EXIT HANDLER FOR NOT FOUND RETURN NULL; SELECT customer_id INTO v_customer_id FROM rental WHERE return_date IS NULL AND inventory_id = p_inventory_id; RETURN v_customer_id; END
Tables referenced
Table Name
rental
inventory_in_stock
Source
FunctionSql ModeCreate Function
inventory_in_stockSTRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USERCREATE DEFINER=`root`@`localhost` FUNCTION `inventory_in_stock`(p_inventory_id INT) RETURNS tinyint(1) READS SQL DATA BEGIN DECLARE v_rentals INT; DECLARE v_out INT; SELECT COUNT(*) INTO v_rentals FROM rental WHERE inventory_id = p_inventory_id; IF v_rentals = 0 THEN RETURN TRUE; END IF; SELECT COUNT(rental_id) INTO v_out FROM inventory LEFT JOIN rental USING(inventory_id) WHERE inventory.inventory_id = p_inventory_id AND rental.return_date IS NULL; IF v_out > 0 THEN RETURN FALSE; ELSE RETURN TRUE; END IF; END
Tables referenced
Table Name
inventory
rental
System Variables
Variable NameValue
auto_increment_increment1
auto_increment_offset1
automatic_sp_privilegesON
back_log50
basedirC:\Program Files\MySQL\MySQL Server 5.0\
binlog_cache_size32768
bulk_insert_buffer_size8388608
character_set_clientlatin1
character_set_connectionlatin1
character_set_databaseutf8
character_set_filesystembinary
character_set_results
character_set_serverlatin1
character_set_systemutf8
character_sets_dirC:\Program Files\MySQL\MySQL Server 5.0\share\charsets\
collation_connectionlatin1_swedish_ci
collation_databaseutf8_general_ci
collation_serverlatin1_swedish_ci
completion_type0
concurrent_insert1
connect_timeout5
datadirC:\Program Files\MySQL\MySQL Server 5.0\Data\
date_format%Y-%m-%d
datetime_format%Y-%m-%d %H:%i:%s
default_week_format0
delay_key_writeON
delayed_insert_limit100
delayed_insert_timeout300
delayed_queue_size1000
div_precision_increment4
engine_condition_pushdownOFF
expire_logs_days0
flushOFF
flush_time1800
ft_boolean_syntax+ -><()~*:""&|
ft_max_word_len84
ft_min_word_len4
ft_query_expansion_limit20
ft_stopword_file(built-in)
group_concat_max_len1024
have_archiveYES
have_bdbNO
have_blackhole_engineNO
have_compressYES
have_cryptNO
have_csvNO
have_dynamic_loadingYES
have_example_engineNO
have_federated_engineNO
have_geometryYES
have_innodbYES
have_isamNO
have_merge_engineYES
have_ndbclusterNO
have_opensslDISABLED
have_query_cacheYES
have_raidNO
have_rtree_keysYES
have_symlinkYES
init_connect
init_file
init_slave
innodb_additional_mem_pool_size2097152
innodb_autoextend_increment8
innodb_buffer_pool_awe_mem_mb0
innodb_buffer_pool_size49283072
innodb_checksumsON
innodb_commit_concurrency0
innodb_concurrency_tickets500
innodb_data_file_pathibdata1:10M:autoextend
innodb_data_home_dir
innodb_doublewriteON
innodb_fast_shutdown1
innodb_file_io_threads4
innodb_file_per_tableOFF
innodb_flush_log_at_trx_commit1
innodb_flush_method
innodb_force_recovery0
innodb_lock_wait_timeout50
innodb_locks_unsafe_for_binlogOFF
innodb_log_arch_dir
innodb_log_archiveOFF
innodb_log_buffer_size1048576
innodb_log_file_size25165824
innodb_log_files_in_group2
innodb_log_group_home_dir.\
innodb_max_dirty_pages_pct90
innodb_max_purge_lag0
innodb_mirrored_log_groups1
innodb_open_files300
innodb_rollback_on_timeoutOFF
innodb_support_xaON
innodb_sync_spin_loops20
innodb_table_locksON
innodb_thread_concurrency8
innodb_thread_sleep_delay10000
interactive_timeout28800
join_buffer_size131072
key_buffer_size26214400
key_cache_age_threshold300
key_cache_block_size1024
key_cache_division_limit100
languageC:\Program Files\MySQL\MySQL Server 5.0\share\english\
large_files_supportON
large_page_size0
large_pagesOFF
lc_time_namesen_US
licenseGPL
local_infileON
logOFF
log_binOFF
log_bin_trust_function_creatorsOFF
log_error.\RudraSoft.err
log_queries_not_using_indexesOFF
log_slave_updatesOFF
log_slow_queriesOFF
log_warnings1
long_query_time10
low_priority_updatesOFF
lower_case_file_systemON
lower_case_table_names1
max_allowed_packet1048576
max_binlog_cache_size4294967295
max_binlog_size1073741824
max_connect_errors10
max_connections100
max_delayed_threads20
max_error_count64
max_heap_table_size16777216
max_insert_delayed_threads20
max_join_size4294967295
max_length_for_sort_data1024
max_prepared_stmt_count16382
max_relay_log_size0
max_seeks_for_key4294967295
max_sort_length1024
max_sp_recursion_depth0
max_tmp_tables32
max_user_connections0
max_write_lock_count4294967295
multi_range_count256
myisam_data_pointer_size6
myisam_max_sort_file_size107374182400
myisam_recover_optionsOFF
myisam_repair_threads1
myisam_sort_buffer_size35651584
myisam_stats_methodnulls_unequal
named_pipeOFF
net_buffer_length16384
net_read_timeout30
net_retry_count10
net_write_timeout60
newOFF
old_passwordsOFF
open_files_limit622
optimizer_prune_level1
optimizer_search_depth62
pid_fileC:\Program Files\MySQL\MySQL Server 5.0\Data\RudraSoft.pid
port3306
preload_buffer_size32768
profilingOFF
profiling_history_size15
protocol_version10
query_alloc_block_size8192
query_cache_limit1048576
query_cache_min_res_unit4096
query_cache_size0
query_cache_typeON
query_cache_wlock_invalidateOFF
query_prealloc_size8192
range_alloc_block_size2048
read_buffer_size61440
read_onlyOFF
read_rnd_buffer_size258048
relay_log_purgeON
relay_log_space_limit0
rpl_recovery_rank0
secure_authOFF
shared_memoryOFF
shared_memory_base_nameMYSQL
server_id0
skip_external_lockingON
skip_networkingOFF
skip_show_databaseOFF
slave_compressed_protocolOFF
slave_load_tmpdirC:\WINDOWS\TEMP\
slave_net_timeout3600
slave_skip_errorsOFF
slave_transaction_retries10
slow_launch_time2
sort_buffer_size262136
sql_big_selectsON
sql_modeSTRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
sql_notesON
sql_warningsOFF
ssl_ca
ssl_capath
ssl_cert
ssl_cipher
ssl_key
storage_engineInnoDB
sync_binlog0
sync_frmON
system_time_zonePacific Daylight Time
table_cache256
table_lock_wait_timeout50
table_typeInnoDB
thread_cache_size8
thread_stack196608
time_format%H:%i:%s
time_zoneSYSTEM
timed_mutexesOFF
tmp_table_size17825792
tmpdirC:\WINDOWS\TEMP\
transaction_alloc_block_size8192
transaction_prealloc_size4096
tx_isolationREPEATABLE-READ
updatable_views_with_limitYES
version5.0.37-community-nt
version_commentMySQL Community Edition (GPL)
version_compile_machineia32
version_compile_osWin32
wait_timeout28800