10/24/2014

Исследуем базы данных с помощью T-SQL

Как dba и консультант по оптимизации производительности SQL Server в Ambient Consulting, я часто сталкиваюсь с необходимостью анализа узких мест производительности на экземплярах SQL Server, которые вижу первый раз в жизни. Это может быть сложной задачей. Как правило, у большинства компаний нет документации по их базам данных. А если есть, то она устарела, или же её поиск занимает несколько дней.

В этой статье я поделюсь базовым набором скриптов, раскапывающим информацию о метаданных с помощью системных функций, хранимых процедур, таблиц, dmv. Вместе они раскрывают все секреты баз данных на нужном экземпляре – их размер, расположение файлов, их дизайн, включая столбцы, типы данных, значения по умолчанию, ключи и индексы.

Если вы когда-нибудь пытались получить часть этой информации, с помощью GUI, я думаю вы будете приятно удивлены количеством той информации, которая, с помощью этих скриптов, получается мнгновенно.

Как и с любыми скриптами, сначала проверьте их в тестовом окружении, прежде чем запускать в продакшене. Я бы рекомендовал вам погонять их на тестовых базах MS, таких как AdventureWorks или pubs.

Ну, хватит слов, давайте я покажу скрипты!

10/10/2014

Increasing the package size upload limit

The default size limit for uploading a package to the application server is 20 MB. You can change the limit by editing the Migration Manager presentation XML file.

Before you begin

To edit the presentation XML file, you must be an administrator and you must know how to use the Application Designer application.

About this task

If you set a limit that is too high, the application server might run out of memory.

10/08/2014

How to Run Maximo Integrity checker 7.5

About this task

Before proceeding further with the Maximo Asset Management 7.5 upgrade process, you need to run the Maximo Asset Management 7.5 Integrity Checker utility to confirm the integrity of the Maximo Asset Management 7.5 database after the upgrade steps have been completed. When run in Report mode, the integrity checker utility checks the current database and reports on common errors. If the Integrity Checker reports an error, you must resolve it by running the Integrity Checker in Repair mode.

9/30/2014

Немного о Word: Как сделать содержание (оглавление) документа в Word?

Для больших документов в Microsoft Word очень удобно использовать авто-собираемое оглавление. Вместо того, чтобы постоянно проверять не съехала ли нумерация, вы можете просто сделать такое оглавление, за которым не придётся следить и которое будет само обновляться.
Это можно сделать очень просто. Рассмотрим на примере (так будет нагляднее). После того, как вы попробуете выполнить всё это по шаблону, вы сможете сделать автоматическое оглавление в любом документе.

9/18/2014

What are beans in IBM Maximo

There are 2 types of Beans in IBM Maximo, AppBean and DataBean.

AppBean
The AppBean manage application functionality, such as WOTRACK or ASSET. This class is defined in the beanclass attribute of the presentation tag in the application’s XML.

9/11/2014

Active Directory: LDAP Syntax Filters

Unable to turn Off the Admin mode in Maximo

Problem(Abstract)

Receiving errors on the Database Configuration screen when shutting down Admin Mode:

BMXAA4030I - Starting to set Admin Mode ON.
BMXAA4004I - Admin Mode is pending (turning on) for this server.
BMXAA4013I - Setting maxvar ADMINRESTART to ON.
BMXAA4008I - Notifying users to sign out.
BMXAA4036W - All users will be logged out in 1 minutes!
BMXAA4007I - Administratively logging out all remaining users.
BMXAA4011I - Waiting until all cron tasks are sleeping...
BMXAA4010I - Preventing events from firing.
BMXAA4014I - Setting this server's maxsession active flag to 0.
BMXAA4032I - Successfully set Admin Mode ON.
system#AdminModeIsConfiguring
system#AdminModeIsConfiguring
system#AdminModeIsConfiguring
system#AdminModeIsConfiguring
system#AdminModeIsConfiguring

Cause

Database in a state of configuring.