top of page

Too Seguros: closing window at least 75% shorter with Dataside's 24/7 database support

Writer: Dataside
Dataside
4 days ago
6 min read

Too Seguros runs its entire insurance operation on i4pro, an ERP with critical processes every day. The most sensitive one is the closing: while it runs, the insurer can't issue policies or register claims. Since the partnership with Dataside began, closing time has dropped by at least 75%. Alongside the ERP, a portal serves partners through an API, and the whole environment is spread across high-availability production servers using Always On and Mirroring. Dataside looks after it 24 hours a day and, between August and October alone, delivered gains of up to 99% on critical queries.


The challenge

In insurance, a slow database means stalled sales. Too Seguros depends on issuing policies and selling all day long, and on responding immediately when a customer contacts the insurer.

"We work in insurance. If there's an incident where a customer needs us, or even in the day-to-day, we rely heavily on sales and on issuing policies. So we need that peace of mind to operate." — Fábio Henrique Bigolotti, Senior Database Analyst at Too Seguros

And the database was exactly the bottleneck. Performance problems affected the ERP, processes were slow and the closing took up a good part of the day.

"Before, we had a lot of performance problems in the database, and they affected the ERP. We had slow processes. [...] We've cut the closing by at least 75%." — Fábio Henrique Bigolotti

Even with a more stable environment, some things still weighed on daily work: important queries, such as the policyholder search, were far too slow, some servers had high CPU usage, and the TempDB disk filled up often, triggering recurring alerts.


The solution

Database support that goes beyond firefighting. Dataside's team monitors the environment around the clock, follows the nightly closing and runs a continuous improvement cycle on the production servers. Every month, it identifies the top CPU and read offenders and investigates the root cause of each one. Rewrites, indexes and configuration changes reach Too Seguros already tested, with a guarantee that the result returned to the application stays identical. The client approves, and deployment happens in an agreed window.

"Having a partner monitoring our databases 24 hours a day makes all the difference, because it brings more security, peace of mind and confidence to run our operation, which is critical." — Fábio Henrique Bigolotti

The 24/7 SQL Server support contract runs on two fronts. On performance, the path is always the same: identify the offender, analyze the root cause, rewrite or index, and validate that results are equivalent. On environment and configuration, the team reviews server parameters, balances TempDB, updates database compatibility levels, purges historical data, manages disk capacity and supports business continuity tests.


Day to day, the relationship is close enough that Too Seguros sees Dataside's team as part of the house.

"I'd say they're already built into our routine; they feel like part of the Too Seguros team, not a partner company. What strikes me most is their technical command and experience with more complex situations, especially when we need a fast fix for an urgent problem." — Fábio Henrique Bigolotti

Migrating the insurer's core without stopping operations

One of the defining moments of the partnership was migrating the ERP's database cluster, which supports the insurer's core, from the cloud provider's São Paulo region to a region in the United States. The entire cluster had to be moved, with a large volume of data, on a tight deadline, and the ERP could not go down.


Dataside built the plan together with the Too Seguros team, and execution happened on schedule, with no incidents and virtually no downtime. The post-migration period also went smoothly.

"We met with Dataside's technical team, a plan was put together, and we executed within the agreed deadline, with no incidents. We had practically no downtime in our operations. The aftermath was also very good, because we had no problems. It was a very well-executed job." — Fábio Henrique Bigolotti

The improvement cycle, month by month

August. The team solved the root cause of high CPU usage on the staging server: a frequently run query was missing an index, and creating it removed the bottleneck immediately. That same month, it reviewed more than 25 configuration and performance items on the main production servers. It tuned parallelism to the workload profile, enabled recommended trace flags with the client's approval, raised the compatibility level of 8 databases to take advantage of optimizer improvements, applied automatic recompilation against parameter sniffing, purged historical tables and the Query Store, freeing significant disk space, and optimized ERP routines tied to claims, policy loading and bank reconciliation.


September. The focus was tuning. The payment receipts routine was rewritten and became 99.8% faster. On the Partner Portal, two indexes on the query most often run by the API cut CPU usage by 86% and reads by 93%. Three other critical ERP queries gained between 95% and 99% in response time. On September 11, Dataside followed the business continuity test, with failover and failback of the AGs and Mirroring without a single incident, and used the window to balance TempDB on two production servers, reducing disk usage by 94% and 53%.


October. Seven deliveries: 4 performance improvements and 3 environment actions. The highlight was the policyholder search, which was triggering long-running request alerts.


Inside the policyholder search

The analysis showed that the routine builds its query dynamically and that the database was reusing the same execution plan for very different volumes. When the person searched for didn't appear as a lessor, the routine loaded every endorsement in the system to answer a single search.


The fix widened the filter to also consider the policy's customer and the lessee, and started recompiling the plan with the actual volume of each search. The team also evaluated forcing a fixed plan and advised against it, because both possible plans shared the same weakness. In testing, response time fell 99.1%, CPU usage 99.6%, and the volume of data processed in an intermediate step more than 99.9%. The result returned to the application was identical to the current version's, and deployment depends only on Too Seguros validating the business rule.


The month's second delivery tackled the pending payments search, which was among the ERP's top CPU offenders between October 26 and 29. The routine applied the policy filter only after processing a large volume of data in the joins. In the rewrite, it first identifies the eligible policies in an indexed temporary table. The optimized version only kicks in when a policy is provided, and every other case keeps the original query, which removes the risk of changing behavior. Tests confirmed the same records were returned. Rounding out the performance front, the team delivered an improvement to bank reconciliation and proposed indexing the payment transaction generation routine.


On the environment front, Dataside set up clustered pre-production environments so Too Seguros can test changes in a scenario close to production, and handled two disk space alerts on the same server with no business impact. The nightly closing is still followed every day and finishing successfully.


By the numbers

Result

What it means for the business

-75% in closing time (at least)

More hours per day to issue policies and handle claims

Core migration to another cloud region on schedule, with virtually no downtime

Insurance operations uninterrupted during a critical change

-99% in policyholder search time (in validation)

Near-instant service for policyholders

-99.8% in payment receipts routine time

Payments processed without waiting

-86% processing on the Partner Portal

Partners served with more headroom and stability

95% to 99% faster on three critical ERP queries

Fewer freezes in users' daily work

Up to -94% disk usage on production servers

Fewer alerts and room to grow without new infrastructure

Business continuity test with no incidents

High availability proven in practice

What changes for Too Seguros

A shorter closing means more hours each day in which Too Seguros can issue policies and handle claims. With a stable environment, the impact on policy issuance and customer service dropped, and anyone who contacts the insurer is served faster.

"The work done since Dataside became Too Seguros's partner was very important to stabilize the environment and, with that, reduce the impact on policy issuance and claims handling. When someone needs to contact the insurer, they want fast service. All of that has improved." — Fábio Henrique Bigolotti

Queries that used to freeze users' and partners' daily work now respond almost instantly. Production servers gain processing headroom and disk space, which cuts recurring alerts. The continuity test and the region migration went through without incident, showing that high availability works in practice. And improvements arrive tested and documented, with the client deciding when to apply them and understanding the cause of each problem.


Looking ahead, Too Seguros now has a foundation ready to grow without immediately investing in more infrastructure, because the gains come from the efficiency of its own routines and server configuration. The relationship goes beyond support and becomes a technical partnership, with Dataside bringing proactive improvements every month.

"Today Dataside stands for security, confidence and peace of mind for Too Seguros's operations." — Fábio Henrique Bigolotti

Watch the full testimonial (in Portuguese):




 
 
 

Comments


bottom of page