LibraryAs the storage center of application data, it plays a very important role in the system. When the number of users increases rapidly, databases tend to become the bottleneck of the system. Using distributed databases is the first choice. After a distributed database is used, each part of the data is managed by a dedicated server, which reduces the pressure on the database server.
. Netpetshop4.0 uses four databases:
Mspetshop4
Mspetshop4orders
Mspetshop4profile
Mspetshop4services
ItsMspetshop4 is used to manage basic data information such as products and categories. There are six tables in total.
Aspnet_sqlcachetablesforchangenotification
Category
Inventory
Item
Product
Supplier
DivisionAspnet_sqlcachetablesforchangenotification is used in combination with. Net cache processing. Other tables are basic data tables and they have corresponding models in petshop4.0.
Mspetshop4orders is used for order management. There are three tables.
Lineitem
Orders
Orderstatus
MinuteDo not store order details, basic order information, and order status data.
Mspetshop4profile is used for configuration management. There are three tables.
Account
Cart
Profiles
MinuteDo not store basic account information, shopping cart information, and user configuration information.
Mspetshop4services is a database for user membership management that comes with. net2.0. The database contains a large number of data tables and is not listed here.
ConnectBy dividing the data of a complete system by functions, each part of the data is stored in an independent database server, is a typical distributed database mode. This method not only improves the reusability of databases and applications, but also disperses the pressure on database servers. Program Solve the database bottleneck.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.