Association is the most general type of relationship and it includes other types as well. If the relationship doesn’t fall into a more specific type, like Aggregation or Composition, it can simply be referred to as an Association.
Example: When a Customer places an Order, the relationship is simply an Association.
Aggregation is a more specific type of association. In an aggregation the children can also be shared with another owner at the same time, and even if the owner no longer exists, the children can still continue their lifetime.
Example: The relationship between a UserGroup and the Users, is an Aggregation. A User can still have meaning in the system even if it doesn’t belong to a UserGroup, so if you delete a UserGroup you won’t delete its Users. On the other hand, the Users can belong to several UserGroups at the same time.
Composition is a more strict type of Aggregation. In an aggregation, the children cannot be shared with a different owner and it doesn’t make sense for the children to exist without their owner. So, you usually want to delete the children if you delete their owner.
Example: The relationship between an Order and the OrderDetails is a composition relationship. The OrderDetail items are valid only as long as there is an Order related to them. When you delete an Order you will delete it’s OrderDetails as well. An OrderDetail associated to a particular Order cannot belong to a different Order.
TeamCity supports parameters, so if you are dealing with so many build configurations on your TeamCity server and you need to change something in all of your projects, the best practice is to use parameters or build templates. But what if you need to change a value in multiple build configurations or multiple projects and that value cannot be (or is not) defined as a parameter? In such cases you can use the following shortcut instead of going through each build configuration to edit them:
- On the TeamCity machine, open the data directory. It can be identified using the
TEAMCITY_DATA_PATH environment variable.
- Open the corresponding directory to your required project from
- All of the build configurations are stored as XML files in the
- Use a powerful text editor (e.g. Notepad++ ) to batch edit the files.
- From the TeamCity administration page, go to Server Administration\Diagnostics\Caches and reset buildsMetadata.
After a couple of seconds the changes should be reflected in all of your build configurations.
Using the following command you will have access to advanced user management dialogue which allows you to add,edit or delete the stored network credentials (Advanced Tab):
1- Open your MySql client, e.g. SQLyog.
2- Run the following command to see how many concurrent connections is MySql server currently allowing:
SHOW VARIABLES LIKE "max_connections";
3- Run the following command to increase the number of concurrent connections:
SET GLOBAL max_connections = 1000;
Check MySQl official page for more details.