SQL macros use data sources to access databases. A data source defines the access parameters including credentials. The same database access information is required for each method. Similarly, the database must allow access using the information provided no matter which method is used.
Method | Primary Benefit | Key Attributes | Documentation | Express Edition | Pro Edition |
---|---|---|---|---|---|
Data source profiles | Convenience |
| Data Source Profiles | ||
Application server defined data source | Performance |
| Data source configuration - application server |
Macro Security for data source access control
Macro Security for Confluence can be used to control access to specific data sources in the same way no matter what method is used.
Use Cache and Future macros around SQL macros
Give your users better response times and reduce the load on your server by using Cache for Confluence macros for heavy use scenarios.